start minimized to tray - not working in gnome 3 from autostart

Bug #865926 reported by fast_rizwaan
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Gnote
New
Undecided
Unassigned
qBittorrent
New
Undecided
Unassigned

Bug Description

qbittorrent has 'start minimized to tray feature'; but it is not working when it is executed from autostart (~/.config/autostart/qbittorrent.desktop), but on running from alt+f2 (run command) or 'applications' it is working as expected, i.e., starting minimized to tray.

I have found a workaround, using bash -c "qbittorrent" works.

[code]
cat ~/.config/autostart/qbittorrent.desktop

[Desktop Entry]
Type=Application
Exec=bash -c "sleep 5s; qbittorrent"
Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_US]=guake
Name=guake
Comment[en_US]=guake
Comment=guake
[/code]

This does not work for minimized to tray, the window is always coming up:
[code]
[Desktop Entry]
Type=Application
Exec=qbittorrent
Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_US]=guake
Name=guake
Comment[en_US]=guake
Comment=guake
[/code]

Could gnome-session-properties be doing something different which is causing
this bug or qbittorrent needs to fix something to work with gnome 3?

guake, goldendict are working as expected (minimized to tray) though.

[code]
cat ~/.config/autostart/goldendict.desktop

[Desktop Entry]
Type=Application
Exec=goldendict
Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Goldendict
Name=Goldendict
Comment[en_US]=goldendict
Comment=goldendict
[code]

thanks.

https://bugzilla.gnome.org/show_bug.cgi?id=660852

Revision history for this message
DanielDT (dth4h95) wrote :

Gnote has this problem too.

I can put gnote --start-minimized in the terminal and it will start gnote minimized. But if I put it in Gnome autostart, then it doesn't.

Revision history for this message
Joe Mou (jmou) wrote :

Same issue with google-musicmanager -p mypassword. The workaround of bash -c does not work for me.

Revision history for this message
Sergey_Aka (sergik11) wrote :

fast_rizwaan, thanx for your advice.
I had that bug with "start minimized in tray" too.

LinuxMint 17.1 x64.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.