You are not logged in.

#1 2009-11-21 21:09:49

spiky25
Member
Registered: 2009-09-29
Posts: 134

what is the right .xinitrc setup to boot lxde ??? [solved]

exec startlxde don't seem to work, the last time wicd and others softwares where seeming to block the boot ...

Note : I will use startlxde ...

Last edited by spiky25 (2009-11-22 23:50:45)


English isn't my native langage

Offline

#2 2009-11-21 21:25:44

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Post the output of :
1) "cat .xinitrc"
2) "ls -a1 ~/.config/autostart/"
3) "ls -a1 /etc/xdg/autostart/"


English is not my native language .

Offline

#3 2009-11-21 21:38:26

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

1)

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

exec startkde

2)

./
../
Amarok.desktop*
Chromium.desktop*
Deluge BitTorrent Client.desktop*
Miro Internet TV.desktop*
Pidgin Internet Messenger.desktop*
Shaman.desktop*
Skype.desktop*
aMSN.desktop*

3)

./
../
at-spi-registryd.desktop
gdu-notification-daemon.desktop
gnome-at-session.desktop
gnome-keyring-daemon.desktop
gnome-screensaver.desktop
gnome-session-splash.desktop
gnome-settings-daemon-helper.desktop
gnome-settings-daemon.desktop
polkit-gnome-authentication-agent-1.desktop
wicd-tray.desktop


English isn't my native langage

Offline

#4 2009-11-21 22:39:02

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Edit the ~/.xinitrc file. Change 'exec startkde' to 'exec startlxde' and then use 'startx' to use lxde.


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#5 2009-11-21 22:42:20

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Use exec ck-launch-session startlxde if you want to be able to mount internal devices as root using hal.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#6 2009-11-21 23:41:08

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Mardoct wrote:

Edit the ~/.xinitrc file. Change 'exec startkde' to 'exec startlxde' and then use 'startx' to use lxde.

Why and how for startx ???

For now, I have put #exec ck-launch-session startlxde in ~/.xinitrc, I want to try to boot lxde before I change that setting ...


English isn't my native langage

Offline

#7 2009-11-21 23:50:46

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Your ~/.xinitrc should read:

#!/bin/bash
exec startlxde

or as grey said:

#!/bin/bash
exec ck-launch-session startlxde

Anything in this file that starts with # is a comment and is ignored (Except the first line). You can leave comments in if you wish.

When that's done, run 'startx' from the terminal as your user to start lxde. As it is, you have

exec startkde

in the script, which means that the system will try to run a KDE session rather than lxde.

Last edited by Mardoct (2009-11-21 23:51:46)


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#8 2009-11-22 00:34:10

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Mardoct wrote:

Your ~/.xinitrc should read:

#!/bin/bash
exec startlxde

or as grey said:

#!/bin/bash
exec ck-launch-session startlxde

Anything in this file that starts with # is a comment and is ignored (Except the first line). You can leave comments in if you wish.

When that's done, run 'startx' from the terminal as your user to start lxde. As it is, you have

exec startkde

in the script, which means that the system will try to run a KDE session rather than lxde.

I know but can I try lxde setting before cause each time it don't worked well and as I'm not a CLI geek, I have a hard time to restore exec startkde settings ...


English isn't my native langage

Offline

#9 2009-11-22 00:39:33

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

nano ~/.xinitc

If you try and avoid the CLI, you won't do terribly well with Arch.


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#10 2009-11-22 01:25:05

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Mardoct wrote:
nano ~/.xinitc

If you try and avoid the CLI, you won't do terribly well with Arch.

True but after many times trying and having to restore each time, I don't wanna mess it this time that's all ...

I still have time to learn CLI after, I'm just 25 years old after all ...


English isn't my native langage

Offline

#11 2009-11-22 06:32:05

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

I have it down pretty well and I'm 17. I couldn't have done most of this stuff a year ago. If you put a concerted effort, you'll have it down in a month. I find the best way to learn is to make yourself do it a reinstall if you mess it up.


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#12 2009-11-22 12:30:01

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

you know cp and mv , right ?
1) "cp .xinitrc .xinitrc.kde"
2) edit .xinitrc to start lxde
3) "cp .xinitrc .xinitrc.lxde"
4) If you want kde back , just "mv .xinitrc.kde .xinit"

Or even better , put this in your .xinitrc :

#!/bin/sh
#
# ~/.xinitrc
#
source /etc/X11/xinit/xinitrc.d/30-dbus
case "$1" in
kde) exec ck-launch-session startkde & ;;
lxde) exec ck-launch-session startlxde & ;;
*) exec ck-launch-session startkde & ;;
esac

Now , "xinit" will start kde , "xinit kde" will start kde and "xinit lxde" will start lxde.


English is not my native language .

Offline

#13 2009-11-22 16:23:55

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Nezmer wrote:

you know cp and mv , right ?
1) "cp .xinitrc .xinitrc.kde"
2) edit .xinitrc to start lxde
3) "cp .xinitrc .xinitrc.lxde"
4) If you want kde back , just "mv .xinitrc.kde .xinit"

Or even better , put this in your .xinitrc :

#!/bin/sh
#
# ~/.xinitrc
#
source /etc/X11/xinit/xinitrc.d/30-dbus
case "$1" in
kde) exec ck-launch-session startkde & ;;
lxde) exec ck-launch-session startlxde & ;;
*) exec ck-launch-session startkde & ;;
esac

Now , "xinit" will start kde , "xinit kde" will start kde and "xinit lxde" will start lxde.

Seem interesting to try, nice coding also ...


English isn't my native langage

Offline

#14 2009-11-22 16:26:28

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Nezmer wrote:

stuff

Needs more indentation


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#15 2009-11-22 23:41:47

spiky25
Member
Registered: 2009-09-29
Posts: 134

Re: what is the right .xinitrc setup to boot lxde ??? [solved]

Nezmer wrote:

you know cp and mv , right ?
1) "cp .xinitrc .xinitrc.kde"
2) edit .xinitrc to start lxde
3) "cp .xinitrc .xinitrc.lxde"
4) If you want kde back , just "mv .xinitrc.kde .xinit"

Or even better , put this in your .xinitrc :

#!/bin/sh
#
# ~/.xinitrc
#
source /etc/X11/xinit/xinitrc.d/30-dbus
case "$1" in
kde) exec ck-launch-session startkde & ;;
lxde) exec ck-launch-session startlxde & ;;
*) exec ck-launch-session startkde & ;;
esac

Now , "xinit" will start kde , "xinit kde" will start kde and "xinit lxde" will start lxde.

Not working, I have restored it to startkde with my root account ...


English isn't my native langage

Offline

Board footer

Powered by FluxBB