On Friday 02 January 2004 00:32, Yongtao Yang wrote:
Jan Elders
writes: Hello world, Could it be that the .xinitrc file in my home directory is ignored ?
Reason I ask is that I have added in the .xintrc file in my home directory the following (near the end of the file) : # # Add your own lines here... # xmodmap -e 'keycode 96 = EuroSign'
However, after my user-session is started, key 96 still renders the F12 function and not the eurosign. When I go to shell and give the same command then it works OK.
So, my preliminary conclusion is that the .xinitrc file in my home directory is ignored at startup of the session. Is that possible ? If so, how could I remedy that ?
TIA and HAND, --
Hi, Jan
Just a wild guess here. Is your .xinitrc executable? What did "ls -l ~/.xinitrc" say? It should be at least executable by the owner.
Try "chmod u+x ~/.xinitrc" and relogin.
Blush !!!!! Yes of course, I should have checked. It was NOT executable, so I corrected this. Thanks for your "wild guess" ! But .... amazingly the xmodmap command as mentioned above still insn't executed (or anyway does not result in setting the eurosign to the F12 key) after re-login. I know by now that .xinitrc is executed because I added a statement : logger ".xinit executed by me" , which I can see in /var/log/messages. So : any suggestions why the xmodmap statement has no result ??? (The same statement works allright when I execute it by hand in shell) TIA and cheers, -- Jan Elders the Netherlands http://www.xs4all.nl/~jrme/ "Home of the Network Acronyms"