You are not logged in.
Hi,
I have a fresh archlinux with Gnome Shell, and there are just two things I would like to have at startup. So googling around I found this might be the propper way of doing it.
someuser@pcname ~ $ cat .xinitrc
#!/bin/sh
if [ -f $HOME/.Xmodmap ]; then
/usr/bin/xmodmap $HOME/.Xmodmap
fi
numlockx onThis should work, but it doesn't get on startup. So every time I start up my laptop I have to manually run:
someuser@pcname ~ $ ./.xinitrc Why doesn't this work? I have tried copying this into .xprofile too, and no luck there ether.
Any help would be nice. Thank you.
edit:
I added another entry into gnome-session-properties.
Thanks Inxsible, although I have no idea why gnome would be so silly.
Last edited by zidarsk8 (2013-03-19 20:47:32)
Offline
I believe Gnome shell doesn't source .xinitrc during startup. You might have to start up xmodmap from whatever Gnome provides for auto startup of apps
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Whoops, too fast.
Do you use GDM? If so, ~/.xprofile should work.
Last edited by Unia (2013-03-19 20:41:55)
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline