view · edit · sidebar · attach · print · history

Setting the MiddleMouse

<< Daemontools | Index | sound >>

#!/bin/sh
xkbset m sticky; xkbset exp =m; xmodmap -e "keycode 105 = Pointer_Button2";
setxkbmap -layout ch

Works perfectly well for Kali Linux and Gentoo/Funtoo

#!/bin/bash
setxkbmap -layout ch -option lv3:rwin_switch
xkbset m sticky; xkbset exp =m; 
xmodmap -e "keycode 105 = Pointer_Button2"
xmodmap -e 'keycode 134 = ISO_Level3_Shift'
xset s off
xset -dpms
view · edit · sidebar · attach · print · history
Page last modified on April 18, 2018, at 06:45 PM