PDA

View Full Version : [lubuntu] 12.04: howto change lightdm to lxdm as default and unique desktop



papu40000
July 21st, 2012, 07:13 PM
Hi,

I experimented some issues with new lubuntu's 12.04 lightdm. I think it runs more slow than with the lxdm.

So I would like to share with you how I change the default desktop with autologin, language switcher with Alt+Shift (implemented in lxpanel), and without desktop (I use conky in background).

This is not a sexy howto, but I think that could help to someone.

remember!
$ => run command as user
# => run command as root (or sudo <command>)

Alt+F2 and go to lxterminal

Install lxdm and LXDE environment

# sudo apt-get install lxdm lxde
Select lxdm as default desktop when appear a menu

Remove lightdm

# sudo apt-get remove lightdm notification-daemon
is not really necessary to delete notification-daemon but in one computer take me "errors" at startup, so...

copy the style of autostart applications of Lubuntu in LXDE
/etc/xdg/lxsession/Lubuntu/autostart
/etc/xdg/lxsession/LXDE/autostart

Personally, I use LXDE profiles instead Lubuntu profiles
This are the lines for:

# leafpad /etc/xdg/lxsession/LXDE/autostart
and put this:


@lxpanel --profile LXDE
@xscreensaver -no-splash
@xfce4-power-manager
@pcmanfm --desktop --profile LXDE
@/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
@setxkbmap -option grp:alt_shift_toggle "es,us"


delete ~/.dmrc, is needed to do default desktop LXDE

$ rm ~/.dmrc

autologin:

$ leafpad /etc/lxdm/lxdm.conf
and in line of autologin add your user

autologin=youruser

DarkDead
December 24th, 2012, 09:14 PM
Thank you! Just what I was looking for.