Page 1 of 1

How do add an autostarted routine to lxde? - solved

Posted: Wed Aug 10, 2011 9:21 pm
by tpprynn
I have LXDE added as a second desktop in Fedora 15. I added xcompmgr (basic shadows and fades) and find that it is at least as good as Gnome 2 then. I have typed the following into the terminal to see what xcompmgr is like, but I would of course like this ot autostart each boot:

xcompmgr -CcfF -I-.15 -O-.03 -D2 -t-5 -l-5 -r4.2 -o.75

How would I do this?

Thanks.

Re: How do add an autostarted routine to lxde?

Posted: Fri Aug 12, 2011 4:11 pm
by tpprynn
I'm pleased to have solved this myself after a few days' faffing.

The line

xcompmgr -CcfF -I-.15 -O-.03 -D2 -t7 -l-21 -r10 -o.32

or a variation of it to change the shadows and fade times goes at the end of the file you find when you navigate here:

/etc/xdg/lxsession/LXDE/autostart

This is where it is in Fedora and I imagine more or less there for other distros.

(Although there appear to be minor glitches, possibly because I haven't perfected my xcompmgr settings yet, this really does work well and looks great and without using noticeably more resources. I do think that if you could turn xcompmgr on or off with a tick in box in any LXDE install it would boost interest in LXDE massively.)

Re: How do add an autostarted routine to lxde? - solved

Posted: Mon Aug 15, 2011 4:23 pm
by rockdoctor
I place .desktop files in ~/.config/autostart to autostart specific apps. Although I use xcompmgr, I don't do anything fancy, so my xcompmgr file looks like this:

Code: Select all

[Desktop Entry]
Type=Application
Exec=xcompmgr
Name=Xcompmgr
Comment=Compositing manager for X
Note: the exec line can take parameters (just like the CLI)