You are not logged in.

#1 2008-08-27 23:47:13

venky80
Member
Registered: 2007-05-13
Posts: 1,002

autostart Xmodmap before KDE4 starts

I want to start command $xmodmap ~/.Xmodmap
befor kde4 starts, I am using KDM i tried System Setting >Advanced > autostart but there is no way to apply the setting "start before KDE"

all my key binding association vanishes after reboot


Acer Aspire V5-573P Antergos KDE

Offline

#2 2008-08-28 08:45:38

vaidas
Member
Registered: 2008-02-08
Posts: 15

Re: autostart Xmodmap before KDE4 starts

add "xmodmap ~/.Xmodmap" line to your .xinitrc

Offline

#3 2008-08-28 11:47:54

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: autostart Xmodmap before KDE4 starts

Are you sure?? In the 2 days, I used KDE4, I found this option in the kdesettings, I guess it was exactly the section you described here. Do you use KDE4 from [extra] or the KDEmod4?

Offline

#4 2008-08-28 14:57:11

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: autostart Xmodmap before KDE4 starts

I use KDEmod, but there is no way to start the commard befor KDE starts...sorry xinitrc doesn't work


Acer Aspire V5-573P Antergos KDE

Offline

#5 2008-08-28 15:04:56

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: autostart Xmodmap before KDE4 starts

Try linking .xprofile to point to the .xinitrc you created:

$ cd ~; ln -s .xinitrc .xprofile

Once I did that, it seemed to work just fine.

Offline

#6 2008-08-28 15:08:00

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 111

Re: autostart Xmodmap before KDE4 starts

To run some kind of script before KDE starts just move this script to ~/.kde4/env. If env directory does not exist then just create it. Remember to chmod +x it wink

e.g. create xmod.sh in ~/.kde4/env

#!/bin/bash

xmodmap ~/.Xmodmap

Last edited by hash (2008-08-28 15:10:42)

Offline

Board footer

Powered by FluxBB