You are not logged in.
Pages: 1
Hi there,
currently iam trying to start some nice programs, when X11 is launching.
i was not sure how to do this so i append my own stuff to the xinitrc.
My /etc/X11/xinit/xinitrc is looking this way (just the end, everything after startxfce is custom):
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
startxfce4 &
/usr/bin/devilspie ~/.devilspie/DesktopConsole.cs &> /dev/null &
gnome-terminal --window-with-profile=DesktopConsole --title=DesktopConsole3 &
gnome-terminal --window-with-profile=DesktopConsole --title=DesktopConsole &
gnome-terminal --window-with-profile=DesktopConsole2 --title=DesktopConsole2
This isn't really working. Sometimes X crashes with the error message "Resource is busy", sometimes X is launching but the Terminals does not an sometimes everything works fine. (From 10 trys i would say its working 3 times and 5 times crash or so)
I cant see a sense here. Can someone help? Maybe there is a much better sollution to start cusom commands when launching X.
king regards,
crabmeat
Last edited by crabmeat (2010-06-09 18:04:41)
Offline
Start your stuff before you actually start xfce:
(…)
/usr/bin/devilspie ~/.devilspie/DesktopConsole.cs &> /dev/null &
gnome-terminal --window-with-profile=DesktopConsole --title=DesktopConsole3 &
gnome-terminal --window-with-profile=DesktopConsole --title=DesktopConsole &
gnome-terminal --window-with-profile=DesktopConsole2 --title=DesktopConsole2
startxfce4 &
Offline
yepp, it's working.
danke für deine hilfe
Offline
You should use ~/.xinitrc, not the system one. If you used adduser to create your user account, it will be there already - if not, cp it over from /etc/skel.
Offline
Pages: 1