Advertisement
htutt

keyboard_switch.sh

Nov 26th, 2011
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1. #!/bin/sh
  2. # This is keyboard layout switcher script for a FreeBSD user.
  3. # When I am using two layouts US to MM on X window managers like XFCE or FVWM,
  4. # I have to run this script but for Gnome, I don't need this.
  5.  
  6. # to have two layouts of us and mm
  7. setxkbmap -layout us,mm
  8.  
  9. # to get switch between those two layouts.
  10. setxkbmap -option -option grp:alt_shift_toggle,lv3:win_switch
  11.                    
  12.              
  13.  
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement