You are not logged in.
Hi everyone,
I am having guake installed on my system and according to the Wiki if I use this line:
cp /usr/share/applications/guake.desktop /etc/xdg/autostart/I will be able to autostart guake each time I fire up the desktop environment.
However, it seems that guake starts only the first time I log in to Gnome. If I logout and then log back in, guake won't start.
How can I make guake start each and every time I log in?
Offline
copy it to ~/.config/autostart/ - usually works for alll DE's ...
Gnome should also have a UI for it, look for something like "Session and Startup" in the settings area
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila."
(Mitch Ratcliffe)
Offline
I just copied guake.desktop into ~/.config/autostart/ logged out and then logged back in but nothing happened.
Using gnome 3.4 I can't find any Session and Startup entry...
Offline
I just copied guake.desktop into ~/.config/autostart/ logged out and then logged back in but nothing happened.
Using gnome 3.4 I can't find any Session and Startup entry...
Strange, ~/.config/autostart works for me using Gnome. To get the Session thing under Gnome, run gnome-session-properties under a terminal, and it will show up ![]()
Offline
Could you post the contents of your guake.desktop?
Offline
Just realized that apart from guake, autostart works normally for the rest of its entries.
For example a dropbox entry is also placed in my autostart and works as it should.
Somehow guake in particular faces some sort of problem...
I managed to find reports from other people as well:
Offline
To get the Session thing under Gnome, run gnome-session-properties under a terminal, and it will show up
Just ran the command. The entry is in place and is also activated (ticked). However, the problem remains.
Last edited by konos5 (2012-05-09 21:21:45)
Offline
Confirmed - Same problem here. It only affects guake.
Contents of guake.desktop in ~/.config/autostart generated by gnome-session-properties.
cat guake.desktop
[Desktop Entry]
Type=Application
Exec=/usr/bin/guake
Hidden=false
X-GNOME-Autostart-enabled=true
Name[nb_NO]=Guake
Name=Guake
Comment[nb_NO]=guake
Comment=guakeThe workaround in the link above works.
Last edited by viking60 (2012-05-11 10:49:11)
"Common sense is not common"
Offline
User "Mr.Pytagoras" from ubuntuforums.org states that this is a problem of dependencies and in particular notification-daemon failing to start up after login.
However I don't fully understand what he is trying to say or why his solution works.
Here is the little script he posted (copy-paste)
#! /bin/sh
sleep 15
echo guake started: $(date) >> guake.log
guake
exit 0Could someone explain to me what this script does and how exactly should I use it?
Thanks in advance and kudos to Mr.Pytagoras for the workaround.
Last edited by konos5 (2012-05-11 11:47:20)
Offline
The notification-daemon package is a daemon that displays passive pop-up notifications afaict.
If you follow these steps it should work.
1
cd /usr/bin2
sudo nano startguake.sh3 enter this content:
#! /bin/sh
sleep 15
echo guake started: $(date) >> guake.log
guake
exit 0Save and exit.
start gnome-session-properties
and edit the guake entry in the command prompt like this:
sh startguake.shNow guake will be auto-loaded.
"Common sense is not common"
Offline
In other words you suggest replacing the guake executable with a script which launches it instead but not before writing the current date to guake's log file.
I now understand the solution but what does a date and a log file have to do with auto-launching the application?
Offline
That script seems to wait 15 seconds before launching guake. These 15 seconds should be enough for the notification daemon to start, preventing guake from erroring out because the notification daemon is not up yet. The date part is simply for logging purposes.
Offline
Makes sense.
But only to further simplify the question to:
Why doesn't the notification-daemon always start up as fast as the very first time we boot into the PC?
(Remember that guake works fine only the very first time we login after a fresh reboot)
Last edited by konos5 (2012-05-13 22:59:43)
Offline