Re: [Ubuntu-x-swat] [Bug 1243642] Re: .Xmodmap not automatically loaded on start
I concluded there are two solutions: swap to a different distro or to a different method. I've resorted to the second, and am now tweaking with xkb's infrastructure to arrive at the same remappings (caps becomes escape, escape becomes caps, left alt becomes ctrl, left ctrl becomes alt). It is more complicated, but more robust too. Em qui, 23 de abr de 2015 15:01, Jonathan Harker jesusau...@inbox.com escreveu: I'm seeing the same behaviour after an upgrade from Precise to Trusty, and it is disheartening to see that the bug was reported during an upgrade between intermediate versions with very little traction. I've added logic to my shell rc script to run xmodmap when I log in, but this does not address the case where I resume, so I still need to manually run xmodmap somewhat regularly. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1243642 Title: .Xmodmap not automatically loaded on start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1243642 Title: .Xmodmap not automatically loaded on start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-x-swat] [Bug 1243642] Re: .Xmodmap not automatically loaded on start
You are right. And though you don't have to change all of the 273 files in there, it would be desireable for there to exist a user-level change like was the case with .Xmodmap. I've seen a few explanations on the web as to why Canonical would have wanted to break the old behavior, but I'm still not sure why. In any case, you don't have to change all of the 273 files. In most cases, not even one. You can see a list of the already coded tweaks on `/usr/share/X11/xkb/rules/evdev.lst` and add them. I managed to permanently add the `grp:shifts_toggle`, `terminate:ctrl_alt_bksp` and `caps:swapescape` tweaks (you can grep the the file `evdev.lst` to see a more verbose description of what they do) by issuing the following command: `gsettings set org.gnome.desktop.input-sources xkb-options ['grp:shifts_toggle', 'terminate:ctrl_alt_bksp', 'caps:swapescape']` Best, Rafa On Sun, Mar 01, 2015 at 11:03:07AM -, HaraldK wrote: Well, % find /usr/share/X11/xkb/ -type f|wc -l 273 there are 273 files in this folder a I would definitively need a whole tutorial to change keyboard settings. My hunch is that changing xkb is a developer's job, while .Xmodmap is just great to change these one or two odd keys on the keyboard. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1243642 Title: .Xmodmap not automatically loaded on start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1243642 Title: .Xmodmap not automatically loaded on start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1243642] Re: .Xmodmap not automatically loaded on start
I did it differently. I went about editing the relevant files in that directory I mentioned in my other message. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1243642 Title: .Xmodmap not automatically loaded on start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-x-swat] [Bug 1243642] Re: .Xmodmap not automatically loaded on start
I also got fed up, but adopted an alternative solution. I've migrated my remappings to XKB. I plan to write out a tutorial explaining how to go about using XKB to implement remappings. But who knows when... The internet is, however, plenty of resources on how to go about it. On Sat, Feb 28, 2015 at 7:10 AM HaraldK 1243...@bugs.launchpad.net wrote: Finally I got so fed up with gnome that I switched to XFCE and never looked back. Despite all the other benefits I personally think it has, .Xmodmap works as expected again, in particular also when waking up from sleep. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1243642 Title: .Xmodmap not automatically loaded on start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1243642 Title: .Xmodmap not automatically loaded on start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
Re: [Ubuntu-x-swat] [Bug 1243642] Re: .Xmodmap not automatically loaded on start
I don't think we are talking about the same thing when we talk of XKB. To clarify what I am talking about, I meant editing the files under /usr/share/X11/xkb/ On Sat, Feb 28, 2015, 23:00 Uriel Tunz 1243...@bugs.launchpad.net wrote: This bug remains, and the problem is just as bad after converting from an .Xmodmap file to an xkb map: THE FILE MUST BE MANUALLY RELOADED ON AWAKENING. - A script in /etc/pm/sleep.d does not work. - A script on the desktop does not work. - Tearing hair out does not work. Auto-loading the map on startup is trivial. But how to auto-load even an xkb map file after a sleep? Or maybe, how to not lose the mappings during the sleep-wake process to begin with? Getting ready to revert to 12.04 and not re-upgrade until this bug is fixed. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1243642 Title: .Xmodmap not automatically loaded on start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1243642 Title: .Xmodmap not automatically loaded on start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1246683] Re: Middle button does not work for scrolling
I'm also using `xserver-xorg-input-evdev` from the [ppa](https://launchpad.net/~bjornt/+archive/ubuntu/evdev) One of the problems with this package is that it doesn't turn the trackpad off while you're typing, resulting in lots of accidental clicks. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-input-evdev in Ubuntu. https://bugs.launchpad.net/bugs/1246683 Title: Middle button does not work for scrolling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/1246683/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp