Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2012-11-03 Thread Luca Capello
Hi there!

On Mon, 21 Nov 2011 19:30:31 +0100, Carsten Otto wrote:
> in my case it helped to add "caps" to XKBOPTIONS in
> /etc/default/keyboard. After that I had my old behaviour back.

Simply adding "caps" did not worked for me, while it did adding
"ctrl:nocaps", which is the same setting used by setxkbmap, see:

  

As explained in /usr/share/doc/keyboard-configuration/README.Debian, I
also did:

  # dpkg-reconfigure keyboard-configuration
  # dpkg-reconfigure console-setup

Thx, bye,
Gismo / Luca


pgpgsCIOWDKRC.pgp
Description: PGP signature


Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-11-21 Thread Carsten Otto
Hi,

in my case it helped to add "caps" to XKBOPTIONS in
/etc/default/keyboard. After that I had my old behaviour back.

Bye,
-- 
Carsten Otto
cars...@c-otto.de
www.c-otto.de


signature.asc
Description: Digital signature


Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-09-14 Thread jidanni
All I know is I have to change windows back and forth after exiting
Firefox, etc. here in icewm to be able to type anything, and I have
given up asking why.



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877h5amx44@jidanni.org



Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-09-14 Thread Karl Hammar
Julien:
> On Wed, Sep 14, 2011 at 16:25:45 +0200, Luca Capello wrote:
...
> > I completely understand John's feelings, xmodmap is a default/old Unix
> > tool, why breaking it?  What are the advantages of the latter?
> > 
> >   
> > 
> A bit of googling would turn up:
> http://who-t.blogspot.com/2010/06/keyboard-configuration-its-complicated.html

=== qoute from above
  So before you think about writing an angry comment that
  we've broken your configuration: stop using input and
  output hotplugging, stop using suspend/resume, stop using
  a desktop environment that manages your keyboard configuration.
  Then you'll notice everything still works as before and you
  can xmodmap away.
===

So if I'm using plain old X11 I'll be fine --- good to know.
And whoever want to use kde/gnome, should use xkbd.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57





-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110914185701.eec3581bf...@turkos.aspodata.se



Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-09-14 Thread Julien Cristau
On Wed, Sep 14, 2011 at 16:25:45 +0200, Luca Capello wrote:

> Nothing wrong with you, but I hope you are kidding, especially for the
> obsolete part.
> 
Very much not kidding.

> 1) it seems that xmodmap is still developed:
> 
>  
> 
No it is not.

> 2) why is CapsLock the only key that stopped working with xmodmap, while
>for the other everything is OK?  Until today I was using myself with
>success the following ~/.xmodmaprc:
> 

> --8<---cut here---start->8---
> !! unset Caps_Lock and Win_key
> remove lock = Caps_Lock
> remove mod4 = Super_L
> ! Caps Lock as Win key
> keycode 66 = Super_L
> add mod4 = Super_L
> --8<---cut here---end--->8---
> 
> I completely understand John's feelings, xmodmap is a default/old Unix
> tool, why breaking it?  What are the advantages of the latter?
> 
>   
> 
A bit of googling would turn up:
http://who-t.blogspot.com/2010/06/keyboard-configuration-its-complicated.html

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110914154027.ga28...@coloquinte.cristau.org



Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-09-14 Thread Luca Capello
unarchive 621835
reopen 621835 !
found 621835 7.6+3
severity 621835 important
thanks

[Resending because the bug was archived thus the BTS rejected this
 email, I was sure it would have worked because I seem to remember it
 did work in the past.  Sorry if you got it twice.]

Hi there!

Reopening this bug, setting myself as submitter, adding the current
version of x11-xserver-utils in unstable and setting Severity:
important, for obvious reasons.

On Sun, 10 Apr 2011 03:40:40 +0200, Cyril Brulebois wrote:
> jida...@jidanni.org  (10/04/2011):
>> Nobody can figure out how to do it because there are no examples on
>> the setxkbmap man page.
>
> I wrote it's an option. So you use:
>   setxkbmap -option $whatiwrote
>
> and that works.

That does not mean that it is easy to find it out, and I was in the same
situation as jidanni, here why.

I wanted to map Caps_Lock as Control_L, so I fired up `man xmodmap` and
found an example (then discovering a bug, see #641588), but I was too
much optimistic.  Having found this bug I thought that something like

  $ setxkbmap -option caps:ctrl

would have been correct.  Finally, /usr/share/X11/xkb/rules/base.lst
told me that what I wanted was the following command, which is
counterintuitive to say the least:

  $ setxkbmap -option ctrl:nocaps

>> CB> And stop using xmodmap, that's obsolete.
>> 
>> Well why don't you put a warning on its man page. Else how is
>> anybody supposed to know?
>
> Well, nobody bothered to send a patch. Feel free to.

Nothing wrong with you, but I hope you are kidding, especially for the
obsolete part.

1) it seems that xmodmap is still developed:

 

2) why is CapsLock the only key that stopped working with xmodmap, while
   for the other everything is OK?  Until today I was using myself with
   success the following ~/.xmodmaprc:

--8<---cut here---start->8---
!! unset Caps_Lock and Win_key
remove lock = Caps_Lock
remove mod4 = Super_L
! Caps Lock as Win key
keycode 66 = Super_L
add mod4 = Super_L
--8<---cut here---end--->8---

I completely understand John's feelings, xmodmap is a default/old Unix
tool, why breaking it?  What are the advantages of the latter?

  

