Guake does not autostart - workaround

Every day solutions to every day challenges. + Brilliant stuff

Moderators: b1o, jkerr82508

Forum rules
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Guake does not autostart - workaround

Postby viking60 » 11 May 2012, 12:03

Recently I had the problem that guake does not autostart even if I had set it in gnome-session-properties.

This only affects guake and it seems to affect at least Arch and Ubuntu.
I have no Idea why this happens since every other entry in gnome-session-properties autostarts on loading as it should.
(it makes an entry in ~/.config/autostart)
So a workaround is called for:
1

Code: Select all

cd /usr/bin

2

Code: Select all

sudo nano startguake.sh

3 enter this content:

Code: Select all

#! /bin/sh

sleep 15
echo guake started: $(date) >> guake.log
guake

exit 0

Save and exit.

start gnome-session-properties
and edit the guake entry in the command prompt like this:

Code: Select all

sh startguake.sh


Now guake will be auto-loaded.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Guake does not autostart - workaround

Postby dedanna1029 » 11 May 2012, 17:02

New install of Mint here, hadn't had chance yet to set these things up. I'm going to test this after a while, first seeing if it does autostart or not. I know that before I tested MDV on this thing, and was on the old install of Mint, it was autostarting, at least in KDE. Will report back.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Guake does not autostart - workaround

Postby viking60 » 11 May 2012, 21:30

Yes please do - thanks!
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Guake does not autostart - workaround

Postby dedanna1029 » 12 May 2012, 00:21

See p.m.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Guake does not autostart - workaround

Postby viking60 » 12 May 2012, 01:42

OK got it! It works in Mint. I am not sure what triggers this.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Guake does not autostart - workaround

Postby dedanna1029 » 12 May 2012, 02:45

The thing is too, if it works in Mint, it works in Ubuntu. *shrug

Steps I took:

1) Start-->Other-->Startup Applications
2) Add guake to the Startup list
3) Logout/login

I don't know why it isn't working for Arch.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Guake does not autostart - workaround

Postby viking60 » 12 May 2012, 03:22

Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Guake does not autostart - workaround

Postby dedanna1029 » 12 May 2012, 20:16

Strange, although there's like, two for two now. One in that thread too, that did the same as me and it worked. Very very strange.

Code: Select all

uname -a
Linux dedanna 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux


I'm on Linux Mint 12.04 as well.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Guake does not autostart - workaround

Postby dedanna1029 » 26 Mar 2013, 12:30

I just got this done, finally. It was only auto-starting at random in KDE on Mageia 2, and in Gnome fallback, Guake would crash on load. So, I reset the ~/.gconf/apps/guake folder, and will be logging out/in after a while. Stay tuned.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Guake does not autostart - workaround

Postby dedanna1029 » 30 Mar 2013, 02:44

Well, it works for KDE, but guake sitll only crashes in Gnome.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Guake does not autostart - workaround

Postby viking60 » 30 Mar 2013, 09:00

Have you tried the workaround in the first post? If you put a delay on quake startup it will probably work everywhere.
This happens when quake starts up before compiz is completely loaded.....It seems to load before all the dependencies are up and running.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Guake does not autostart - workaround

Postby dedanna1029 » 01 Apr 2013, 15:31

Yes, that is what I did, and why I'm posting to here. It works now in gnome-fallback, but not in gnome-shell. Guake crashes soon as I login to it.

Code: Select all

[dedanna@dedanna ~]$ cat /usr/bin/startguake.sh
#! /bin/sh

sleep 15
echo guake started: $(date) >> guake.log
guake

exit 0


Yet Gnome isn't honoring it (gnome-shell version).
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Tips & Tricks”