Custom key for Home/End on Ubuntu Gnome 15.10How can I map a character to a key combination?How can I map Super + UpArrow to PageUp?Remap Ctrl+PageUp, Ctrl+PageDown (switch tabs in gnome)Creating a custom keyboard layout isn't workingHow to create custom keyboard short cutCtrl + F4 opening tty in lenovo g400sWeird accidental key mapping, CTRL key alone loads home page on Firefox and home directory on Nautilus, how to revert to default behavior?xdotool - how do I select text using shift+Home or shift+End?
What spellcasting ability is used for this version of Detect Thoughts
How scammy are cashback sites?
Should looper pedal come before or after reverb pedal?
You prove that vertex cover reduces to some problem A, does that mean that A is NP-Complete?
What did Harry mean when he said "Well, I take it you're not sorry?" to Griphook?
What is separation between policy and mechanism?
How to save render layers for later use
Upgrade new bike to 11 speed or downgrade trainers wheel to 8 speed
Can a polling station in the UK shut early if everyone has voted?
Who was Wodehouse’s intended audience for Jeeves and Wooster?
Finding longest overlapping ranges
Is it possible to conserve the total kinetic energy of a system, but not its momentum?
Why is this defense against "It's a Unix system!" not widely implemented?
"Can't open display" when using `scp`
Should I take a side in an external player conflict, or let my game die?
How to cross the Atlantic in a post-apocalyptic world
Why are the 4th and 7th scale degrees removed from the major scale to make the Pentatonic scale?
Adjective describing noun versus result of verb
How can I get 2 characters to bond while standing alternate watches?
SQL Server CUs vs SPs + CUs?
Are the stars distributed in uniform distribution, on the celestial dome, with respect to brightness?
Is this sentence using the word 'zugewandt' correct?
Case-insensitive collation still comparing case-sensitive
How do astronauts brew tea on ISS and what brewing temperature is common?
Custom key for Home/End on Ubuntu Gnome 15.10
How can I map a character to a key combination?How can I map Super + UpArrow to PageUp?Remap Ctrl+PageUp, Ctrl+PageDown (switch tabs in gnome)Creating a custom keyboard layout isn't workingHow to create custom keyboard short cutCtrl + F4 opening tty in lenovo g400sWeird accidental key mapping, CTRL key alone loads home page on Firefox and home directory on Nautilus, how to revert to default behavior?xdotool - how do I select text using shift+Home or shift+End?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
My laptop is Thinkpad T440.
Because of Lenovo designing, Home/End key is on header, in the line with F1-F12 keys.
For my convinient, I want to make some custom shortcut key to map with Home/End key. (ex: Alt+PageUp -> Home, Alt+PageDown -> End).
I tried with xdotool, but it was not worked :(
name: Homepress
command: xdotool key --clearmodifiers Home
shortcut key: Alt+Page Up
--
name: Endpress
command: xdotool key --clearmodifiers End
shortcut key: Alt+Page Down
What should I do ?
Noted that I don't want to print any special chracters from keyboard with custom shortcut key, I just want to replace "Home/End" key with another key/shortcut.
keyboard xdotool
add a comment
|
My laptop is Thinkpad T440.
Because of Lenovo designing, Home/End key is on header, in the line with F1-F12 keys.
For my convinient, I want to make some custom shortcut key to map with Home/End key. (ex: Alt+PageUp -> Home, Alt+PageDown -> End).
I tried with xdotool, but it was not worked :(
name: Homepress
command: xdotool key --clearmodifiers Home
shortcut key: Alt+Page Up
--
name: Endpress
command: xdotool key --clearmodifiers End
shortcut key: Alt+Page Down
What should I do ?
Noted that I don't want to print any special chracters from keyboard with custom shortcut key, I just want to replace "Home/End" key with another key/shortcut.
keyboard xdotool
2
Possible duplicate of How can I map a character to a key combination?
– sbergeron
Nov 25 '15 at 4:51
2
@sbergeron it is different with my case, I want to define new combination key for "Home/End" key on keyboard, not a character like your article. This like on ubuntu we can use combined key: Alt+F2 mapped with Super key.
– Ngoc Luong
Nov 25 '15 at 7:18
For your information; it does work on my system. Maybe you should check with the commandxev
+ Return, then pressHome
and see what is thekeysim
on your system and try to use that instead.
– Jacob Vlijm
Nov 30 '15 at 7:54
1
OP, did you fix your problem? I have the same issue.
– BringBackCommodore64
Mar 1 '18 at 19:15
add a comment
|
My laptop is Thinkpad T440.
Because of Lenovo designing, Home/End key is on header, in the line with F1-F12 keys.
For my convinient, I want to make some custom shortcut key to map with Home/End key. (ex: Alt+PageUp -> Home, Alt+PageDown -> End).
I tried with xdotool, but it was not worked :(
name: Homepress
command: xdotool key --clearmodifiers Home
shortcut key: Alt+Page Up
--
name: Endpress
command: xdotool key --clearmodifiers End
shortcut key: Alt+Page Down
What should I do ?
Noted that I don't want to print any special chracters from keyboard with custom shortcut key, I just want to replace "Home/End" key with another key/shortcut.
keyboard xdotool
My laptop is Thinkpad T440.
Because of Lenovo designing, Home/End key is on header, in the line with F1-F12 keys.
For my convinient, I want to make some custom shortcut key to map with Home/End key. (ex: Alt+PageUp -> Home, Alt+PageDown -> End).
I tried with xdotool, but it was not worked :(
name: Homepress
command: xdotool key --clearmodifiers Home
shortcut key: Alt+Page Up
--
name: Endpress
command: xdotool key --clearmodifiers End
shortcut key: Alt+Page Down
What should I do ?
Noted that I don't want to print any special chracters from keyboard with custom shortcut key, I just want to replace "Home/End" key with another key/shortcut.
keyboard xdotool
keyboard xdotool
edited Nov 30 '15 at 4:22
Ngoc Luong
asked Nov 25 '15 at 4:22
Ngoc LuongNgoc Luong
513 bronze badges
513 bronze badges
2
Possible duplicate of How can I map a character to a key combination?
– sbergeron
Nov 25 '15 at 4:51
2
@sbergeron it is different with my case, I want to define new combination key for "Home/End" key on keyboard, not a character like your article. This like on ubuntu we can use combined key: Alt+F2 mapped with Super key.
– Ngoc Luong
Nov 25 '15 at 7:18
For your information; it does work on my system. Maybe you should check with the commandxev
+ Return, then pressHome
and see what is thekeysim
on your system and try to use that instead.
– Jacob Vlijm
Nov 30 '15 at 7:54
1
OP, did you fix your problem? I have the same issue.
– BringBackCommodore64
Mar 1 '18 at 19:15
add a comment
|
2
Possible duplicate of How can I map a character to a key combination?
– sbergeron
Nov 25 '15 at 4:51
2
@sbergeron it is different with my case, I want to define new combination key for "Home/End" key on keyboard, not a character like your article. This like on ubuntu we can use combined key: Alt+F2 mapped with Super key.
– Ngoc Luong
Nov 25 '15 at 7:18
For your information; it does work on my system. Maybe you should check with the commandxev
+ Return, then pressHome
and see what is thekeysim
on your system and try to use that instead.
– Jacob Vlijm
Nov 30 '15 at 7:54
1
OP, did you fix your problem? I have the same issue.
– BringBackCommodore64
Mar 1 '18 at 19:15
2
2
Possible duplicate of How can I map a character to a key combination?
– sbergeron
Nov 25 '15 at 4:51
Possible duplicate of How can I map a character to a key combination?
– sbergeron
Nov 25 '15 at 4:51
2
2
@sbergeron it is different with my case, I want to define new combination key for "Home/End" key on keyboard, not a character like your article. This like on ubuntu we can use combined key: Alt+F2 mapped with Super key.
– Ngoc Luong
Nov 25 '15 at 7:18
@sbergeron it is different with my case, I want to define new combination key for "Home/End" key on keyboard, not a character like your article. This like on ubuntu we can use combined key: Alt+F2 mapped with Super key.
– Ngoc Luong
Nov 25 '15 at 7:18
For your information; it does work on my system. Maybe you should check with the command
xev
+ Return, then press Home
and see what is the keysim
on your system and try to use that instead.– Jacob Vlijm
Nov 30 '15 at 7:54
For your information; it does work on my system. Maybe you should check with the command
xev
+ Return, then press Home
and see what is the keysim
on your system and try to use that instead.– Jacob Vlijm
Nov 30 '15 at 7:54
1
1
OP, did you fix your problem? I have the same issue.
– BringBackCommodore64
Mar 1 '18 at 19:15
OP, did you fix your problem? I have the same issue.
– BringBackCommodore64
Mar 1 '18 at 19:15
add a comment
|
1 Answer
1
active
oldest
votes
I solved this with xbindkeys.
Install it:
sudo apt-get install xbindkeys xdotool
then create a default config:
xbindkeys --defaults > ~/.xbindkeysrc
Add this to .xbindkeysrc:
"xdotool key --clearmodifiers Home"
Release + Alt + Prior
"xdotool key --clearmodifiers End"
Release + Alt + Next
restart xbindkeys
An alternative is using AutoKey:
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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/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
);
);
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%2faskubuntu.com%2fquestions%2f702213%2fcustom-key-for-home-end-on-ubuntu-gnome-15-10%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
I solved this with xbindkeys.
Install it:
sudo apt-get install xbindkeys xdotool
then create a default config:
xbindkeys --defaults > ~/.xbindkeysrc
Add this to .xbindkeysrc:
"xdotool key --clearmodifiers Home"
Release + Alt + Prior
"xdotool key --clearmodifiers End"
Release + Alt + Next
restart xbindkeys
An alternative is using AutoKey:
add a comment
|
I solved this with xbindkeys.
Install it:
sudo apt-get install xbindkeys xdotool
then create a default config:
xbindkeys --defaults > ~/.xbindkeysrc
Add this to .xbindkeysrc:
"xdotool key --clearmodifiers Home"
Release + Alt + Prior
"xdotool key --clearmodifiers End"
Release + Alt + Next
restart xbindkeys
An alternative is using AutoKey:
add a comment
|
I solved this with xbindkeys.
Install it:
sudo apt-get install xbindkeys xdotool
then create a default config:
xbindkeys --defaults > ~/.xbindkeysrc
Add this to .xbindkeysrc:
"xdotool key --clearmodifiers Home"
Release + Alt + Prior
"xdotool key --clearmodifiers End"
Release + Alt + Next
restart xbindkeys
An alternative is using AutoKey:
I solved this with xbindkeys.
Install it:
sudo apt-get install xbindkeys xdotool
then create a default config:
xbindkeys --defaults > ~/.xbindkeysrc
Add this to .xbindkeysrc:
"xdotool key --clearmodifiers Home"
Release + Alt + Prior
"xdotool key --clearmodifiers End"
Release + Alt + Next
restart xbindkeys
An alternative is using AutoKey:
edited Oct 2 at 8:55
answered Oct 2 at 8:21
r03r03
2151 gold badge2 silver badges7 bronze badges
2151 gold badge2 silver badges7 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f702213%2fcustom-key-for-home-end-on-ubuntu-gnome-15-10%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
2
Possible duplicate of How can I map a character to a key combination?
– sbergeron
Nov 25 '15 at 4:51
2
@sbergeron it is different with my case, I want to define new combination key for "Home/End" key on keyboard, not a character like your article. This like on ubuntu we can use combined key: Alt+F2 mapped with Super key.
– Ngoc Luong
Nov 25 '15 at 7:18
For your information; it does work on my system. Maybe you should check with the command
xev
+ Return, then pressHome
and see what is thekeysim
on your system and try to use that instead.– Jacob Vlijm
Nov 30 '15 at 7:54
1
OP, did you fix your problem? I have the same issue.
– BringBackCommodore64
Mar 1 '18 at 19:15