How to recognize special function keys on keyboard












3















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











share|improve this question

























  • 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
















3















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











share|improve this question

























  • 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














3












3








3


1






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











share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 8 '14 at 3:05









Braiam

52.1k20136222




52.1k20136222










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



















  • 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










1 Answer
1






active

oldest

votes


















3





+50









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


enter image description here



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.






share|improve this answer


























  • 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











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
});


}
});














draft saved

draft discarded


















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









3





+50









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


enter image description here



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.






share|improve this answer


























  • 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
















3





+50









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


enter image description here



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.






share|improve this answer


























  • 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














3





+50







3





+50



3




+50





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


enter image description here



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.






share|improve this answer















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


enter image description here



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.







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 2 at 2:14









NikolaiDante

1902526




1902526










answered Nov 28 '12 at 20:22









SethSeth

34.8k27112165




34.8k27112165













  • 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











  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