-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I am using dex for autostart applications and I have the following in my rc.lua:

  awful.util.spawn_with_shell("gnome-settings-daemon && dex -a -e Awesome")

Now I have two problems:

1) When I change the screen setup via e.g. arandr / xrandr, awesome is 
restarted and consequently
dex is executed as well. This causes multiple instances of e.g. skype and other 
programs to run
which are started via sutostart and dex. Is there a way that I can tell awesome 
to only execute
dex, when it hasn't been executed before? Effectively a run-once for dex, but 
as dex is not
running anymore (and only doing the autostart), the approaches described in the 
wiki wont work.
Any suggestions?

not strictly awesome, but:

2) in the autostart I have nitrogen for setting the background of my dual 
monitor setup
independently fr each monitor. Now gnome-settings-daemon is setting the 
background as well, and
most of the time gnome-settings-daemon has finished setting the background 
before nitrogen is
called and everything is fine. But sometimes this is not the case, and 
gnome-settings-daemon is
resetting the desktop. Is there a way that I can make sure that nirtogen is 
executed after
gnome-settings-daemon is completely started?

Any help appreciated,

Rainer

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJREnI8AAoJENvXNx4PUvmC2w8H/1nAgy64UWbCra1ek17k5Kt1
QfXP9/PzZdCBBAI+tFxUDB/oO1HVicgStPrt+IGA/1U/Be7QoPL6t6cF2Hkd5sWF
uEpf26pxDNedVYZBe45N3yF2t7ntartE/S3b/k3csRQ4H7/gTQ1fNGNU0T8cAboQ
1a7rLC8ouMcV5NuEcxKpSf2V/Txkp3/Omos+1Lz0U9KZgglhW4YYcadzv4uxAF9o
aSIm2BpVXzSy5R80rH5zXFtLPo8QCtK44dLiGVNPPbf7uPxvUOrTAfxO0+MCAQvq
213VAeEoWHxVuHWJXMbGAWvdpY3d0ipkrBz4rZ9eAswzOmse3Cvzw7nkpOEq7EM=
=2TK5
-----END PGP SIGNATURE-----


-- 
To unsubscribe, send mail to [email protected].

Reply via email to