Re: Making keyboard remap changes permanent without reboot.
Thanks all for their help. Finally i decided to install jessy debian testing and tested the problem in testing where there is no reverting back and the remap stays ok during the whole session. Thank. Alexandros -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140918230804.54effe01@enous.homenet
Re: Making keyboard remap changes permanent without reboot.
On Sat, 13 Sep 2014 10:12:32 +0100 Brian a...@cityscape.co.uk wrote: On Sat 13 Sep 2014 at 01:53:57 +0300, Alexandros Prekates wrote: On Fri, 12 Sep 2014 16:59:30 +0200 B lazyvi...@gmx.com wrote: On Fri, 12 Sep 2014 17:48:50 +0300 Alexandros Prekates apreka...@openmailbox.org wrote: You are right. With fvwm the new settings are active all time. With the default xfce window manager the settings are lost after some time. Even if i reboot /etc/default/keyboard changes wont hold! So i guess its an xfce's xfwm4 bug? Just in case, check all possible logs to see if you find a trace of this reverse action. I checked slim's log , xorg's log and . .xsessions_error No luck. But i think i narrowed the failure trigger to the instant screensaver starts executing. How did you go about doing that? You're using xscreensaver? Maybe i didnt state it correctly .I just noticed that after the screensavers draws its stuff and i go back to the desktop settings revert back. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140914213649.0e09bad1@enous.homenet
Re: Making keyboard remap changes permanent without reboot.
On Sun 14 Sep 2014 at 21:36:49 +0300, Alexandros Prekates wrote: On Sat, 13 Sep 2014 10:12:32 +0100 Brian a...@cityscape.co.uk wrote: How did you go about doing that? You're using xscreensaver? Maybe i didnt state it correctly .I just noticed that after the screensavers draws its stuff and i go back to the desktop settings revert back. Let us try to be sure of this. One way of disabling the screensaver program is apt-get purge whatever_screensaver_program_you_use Or disable it in Settings/Sessions and Startup/Autostart from within Xfce. Then use the machine as normal and test over a period of time. How does that go? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/14092014233448.81af2d5a3...@desktop.copernicus.demon.co.uk
Re: Making keyboard remap changes permanent without reboot.
On Sat 13 Sep 2014 at 01:53:57 +0300, Alexandros Prekates wrote: On Fri, 12 Sep 2014 16:59:30 +0200 B lazyvi...@gmx.com wrote: On Fri, 12 Sep 2014 17:48:50 +0300 Alexandros Prekates apreka...@openmailbox.org wrote: You are right. With fvwm the new settings are active all time. With the default xfce window manager the settings are lost after some time. Even if i reboot /etc/default/keyboard changes wont hold! So i guess its an xfce's xfwm4 bug? Just in case, check all possible logs to see if you find a trace of this reverse action. I checked slim's log , xorg's log and . .xsessions_error No luck. But i think i narrowed the failure trigger to the instant screensaver starts executing. How did you go about doing that? You're using xscreensaver? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140913091232.gx4...@copernicus.demon.co.uk
Re: Making keyboard remap changes permanent without reboot.
Alexandros Prekates apreka...@openmailbox.org writes: My system is Debian stable with xfce. Wanting to swap CAPSLOCK with CONTROL i changed /etc/default/keyboard and following debian wiki page on keyboard i executed: sudo udevadm trigger --subsystem-match=input --action=change It worked! But .. after some minutes the swap is reverted back to the initial config withoud doing sth. How can that be avoided? , [ /etc/X11/xorg.conf ] | | Section InputDevice | Identifier Keyboard0 | Driver kbd | Option XKBOptions ctrl:nocaps | #Option XkbModel pc105 | Option XkbModel pc102 | Option XkbLayout de | EndSection ` Make sure you adjust to your particular keyboard, and you *must* have set up the keyboard for the console correctly. When you cannot switch with Ctrl+Alt+Fn to the console, that may be an indication that your keyboard is not set up correctly to begin with (switching can be disabled by config and usually isn't by default). , [ ~/.Xmodmap ] | | keycode 66 = Control_L Control_L Control_L Control_L ` Look at 'xmodmap -pk', use 'xev' to get the keycodes and you can set it up as you like. -- Knowledge is volatile and fluid. Software is power. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87tx4busj8@yun.yagibdah.de
Re: Making keyboard remap changes permanent without reboot.
On Thu, 11 Sep 2014 12:20:35 +0100 Brian a...@cityscape.co.uk wrote: On Wed 10 Sep 2014 at 20:02:04 +0300, Alexandros Prekates wrote: My system is Debian stable with xfce. Wanting to swap CAPSLOCK with CONTROL i changed /etc/default/keyboard and following debian wiki page on keyboard i executed: sudo udevadm trigger --subsystem-match=input --action=change It worked! But .. after some minutes the swap is reverted back to the initial config withoud doing sth. How many minutes? If you don't touch the keyboard for x minutes has the reversion taken place in that time? Or is it only some minutes after touching the keyboard? How can that be avoided? By discovering what is on your system that causes the change. :) You could start by considering Xfce as a cause. Install a smallish window manager like fvwm. Log in to it and test. Do you get the same behaviour? You are right. With fvwm the new settings are active all time. With the default xfce window manager the settings are lost after some time. Even if i reboot /etc/default/keyboard changes wont hold! So i guess its an xfce's xfwm4 bug? Alexandros -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140912174850.724f71b9@enous.homenet
Re: Making keyboard remap changes permanent without reboot.
On Fri, 12 Sep 2014 17:48:50 +0300 Alexandros Prekates apreka...@openmailbox.org wrote: You are right. With fvwm the new settings are active all time. With the default xfce window manager the settings are lost after some time. Even if i reboot /etc/default/keyboard changes wont hold! So i guess its an xfce's xfwm4 bug? Just in case, check all possible logs to see if you find a trace of this reverse action. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140912165930.730029e9@msi.defcon1
Re: Making keyboard remap changes permanent without reboot.
On Thu, 11 Sep 2014 02:09:20 +0300 Alexandros Prekates apreka...@openmailbox.org wrote: I found the same problem mentioned here: xkb (setxkbmap xmodmap) forget their setting within minutes http://ubuntuforums.org/showthread.php?t=1963372 Alexandros Prekates http://librebytes.gr Also i found a similar problem mentioned: http://www.linuxquestions.org/questions/debian-26/keyboard-layout-variant-us-international-with-dead-keys-4175498311/ and i noticed that if i execute : # sudo udevadm trigger --subsystem-match=input –action=change (so that /etc/default/keyboard setting ctrl:swapcaps gets activated) after screen saver is enabled the setting revert is triggert! Alexandros. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140912183616.7f153be8@enous.homenet
Re: Making keyboard remap changes permanent without reboot.
On Fri, 12 Sep 2014 16:59:30 +0200 B lazyvi...@gmx.com wrote: On Fri, 12 Sep 2014 17:48:50 +0300 Alexandros Prekates apreka...@openmailbox.org wrote: You are right. With fvwm the new settings are active all time. With the default xfce window manager the settings are lost after some time. Even if i reboot /etc/default/keyboard changes wont hold! So i guess its an xfce's xfwm4 bug? Just in case, check all possible logs to see if you find a trace of this reverse action. I checked slim's log , xorg's log and . .xsessions_error No luck. But i think i narrowed the failure trigger to the instant screensaver starts executing. Alexandros. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140913015357.6b18024d@enous.homenet
Re: Making keyboard remap changes permanent without reboot.
On Sat, 13 Sep 2014 01:53:57 +0300 Alexandros Prekates apreka...@openmailbox.org wrote: I checked slim's log , xorg's log and . .xsessions_error No luck. But i think i narrowed the failure trigger to the instant screensaver starts executing. Check also dmesg|less, /var/log/messages, Xorg.0.log, daemons, etc. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140913010740.334d1f2f@msi.defcon1
Re: Making keyboard remap changes permanent without reboot.
On Wed 10 Sep 2014 at 20:02:04 +0300, Alexandros Prekates wrote: My system is Debian stable with xfce. Wanting to swap CAPSLOCK with CONTROL i changed /etc/default/keyboard and following debian wiki page on keyboard i executed: sudo udevadm trigger --subsystem-match=input --action=change It worked! But .. after some minutes the swap is reverted back to the initial config withoud doing sth. How many minutes? If you don't touch the keyboard for x minutes has the reversion taken place in that time? Or is it only some minutes after touching the keyboard? How can that be avoided? By discovering what is on your system that causes the change. :) You could start by considering Xfce as a cause. Install a smallish window manager like fvwm. Log in to it and test. Do you get the same behaviour? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/11092014121117.d1868a2a6...@desktop.copernicus.demon.co.uk
Re: Making keyboard remap changes permanent without reboot.
On Wed, 10 Sep 2014 20:02:04 +0300 Alexandros Prekates apreka...@openmailbox.org wrote: Wanting to swap CAPSLOCK with CONTROL i changed /etc/default/keyboard and following debian wiki page on keyboard i executed: sudo udevadm trigger --subsystem-match=input --action=change It worked! But .. after some minutes the swap is reverted back to the initial config withoud doing sth. How can that be avoided? Unfortunately, there are plenty of places these changes can take place (see this link to have an idea: http://duncanlock.net/blog/2013/05/03/how-to-set-your-compose-key-on-xfce-xubuntu-linux/) you can also add ~/.Xmodmap. You should ask this question to the XFCE ML. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140910191523.42d73a91@msi.defcon1
Re: Making keyboard remap changes permanent without reboot.
Alexandros Prekates wrote: My system is Debian stable with xfce. Wanting to swap CAPSLOCK with CONTROL i changed /etc/default/keyboard and following debian wiki page on keyboard i executed: sudo udevadm trigger --subsystem-match=input --action=change It worked! But .. after some minutes the swap is reverted back to the initial config withoud doing sth. How can that be avoided? If you're using xfce, you can make the keyboard changes under X using setxkbmap. For example, I use this line in .xinitrc to convert CAPS-LOCK to Ctrl and to enable killing X with ctrl-alt-backspace. setxkbmap -option ctrl:nocaps,terminate:ctrl_alt_bksp Hope this helps. Alexandros Prekates http://librebytes.gr -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140910200204.22b42c9a@enous.homenet -- Joel Roth -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140910171844.GA18719@sprite
Re: Making keyboard remap changes permanent without reboot.
On Wed 10 Sep 2014 at 19:15:23 +0200, B wrote: On Wed, 10 Sep 2014 20:02:04 +0300 Alexandros Prekates apreka...@openmailbox.org wrote: Wanting to swap CAPSLOCK with CONTROL i changed /etc/default/keyboard and following debian wiki page on keyboard i executed: sudo udevadm trigger --subsystem-match=input --action=change It worked! But .. after some minutes the swap is reverted back to the initial config withoud doing sth. How can that be avoided? Unfortunately, there are plenty of places these changes can take place (see this link to have an idea: http://duncanlock.net/blog/2013/05/03/how-to-set-your-compose-key-on-xfce-xubuntu-linux/) you can also add ~/.Xmodmap. You should ask this question to the XFCE ML. Why? From /usr/share/doc/console-setup/README.Debian SHARED KEYBOARD LAYOUT In Debian the default keyboard layout is shared between the console and X. It is specified in /etc/default/keyboard. The OP may very well have read this too. FWIW, I do not observe the behaviour described. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/10092014185436.3fcc89349...@desktop.copernicus.demon.co.uk
Re: Making keyboard remap changes permanent without reboot.
i tried : /usr/bin/setxkbmap -option ctrl:swapcaps Again it worked but only for some minutes. Alexandros -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140911020315.167c8575@enous.homenet
Re: Making keyboard remap changes permanent without reboot.
I found the same problem mentioned here: xkb (setxkbmap xmodmap) forget their setting within minutes http://ubuntuforums.org/showthread.php?t=1963372 Alexandros Prekates http://librebytes.gr -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140911020920.20701a29@enous.homenet