LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-14-2014, 03:48 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,149

Rep: Reputation: 46
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'.

Last edited by stf92; 03-14-2014 at 04:02 AM.
 
Old 03-14-2014, 04:13 AM   #2
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 293

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by stf92 View Post
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

Last edited by phenixia2003; 03-14-2014 at 04:16 AM.
 
Old 03-14-2014, 04:32 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,149

Original Poster
Rep: Reputation: 46
That is precisely what I just wrote, but for some reason the X server refuses to start.
 
Old 03-14-2014, 04:53 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,149

Original Poster
Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
interchanging lines in a textfile in bash script neo2k Linux - Newbie 5 07-28-2009 11:48 AM
[SOLVED] eth1 and eth2 keeps interchanging vharishankar Debian 6 03-08-2006 03:46 AM
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 02:06 PM
VI: Alternative to ESC ? ultraman Linux - General 3 12-09-2004 01:45 AM
Redirecting output of tab tab benjaminrtz Linux - General 1 04-28-2003 10:11 AM


All times are GMT -5. The time now is 11:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration