Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thunar:dev:mouse_button_magic [2020/05/18 23:51] – created alexxconsthunar:dev:mouse_button_magic [2024/07/08 17:22] (current) alexxcons
Line 1: Line 1:
-=== Simulation of Horizontal Scrolling(Trackball) ===+~~NOTOC~~ 
 +{{ :thunar:dev:thunar.png?nolink|}} 
 +====== Thunar - Mouse Button Magic ====== 
 + 
 +==== Simulation of Horizontal Scrolling(Trackball) ====
  
  
Line 11: Line 15:
     b:5     b:5
          
-=== Reassign mouse buttons ===+==== Reassign mouse buttons ====
  
 - use xev in order to see which buttons your mouse has - use xev in order to see which buttons your mouse has
Line 31: Line 35:
 Activate new mapping like that: Activate new mapping like that:
  
-  xmodmap ~/.Xmodmap +  xmodmap ~/.Xmodmap 
 + 
 + 
 +==== Simulate Keyboard buttons ==== 
 + 
 +For an X11 session that can be done via "xdotool". E.g. for the special-key "Back": 
 + 
 +  sleep 2;xdotool key 0x1008ff26 
 + 
 +The Hex codes of keys can be looked up here: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gdk/gdkkeysyms.h 
 + 
 +---- 
 +[[:thunar:dev:|Back to Thunar Dev Notes]] 
 + 
 +[[https://docs.xfce.org/xfce/thunar/start|Back to Thunar main page]]