The question is, should we override global settings completely with user-custom file? Normally, user-custom file should override the global one and this is a general practice. However, this approach has some drawbacks for desktop environment. If we override the global file with the user's, later the session will always start the programs the user specified only. If we made some changes to the DE and add new programs or removing some old ones from startup, these changes won't be propagated to user's custom file. Then the user will have a broken desktop.
A possible solusion to this is to add a custom desktop session with custom config files and choose that session from display manager instead of default LXDE. (Just like what Lubuntu did). However, I agree this is not easy enough for users. Another possible solution is to completely drop support for the "autostart" file and only use xdg autostart spec and load startup programs with desktop entry files. However this can make things more complicated and we need to implement extension to desktop entry spec to specify orders of the startup programs and to restart crashing programs. In addition, parsing several desktop entry files can be much slower than loading a simple autostart file with few lines. Moreover, it's hard to know how many programs you start on startup since you need to check the content of all desktop entry files yourself. Of course find /etc/xdg/autostart -name "*.desktop" and grep "LXDE" may help, this is far less handy. Another solution previously proposed is to enable negation in user-customed autostart file. So users can disable global command in /etc/xdg/autostart from their user-custom file. This is easy to implement and easy to use, but there were some objections on the mailing list so I didn't do this. Either way, lxsession needs to be fixed to solve this but there needs to be a better idea to solve this issue. Any comments? On Mon, Jul 26, 2010 at 6:27 AM, Christoph Wickert <[email protected]> wrote: > Hi all, > > it seems to be impossible to get rid of pcmanfm managing the desktop and > showing icons. > > The default /etc/xdg/lxsession/LXDE/autostart in Fedora (lxsession 0.4.4 > and pcmanfm 0.9.7) looks like this: > > @lxpanel --profile LXDE > @pcmanfm --desktop --profile lxde > @xscreensaver -no-splash > @pulseaudio -D > > In order to get rid of the icons I copied the file over to > ~.config/lxsession/LXDE/autostart and changed to second line to > > @pcmanfm --profile lxde > > Now pcmanfm starts a window after login, but I still have icons. The > desktop manager is still turned on: > > $ ps x | grep pcman > 5732 ? S 0:00 pcmanfm --desktop --profile lxde > 11854 pts/1 S+ 0:00 grep pcman > > Next try was to remove pcmanfm completely from > ~.config/lxsession/LXDE/autostart. No luck, still a desktop with ícons, > still the same output from 'ps ux'. > > What is going on here? On the one hand the personal autostart file is > honored (otherwise there wouldn't be any changes), on the other hand the > file it seems to be ignored. How can I start a LXDE session without > having to modify the global /etc/xdg/lxsession/LXDE/autostart file? > > Regards, > Christoph > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Lxde-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lxde-list > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
