Public bug reported:

works as expected:
(keycode 110 = Home)
xmodmap -e "keycode 110 = a a a"
    press Home in kate or on konsole:
    (returns 'a')
xmodmap -e "keycode 110 = Home Home Home"
    press Home in kate or on konsole:
    (cursor positions to full-left of line)

    ie: the above works perfectly

    but after binding:
xmodmap -e "keycode 110 = F1 F1 F1"
    and then reverting
xmodmap -e "keycode 110 = Home Home Home"
    Home key no longer functions as expected. (it does something, as the cursor 
changes for no apparent reason, but I can't figure out what it's doing)

NOTE:
I have a global KDE hotkey set to F1, that runs a context sensitive bash script 
(the active window determines what happens, mostly it uses xdotool to determine 
window title, uses that to determne if video is being played or recorded, and 
then writes a timestamp into a text file based on the results)

Description:    Ubuntu 18.04.3 LTS
Release:        18.04

xdotool:
  Installed: 1:3.20160805.1-3
  Candidate: 1:3.20160805.1-3
  Version table:
 *** 1:3.20160805.1-3 500
        500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: xmodmap (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  works as expected:
  (keycode 110 = Home)
  xmodmap -e "keycode 110 = a a a"
-     press F1 in kate or on konsole:
-     (returns 'a')
+     press Home in kate or on konsole:
+     (returns 'a')
  xmodmap -e "keycode 110 = Home Home Home"
-     press F1 in kate or on konsole:
-     (cursor positions to full-left of line)
-     
-     ie: the above works perfectly
+     press Home in kate or on konsole:
+     (cursor positions to full-left of line)
  
-     but after binding:
+     ie: the above works perfectly
+ 
+     but after binding:
  xmodmap -e "keycode 110 = F1 F1 F1"
-     and then reverting
+     and then reverting
  xmodmap -e "keycode 110 = Home Home Home"
-     Home key no longer functions as expected. (it does something, as the 
cursor changes for no apparent reason, but I can't figure out what it's doing)
+     Home key no longer functions as expected. (it does something, as the 
cursor changes for no apparent reason, but I can't figure out what it's doing)
  
  NOTE:
  I have a global KDE hotkey set to F1, that runs a context sensitive bash 
script (the active window determines what happens, mostly it uses xdotool to 
determine window title and then writes a timestamp into a text file)
- 
  
  Description:    Ubuntu 18.04.3 LTS
  Release:        18.04
  
  xdotool:
-   Installed: 1:3.20160805.1-3
-   Candidate: 1:3.20160805.1-3
-   Version table:
-  *** 1:3.20160805.1-3 500
-         500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 1:3.20160805.1-3
+   Candidate: 1:3.20160805.1-3
+   Version table:
+  *** 1:3.20160805.1-3 500
+         500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
+         100 /var/lib/dpkg/status

** Description changed:

  works as expected:
  (keycode 110 = Home)
  xmodmap -e "keycode 110 = a a a"
      press Home in kate or on konsole:
      (returns 'a')
  xmodmap -e "keycode 110 = Home Home Home"
      press Home in kate or on konsole:
      (cursor positions to full-left of line)
  
      ie: the above works perfectly
  
      but after binding:
  xmodmap -e "keycode 110 = F1 F1 F1"
      and then reverting
  xmodmap -e "keycode 110 = Home Home Home"
      Home key no longer functions as expected. (it does something, as the 
cursor changes for no apparent reason, but I can't figure out what it's doing)
  
  NOTE:
- I have a global KDE hotkey set to F1, that runs a context sensitive bash 
script (the active window determines what happens, mostly it uses xdotool to 
determine window title and then writes a timestamp into a text file)
+ I have a global KDE hotkey set to F1, that runs a context sensitive bash 
script (the active window determines what happens, mostly it uses xdotool to 
determine window title, uses that to determne if video is being played or 
recorded, and then writes a timestamp into a text file based on the results)
  
  Description:    Ubuntu 18.04.3 LTS
  Release:        18.04
  
  xdotool:
    Installed: 1:3.20160805.1-3
    Candidate: 1:3.20160805.1-3
    Version table:
   *** 1:3.20160805.1-3 500
          500 http://au.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
          100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1859400

Title:
  bind Home key to F1 and then back to Home=Home - fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xmodmap/+bug/1859400/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to