HI
I got an old X41 Tablet, it runs Linux Mint 18(32bit) XFCE, I use it for painting with MyPaint...
looking to get the buttons under the screen to work..
found this link:
http://www.thinkwiki.org/wiki/Tablet_Hardware_Buttons
but did not got it to work.
does any one know or had any success of getting those buttons to work under Linux ?
Thanks
G
Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
X41 Tablet Hardware Buttons with linux Mint 18 XFCE
-
jaspen-meyer
- Senior Member

- Posts: 837
- Joined: Wed May 19, 2010 11:21 pm
- Location: Pardubice, Czech Republic
- Contact:
Re: X41 Tablet Hardware Buttons with linux Mint 18 XFCE
One approach to solving the problem is to:
A) figure out what output it generated by pushing each button, and then
B) map that output to the correct behavior/function and save this as a configuration file
C) [may not be necessary] set your OS to automatically load the configuration file at startup
Try 'xev' from the command line -- and output the lines which say "keycode":
Then figure out how to remap your keycode to the correct value (Return, Escape, Next, Prior) in your OS and windows manager by searching for 'remap key xev mint xfce'
This may work:
replace 000 with the keycode you get when pushing the 'next' button on the tablet screen.
A) figure out what output it generated by pushing each button, and then
B) map that output to the correct behavior/function and save this as a configuration file
C) [may not be necessary] set your OS to automatically load the configuration file at startup
Try 'xev' from the command line -- and output the lines which say "keycode":
Code: Select all
xev|grep keycodeThe output of pressing Enter, Esc, Page up, Page down from my x60 is:xev - print contents of X events
DESCRIPTION
Xev creates a window and then asks the X server to send it events
whenever anything happens to the window (such as it being moved,
resized, typed in, clicked in, etc.). You can also attach it to
an existing window. It is useful for seeing what causes events to
occur and to display the information that they contain; it is
essentially a debugging and development tool, and should not be
needed in normal usage.
Code: Select all
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,This may work:
Code: Select all
xmodmap -e "keycode 000 = Next Next"T420 i7 3612QM seabios; T420 i7 3630QM; T400 Q9100 seabios; T61 P9600; T60 libreboot; x62; x60s libreboot, led; x24 xiphmont led
Re: X41 Tablet Hardware Buttons with linux Mint 18 XFCE (Solved)
HI jaspen-meyer
and thank you for your replay.
I did not got any sight from the buttons with the command
but you gave me a direction and I did more search and found that the command
pop out a small menu and when choosing option number 3 -"AT Translated Set 2 keyboard "
it gives to fallowing results:
Tablet button Enter = value 69
Tablet button Esc = value 6b
Tablet button left arrow = value 6e
Tablet button right arrow = value 6d
also in the output of the command "sudo evtes" there is a list with numbers of all other keyboard keys...
So now with the command:
I can set:
Tablet button Enter to do Enter
Tablet button Esc to do Esc
Tablet button left arrow to do Volume down
Tablet button right arrow to do Volume up
in order to make those changes permanent I put this command without the sudo in the file :
it works Just like magic
Thanks allot
and thank you for your replay.
I did not got any sight from the buttons with the command
Code: Select all
xev|grep keycodeCode: Select all
sudo evtestit gives to fallowing results:
Tablet button Enter = value 69
Tablet button Esc = value 6b
Tablet button left arrow = value 6e
Tablet button right arrow = value 6d
also in the output of the command "sudo evtes" there is a list with numbers of all other keyboard keys...
So now with the command:
Code: Select all
sudo setkeycodes 69 28 6b 1 6e 114 6d 115 Tablet button Enter to do Enter
Tablet button Esc to do Esc
Tablet button left arrow to do Volume down
Tablet button right arrow to do Volume up
in order to make those changes permanent I put this command without the sudo in the file :
Code: Select all
/etc/rc.local Thanks allot
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Thinkpad t420 Linux Mint boot settings
by mannyrd12 » Sun Mar 22, 2026 11:25 am » in ThinkPad T400/T410/T420 and T500/T510/T520 Series - 7 Replies
- 2532 Views
-
Last post by farmall
Fri Mar 27, 2026 2:03 pm
-
-
-
PimpMyPad: software and hardware needed
by wujstefan » Tue Feb 10, 2026 5:29 am » in ThinkPad Legacy Hardware - 0 Replies
- 2331 Views
-
Last post by wujstefan
Tue Feb 10, 2026 5:29 am
-
-
-
Will X220 Tablet palmrest fit X230 Tablet?
by tts_rayhan » Sat Feb 07, 2026 7:28 pm » in ThinkPad X230-X280 / X390 Series - 0 Replies
- 4128 Views
-
Last post by tts_rayhan
Sat Feb 07, 2026 7:28 pm
-
-
-
Better graphics on recent linux for x61t
by thinkpadrobert » Sun Oct 26, 2025 1:40 am » in Thinkpad X60/X61 Series incl. Tablets - 1 Replies
- 13103 Views
-
Last post by axur-delmeria
Sun Oct 26, 2025 9:40 am
-
Who is online
Users browsing this forum: No registered users and 37 guests



