You are not logged in.

#1 2010-09-02 12:24:10

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

slim and .xinitrc problems

hi to all,

I'm trying to install an archlinux+openbox

i have some problems:

1- i've set slim to save screenshot in my home with

~/slim-screenshot.png

but slim save it in the root

/slim-screenshot.png

. how can i fix it ?

2- halt, reboot, shutdown don't work in slim; related section in slim.conf is default , i haven't modify nothing...how can i solve ?

3- D-BUS archwiki recommend to:

If you are not using a desktop environment, more than likely you will need to add the following to your .xinitrc:

#
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi

This is used to start a user d-bus session (seperate from the system's)

;

how can i append that new part in my .xinitrc?

my .xinitrc:

exec ck-launch-session dbus-launch openbox-session

thanks

Last edited by nTia89 (2010-09-02 16:43:17)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#2 2010-09-02 19:29:25

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: slim and .xinitrc problems

upp


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#3 2010-09-02 19:53:05

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: slim and .xinitrc problems

nTia89 wrote:

3- D-BUS archwiki recommend to:

If you are not using a desktop environment, more than likely you will need to add the following to your .xinitrc:

#
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi

This is used to start a user d-bus session (seperate from the system's)

;

how can i append that new part in my .xinitrc?

my .xinitrc:

exec ck-launch-session dbus-launch openbox-session

thanks

no need to do this. this part is already in your ~/.config/openbox/autostart.sh ;-)

dunno about your slim-issue though :-(


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#4 2010-09-02 20:10:51

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: slim and .xinitrc problems

ok, perfect, problem n° 3 solved....

PS: autostart.sh must be executable ?

PS2: if dbus section is already present in autostart.sh, my .xinitrc is wrong ?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#5 2010-09-02 20:16:54

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: slim and .xinitrc problems

1) yes
2) I Don't use openbox, but you could look at the contents of autostart.sh and see what's there. What's there doesn't need to be in .xinitrc.

Last edited by skanky (2010-09-02 21:44:53)


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#6 2010-09-02 21:27:46

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: slim and .xinitrc problems

my .xinitrc is:

exec ck-launch-session openbox-session

and i do just fine. everything works. like usb-key-detection and the like.

just make shure that "hal" is in the daemons-arra of your rc.conf:

DAEMONS=(hal ... ...)

and make shure that you entirely follow the installation-instructions from the wiki:
http://wiki.archlinux.org/index.php/Ope … stallation

Last edited by Labello (2010-09-02 21:28:58)


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

Board footer

Powered by FluxBB