Comments (16)
I solved this by starting all notification area applets using dbus-launch
. For example for starting nm-applet from my .i3/config
:
exec --no-startup-id dbus-launch nm-applet
from i3-gnome.
Hi:
I solved this by changing the DesktopNames entry in the i3-gnome.desktop to
DesktopNames=GNOME-Flashback;GNOME;
This way, when the session starts all the applications in /etc/xdg/autostart, that are configured to start with the gnome-flashback session, also start with the i3-gnome session. At least on debian, you have one that is for the nm-applet (gnome-flashback-nm-applet.desktop),
from i3-gnome.
Hi,
Can you make sure that you have tray_output <...>
under bar { }
section?
i'll share you the docs of i3 for more info: http://i3wm.org/docs/userguide.html#_tray_output
from i3-gnome.
Hi,
yes, that's how the section of my config looks like:
...
exec --no-startup-id "xrandr --output eDP-1 --primary"
...
exec --no-startup-id /usr/lib/gnome-settings-daemon/gsd-xsettings
exec_always --no-startup-id gnome-power-manager
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id gnome-flashback
exec_always --no-startup-id nm-applet
...
bar {
tray_output primary
status_command i3status -c ~/.config/i3/i3status.conf
}
I tried to put the bar statement before the execs but it didn't change anything. Additionally, when I start nm-applet in my console nothing happens. However, in my i3 only session it works as expected.
from i3-gnome.
Sorry for my late answer,
Well, definitely it's an strange behavior, let me get more info about nm-applet
and similar issues.
from i3-gnome.
It's alright. Thanks.
from i3-gnome.
@ytzemih,
I just reproduced your situation and it result the same for me, so, my first thoughts are that some GNOME components are doing something that modifies the behavior of i3, and my recent experience of something like that was about adding gnome-flashback
to the config, and the wallpaper started to get managed by GNOME, so, could you hide gnome-flashback
of your i3 config and share what happens?
from i3-gnome.
It is simply not autostarted anymore under GNOME:
https://gitlab.gnome.org/GNOME/network-manager-applet/commit/2a7336451cb6f066dd7ea80bf9faed40881b0ebf
If you have installed gnome-flashback
and DesktopNames
include GNOME-Flashback
then it should be autostarted, because gnome-flashback
installs custom autostart file:
https://gitlab.gnome.org/GNOME/gnome-flashback/blob/master/data/autostart/gnome-flashback-nm-applet.desktop.in
Other option might be to start manually or you could try to add nm-applet
to RequiredComponents, but I don't remember what gnome-session
does if desktop file has NotShowIn=GNOME. It still might not be started...
from i3-gnome.
It is simply not autostarted anymore under GNOME:
gitlab.gnome.org/GNOME/network-manager-applet/commit/2a7336451cb6f066dd7ea80bf9faed40881b0ebf
oh, i didn't noticed that, thanks for sharing.
Other option might be to start manually or you could try to add nm-applet to RequiredComponents, but I don't remember what gnome-session does if desktop file has NotShowIn=GNOME. It still might not be started...
I think that this can be adapted to do so.
I'll do the test and check if it works.
from i3-gnome.
@jcstr Hi, sorry for my late answer: Excluded the gnome-flashback line from my i3 config and restarted gdm and the session, same behaviour: no nm-applet (probably unsurprising in presence of @muktupavels hint). I guess I can't be of any help at the moment. Thanks for checking a fix, anyway.
from i3-gnome.
I have the same problem. Any luck with this?
@ytzemih I am using Ubuntu 18.04 too. However it uses Gnome 3.28 - not sure if that's relevant (this project's requirements say it needs Gnome 3.30).
from i3-gnome.
Starting nm-applet yields the following error:
(nm-applet:7427): Gtk-WARNING **: 21:42:17.189: Can't set a parent on widget which has a parent
(nm-applet:7427): Gtk-CRITICAL **: 21:42:21.872: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
(nm-applet:7427): Gtk-CRITICAL **: 21:42:21.872: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
from i3-gnome.
@ytzemih by any chance did you upgrade too from 16.04?
from i3-gnome.
@arnuschky I did a new 18.04 install. Got the same error, but your last suggestion also works for me. Thanks! dbus-launch
is the key :)
from i3-gnome.
@tenllado thanks, it worked for me :)
from i3-gnome.
due to resolution to this issue, is closed now.
from i3-gnome.
Related Issues (20)
- I want to help on this project! HOT 1
- I want to help on this project! HOT 1
- I have adapted this project to LeftWM HOT 5
- I want to help on this project
- I want to help on this project
- Bluetooth notifications spawn in middle of screen and don't go away
- I want to help on this project
- I do not have permission to install new software
- How to use it? (from scratch)
- Does not work on GNOME 42 HOT 1
- Can't log in - "Something has gone wrong"
- Cannot open the Displays tab in gnome-control-center HOT 1
- I'd like to help with this project
- I would like to help with this project.
- I want to help on this project
- Does i3-gnome work with wayland / current default gnome under Ubuntu?
- N/A
- I want to help on this project HOT 1
- Some applets not showing up in systray HOT 6
- `polkit-gnome` doesn't exist in newer gnome versions HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3-gnome.