You are not logged in.

#1 2005-02-16 22:08:30

Archdevil
Member
Registered: 2005-01-30
Posts: 39

command in .xinitrc not being executed? [SOLVED]

Hi!
I made some changes to my keyboard layout so I can use my hotkeys.
When I start x I need to execute the command

xmodmap ~/xmodmap.conf

I added this in my .xinitrc file to be executed, but it does not work.
When I run it from cli it works great.

Suggestions?

Thanks!

Offline

#2 2005-02-16 22:22:17

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: command in .xinitrc not being executed? [SOLVED]

are you using startx or xdm?
xdm uses .xsession and not .xinitrc ( I symlink them )

Offline

#3 2005-02-16 22:34:34

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: command in .xinitrc not being executed? [SOLVED]

Also try to move this line to the begining of your .xinitrc.

Offline

#4 2005-02-16 23:01:02

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: command in .xinitrc not being executed? [SOLVED]

or make sure that whatever is before it is backgrounded.

Offline

#5 2005-02-16 23:06:13

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: command in .xinitrc not being executed? [SOLVED]

Dusty wrote:

or make sure that whatever is before it is backgrounded.

like so:

Dusty &

Offline

#6 2005-02-16 23:44:11

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: command in .xinitrc not being executed? [SOLVED]

Oh sorry. Newbie Corner.  :oops:

Dusty

Offline

#7 2005-02-17 09:54:24

Archdevil
Member
Registered: 2005-01-30
Posts: 39

Re: command in .xinitrc not being executed? [SOLVED]

phrakture wrote:

are you using startx or xdm?

I start x using kdm:

My inittab says:

id:5:initdefault:

and

x:5:respawn:/opt/kde/bin/kdm -nodaemon

So do I execute xinitrc?

Thanks for all the help sofar!

:twisted:

Offline

#8 2005-02-17 15:45:38

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: command in .xinitrc not being executed? [SOLVED]

kdm is a different breed.... can't recall what is uses, but it's not .xinitrc

try .xsession

Offline

#9 2005-02-17 17:31:08

Archdevil
Member
Registered: 2005-01-30
Posts: 39

Re: command in .xinitrc not being executed? [SOLVED]

II made a new file in which I placed the command. I put the file in  ~/.kde/Autostart
works great!

Marcel   :twisted:

Offline

Board footer

Powered by FluxBB