You are not logged in.

#1 2010-09-12 21:36:57

Kevinn
Member
Registered: 2009-12-27
Posts: 7

my ~/.xinitrc isnt being read

ok so i added a couple of things to my .xinitrc

but the programs and stuff arent being loaded when i log on

i have no idea what is going on, i looked at the wiki for hours but could not figure anything out

it does work if i put it in autostart.sh though,

but i want my ~/.xinitrc to work sad please help me

My .xinitrc:

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

exec openbox-session
exec dbus-launch --exit-with-session openbox-session
exec tint2
sh ~/.fehbg &

Last edited by Kevinn (2010-09-12 21:46:23)

Offline

#2 2010-09-12 21:41:36

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: my ~/.xinitrc isnt being read

Change to

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

tint2 &
sh ~/.fehbg &
exec dbus-launch --exit-with-session openbox-session

Change the last line to whatever is appropriate for OpenBox.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2010-09-12 21:43:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: my ~/.xinitrc isnt being read

Your wm has to be the last entry in .xinitrc - and there can only be one of them...
http://wiki.archlinux.org/index.php/Xinitrc

Also, please remove the "Help me" from your post title - it is redundant and will just look silly when Google indexes the thread


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2010-09-12 21:49:48

Kevinn
Member
Registered: 2009-12-27
Posts: 7

Re: my ~/.xinitrc isnt being read

Thanks guys

Offline

Board footer

Powered by FluxBB