LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Interchanging TAB with ESC in the GUI. (http://www.linuxquestions.org/questions/slackware-14/interchanging-tab-with-esc-in-the-gui-4175498146/)

stf92 03-14-2014 03:48 AM

Interchanging TAB with ESC in the GUI.
 
X.Org X Server 1.12.3
Xfce 4.10

Hi: I wrote the following two files:
Code:

semoi@server:/home/semoi2$ cat .Xmodmap
keycode 9 = 65
semoi@server:/home/semoi2$ cat .xinitrc
modmap ~/.Xmodmap
semoi@server:/home/semoi2$

but, starting X he immediately exits with no errors. I presume the error is in .Xmodmap. Could you tell me the syntax to make scan code 9 look like scan code 65?

EDIT: that is: ESC look like 'A'.

phenixia2003 03-14-2014 04:13 AM

Quote:

Originally Posted by stf92 (Post 5134322)
X.Org X Server 1.12.3
Xfce 4.10

Hi: I wrote the following two files:
Code:

semoi@server:/home/semoi2$ cat .Xmodmap
keycode 9 = 65
semoi@server:/home/semoi2$ cat .xinitrc
modmap ~/.Xmodmap
semoi@server:/home/semoi2$

but, starting X he immediately exits with no errors. I presume the error is in .Xmodmap. Could you tell me the syntax to make scan code 9 look like scan code 65?

EDIT: that is: ESC look like 'A'.

The syntax is keycode [ keycode ] = [ keysym ], so in your .Xmodmap you must add this :

Code:

keycode 9 = A
Hope this helps.

PS: I guess there's a typo in your .xinitrc, this should be xmodmap ~/.Xmodmap
--
SeB

stf92 03-14-2014 04:32 AM

That is precisely what I just wrote, but for some reason the X server refuses to start.

stf92 03-14-2014 04:53 AM

I moved the .Xmodmap file to /etc/X11/xinit and everything went well. Now I can change the location of the ESC key, always so unreachable! Though I only use the GUI terminals ocassionaly.


All times are GMT -5. The time now is 05:00 AM.