[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-12-05 Thread HaraldK
It is a sad development that for such a simple task as to give one or
two keys another meaning the completely sufficien Xmodmap does not work
any more. I finally gave in and started using xkb. I described the way
it worked for me in detail here: http://askubuntu.com/a/846184/367444 .
The question and answers contain additional information.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/+bug/1243642/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-12-05 Thread rpkrawczyk
All answers really seem like hacks to me. What is the solution to this
problem? For me, I need to remap certain characters on a per user basis
in X regardless of the settings and window manager used. How can I do
this (correctly)?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/+bug/1243642/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-09-29 Thread Timo Aaltonen
not an X bug, reassigning

and my use case for getting "<|>" on an US layout is actually already
available via altgr-shift-{8,9,i}, so I don't need hacks anymore

but I think you can drop your custom layouts in /etc/X11/xkb(/symbols?),
clean up the cache in /var/lib/xkb and restart the server.. maybe it'll
show up in the gui then

** Package changed: xorg (Ubuntu) => ubuntu

** Changed in: ubuntu
 Assignee: Timo Aaltonen (tjaalton) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/+bug/1243642/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-08-29 Thread sunggon
For anyone who is interested, i just made script version of Xmodmap
(e.g., xmodmap -e "code", then registered it as start up application. It
works great with my chromebook and crouton setup :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-08-14 Thread le hollandais volant
Hello,

Not sure if this is relevant, but my .Xmodmap is loaded (using "xmodmap
/home/$USER/.Xmodmap" in .xsessionrc) *only* when I’m logging into a TTY
shell (non graphical shell).

When I login to Mate/Unity, something, somewhere appears to be reversing
the Xmodmap instructions.

A work around would be to graphically add a startup command, delayed by
~5 seconds, but still this would not be loaded when awaking from
suspend/hibernate.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-06-10 Thread Uriel Tunz
@Hélio, only thing I did was upgrade to 16.04 (clean install), copy my
xkb file over and load it (xkbcomp $HOME/.xkb/xkb-map $DISPLAY). That's
it.

Well, it *does* get loaded on each boot via .bashrc (as noted in post
14) when a terminal is auto-opened (put in startup prefs) so not sure it
will survive a reboot on its own. Will check that.

But once loaded, it remains in effect after all suspends and hibernates,
same as .Xmodmap used to work. I can live with the minor inconvenience
of setting up the auto-load. Just have to remember what I did after a
year or more passes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-06-08 Thread Hélio Nunes
Uriel,

it does not work for me.

Please, post the details of what you did.

Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-06-08 Thread Uriel Tunz
Bug is gone in 16.04!

.Xmodmap (which IS deprecated) still needs to be converted to xkb (post
14,
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/comments/14),
but then everything works as before: keyboard map reloads automatically
after any number of suspend/hibernate cycles. Seriously happy about
this. Anyone see different behavior?

I'm keeping .Xmodmap as a kind of original source file file for
reference, but editing the xkb file directly now (rarely).

Many thanks to the devs for fixing the bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-06-07 Thread Hélio Nunes
Alexander, the script I posted (#6) still working. I did not found any
other solution to this "feature". The evil is the gnome keyboard
configuration itself. As told in
https://bugzilla.gnome.org/show_bug.cgi?id=721873, this is not a bug,
but a side effect of using the gnome interface.

The script is a simple and user specific workaround. You could modify
the xkb configuration files, but, as Uriel (#14) inform, user loaded xkb
configurations gets erased as well. I still use the xmodmap because it
is straightforward for my needs. A better script may interact with
org.gnome.libgnomekbd.desktop and/or org.gnome.desktop.input-sources and
xkbcomp.

Good luck.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-06-07 Thread Alexander Thomas
@Nick: it is based on Debian all right. Only they added stuff on top that 
overrides pre-existing things. I'm in exactly the same boat as you.
Xmodmap still works and it can be run from the startup applications, but 
something else overrides the keymap immediately after executing the startup 
applications. So, I added a delay to my script, only to notice that this same 
something still overrides the keymap at semi-random moments. I think I'll try 
that hacky script from comment #6, which I was about to write by myself until I 
found this bug report…

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-05-06 Thread Nick
I just switched to Ubuntu from Debian (using xfce not gnome). .Xmodmap
has worked on Debian since ... forever. I can't do without it. I thought
Ubuntu was based on Debian?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-04-08 Thread Tim Peeters
My use case: remap the ALT and CMD keys on a Macbook so that I get the
ALT and SUPER keys on the place where I am used to find them on a
"normal" keyboard.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-02-23 Thread Timo Aaltonen
this annoys me enough so that I want at least a somewhat hacky thing
installed by default..

usecase; remap a single key on US layout kbd so that I can use FI still
being able to get "<>|"

** Changed in: xorg (Ubuntu)
 Assignee: (unassigned) => Timo Aaltonen (tjaalton)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-02-13 Thread HaraldK
Reading the bugzilla bug linked in #16, we are asked to not use gnome if
we want to be able to tweak one or the other key on our keyboard,
because they are not able to build a working UI on top of xmodmap. At
least this is what I read from it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-02-11 Thread Lalo Martins
One thing to add (I'm shocked nobody mentioned yet): edits in anything
in /usr/... will be lost next time the respective package is updated.
So, even on single-user machines, a per-user (or at least /etc) option
is *needed*.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2016-02-11 Thread Lalo Martins
Suggest changing the title to “Need a per-user method of remapping keys
(.Xmodmap, .Xkbmap don't work)”

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-10-31 Thread pablomme
Modifying /usr/share/X11/xkb/symbols/pc has the side effect that SDL is
unable to recognize the keyboard layout, and most keys do not work in
SDL applications if a modified keymap is used.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-04-23 Thread Jonathan Harker
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 a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-04-23 Thread Rafael Nonato
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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-03-30 Thread Herwig Hochleitner
There is a gnome ticket for this problem, please add your use cases
there:

https://bugzilla.gnome.org/show_bug.cgi?id=721873

** Bug watch added: GNOME Bug Tracker #721873
   https://bugzilla.gnome.org/show_bug.cgi?id=721873

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-03-01 Thread HaraldK
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 a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-03-01 Thread Rafael Nonato
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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-03-01 Thread Uriel Tunz
Yes, different. Editing those system-level files affects keyboard 
mapping for ALL users. But this bug is about .Xmodmap, which is 
per-user. My post noted that even xkb maps are lost on suspend/sleep.

Converting .Xmodmap files to xkb is straightforward. After manually 
loading the desired .Xmodmap file, then:

[[ -d $HOME/.xkb ]] || mkdir $HOME/.xkb
xkbcomp $DISPLAY $HOME/.xkb/xkb-map

Then edit $HOME/.xkb/xkb-map, which is fairly intuitive, if needed. 
Next, since the file won't load automatically no matter what, I did:

echo 'xkbcomp $HOME/.xkb/xkb-map $DISPLAY'  ~/.bashrc

This way, at least the map can be loaded by just popping open a 
terminal. (Remove the 'xmodmap .Xmodmap' line in .bashrc, if it was there.)

On single-head, multi-user systems where everyone doesn't use the same 
keyboard map, instead of just being able to switch users, it would be 
necessary to change configuration and restart (if control is only 
system-wide). Completely unacceptable. This bug really needs fixing.


On 03/01/2015 12:03 AM, Rafael Nonato wrote:
 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/


-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-03-01 Thread Rafael Nonato
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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-02-28 Thread HaraldK
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 a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-02-28 Thread Rafael Nonato
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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-02-28 Thread Rafael Nonato
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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2015-02-28 Thread Uriel Tunz
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 a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2014-08-21 Thread Hélio Nunes
If you force the load of the .Xmodmap by adding the command 'xmodmap
~/.Xmodmap' in the Startup Applications, all is reverted if you
suspend/resume or if you change the user and get back etc. So I managed
to adapt some snippets I found, using the python dbus interface to
reissue the command when resuming, changing the keyboard layout or
changing sessions. It can be saved as /usr/local/bin/user-xmodmap-
reload-hack (or other path/name) and then added to the Startup
Applications.

I didn't test it very much and I don't have much code experience, so you
are welcome to modify.

** Attachment added: user-xmodmap-reload-hack
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/4183061/+files/user-xmodmap-reload-hack

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2014-05-11 Thread HaraldK
man-year-wasting indeed :-(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2014-03-22 Thread Paul Dumais
Your work-around works because it doesn't rely on any modifications done
by /usr/sbin/lightdm-session where it loads the modifications found in
either ~/.Xkbmap or ~/.xmodmap. The modifications to the keyboard layout
found in these files are run, but are immediately  reverted by some
other process - which is a major bug that is really frustrating because
it breaks a lot of behavior. This still needs to get fixed. Anything put
in ~/.Xkbmap or ~/.xmodmap is not being honored in a very silent and
man-year-wasting fashion.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2013-11-01 Thread Dirk Schuster
** Attachment removed: BootDmesg.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888439/+files/BootDmesg.txt

** Attachment removed: BootLog.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888440/+files/BootLog.txt

** Attachment removed: CurrentDmesg.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888441/+files/CurrentDmesg.txt

** Attachment removed: Dependencies.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888442/+files/Dependencies.txt

** Attachment removed: DpkgLog.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888443/+files/DpkgLog.txt

** Attachment removed: GconfCompiz.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888444/+files/GconfCompiz.txt

** Attachment removed: Lspci.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888445/+files/Lspci.txt

** Attachment removed: Lsusb.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888446/+files/Lsusb.txt

** Attachment removed: ProcCpuinfo.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888447/+files/ProcCpuinfo.txt

** Attachment removed: ProcEnviron.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888448/+files/ProcEnviron.txt

** Attachment removed: ProcInterrupts.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888449/+files/ProcInterrupts.txt

** Attachment removed: ProcModules.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888450/+files/ProcModules.txt

** Attachment removed: UdevDb.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888451/+files/UdevDb.txt

** Attachment removed: UdevLog.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888452/+files/UdevLog.txt

** Attachment removed: UnitySupportTest.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888453/+files/UnitySupportTest.txt

** Attachment removed: XorgLog.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888454/+files/XorgLog.txt

** Attachment removed: XorgLogOld.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888455/+files/XorgLogOld.txt

** Attachment removed: Xrandr.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888456/+files/Xrandr.txt

** Attachment removed: xdpyinfo.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888457/+files/xdpyinfo.txt

** Attachment removed: xserver.devices.txt
   
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1243642/+attachment/3888458/+files/xserver.devices.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2013-11-01 Thread Dirk Schuster
Hi,

Ryan gave me a hint, how to find a workaround without using ~/.Xmodmap.
I describe the solution of my specific problem here, so it might be
helpful for someone with a similar problem.

These links helped a lot:
https://help.ubuntu.com/community/Howto%3A%20Custom%20keyboard%20layout%20definitions
http://www.charvolant.org/~doug/xkb/html/node5.html

To use the special € and $ keys of the acer laptop in 13.10:

1. add the scancode-to-keycode mappings to /etc/rc.local

# Euro
setkeycodes e033 240
# Dollar
setkeycodes e034 241

loadkeys /home/user/.acer.map

2. create the keyboard translation table extension in
/home/user/.acer.map containing:

keycode 240 = euro
shift keycode 240 = cent
keycode 241 = dollar
shift keycode 241 = onequarter

3. add the xbd_symbols to the symbol definition file you use, e.g.:
/usr/share/X11/xkb/symbols/de

// acer Euro und Dollar Spezialtasten
key I248  { [  EuroSign,   cent ] };
key I249  { [dollar, onequarter ] };

4. optional, if you like to see the keys in the graphical represenation of the 
keyboard,
change the appropriate section in the geometry definition file you use, 
e.g. /usr/share/X11/xkb/geometry/pc

section Editing {
top= 61;
left= 312;
row {
top= 1;
key.color= grey20;
keys { INS, HOME, PGUP };
};
row {
top= 20;
key.color= grey20;
keys { DELE, END, PGDN };
};
row {
top= 58;
keys { I248, { UP, color= grey20 } , I249 };
};
row {
top= 77;
key.color= grey20;
keys { LEFT, DOWN, RGHT };
};
}; // End of Editing section


And now I'm able to switch the keyboard layouts using gnome-control-center 
region layouts, too, withour loosing the € or $ key of the acer laptop again.

cheers Dirk

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2013-10-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: xorg (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1243642] Re: .Xmodmap not automatically loaded on start

2013-10-23 Thread Dirk Schuster
** Tags added: xmodmap

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs