How to make xmodmap changes permanent? (reboot and resume)Reassign Ctrl and Alt keys - xmodmap 'BadValue'...
Convert Byte array into collection of items of different types
Count rotary dial pulses in a phone number (including letters)
USPS Back Room - Trespassing?
How to let other coworkers know that I don't share my coworker's political views?
Best material to absorb as much light as possible
Remove CiviCRM and Drupal links / banner on profile form
Ethical issue - how can I better document what is happening?
Who decides how to classify a novel?
Which European Languages are not Indo-European?
What does ${!#} mean in Shell scripting?
How to cut a climbing rope?
Question in discrete mathematics about group permutations
Could a 19.25mm revolver actually exist?
NIntegrate doesn't evaluate
In the 3D Zeldas, is it faster to roll or to simply walk?
Is "cool" appropriate or offensive to use in IMs?
Is the Indo-European language family made up?
Does pair production happen even when the photon is around a neutron?
Can my floppy disk still work without a shutter spring?
Can a British citizen living in France vote in both France and Britain in the European Elections?
Who is in charge of Wakanda?
Dad jokes are fun
Is there a simple example that empirical evidence is misleading?
Of strange atmospheres - the survivable but unbreathable
How to make xmodmap changes permanent? (reboot and resume)
Reassign Ctrl and Alt keys - xmodmap 'BadValue' errorHow to set an xmodmap file for the session manager (or at least SLiM) because of a broken physical keyAltGr keys don't work with Ubuntu in VirtualBoxHow to get keycodes for xmodmap?xmodmap for key combination - how to toggle the Fn behavior?Changing specific keys on Apple keyboard under Fedora 22Mapping key using xmodmap changes multiple keysxmodmap not mapping Ctrl to Super except in Ubuntu's Keyboard Shortcutsxterm and Prior key remap with xmodmapxmodmap: remapped Control_L not working for copying and pasting
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Using xmodmap to remap meta key with the following command:
xmodmap -e 'keycode 133 = F14'
How can i make the change permanent, especially on system sleep/resume ?
systemd keyboard-shortcuts keyboard xmodmap
add a comment |
Using xmodmap to remap meta key with the following command:
xmodmap -e 'keycode 133 = F14'
How can i make the change permanent, especially on system sleep/resume ?
systemd keyboard-shortcuts keyboard xmodmap
add a comment |
Using xmodmap to remap meta key with the following command:
xmodmap -e 'keycode 133 = F14'
How can i make the change permanent, especially on system sleep/resume ?
systemd keyboard-shortcuts keyboard xmodmap
Using xmodmap to remap meta key with the following command:
xmodmap -e 'keycode 133 = F14'
How can i make the change permanent, especially on system sleep/resume ?
systemd keyboard-shortcuts keyboard xmodmap
systemd keyboard-shortcuts keyboard xmodmap
asked 1 hour ago
intikaintika
1,102411
1,102411
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Reboot
On the setting panel (KDE/GNOME) there is a startup section where application can be added to startup session, xmodmap can be added there
Resume
Xmodmap does not keep the changes after sleep/resume, here is how to set xmodmap on system resume with systemd: (non systemd user can use this)
Create xkeyboard resume script:
touch /usr/lib/systemd/system-sleep/xkeyboard; chmod 755 /usr/lib/systemd/system-sleep/xkeyboard
Edit xkeyboard and fill it with:
#!/bin/bash
case $1 in
pre)
exit 0
;;
post)
export DISPLAY=:0
sleep 10
xmodmap -e 'keycode 133 = F14'
;;
esac
add a comment |
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/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%2funix.stackexchange.com%2fquestions%2f520755%2fhow-to-make-xmodmap-changes-permanent-reboot-and-resume%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Reboot
On the setting panel (KDE/GNOME) there is a startup section where application can be added to startup session, xmodmap can be added there
Resume
Xmodmap does not keep the changes after sleep/resume, here is how to set xmodmap on system resume with systemd: (non systemd user can use this)
Create xkeyboard resume script:
touch /usr/lib/systemd/system-sleep/xkeyboard; chmod 755 /usr/lib/systemd/system-sleep/xkeyboard
Edit xkeyboard and fill it with:
#!/bin/bash
case $1 in
pre)
exit 0
;;
post)
export DISPLAY=:0
sleep 10
xmodmap -e 'keycode 133 = F14'
;;
esac
add a comment |
Reboot
On the setting panel (KDE/GNOME) there is a startup section where application can be added to startup session, xmodmap can be added there
Resume
Xmodmap does not keep the changes after sleep/resume, here is how to set xmodmap on system resume with systemd: (non systemd user can use this)
Create xkeyboard resume script:
touch /usr/lib/systemd/system-sleep/xkeyboard; chmod 755 /usr/lib/systemd/system-sleep/xkeyboard
Edit xkeyboard and fill it with:
#!/bin/bash
case $1 in
pre)
exit 0
;;
post)
export DISPLAY=:0
sleep 10
xmodmap -e 'keycode 133 = F14'
;;
esac
add a comment |
Reboot
On the setting panel (KDE/GNOME) there is a startup section where application can be added to startup session, xmodmap can be added there
Resume
Xmodmap does not keep the changes after sleep/resume, here is how to set xmodmap on system resume with systemd: (non systemd user can use this)
Create xkeyboard resume script:
touch /usr/lib/systemd/system-sleep/xkeyboard; chmod 755 /usr/lib/systemd/system-sleep/xkeyboard
Edit xkeyboard and fill it with:
#!/bin/bash
case $1 in
pre)
exit 0
;;
post)
export DISPLAY=:0
sleep 10
xmodmap -e 'keycode 133 = F14'
;;
esac
Reboot
On the setting panel (KDE/GNOME) there is a startup section where application can be added to startup session, xmodmap can be added there
Resume
Xmodmap does not keep the changes after sleep/resume, here is how to set xmodmap on system resume with systemd: (non systemd user can use this)
Create xkeyboard resume script:
touch /usr/lib/systemd/system-sleep/xkeyboard; chmod 755 /usr/lib/systemd/system-sleep/xkeyboard
Edit xkeyboard and fill it with:
#!/bin/bash
case $1 in
pre)
exit 0
;;
post)
export DISPLAY=:0
sleep 10
xmodmap -e 'keycode 133 = F14'
;;
esac
answered 1 hour ago
intikaintika
1,102411
1,102411
add a comment |
add a comment |
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%2f520755%2fhow-to-make-xmodmap-changes-permanent-reboot-and-resume%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