Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strangeness in /etc/X11/xinit/xinitrc?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2382
Location: Wisconsin (USA)

PostPosted: Tue May 14, 2002 4:29 am    Post subject: Strangeness in /etc/X11/xinit/xinitrc? Reply with quote

I was trying to get my MS intellimouse optical set up, and in the process, looking for a suitable spot to put a .Xmodmap file. I didn't want to use just ~/.Xmodmap because it's not system wide, and I'd rather not mess with that whenever I make a new user. So...

This is a part of the old xinitrc file:

Code:

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=XINITDIR/.Xresources
sysmodmap=XINITDIR/.Xmodmap


This shows the changes I made to make this a little more sane IMO:

Code:

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap


As I understand it, the old system wide files would have been looked for in a XINITDIR directory relative to the current dir. This doesn't seem very system wide, because it would be looking in whatever dir the user ran startx, right? So, I changed it to a hard-coded location, and all is well like that. What is the logic in the way it was doing it before?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum