Bind the right Alt key + key to another key on Linuxkeyboard shortcuts only work with left...
Importance of the current postdoc advisor's letter in TT job search
Can a business put whatever they want into a contract?
If I want an interpretable model, are there methods other than Linear Regression?
Why don't Wizards use wrist straps to protect against disarming charms?
Why any infinite sequence of real functions can be generated from a finite set through composition?
How do we know that black holes are spinning?
Add unnumbered blank page after cover page, but before title page and book
geschafft or geschaffen? which one is past participle of schaffen?
How clean are pets?
Can an infinite series be thought of as adding up "infinitely many" terms?
What is the meaning of 「ぞんぞん」?
How to draw a Venn diagram for X - (Y intersect Z)?
Some Prime Peerage
Bash awk command with quotes
How to control the output voltage of a solid state relay
Make 2019 with single digits
What is the meaning of "order" in this quote?
Are there any “Third Order” acronyms used in space exploration?
What does "boys rule, girls drool" mean?
How to make classical firearms effective on space habitats despite the coriolis effect?
Shouldn't countries like Russia and Canada support global warming?
Can a character with good/neutral alignment attune to a sentient magic item with evil alignment?
How much would a 1 foot tall human weigh?
Asked to Not Use Transactions and to Use A Workaround to Simulate One
Bind the right Alt key + key to another key on Linux
keyboard shortcuts only work with left super-keySuspending the global KDE&X-Windows keyboard shortcuts while specific application is runningChanging specific keys on Apple keyboard under Fedora 22Configure switch between sources in GNOME
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I use a key remapper called "keyremaplinux" (source: https://github.com/kozikow/keyremaplinux). It works well but it's not very portable and requires a big configuration. I'd like something that I can ideally take to work and onto other Linux (CentOS primarily) machines with little effort. The solution should work with everything and not be program-specific.
What I want
Pressing the right-alt key + another key will input a different key. For example, my entire number-line is mapped to the qwerty row, like this:
right-alt + q = 1
right-alt + w = 2
right-alt + e = 3
right-alt + r = 4
right-alt + t = 5
right-alt + y = 6
right-alt + u = 7
and
right-alt + shift + q = !
right-alt + shift + w = @
right-alt + shift + e = #
right-alt + shift + r = $
right-alt + shift + t = %
right-alt + shift + y = ^
right-alt + shift + u = &
and misc bindings like
right-alt + a = (
right-alt + s = )
right-alt + d = {
right-alt + f = }
What I tried
xbindkeys
- This tool looks like it can't differentiate between the left-alt key and the right-alt key. When I use xbindkeys -k
and press right-alt key + 1
, it returns "m:0x18 + c:10 | Alt+Mod2 + 1" which is the same as if I press left-alt key + 1
sxhkd
- According to this GitHub post, you can't trigger left/right alt keys separately. https://github.com/baskerville/sxhkd/issues/89. Though according to this other forum, you can map to left/right alt (just not from) https://bbs.archlinux.org/viewtopic.php?id=155613&p=3. Just re-iterating - I don't use Arch. I use CentOS. The forum just happens to be from Arch.
keyboard-shortcuts
New contributor
add a comment
|
I use a key remapper called "keyremaplinux" (source: https://github.com/kozikow/keyremaplinux). It works well but it's not very portable and requires a big configuration. I'd like something that I can ideally take to work and onto other Linux (CentOS primarily) machines with little effort. The solution should work with everything and not be program-specific.
What I want
Pressing the right-alt key + another key will input a different key. For example, my entire number-line is mapped to the qwerty row, like this:
right-alt + q = 1
right-alt + w = 2
right-alt + e = 3
right-alt + r = 4
right-alt + t = 5
right-alt + y = 6
right-alt + u = 7
and
right-alt + shift + q = !
right-alt + shift + w = @
right-alt + shift + e = #
right-alt + shift + r = $
right-alt + shift + t = %
right-alt + shift + y = ^
right-alt + shift + u = &
and misc bindings like
right-alt + a = (
right-alt + s = )
right-alt + d = {
right-alt + f = }
What I tried
xbindkeys
- This tool looks like it can't differentiate between the left-alt key and the right-alt key. When I use xbindkeys -k
and press right-alt key + 1
, it returns "m:0x18 + c:10 | Alt+Mod2 + 1" which is the same as if I press left-alt key + 1
sxhkd
- According to this GitHub post, you can't trigger left/right alt keys separately. https://github.com/baskerville/sxhkd/issues/89. Though according to this other forum, you can map to left/right alt (just not from) https://bbs.archlinux.org/viewtopic.php?id=155613&p=3. Just re-iterating - I don't use Arch. I use CentOS. The forum just happens to be from Arch.
keyboard-shortcuts
New contributor
add a comment
|
I use a key remapper called "keyremaplinux" (source: https://github.com/kozikow/keyremaplinux). It works well but it's not very portable and requires a big configuration. I'd like something that I can ideally take to work and onto other Linux (CentOS primarily) machines with little effort. The solution should work with everything and not be program-specific.
What I want
Pressing the right-alt key + another key will input a different key. For example, my entire number-line is mapped to the qwerty row, like this:
right-alt + q = 1
right-alt + w = 2
right-alt + e = 3
right-alt + r = 4
right-alt + t = 5
right-alt + y = 6
right-alt + u = 7
and
right-alt + shift + q = !
right-alt + shift + w = @
right-alt + shift + e = #
right-alt + shift + r = $
right-alt + shift + t = %
right-alt + shift + y = ^
right-alt + shift + u = &
and misc bindings like
right-alt + a = (
right-alt + s = )
right-alt + d = {
right-alt + f = }
What I tried
xbindkeys
- This tool looks like it can't differentiate between the left-alt key and the right-alt key. When I use xbindkeys -k
and press right-alt key + 1
, it returns "m:0x18 + c:10 | Alt+Mod2 + 1" which is the same as if I press left-alt key + 1
sxhkd
- According to this GitHub post, you can't trigger left/right alt keys separately. https://github.com/baskerville/sxhkd/issues/89. Though according to this other forum, you can map to left/right alt (just not from) https://bbs.archlinux.org/viewtopic.php?id=155613&p=3. Just re-iterating - I don't use Arch. I use CentOS. The forum just happens to be from Arch.
keyboard-shortcuts
New contributor
I use a key remapper called "keyremaplinux" (source: https://github.com/kozikow/keyremaplinux). It works well but it's not very portable and requires a big configuration. I'd like something that I can ideally take to work and onto other Linux (CentOS primarily) machines with little effort. The solution should work with everything and not be program-specific.
What I want
Pressing the right-alt key + another key will input a different key. For example, my entire number-line is mapped to the qwerty row, like this:
right-alt + q = 1
right-alt + w = 2
right-alt + e = 3
right-alt + r = 4
right-alt + t = 5
right-alt + y = 6
right-alt + u = 7
and
right-alt + shift + q = !
right-alt + shift + w = @
right-alt + shift + e = #
right-alt + shift + r = $
right-alt + shift + t = %
right-alt + shift + y = ^
right-alt + shift + u = &
and misc bindings like
right-alt + a = (
right-alt + s = )
right-alt + d = {
right-alt + f = }
What I tried
xbindkeys
- This tool looks like it can't differentiate between the left-alt key and the right-alt key. When I use xbindkeys -k
and press right-alt key + 1
, it returns "m:0x18 + c:10 | Alt+Mod2 + 1" which is the same as if I press left-alt key + 1
sxhkd
- According to this GitHub post, you can't trigger left/right alt keys separately. https://github.com/baskerville/sxhkd/issues/89. Though according to this other forum, you can map to left/right alt (just not from) https://bbs.archlinux.org/viewtopic.php?id=155613&p=3. Just re-iterating - I don't use Arch. I use CentOS. The forum just happens to be from Arch.
keyboard-shortcuts
keyboard-shortcuts
New contributor
New contributor
New contributor
asked 1 hour ago
ColinKennedyColinKennedy
1
1
New contributor
New contributor
add a comment
|
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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/4.0/"u003ecc by-sa 4.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
});
}
});
ColinKennedy is a new contributor. Be nice, and check out our Code of Conduct.
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%2funix.stackexchange.com%2fquestions%2f541800%2fbind-the-right-alt-key-key-to-another-key-on-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
ColinKennedy is a new contributor. Be nice, and check out our Code of Conduct.
ColinKennedy is a new contributor. Be nice, and check out our Code of Conduct.
ColinKennedy is a new contributor. Be nice, and check out our Code of Conduct.
ColinKennedy is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f541800%2fbind-the-right-alt-key-key-to-another-key-on-linux%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