Mapping Caps Lock to LCtrl
Tofloor
poster avatar
danielftapiar
deepin
2016-05-14 06:44
Author
Anyone knows how to remap capslock to lctrl? i have tried the gsettings solution an xkbmap and none seem to persist after shutdown.
Reply Favorite View the author
All Replies
dance707
deepin
2016-05-14 16:54
#1
Edited by dance707 at 2016-5-26 17:16

Hi, Welcome to the Deepin Forum. Something about the caps lock being a dde-session daemon grab, try this :

  1. gsettings set com.deepin.dde.keybinding.mediakey capslock ""
  2. gsettings set com.deepin.dde.keyboard layout-options "['ctrl:swapcaps']"
Copy the Code

Please see this post for a better solution

https://bbs.deepin.org/post/31053
Reply View the author
danielftapiar
deepin
2016-08-26 08:28
#2
https://bbs.deepin.org/post/31020
Hi, Welcome to the Deepin Forum. Something about the caps lock being a dde-session daemon grab, try  ...

I have tried this solution for several weeks, sometimes it works sometimes it doesn't .

When it does work it throws a dconf error after every terminal startup and the swap works, after reboots this change is lost.

Could anyone let me know where the config files are to do a manual swap?
Reply View the author
dance707
deepin
2016-08-26 10:52
#3
https://bbs.deepin.org/post/31020
I have tried this solution for several weeks, sometimes it works sometimes it doesn't .

When it d ...

Sorry I do not know. Maybe the dconf editor would help locate. Or maybe the link posted above would give you some ideas.
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG