Forum › Forums › New users › New Users and General Questions › Show tray icons doesn’t work
- This topic has 24 replies, 5 voices, and was last updated Sep 6-9:15 am by anilkagi.
-
AuthorPosts
-
September 3, 2020 at 2:07 am #41030Member
anilkagi
Hi there,
I am on a frugal install.
I am trying to get to show Clipit and Connman in the right bottom tray. I did try these following steps.
I edited the startup file by going to Control center > Session > User Desktop-session, by un-commenting the lines as below;
# Puts connman gui monitor icon on the taskbar cmst -m & # Uncomment to use clipboard manager clipit &However, still they don’t show in the tray.
The Connman used to show in the tray by default but I lost it somehow, I don’t know how and when.
What is the other way to get this done?
Thanks & Regards
September 3, 2020 at 3:27 am #41031Moderator
caprea
::It could be caused by which desktop you are using. Not on every desktop, for example not on jwm, the icons are in the tray.
September 3, 2020 at 3:52 am #41032Memberanilkagi
::Thanks @Caprea for coming.
Sorry for not furnishing the details, beforehand.
I have installed antiX-Base-19.2.1 frugal install, and using ROX-IceWM. I like ROX-IceWM.
Is this specific to ROX-IceWM? What is the remedy?
September 3, 2020 at 4:51 am #41033Forum Admin
anticapitalista
::For antiX-base, connman entry in that file should be
connman-ui-gtk &Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
September 3, 2020 at 5:25 am #41037Member
Xecure
::Are you remastering/saving persistent changes after editing your startup file?
antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 3, 2020 at 6:34 am #41039Memberanilkagi
::Thanks @anticapitalista, for coming.
That solved the problem of Connman, the issue of Clipit still remains.
Actually when I edited the file and logged out and logged in again, both Connman & Clipit had appeared, but after remastering and rebooting only the Connamn appeared.
September 3, 2020 at 6:36 am #41040Memberanilkagi
September 3, 2020 at 6:56 am #41041Member
Xecure
::Try adding a bit of a delay to the clipit startup.
See this example from another recent post:…
you could maybe add a bit of a delay to volumicon startup.
Two methods:
A) Add delay to the general startup file. Edit ~/.desktop-session/desktop-session.conf variable STARTUP_DELAY. For example, adding an extra 1 seccond:
STARTUP_DELAY="3"
B) Add a delay inside the ~/.desktop-session/startup file only for volumeicon:
sleep 1; volumeicon &It is just a guess. On one of my devices (that has a somewhat slow CPU) I need to add a bit of a delay for some of the startup programs.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 3, 2020 at 7:50 am #41048Memberanilkagi
::Xecure,
I did try both options one by one, and remastered both times but that didn’t resolve the issue.
Mysteriously, now that I have edited the User-desktop-session file by adding the Connman command and un-commented the Clipit line and remastered, though when I start the system both icons don’t appear, but if I logout and login back again, both icons appear promptly. The fresh start does not show the icons, a re-login shows them, strangely.
I have a suspicion, but I am not sure; I think the Clipit icon appears and disappears again. It is very fast. Or is it just my illusion? I don’t know for sure. I feel it gets replaced by the Connman icon.
September 3, 2020 at 2:00 pm #41062Member
Xecure
::Could it be that clipit is launched twice? Make sure it isn’t also in the ~/.icewm/startup, or that it is not repeated in the ~/.desktop-session/startup
You could also check the ~/.desktop-session/log to see if there is any error (but I don’t expect much).antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 3, 2020 at 6:45 pm #41066Memberanilkagi
::Xecure,
I checked.
The ~/.icewm/startup, is empty except for this line;
#!/bin/bashThe ~/.desktop-session/startup has one entry;
# Uncomment to use clipboard manager clipit &However, the ~/.desktop-session/log has some error reports.
Before that I would like to inform something strange I noticed earlier. I forgot to tell this before. I was trying to find the command that kick starts ‘Clipt’, to see if the command that I am using is appropriate or not. So I typed just simple ‘clipit’ in the terminal and nothing else. Strangely the ‘firejail’ kick started. Even now I checked by repeating it. I have not entered the command as ‘firejail clipit’. The plain ‘clipit’ command attempts to start Clipit in firejail and fails. I never intended to start ‘Clipit’ in fairejail. I have no intention to do so. Moreover, it reports an error. Here below is the error details.
$ clipit Reading profile /etc/firejail/clipit.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-xdg.inc Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /etc/firejail/whitelist-var-common.inc Parent pid 7801, child pid 7802 Warning: Cannot confine the application using AppArmor. Maybe firejail-default AppArmor profile is not loaded into the kernel. As root, run "aa-enforce firejail-default" to load it. Child process initialized in 149.54 ms (clipit:7): dbind-WARNING **: 05:43:42.632: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-XwWVqrrDRA: Connection refused ** (clipit:7): WARNING **: 05:43:42.633: Binding '<Ctrl><Alt>H' failed! (clipit:7): libayatana-appindicator-WARNING **: 05:43:42.728: Unable to get the session bus: Error spawning command line “dbus-launch --autolaunch=4c37a23d53419b397267358169905d53 --binary-syntax --close-stderr”: Child process exited with code 1 (clipit:7): LIBDBUSMENU-GLIB-WARNING **: 05:43:42.729: Unable to get session bus: Error spawning command line “dbus-launch --autolaunch=4c37a23d53419b397267358169905d53 --binary-syntax --close-stderr”: Child process exited with code 1 (clipit:7): Gdk-ERROR **: 05:43:42.947: The program 'clipit' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAccess (attempt to access private resource denied)'. (Details: serial 334 error_code 10 request_code 130 (MIT-SHM) minor_code 1) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Parent is shutting down, bye...And then there is this issue of AppArmor. Whenever I shutdown the system, I get this error, which I haven’t had the time to attend to by reporting on the forum. I tried to resolve it with some suggestions from the web, but it didn’t help. The following is the error line that appears on the screen while shutting down.
Startpar: Services returned failure ... apparmor failedNow coming to the ~/.desktop-session/log, here it is below. It also contains the firejail error that I mentioned above.
desktop-session: started Fri 04 Sep 2020 05:24:58 AM IST start_time: 50.00 desktop-session: pid: 3791 desktop-session: logging to: /home/username/.desktop-session/log desktop-session: launch @ 5008 desktop-session: icewm desktop-session: display_alt_desktop_window=false desktop-session: look up executable for icewm desktop-session: save desktop code: rox-icewm desktop-session: Exporting desktop Variables: desktop-session: DESKTOP_SESSION_CODE=rox-icewm desktop-session: DESKTOP_SESSION_WM=icewm desktop-session: DESKTOP_SESSION_IM=rox desktop-session: run: /usr/local/lib/desktop-session/ds-config-check desktop-session: run: /usr/bin/icewm-session desktop-session: Checking for running window manager @ 5030 icewm-session: Warning: icewmbg: No such file or directory desktop-session: Window manager running or setup forced, setting up desktop @ 5081 desktop-session: Delaying session startup by 3 seconds desktop-session: run: rox --pinboard=antiX-icewm & desktop-session: run: desktop-session-wallpaper /usr/local/bin/desktop-session: line 192: /etc/desktop-session/file_compare: No such file or directory desktop-session: run: /home/username/.desktop-session/startup & desktop-session: run: conky automount is :TRUE FM_USB is : TRUE FM_OPTICAL is: TRUE VP_DVD is : FALSE DVD_COMMAND is : MP_AUDIO is : FALSE AUDIO_COMMAND is : OPTION_USB is --exec-on-drive 'desktop-defaults-run -fm "%d"' OPTION_OPTICAL is --exec-on-disc 'desktop-defaults-run -fm "%d"' only one keyboard Reading profile /etc/firejail/conky.profile Reading profile /etc/firejail/clipit.profile Reading profile /etc/firejail/feh.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/disable-xdg.inc Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /etc/firejail/disable-xdg.inc Warning: networking feature is disabled in Firejail configuration file Parent pid 3866, child pid 3936 Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Parent pid 3897, child pid 3939 Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /etc/firejail/whitelist-var-common.inc Parent pid 3871, child pid 3940 Warning: Cannot confine the application using AppArmor. Maybe firejail-default AppArmor profile is not loaded into the kernel. As root, run "aa-enforce firejail-default" to load it. ]0;firejail /usr/bin/clipit Child process initialized in 466.17 ms Warning: skipping feh for private /etc Private /etc installed in 385.84 ms ]0;firejail /usr/bin/conky Child process initialized in 488.23 ms 1 program installed in 29.27 ms libGL error: failed to open drm device: No such file or directory libGL error: failed to load driver: i965 ]0;firejail /usr/bin/feh --bg-scale /usr/share/wallpaper/LinuxTakeControl.jpg Child process initialized in 596.81 ms Conky: forked to background, pid is 6 Conky: desktop window (8000a2) is subwindow of root window (d3) Conky: window type - desktop Conky: drawing to created window (0x1800001) Conky: drawing to double buffer Parent is shutting down, bye... (clipit:7): dbind-WARNING **: 05:25:07.671: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-XwWVqrrDRA: Connection refused ** (clipit:7): WARNING **: 05:25:07.672: Binding '<Ctrl><Alt>H' failed! (clipit:7): libayatana-appindicator-WARNING **: 05:25:07.762: Unable to get the session bus: Error spawning command line “dbus-launch --autolaunch=63d7ab821e4c4e6a2a43b4b060fb5e68 --binary-syntax --close-stderr”: Child process exited with code 1 (clipit:7): LIBDBUSMENU-GLIB-WARNING **: 05:25:07.762: Unable to get session bus: Error spawning command line “dbus-launch --autolaunch=63d7ab821e4c4e6a2a43b4b060fb5e68 --binary-syntax --close-stderr”: Child process exited with code 1 (clipit:7): Gdk-ERROR **: 05:25:07.994: The program 'clipit' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAccess (attempt to access private resource denied)'. (Details: serial 358 error_code 10 request_code 130 (MIT-SHM) minor_code 1) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Parent is shutting down, bye... /usr/local/lib/antiX/antiX-common.sh: line 946: cryptsetup: command not found SIOCGIFADDR: Cannot assign requested address Reading profile /etc/firejail/firefox.profile Reading profile /etc/firejail/whitelist-usr-share-common.inc Reading profile /etc/firejail/firefox-common.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-var-common.inc Warning: networking feature is disabled in Firejail configuration file Parent pid 4583, child pid 4585 Warning: An abstract unix socket for session D-BUS might still be available. Use --net or remove unix from --protocol set. Post-exec seccomp protector enabled Seccomp list in: !chroot, check list: @default-keep, prelist: unknown, Warning: Cannot confine the application using AppArmor. Maybe firejail-default AppArmor profile is not loaded into the kernel. As root, run "aa-enforce firejail-default" to load it. ]0;firejail /usr/bin/firefox Child process initialized in 126.32 ms Warning: an existing sandbox was detected. /usr/bin/firefox-esr will run without any additional sandboxing features Reading profile /etc/firejail/geany.profile Reading profile /etc/firejail/allow-common-devel.inc Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Warning: networking feature is disabled in Firejail configuration file Parent pid 5212, child pid 5213 Child process initialized in 59.10 ms Parent is shutting down, bye... Reading profile /etc/firejail/leafpad.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-var-common.inc Warning: networking feature is disabled in Firejail configuration file Parent pid 5326, child pid 5327 1 program installed in 31.16 ms Standard C library installed in 71.56 ms Program libraries installed in 147.34 ms GdkPixbuf installed in 456.41 ms GTK2 installed in 133.65 ms Pango installed in 0.06 ms GIO installed in 10.90 ms Installed 104 libraries and 6 directories Child process initialized in 933.93 ms Parent is shutting down, bye... Reading profile /etc/firejail/leafpad.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-var-common.inc Warning: networking feature is disabled in Firejail configuration file Parent pid 6690, child pid 6691 1 program installed in 1.70 ms Standard C library installed in 52.32 ms Program libraries installed in 140.09 ms GdkPixbuf installed in 131.98 ms GTK2 installed in 85.14 ms Pango installed in 0.01 ms GIO installed in 8.00 ms Installed 104 libraries and 6 directories Child process initialized in 507.34 ms Reading profile /etc/firejail/leafpad.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-exec.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-var-common.inc Warning: networking feature is disabled in Firejail configuration file Parent pid 7157, child pid 7158 1 program installed in 2.15 ms Standard C library installed in 46.60 ms Program libraries installed in 134.30 ms GdkPixbuf installed in 136.22 ms GTK2 installed in 87.35 ms Pango installed in 0.01 ms GIO installed in 7.41 ms Installed 104 libraries and 6 directories Child process initialized in 488.44 ms Parent is shutting down, bye... ** (roxterm:7776): WARNING **: 05:43:36.695: Failed to connect to session manager: SESSION_MANAGER environment variable not definedSeptember 4, 2020 at 1:41 am #41091Anonymous
::Startpar: Services returned failure … apparmor failed
Did you intentionally install AppArmor?
Try a websearch for that exact error message.Strangely the ‘firejail’ kick started.
$ man firecfg
The manpage mentions a “fix” option.Is the firejail UI “drag-n-drop” enabled? I can’t recall.
If it is, then conceivably… instead of dragging one .desktop item onto the UI to “add” it to the list of applications, a _directory_ icon got dropped onto the UI and all the .desktop items wound up being added to the list of firejail -managed applications. From reading your posts, I wonder if all the items in your “startup” directory wound up being added.September 4, 2020 at 2:28 am #41092Memberanilkagi
::Skidoo, thanks for coming.
Did you intentionally install AppArmor?
No, neither have I installed AppArmor intentionally, nor is it installed on the system. I checked in the Synaptic and saw that the following packages are not installed.
apparmor apparmor-utilsHowever, the following AppArmor libraries are installed, when I installed Firejail. May be they are dependencies.
changehat AppArmor library AppArmor Python3 utility library AppArmor library Python3 bindingsI tried the web search for the error even earlier. There are a few links, one related to even MX itself, but they didn’t help or may be I couldn’t be helped by them.
The manpage mentions a “fix” option.
I tried that and got the below result but there is no mention of Clipit in it.
$ firecfg --fix Fixing desktop files in /home/ak/.local/share/applications chromium.desktop created firefox-esr.desktop created io.github.celluloid_player.Celluloid.desktop created masterpdfeditor4.desktop created org.xfce.Catfish.desktop created vlc.desktop createdIs the firejail UI “drag-n-drop” enabled?
I have not installed Firejail GUI and have not done any drag and drop exercise. All I did after installing Firejail was issuing the ‘firecfg’ command.
- This reply was modified 2 years, 8 months ago by anilkagi.
- This reply was modified 2 years, 8 months ago by anilkagi.
September 4, 2020 at 4:48 pm #41111Anonymous
::I have lost the plot, due to too many separate issues rolled into one topic.
speaking to this specific logged msg:
“Warning: networking feature is disabled in Firejail configuration file”
.
websearch results suggest that message indicates
“package firejail-profiles is not installed; please install it now”
(the “firejail” package only Recommends firejail-profiles, does not Depend
and it apparently contains “default” profiles which are network-disabled
for safety’s sake, as a sane default)September 4, 2020 at 5:00 pm #41112Anonymous
::Understand that the antiX developers do not package, do not maintain (bugfix) firejail, nor most of the packages you might install.
Did you look here to see whether anyone else has encountered and reported a similar firejail bug?
https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=firejail
(I checked, found none similar. You might post a bug report there.)or here:
https://github.com/netblue30/firejail/issues
(currently 220 open issue tickets. I did not skim through all of them.)As an interim troubleshooting step, I would “apt purge firejail”, test whether the (tray icons, double instances of startup apps) problems disappear… then perhaps reinstall firejail later.
-
AuthorPosts
- You must be logged in to reply to this topic.