How to recognize special function keys on keyboard
I have a Microsoft Digital Media 3000 Keyboard. None of the function keys or other special keys seem to do anything, what do I need to do to get them working (at the very least f2, as not having a shortcut to rename a file is driving me mad)
If I run xev
and press f2 I get the following output in the terminal:
KeyPress event, serial 36, synthetic NO, window 0x4800001,
root 0x15d, subw 0x0, time 42858728, (674,456), root:(1034,588),
state 0x10, keycode 139 (keysym 0xff65, Undo), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x4800001,
root 0x15d, subw 0x0, time 42858912, (674,456), root:(1034,588),
state 0x10, keycode 139 (keysym 0xff65, Undo), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
keyboard-layout microsoft-keyboard
add a comment |
I have a Microsoft Digital Media 3000 Keyboard. None of the function keys or other special keys seem to do anything, what do I need to do to get them working (at the very least f2, as not having a shortcut to rename a file is driving me mad)
If I run xev
and press f2 I get the following output in the terminal:
KeyPress event, serial 36, synthetic NO, window 0x4800001,
root 0x15d, subw 0x0, time 42858728, (674,456), root:(1034,588),
state 0x10, keycode 139 (keysym 0xff65, Undo), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x4800001,
root 0x15d, subw 0x0, time 42858912, (674,456), root:(1034,588),
state 0x10, keycode 139 (keysym 0xff65, Undo), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
keyboard-layout microsoft-keyboard
First, are you sure that function keys are enabled? On my keyboard I have a key that enables/disables them...
– MiJyn
Nov 28 '12 at 18:29
@MiJyn I believe so. When I boot into windows on this box, I don't have to do anything special for them to work.
– NikolaiDante
Nov 28 '12 at 18:40
It seems to be a special keyboard with a different keymapping. I assume that you will have to install a driver (no idea which one though).
– MiJyn
Nov 28 '12 at 18:43
add a comment |
I have a Microsoft Digital Media 3000 Keyboard. None of the function keys or other special keys seem to do anything, what do I need to do to get them working (at the very least f2, as not having a shortcut to rename a file is driving me mad)
If I run xev
and press f2 I get the following output in the terminal:
KeyPress event, serial 36, synthetic NO, window 0x4800001,
root 0x15d, subw 0x0, time 42858728, (674,456), root:(1034,588),
state 0x10, keycode 139 (keysym 0xff65, Undo), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x4800001,
root 0x15d, subw 0x0, time 42858912, (674,456), root:(1034,588),
state 0x10, keycode 139 (keysym 0xff65, Undo), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
keyboard-layout microsoft-keyboard
I have a Microsoft Digital Media 3000 Keyboard. None of the function keys or other special keys seem to do anything, what do I need to do to get them working (at the very least f2, as not having a shortcut to rename a file is driving me mad)
If I run xev
and press f2 I get the following output in the terminal:
KeyPress event, serial 36, synthetic NO, window 0x4800001,
root 0x15d, subw 0x0, time 42858728, (674,456), root:(1034,588),
state 0x10, keycode 139 (keysym 0xff65, Undo), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x4800001,
root 0x15d, subw 0x0, time 42858912, (674,456), root:(1034,588),
state 0x10, keycode 139 (keysym 0xff65, Undo), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
keyboard-layout microsoft-keyboard
keyboard-layout microsoft-keyboard
edited Jun 8 '14 at 3:05
Braiam
51.8k20136221
51.8k20136221
asked Nov 3 '12 at 18:27
NikolaiDanteNikolaiDante
1902526
1902526
First, are you sure that function keys are enabled? On my keyboard I have a key that enables/disables them...
– MiJyn
Nov 28 '12 at 18:29
@MiJyn I believe so. When I boot into windows on this box, I don't have to do anything special for them to work.
– NikolaiDante
Nov 28 '12 at 18:40
It seems to be a special keyboard with a different keymapping. I assume that you will have to install a driver (no idea which one though).
– MiJyn
Nov 28 '12 at 18:43
add a comment |
First, are you sure that function keys are enabled? On my keyboard I have a key that enables/disables them...
– MiJyn
Nov 28 '12 at 18:29
@MiJyn I believe so. When I boot into windows on this box, I don't have to do anything special for them to work.
– NikolaiDante
Nov 28 '12 at 18:40
It seems to be a special keyboard with a different keymapping. I assume that you will have to install a driver (no idea which one though).
– MiJyn
Nov 28 '12 at 18:43
First, are you sure that function keys are enabled? On my keyboard I have a key that enables/disables them...
– MiJyn
Nov 28 '12 at 18:29
First, are you sure that function keys are enabled? On my keyboard I have a key that enables/disables them...
– MiJyn
Nov 28 '12 at 18:29
@MiJyn I believe so. When I boot into windows on this box, I don't have to do anything special for them to work.
– NikolaiDante
Nov 28 '12 at 18:40
@MiJyn I believe so. When I boot into windows on this box, I don't have to do anything special for them to work.
– NikolaiDante
Nov 28 '12 at 18:40
It seems to be a special keyboard with a different keymapping. I assume that you will have to install a driver (no idea which one though).
– MiJyn
Nov 28 '12 at 18:43
It seems to be a special keyboard with a different keymapping. I assume that you will have to install a driver (no idea which one though).
– MiJyn
Nov 28 '12 at 18:43
add a comment |
1 Answer
1
active
oldest
votes
Using xbindkeys and xte you should be able to remap the f2 key.
sudo apt-get install xbindkeys && sudo apt-get install xautomation
Create the xbindkeys configuration file
xbindkeys --defaults > $HOME/.xbindkeysrc
Now we need to edit the file: gedit $HOME/.xbindkeysrc
Scroll to the bottom of the file and create a new line.
Type:
“xte 'key F2'”
0xff65
This should bind the f2 function key to F2.
Let me know if it doesn't work.
You can do this for any of your keys, just get their keysym
from xev
.
Restart the computer.
Thanks, but F2 still doesn't do rename in file manager. Do I need to reboot to make the change take effect?
– NikolaiDante
Nov 28 '12 at 23:23
Ah, I forgot a step. Editing now....
– Seth♦
Nov 28 '12 at 23:28
@NikolaiDante Edited.
– Seth♦
Nov 28 '12 at 23:35
Found another mistake :/ Edited. Sorry about that.
– Seth♦
Nov 29 '12 at 3:41
1
There is an issue with the xbindkeys example file that mucks up CTRL-F and binds it to XTerm, we should delete it from the config file.
– NikolaiDante
Nov 29 '12 at 18:40
|
show 3 more comments
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/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%2faskubuntu.com%2fquestions%2f211478%2fhow-to-recognize-special-function-keys-on-keyboard%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
Using xbindkeys and xte you should be able to remap the f2 key.
sudo apt-get install xbindkeys && sudo apt-get install xautomation
Create the xbindkeys configuration file
xbindkeys --defaults > $HOME/.xbindkeysrc
Now we need to edit the file: gedit $HOME/.xbindkeysrc
Scroll to the bottom of the file and create a new line.
Type:
“xte 'key F2'”
0xff65
This should bind the f2 function key to F2.
Let me know if it doesn't work.
You can do this for any of your keys, just get their keysym
from xev
.
Restart the computer.
Thanks, but F2 still doesn't do rename in file manager. Do I need to reboot to make the change take effect?
– NikolaiDante
Nov 28 '12 at 23:23
Ah, I forgot a step. Editing now....
– Seth♦
Nov 28 '12 at 23:28
@NikolaiDante Edited.
– Seth♦
Nov 28 '12 at 23:35
Found another mistake :/ Edited. Sorry about that.
– Seth♦
Nov 29 '12 at 3:41
1
There is an issue with the xbindkeys example file that mucks up CTRL-F and binds it to XTerm, we should delete it from the config file.
– NikolaiDante
Nov 29 '12 at 18:40
|
show 3 more comments
Using xbindkeys and xte you should be able to remap the f2 key.
sudo apt-get install xbindkeys && sudo apt-get install xautomation
Create the xbindkeys configuration file
xbindkeys --defaults > $HOME/.xbindkeysrc
Now we need to edit the file: gedit $HOME/.xbindkeysrc
Scroll to the bottom of the file and create a new line.
Type:
“xte 'key F2'”
0xff65
This should bind the f2 function key to F2.
Let me know if it doesn't work.
You can do this for any of your keys, just get their keysym
from xev
.
Restart the computer.
Thanks, but F2 still doesn't do rename in file manager. Do I need to reboot to make the change take effect?
– NikolaiDante
Nov 28 '12 at 23:23
Ah, I forgot a step. Editing now....
– Seth♦
Nov 28 '12 at 23:28
@NikolaiDante Edited.
– Seth♦
Nov 28 '12 at 23:35
Found another mistake :/ Edited. Sorry about that.
– Seth♦
Nov 29 '12 at 3:41
1
There is an issue with the xbindkeys example file that mucks up CTRL-F and binds it to XTerm, we should delete it from the config file.
– NikolaiDante
Nov 29 '12 at 18:40
|
show 3 more comments
Using xbindkeys and xte you should be able to remap the f2 key.
sudo apt-get install xbindkeys && sudo apt-get install xautomation
Create the xbindkeys configuration file
xbindkeys --defaults > $HOME/.xbindkeysrc
Now we need to edit the file: gedit $HOME/.xbindkeysrc
Scroll to the bottom of the file and create a new line.
Type:
“xte 'key F2'”
0xff65
This should bind the f2 function key to F2.
Let me know if it doesn't work.
You can do this for any of your keys, just get their keysym
from xev
.
Restart the computer.
Using xbindkeys and xte you should be able to remap the f2 key.
sudo apt-get install xbindkeys && sudo apt-get install xautomation
Create the xbindkeys configuration file
xbindkeys --defaults > $HOME/.xbindkeysrc
Now we need to edit the file: gedit $HOME/.xbindkeysrc
Scroll to the bottom of the file and create a new line.
Type:
“xte 'key F2'”
0xff65
This should bind the f2 function key to F2.
Let me know if it doesn't work.
You can do this for any of your keys, just get their keysym
from xev
.
Restart the computer.
edited 2 days ago
NikolaiDante
1902526
1902526
answered Nov 28 '12 at 20:22
Seth♦Seth
34.4k27112164
34.4k27112164
Thanks, but F2 still doesn't do rename in file manager. Do I need to reboot to make the change take effect?
– NikolaiDante
Nov 28 '12 at 23:23
Ah, I forgot a step. Editing now....
– Seth♦
Nov 28 '12 at 23:28
@NikolaiDante Edited.
– Seth♦
Nov 28 '12 at 23:35
Found another mistake :/ Edited. Sorry about that.
– Seth♦
Nov 29 '12 at 3:41
1
There is an issue with the xbindkeys example file that mucks up CTRL-F and binds it to XTerm, we should delete it from the config file.
– NikolaiDante
Nov 29 '12 at 18:40
|
show 3 more comments
Thanks, but F2 still doesn't do rename in file manager. Do I need to reboot to make the change take effect?
– NikolaiDante
Nov 28 '12 at 23:23
Ah, I forgot a step. Editing now....
– Seth♦
Nov 28 '12 at 23:28
@NikolaiDante Edited.
– Seth♦
Nov 28 '12 at 23:35
Found another mistake :/ Edited. Sorry about that.
– Seth♦
Nov 29 '12 at 3:41
1
There is an issue with the xbindkeys example file that mucks up CTRL-F and binds it to XTerm, we should delete it from the config file.
– NikolaiDante
Nov 29 '12 at 18:40
Thanks, but F2 still doesn't do rename in file manager. Do I need to reboot to make the change take effect?
– NikolaiDante
Nov 28 '12 at 23:23
Thanks, but F2 still doesn't do rename in file manager. Do I need to reboot to make the change take effect?
– NikolaiDante
Nov 28 '12 at 23:23
Ah, I forgot a step. Editing now....
– Seth♦
Nov 28 '12 at 23:28
Ah, I forgot a step. Editing now....
– Seth♦
Nov 28 '12 at 23:28
@NikolaiDante Edited.
– Seth♦
Nov 28 '12 at 23:35
@NikolaiDante Edited.
– Seth♦
Nov 28 '12 at 23:35
Found another mistake :/ Edited. Sorry about that.
– Seth♦
Nov 29 '12 at 3:41
Found another mistake :/ Edited. Sorry about that.
– Seth♦
Nov 29 '12 at 3:41
1
1
There is an issue with the xbindkeys example file that mucks up CTRL-F and binds it to XTerm, we should delete it from the config file.
– NikolaiDante
Nov 29 '12 at 18:40
There is an issue with the xbindkeys example file that mucks up CTRL-F and binds it to XTerm, we should delete it from the config file.
– NikolaiDante
Nov 29 '12 at 18:40
|
show 3 more comments
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%2f211478%2fhow-to-recognize-special-function-keys-on-keyboard%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
First, are you sure that function keys are enabled? On my keyboard I have a key that enables/disables them...
– MiJyn
Nov 28 '12 at 18:29
@MiJyn I believe so. When I boot into windows on this box, I don't have to do anything special for them to work.
– NikolaiDante
Nov 28 '12 at 18:40
It seems to be a special keyboard with a different keymapping. I assume that you will have to install a driver (no idea which one though).
– MiJyn
Nov 28 '12 at 18:43