Page 1 of 1

xinitrc

Posted: Thu May 29, 2014 4:46 pm
by majest
I can't seem to get my keybindings working on a fresh install of LMDE UP9.

My .xinitrc file is as follows:

Code: Select all

if [ -s ~/.Xmodmap ]; then
    xmodmap ~/.Xmodmap
fi
and my .Xmodmap is thus:

Code: Select all

keycode 62 = Mode_switch
keycode 105 = Mode_switch
keycode 116 = Down NoSymbol Next
keycode 111 = Up NoSymbol Prior
keycode 113 = Left NoSymbol Home
keycode 114 = Right NoSymbol End
The purpose of these changes is to make right-shift + up/down arrow keys behave as page up/down.

xinitrc

Posted: Thu May 29, 2014 5:03 pm
by majest
I can't seem to get my keybindings working on a fresh install of LMDE UP9 MATE. My .xinitrc file is as follows:

Code: Select all

if [ -s ~/.Xmodmap ]; then
    xmodmap ~/.Xmodmap
fi
and .Xmodmap is thus:

Code: Select all

keycode 62 = Mode_switch
keycode 105 = Mode_switch
keycode 116 = Down NoSymbol Next
keycode 111 = Up NoSymbol Prior
keycode 113 = Left NoSymbol Home
keycode 114 = Right NoSymbol End
It used to work on my old LM Maya install. THanks for any help!

Re: xinitrc

Posted: Tue Jun 03, 2014 8:15 am
by majest
I have been searching on the internet and apparantly this is quite a common problem.

There does not appear to be a solution - I have tried putting a custom startup command: sleep 10 && xmodmap /home/myself/.Xmodmap but this doesn't work. The only thing that works is manually typing xmodmap ~/.Xmodmap from a bash shell once I have logged in. It is quite annoying, it seems this should be eminently fixable! Please help :cry:

Re: xinitrc

Posted: Tue Jun 03, 2014 8:30 am
by kurotsugi
I don't know whether if xinitrc is still working or not :3
AFAIK it's now replaced with /etc/rc.local

Re: xinitrc

Posted: Sun Jun 08, 2014 8:31 am
by majest
kurotsugi wrote:I don't know whether if xinitrc is still working or not :3
AFAIK it's now replaced with /etc/rc.local
I can confirm that editing rc.local does not work. Any other ideas? I'm really desperate ;)

Re: xinitrc

Posted: Tue Jun 10, 2014 6:12 am
by majest
Please help me people - my life is falling apart over this... :(

Re: xinitrc

Posted: Wed Jun 11, 2014 5:17 am
by majest
The solution is found. It's shocking, get ready.

Create a new item in Preferences -> Startup Applications with the following command:

/bin/bash -c "sleep 10; /usr/bin/xmodmap /home/username/.Xmodmap"

I don't know why it needs to sleep or why absolute paths are needed. It just works (c).

Re: xinitrc

Posted: Wed Jun 18, 2014 7:05 pm
by majest
Another necessary hack for the startup applications: /bin/bash -c "sleep 10; xset s 0 0 s noblank dpms 0 0 0 -dpms"

This stops XFCE from blanking the screen every 10 minutes.