enabling sticky keys under xorg (awesome desktop manager)How do I use the awesome window manager?“Sticky...
Linear regression when Y is bounded and discrete
How do I construct an nxn matrix?
Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?
How to approximate rolls for potions of healing using only d6's?
What's the purpose of these copper coils with resistors inside them in A Yamaha RX-V396RDS amplifier?
Avoiding unpacking an array when altering its dimension
What type of postprocessing gives the effect of people standing out
A "strange" unit radio astronomy
I can't die. Who am I?
What is the difference between throw e and throw new Exception(e)?
Is divide-by-zero a security vulnerability?
Difference between 小吃 and 零食
Hacker Rank: Array left rotation
How to avoid being sexist when trying to employ someone to function in a very sexist environment?
"Murder!" The knight said
What to do when being responsible for data protection in your lab, yet advice is ignored?
Replacement ford fiesta radiator has extra hose
If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?
Equivalent to "source" in OpenBSD?
Must a tritone substitution use a dominant seventh chord?
What are these green text/line displays shown during the livestream of Crew Dragon's approach to dock with the ISS?
How to count occurrences of Friday 13th
Use comma instead of & in table
Are small insurances worth it
enabling sticky keys under xorg (awesome desktop manager)
How do I use the awesome window manager?“Sticky button” configuration under X11/Ubuntu?netbeans (java) shows empty window in tiling window manager (awesome wm)How do I change the default ignore_modifiers in AwesomeWM?Control awesome window manager from consoledefining a key function in awesome window managerAdding windows to stacking area and not main window with awesome window managerAwesome Window Manager: Force firefox to initialy open on a specific screen (3 head)Awesome WM : How can I write a rule to make a window appear floating under the mouse?x2go connect to Manjaro VM with awesome window manager
I would like to enable "sticky modifier keys" under archlinux + awesome, and I haven't found the correct info.
linux xorg awesome-wm
add a comment |
I would like to enable "sticky modifier keys" under archlinux + awesome, and I haven't found the correct info.
linux xorg awesome-wm
What is "sticky keys"?
– Daniel Andersson
Apr 10 '12 at 7:31
right, I meant "sticky modifier keys", it means that pressing a modifier key acts as a toggle and usually the toggle is released on the next key press, so keys don't have to be pressed simultaneously but can be pressed in sequence. This is an accesibility for disabled users feature on OS-X, Gnome and probably Windows, and I find it more confortable and less hand straining with the feature on.
– Macario
Apr 10 '12 at 7:43
add a comment |
I would like to enable "sticky modifier keys" under archlinux + awesome, and I haven't found the correct info.
linux xorg awesome-wm
I would like to enable "sticky modifier keys" under archlinux + awesome, and I haven't found the correct info.
linux xorg awesome-wm
linux xorg awesome-wm
edited Apr 11 '12 at 23:34
Macario
asked Apr 10 '12 at 7:28
MacarioMacario
270214
270214
What is "sticky keys"?
– Daniel Andersson
Apr 10 '12 at 7:31
right, I meant "sticky modifier keys", it means that pressing a modifier key acts as a toggle and usually the toggle is released on the next key press, so keys don't have to be pressed simultaneously but can be pressed in sequence. This is an accesibility for disabled users feature on OS-X, Gnome and probably Windows, and I find it more confortable and less hand straining with the feature on.
– Macario
Apr 10 '12 at 7:43
add a comment |
What is "sticky keys"?
– Daniel Andersson
Apr 10 '12 at 7:31
right, I meant "sticky modifier keys", it means that pressing a modifier key acts as a toggle and usually the toggle is released on the next key press, so keys don't have to be pressed simultaneously but can be pressed in sequence. This is an accesibility for disabled users feature on OS-X, Gnome and probably Windows, and I find it more confortable and less hand straining with the feature on.
– Macario
Apr 10 '12 at 7:43
What is "sticky keys"?
– Daniel Andersson
Apr 10 '12 at 7:31
What is "sticky keys"?
– Daniel Andersson
Apr 10 '12 at 7:31
right, I meant "sticky modifier keys", it means that pressing a modifier key acts as a toggle and usually the toggle is released on the next key press, so keys don't have to be pressed simultaneously but can be pressed in sequence. This is an accesibility for disabled users feature on OS-X, Gnome and probably Windows, and I find it more confortable and less hand straining with the feature on.
– Macario
Apr 10 '12 at 7:43
right, I meant "sticky modifier keys", it means that pressing a modifier key acts as a toggle and usually the toggle is released on the next key press, so keys don't have to be pressed simultaneously but can be pressed in sequence. This is an accesibility for disabled users feature on OS-X, Gnome and probably Windows, and I find it more confortable and less hand straining with the feature on.
– Macario
Apr 10 '12 at 7:43
add a comment |
4 Answers
4
active
oldest
votes
I've got it. There is a utility called xbkeys for setting accessibiltiy options for xorg.
From xkbset manual ($ xkbset man):
To switch sticky keys on or off, and optionally set or reset:
() two keys pressed at the same time stops sticky keys;
() a modifier pressed twice will be locked:
[-]{sticky|st} [[-]twokey|[-]latchlock]...
I ran this:
$ xkbset sticky -twokey -latchlock
That command can go in .xinitrc
# turn on stickykeys. don't let two keys pressed at the same time disable it.
# don't turn on "latch lock", ie pressing a modifier key twice "locks" it on.
xkbset accessx sticky -twokey -latchlock
# don't expire these settings. (run xkbset q exp for details.)
xkbset exp 1 =accessx =sticky =twokey =latchlock
Here is a link toxkbset
: math.missouri.edu/~stephen/software/#xkbset
– Smith John
Apr 4 '13 at 23:11
This is available in debian in the packagexkbset
.
– Jesse Hallett
Jun 1 '14 at 8:40
2
This answer is very helpful! Now I just want to find a way to limit the sticky behavior to the Shift keys.
– Jesse Hallett
Jun 1 '14 at 22:34
add a comment |
You can use Xmodmap to set a key lock for the Scroll, Kana, Num, Caps, and Shift keys. Also some ISO groupings keys can be remapped this way. For example, on my keyboard, to set Left Shift as a toggle, use this:
xmodmap -e "keycode 50 = Shift_Lock"
use "xev" to get the correct keycode.
Just add the command inside the quotes to a file named .Xmodmap and restart X to have the changes permanent.
Unfortunately, I don't think there is a keycode to Lock the Control, Alt, or Meta keys. If you post a more specific question and add a decent bounty, I may be able to work out a shell script and/or xorg change to make this possible.
Unfortunatelly I haven't got any more points to offer, I really am missing sticky modifiers as in cntrl, window, alt, meta...
– Macario
Apr 19 '12 at 21:37
XKB is a better way to do this. Check Arch wiki
– phil pirozhkov
Jun 1 '14 at 23:17
add a comment |
One way to enable sticky keys is to press the StickyKeys_Enable
key. If you don’t have it mapped to your keyboard you can simulate the keypress with e.g. Xdotool:
> xdotool key StickyKeys_Enable
add a comment |
As far as I know, Xorg doesn't support this. It's not inconceivable for a custom keyboard driver to implement this, but I have never come across such a thing.
Mmm... I would really like to have this without having to resort to Gnome or XFCE... bummer!
– Macario
Apr 16 '12 at 5:22
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f410657%2fenabling-sticky-keys-under-xorg-awesome-desktop-manager%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
I've got it. There is a utility called xbkeys for setting accessibiltiy options for xorg.
From xkbset manual ($ xkbset man):
To switch sticky keys on or off, and optionally set or reset:
() two keys pressed at the same time stops sticky keys;
() a modifier pressed twice will be locked:
[-]{sticky|st} [[-]twokey|[-]latchlock]...
I ran this:
$ xkbset sticky -twokey -latchlock
That command can go in .xinitrc
# turn on stickykeys. don't let two keys pressed at the same time disable it.
# don't turn on "latch lock", ie pressing a modifier key twice "locks" it on.
xkbset accessx sticky -twokey -latchlock
# don't expire these settings. (run xkbset q exp for details.)
xkbset exp 1 =accessx =sticky =twokey =latchlock
Here is a link toxkbset
: math.missouri.edu/~stephen/software/#xkbset
– Smith John
Apr 4 '13 at 23:11
This is available in debian in the packagexkbset
.
– Jesse Hallett
Jun 1 '14 at 8:40
2
This answer is very helpful! Now I just want to find a way to limit the sticky behavior to the Shift keys.
– Jesse Hallett
Jun 1 '14 at 22:34
add a comment |
I've got it. There is a utility called xbkeys for setting accessibiltiy options for xorg.
From xkbset manual ($ xkbset man):
To switch sticky keys on or off, and optionally set or reset:
() two keys pressed at the same time stops sticky keys;
() a modifier pressed twice will be locked:
[-]{sticky|st} [[-]twokey|[-]latchlock]...
I ran this:
$ xkbset sticky -twokey -latchlock
That command can go in .xinitrc
# turn on stickykeys. don't let two keys pressed at the same time disable it.
# don't turn on "latch lock", ie pressing a modifier key twice "locks" it on.
xkbset accessx sticky -twokey -latchlock
# don't expire these settings. (run xkbset q exp for details.)
xkbset exp 1 =accessx =sticky =twokey =latchlock
Here is a link toxkbset
: math.missouri.edu/~stephen/software/#xkbset
– Smith John
Apr 4 '13 at 23:11
This is available in debian in the packagexkbset
.
– Jesse Hallett
Jun 1 '14 at 8:40
2
This answer is very helpful! Now I just want to find a way to limit the sticky behavior to the Shift keys.
– Jesse Hallett
Jun 1 '14 at 22:34
add a comment |
I've got it. There is a utility called xbkeys for setting accessibiltiy options for xorg.
From xkbset manual ($ xkbset man):
To switch sticky keys on or off, and optionally set or reset:
() two keys pressed at the same time stops sticky keys;
() a modifier pressed twice will be locked:
[-]{sticky|st} [[-]twokey|[-]latchlock]...
I ran this:
$ xkbset sticky -twokey -latchlock
That command can go in .xinitrc
# turn on stickykeys. don't let two keys pressed at the same time disable it.
# don't turn on "latch lock", ie pressing a modifier key twice "locks" it on.
xkbset accessx sticky -twokey -latchlock
# don't expire these settings. (run xkbset q exp for details.)
xkbset exp 1 =accessx =sticky =twokey =latchlock
I've got it. There is a utility called xbkeys for setting accessibiltiy options for xorg.
From xkbset manual ($ xkbset man):
To switch sticky keys on or off, and optionally set or reset:
() two keys pressed at the same time stops sticky keys;
() a modifier pressed twice will be locked:
[-]{sticky|st} [[-]twokey|[-]latchlock]...
I ran this:
$ xkbset sticky -twokey -latchlock
That command can go in .xinitrc
# turn on stickykeys. don't let two keys pressed at the same time disable it.
# don't turn on "latch lock", ie pressing a modifier key twice "locks" it on.
xkbset accessx sticky -twokey -latchlock
# don't expire these settings. (run xkbset q exp for details.)
xkbset exp 1 =accessx =sticky =twokey =latchlock
edited Jun 19 '17 at 12:24
U Aberg
32
32
answered Apr 19 '12 at 22:09
MacarioMacario
270214
270214
Here is a link toxkbset
: math.missouri.edu/~stephen/software/#xkbset
– Smith John
Apr 4 '13 at 23:11
This is available in debian in the packagexkbset
.
– Jesse Hallett
Jun 1 '14 at 8:40
2
This answer is very helpful! Now I just want to find a way to limit the sticky behavior to the Shift keys.
– Jesse Hallett
Jun 1 '14 at 22:34
add a comment |
Here is a link toxkbset
: math.missouri.edu/~stephen/software/#xkbset
– Smith John
Apr 4 '13 at 23:11
This is available in debian in the packagexkbset
.
– Jesse Hallett
Jun 1 '14 at 8:40
2
This answer is very helpful! Now I just want to find a way to limit the sticky behavior to the Shift keys.
– Jesse Hallett
Jun 1 '14 at 22:34
Here is a link to
xkbset
: math.missouri.edu/~stephen/software/#xkbset– Smith John
Apr 4 '13 at 23:11
Here is a link to
xkbset
: math.missouri.edu/~stephen/software/#xkbset– Smith John
Apr 4 '13 at 23:11
This is available in debian in the package
xkbset
.– Jesse Hallett
Jun 1 '14 at 8:40
This is available in debian in the package
xkbset
.– Jesse Hallett
Jun 1 '14 at 8:40
2
2
This answer is very helpful! Now I just want to find a way to limit the sticky behavior to the Shift keys.
– Jesse Hallett
Jun 1 '14 at 22:34
This answer is very helpful! Now I just want to find a way to limit the sticky behavior to the Shift keys.
– Jesse Hallett
Jun 1 '14 at 22:34
add a comment |
You can use Xmodmap to set a key lock for the Scroll, Kana, Num, Caps, and Shift keys. Also some ISO groupings keys can be remapped this way. For example, on my keyboard, to set Left Shift as a toggle, use this:
xmodmap -e "keycode 50 = Shift_Lock"
use "xev" to get the correct keycode.
Just add the command inside the quotes to a file named .Xmodmap and restart X to have the changes permanent.
Unfortunately, I don't think there is a keycode to Lock the Control, Alt, or Meta keys. If you post a more specific question and add a decent bounty, I may be able to work out a shell script and/or xorg change to make this possible.
Unfortunatelly I haven't got any more points to offer, I really am missing sticky modifiers as in cntrl, window, alt, meta...
– Macario
Apr 19 '12 at 21:37
XKB is a better way to do this. Check Arch wiki
– phil pirozhkov
Jun 1 '14 at 23:17
add a comment |
You can use Xmodmap to set a key lock for the Scroll, Kana, Num, Caps, and Shift keys. Also some ISO groupings keys can be remapped this way. For example, on my keyboard, to set Left Shift as a toggle, use this:
xmodmap -e "keycode 50 = Shift_Lock"
use "xev" to get the correct keycode.
Just add the command inside the quotes to a file named .Xmodmap and restart X to have the changes permanent.
Unfortunately, I don't think there is a keycode to Lock the Control, Alt, or Meta keys. If you post a more specific question and add a decent bounty, I may be able to work out a shell script and/or xorg change to make this possible.
Unfortunatelly I haven't got any more points to offer, I really am missing sticky modifiers as in cntrl, window, alt, meta...
– Macario
Apr 19 '12 at 21:37
XKB is a better way to do this. Check Arch wiki
– phil pirozhkov
Jun 1 '14 at 23:17
add a comment |
You can use Xmodmap to set a key lock for the Scroll, Kana, Num, Caps, and Shift keys. Also some ISO groupings keys can be remapped this way. For example, on my keyboard, to set Left Shift as a toggle, use this:
xmodmap -e "keycode 50 = Shift_Lock"
use "xev" to get the correct keycode.
Just add the command inside the quotes to a file named .Xmodmap and restart X to have the changes permanent.
Unfortunately, I don't think there is a keycode to Lock the Control, Alt, or Meta keys. If you post a more specific question and add a decent bounty, I may be able to work out a shell script and/or xorg change to make this possible.
You can use Xmodmap to set a key lock for the Scroll, Kana, Num, Caps, and Shift keys. Also some ISO groupings keys can be remapped this way. For example, on my keyboard, to set Left Shift as a toggle, use this:
xmodmap -e "keycode 50 = Shift_Lock"
use "xev" to get the correct keycode.
Just add the command inside the quotes to a file named .Xmodmap and restart X to have the changes permanent.
Unfortunately, I don't think there is a keycode to Lock the Control, Alt, or Meta keys. If you post a more specific question and add a decent bounty, I may be able to work out a shell script and/or xorg change to make this possible.
answered Apr 18 '12 at 19:42
gogatorsgogators
1,113612
1,113612
Unfortunatelly I haven't got any more points to offer, I really am missing sticky modifiers as in cntrl, window, alt, meta...
– Macario
Apr 19 '12 at 21:37
XKB is a better way to do this. Check Arch wiki
– phil pirozhkov
Jun 1 '14 at 23:17
add a comment |
Unfortunatelly I haven't got any more points to offer, I really am missing sticky modifiers as in cntrl, window, alt, meta...
– Macario
Apr 19 '12 at 21:37
XKB is a better way to do this. Check Arch wiki
– phil pirozhkov
Jun 1 '14 at 23:17
Unfortunatelly I haven't got any more points to offer, I really am missing sticky modifiers as in cntrl, window, alt, meta...
– Macario
Apr 19 '12 at 21:37
Unfortunatelly I haven't got any more points to offer, I really am missing sticky modifiers as in cntrl, window, alt, meta...
– Macario
Apr 19 '12 at 21:37
XKB is a better way to do this. Check Arch wiki
– phil pirozhkov
Jun 1 '14 at 23:17
XKB is a better way to do this. Check Arch wiki
– phil pirozhkov
Jun 1 '14 at 23:17
add a comment |
One way to enable sticky keys is to press the StickyKeys_Enable
key. If you don’t have it mapped to your keyboard you can simulate the keypress with e.g. Xdotool:
> xdotool key StickyKeys_Enable
add a comment |
One way to enable sticky keys is to press the StickyKeys_Enable
key. If you don’t have it mapped to your keyboard you can simulate the keypress with e.g. Xdotool:
> xdotool key StickyKeys_Enable
add a comment |
One way to enable sticky keys is to press the StickyKeys_Enable
key. If you don’t have it mapped to your keyboard you can simulate the keypress with e.g. Xdotool:
> xdotool key StickyKeys_Enable
One way to enable sticky keys is to press the StickyKeys_Enable
key. If you don’t have it mapped to your keyboard you can simulate the keypress with e.g. Xdotool:
> xdotool key StickyKeys_Enable
answered 11 hours ago
GuildensternGuildenstern
1053
1053
add a comment |
add a comment |
As far as I know, Xorg doesn't support this. It's not inconceivable for a custom keyboard driver to implement this, but I have never come across such a thing.
Mmm... I would really like to have this without having to resort to Gnome or XFCE... bummer!
– Macario
Apr 16 '12 at 5:22
add a comment |
As far as I know, Xorg doesn't support this. It's not inconceivable for a custom keyboard driver to implement this, but I have never come across such a thing.
Mmm... I would really like to have this without having to resort to Gnome or XFCE... bummer!
– Macario
Apr 16 '12 at 5:22
add a comment |
As far as I know, Xorg doesn't support this. It's not inconceivable for a custom keyboard driver to implement this, but I have never come across such a thing.
As far as I know, Xorg doesn't support this. It's not inconceivable for a custom keyboard driver to implement this, but I have never come across such a thing.
answered Apr 15 '12 at 21:58
mkaitomkaito
1,2661915
1,2661915
Mmm... I would really like to have this without having to resort to Gnome or XFCE... bummer!
– Macario
Apr 16 '12 at 5:22
add a comment |
Mmm... I would really like to have this without having to resort to Gnome or XFCE... bummer!
– Macario
Apr 16 '12 at 5:22
Mmm... I would really like to have this without having to resort to Gnome or XFCE... bummer!
– Macario
Apr 16 '12 at 5:22
Mmm... I would really like to have this without having to resort to Gnome or XFCE... bummer!
– Macario
Apr 16 '12 at 5:22
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f410657%2fenabling-sticky-keys-under-xorg-awesome-desktop-manager%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What is "sticky keys"?
– Daniel Andersson
Apr 10 '12 at 7:31
right, I meant "sticky modifier keys", it means that pressing a modifier key acts as a toggle and usually the toggle is released on the next key press, so keys don't have to be pressed simultaneously but can be pressed in sequence. This is an accesibility for disabled users feature on OS-X, Gnome and probably Windows, and I find it more confortable and less hand straining with the feature on.
– Macario
Apr 10 '12 at 7:43