Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.misc > #2159

Re: Customizing your keyboard experience

From Huge <Huge@nowhere.much.invalid>
Newsgroups comp.misc
Subject Re: Customizing your keyboard experience
Date 2014-03-31 13:27 +0000
Organization Piglet's Pickles & Preserves
Message-ID <bpt8pnFacqrU1@mid.individual.net> (permalink)
References <lhbn5s$4d5$1@solani.org>

Show all headers | View raw


On 2014-03-31, RS Wood <rsw@therandymon.com> wrote:
> From the «panic button top right» department:
> Title: Toggle keyboard keys in Linux using terminal commands
> Author: bob@lxer.com
> Date: Sun, 30 Mar 2014 13:45:15 -0400
> Link: http://lxer.com/module/newswire/ext_link.php?rid=200358
>
> It is easier to use GUI tools to setup keyboard shortcuts, but sometimes you
> need to map certain keys for typical purpose (e.g swapping caps and esc when
> using vim). In this tutorial I will try to list different linux tools that
> you can use to do these tasks (you might have to install them from the
> repository.

#!/bin/bash

# Caps lock can only be set/unset with Shift/CapsLock
#
if [ -n "$DISPLAY" ]
then
	xmodmap -e "clear lock"
	xmodmap -e "keycode 66 = NoSymbol Caps_Lock"
	xmodmap -e "add lock = Caps_Lock"
fi



-- 
Today is Setting Orange, the 17th day of Discord in the YOLD 3180
“Stupidity cannot be cured. Stupidity is the only universal capital crime;
 the sentence is death. There is no appeal, and execution is carried out
                 automatically and without pity.”

Back to comp.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Customizing your keyboard experience RS Wood  <rsw@therandymon.com> - 2014-03-31 12:30 +0000
  Re: Customizing your keyboard experience Huge <Huge@nowhere.much.invalid> - 2014-03-31 13:27 +0000
    Re: Customizing your keyboard experience Tim Streater <timstreater@greenbee.net> - 2014-03-31 15:07 +0000
      Re: Customizing your keyboard experience Marko Rauhamaa <marko@pacujo.net> - 2014-03-31 17:26 +0300
        Re: Customizing your keyboard experience Huge <Huge@nowhere.much.invalid> - 2014-03-31 14:37 +0000
      Re: Customizing your keyboard experience RS Wood <rsw@therandymon.com> - 2014-03-31 14:29 +0000
      Re: Customizing your keyboard experience Tim Watts <tw_usenet@dionic.net> - 2014-03-31 15:35 +0100
  Re: Customizing your keyboard experience Randy Westlund <Vorzakir@invalid.invalid> - 2014-04-01 21:14 +0000
  Re: Customizing your keyboard experience Dario Niedermann <dnied@tiscali.it> - 2014-04-03 11:37 +0200

csiph-web