need launcher syntax help with caplock key killer
John Altstatt
jea at altstatt.com
Mon Mar 5 17:44:18 CET 2012
Hi;
I don't used the caps lock key either.
I turn it off by putting this: xmodmap -e 'keycode 66='
in a new startup application, Settings -> Sessions and Startup ->
Application Autostart
This has worked well for me in 4.6 and 4.8 under various Suse 11 and 12
HTH,
-John
On 03/04/2012 11:26 PM, Nick Schermer wrote:
> On 2012-03-05 03:38, Todd And Margo Chester wrote:
>> Hi All,
>>
>> I care not for the Cap Lock key. I can kill it from the command line
>> using the following:
>>
>> setxkbmap -layout "$(setxkbmap -print | awk -F + '/xkb_symbols/
>> {print $2}')" -option ctrl:nocaps
>>
>> But not from a launcher icon (KVM tends to turn it back on, so I made
>> an icon to turn it back off). I have been copying and pasting it from
>> the launcher to an xterm.
>>
>> So, I figure there is some ".desktop" syntax convention I am missing.
>> Anyone know what that is?
>
> You use a pipe, which is not supported by normal spawning. Put the line
> in a script file and run the script from the launcher instead.
>
> Maybe "sh -- setxkbmap..." works, but you should give that a shot in a
> terminal.
>
> Nick
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org
>
>
More information about the Xfce
mailing list