Thx, bye,
Gismo / Luca



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87obynupvs@gismo.pca.it



Processed: Re: Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-09-14 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> unarchive 621835
Bug #621835 {Done: Cyril Brulebois } [x11-xserver-utils] 
xmodmap -e 'remove lock = Caps_Lock' no longer works.
Unarchived Bug 621835
> reopen 621835 !
Bug #621835 {Done: Cyril Brulebois } [x11-xserver-utils] 
xmodmap -e 'remove lock = Caps_Lock' no longer works.
Changed Bug submitter to 'Luca Capello ' from 'jida...@jidanni.org'
> found 621835 7.6+3
Bug #621835 [x11-xserver-utils] xmodmap -e 'remove lock = Caps_Lock' no longer 
works.
Bug Marked as found in versions x11-xserver-utils/7.6+3.
> severity 621835 important
Bug #621835 [x11-xserver-utils] xmodmap -e 'remove lock = Caps_Lock' no longer 
works.
Severity set to 'important' from 'normal'

> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
621835: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621835
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13160103643893.transcr...@bugs.debian.org



Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-04-10 Thread John D. Hendrickson and Sara Darnell
I use xmodmap.  No way is it obsolete.  It's who's job?   To break unix 
software by making time honored standards "obsolete" a little at a time? 
 - John


jida...@jidanni.org wrote:

OK,
setxkbmap -option caps:none
worked. Thanks!

"CB" == Cyril Brulebois  writes:

CB> Well, nobody bothered to send a patch. Feel free to.
Just add '*** xmodmap is obsolete, try setxkbmap instead ***'
somewhere on the xmodmap manpage. That would help #584502 sufferers too.








--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4da195a6.8020...@cox.net



Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-04-10 Thread jidanni
> "JDHaSD" == John D Hendrickson and Sara Darnell  
> writes:
JDHaSD> No way is it obsolete.
Just as I suspected.



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87zkny8hai@jidanni.org



Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-04-09 Thread jidanni
OK,
setxkbmap -option caps:none
worked. Thanks!
> "CB" == Cyril Brulebois  writes:
CB> Well, nobody bothered to send a patch. Feel free to.
Just add '*** xmodmap is obsolete, try setxkbmap instead ***'
somewhere on the xmodmap manpage. That would help #584502 sufferers too.



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mxjyx3wv@jidanni.org



Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-04-09 Thread Cyril Brulebois
jida...@jidanni.org  (10/04/2011):
> This year sometime. Maybe this month.

That's… helpful.

> Nobody can figure out how to do it because there are no examples on
> the setxkbmap man page.

I wrote it's an option. So you use:
  setxkbmap -option $whatiwrote

and that works.

> CB> And stop using xmodmap, that's obsolete.
> 
> Well why don't you put a warning on its man page. Else how is
> anybody supposed to know?

Well, nobody bothered to send a patch. Feel free to.

KiBi.


signature.asc
Description: Digital signature


Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-04-09 Thread jidanni
> "CB" == Cyril Brulebois  writes:

CB> jida...@jidanni.org  (09/04/2011):
>> xmodmap -e 'remove lock = Caps_Lock' #no longer works.

CB> Since when/what upgrade?

This year sometime. Maybe this month.

>> The best one can do is assign it to something else,
>> xmodmap  -e 'keycode 66 = Tab'
>> as there isn't even a way to do
>> xmodmap  -e 'keycode 66 = NOTHING'.

CB> Surely one of the caps* setxkbmap option is going to do whatever you
CB> want. Like caps:none.

Nobody can figure out how to do it because there are no examples on the
setxkbmap man page.

$ setxkbmap caps:none
Error loading new keyboard description
$ setxkbmap -query
rules:  evdev
model:  pc105
layout: us
options:lv3:ralt_switch
$ setxkbmap caps:none | xkbcomp - $DISPLAY
Error loading new keyboard description
syntax error: line 1 of stdin
last scanned symbol is:
Errors encountered in stdin; not compiled.

CB> See available options in:
CB>   /usr/share/X11/xkb/rules/base.lst

caps:none sounds fine to me. But I can't do it as you see above.

CB> And stop using xmodmap, that's obsolete.

Well why don't you put a warning on its man page. Else how is anybody
supposed to know?



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/871v1aanw6@jidanni.org



Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-04-09 Thread Cyril Brulebois
jida...@jidanni.org  (09/04/2011):
> xmodmap -e 'remove lock = Caps_Lock' #no longer works.

Since when/what upgrade?

> The best one can do is assign it to something else,
> xmodmap  -e 'keycode 66 = Tab'
> as there isn't even a way to do
> xmodmap  -e 'keycode 66 = NOTHING'.

Surely one of the caps* setxkbmap option is going to do whatever you
want. Like caps:none.

See available options in:
  /usr/share/X11/xkb/rules/base.lst

And stop using xmodmap, that's obsolete.

KiBi.


signature.asc
Description: Digital signature


Bug#621835: xmodmap -e 'remove lock = Caps_Lock' no longer works.

2011-04-09 Thread jidanni
Package: x11-xserver-utils
Version: 7.6+2
File: /usr/bin/xmodmap

xmodmap -e 'remove lock = Caps_Lock' #no longer works.
The best one can do is assign it to something else,
xmodmap  -e 'keycode 66 = Tab'
as there isn't even a way to do
xmodmap  -e 'keycode 66 = NOTHING'.



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87lizju7w2@jidanni.org