How to remap ALT + BackSpace to work like DEL key?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












My laptop has no delete key so I tried remapping Shift+BackSpace to behave as DEL key and it works fine. I can delete characters/text, and it can also delete files in File Manager (I'm on Elementary Loki).



This is the line for Shift+BackSpace on my /usr/share/X11/xkb/symbols/pc:



key <BKSP> [ BackSpace, Delete ] ;


But then I decided to change it to ALT+ BackSpace. It is working in text/characters but not in File Manager. It doesn't delete selected file(s).



ALT+BackSpace:



key <BKSP> 
type= "PC_ALT_LEVEL2",
symbols[Group1]= [ BackSpace, Delete ]
;


Please correct me if I'm wrong. Thanks







share|improve this question
















  • 1




    "works in one program not in another" smells a lot like the other is looking for keycodes rather than keysyms. make sure to restart the nonworking program and retest, but it may be a bug in the program rather than something xkb can fix.
    – quixotic
    Feb 1 at 3:36










  • @quixotic looks like it is, because I installed Nautilus and ALT + BackSpace works correctly. I will file a bug for this. Thanks.
    – bEn
    Feb 1 at 14:05















up vote
0
down vote

favorite












My laptop has no delete key so I tried remapping Shift+BackSpace to behave as DEL key and it works fine. I can delete characters/text, and it can also delete files in File Manager (I'm on Elementary Loki).



This is the line for Shift+BackSpace on my /usr/share/X11/xkb/symbols/pc:



key <BKSP> [ BackSpace, Delete ] ;


But then I decided to change it to ALT+ BackSpace. It is working in text/characters but not in File Manager. It doesn't delete selected file(s).



ALT+BackSpace:



key <BKSP> 
type= "PC_ALT_LEVEL2",
symbols[Group1]= [ BackSpace, Delete ]
;


Please correct me if I'm wrong. Thanks







share|improve this question
















  • 1




    "works in one program not in another" smells a lot like the other is looking for keycodes rather than keysyms. make sure to restart the nonworking program and retest, but it may be a bug in the program rather than something xkb can fix.
    – quixotic
    Feb 1 at 3:36










  • @quixotic looks like it is, because I installed Nautilus and ALT + BackSpace works correctly. I will file a bug for this. Thanks.
    – bEn
    Feb 1 at 14:05













up vote
0
down vote

favorite









up vote
0
down vote

favorite











My laptop has no delete key so I tried remapping Shift+BackSpace to behave as DEL key and it works fine. I can delete characters/text, and it can also delete files in File Manager (I'm on Elementary Loki).



This is the line for Shift+BackSpace on my /usr/share/X11/xkb/symbols/pc:



key <BKSP> [ BackSpace, Delete ] ;


But then I decided to change it to ALT+ BackSpace. It is working in text/characters but not in File Manager. It doesn't delete selected file(s).



ALT+BackSpace:



key <BKSP> 
type= "PC_ALT_LEVEL2",
symbols[Group1]= [ BackSpace, Delete ]
;


Please correct me if I'm wrong. Thanks







share|improve this question












My laptop has no delete key so I tried remapping Shift+BackSpace to behave as DEL key and it works fine. I can delete characters/text, and it can also delete files in File Manager (I'm on Elementary Loki).



This is the line for Shift+BackSpace on my /usr/share/X11/xkb/symbols/pc:



key <BKSP> [ BackSpace, Delete ] ;


But then I decided to change it to ALT+ BackSpace. It is working in text/characters but not in File Manager. It doesn't delete selected file(s).



ALT+BackSpace:



key <BKSP> 
type= "PC_ALT_LEVEL2",
symbols[Group1]= [ BackSpace, Delete ]
;


Please correct me if I'm wrong. Thanks









share|improve this question











share|improve this question




share|improve this question










asked Feb 1 at 3:07









bEn

1




1







  • 1




    "works in one program not in another" smells a lot like the other is looking for keycodes rather than keysyms. make sure to restart the nonworking program and retest, but it may be a bug in the program rather than something xkb can fix.
    – quixotic
    Feb 1 at 3:36










  • @quixotic looks like it is, because I installed Nautilus and ALT + BackSpace works correctly. I will file a bug for this. Thanks.
    – bEn
    Feb 1 at 14:05













  • 1




    "works in one program not in another" smells a lot like the other is looking for keycodes rather than keysyms. make sure to restart the nonworking program and retest, but it may be a bug in the program rather than something xkb can fix.
    – quixotic
    Feb 1 at 3:36










  • @quixotic looks like it is, because I installed Nautilus and ALT + BackSpace works correctly. I will file a bug for this. Thanks.
    – bEn
    Feb 1 at 14:05








1




1




"works in one program not in another" smells a lot like the other is looking for keycodes rather than keysyms. make sure to restart the nonworking program and retest, but it may be a bug in the program rather than something xkb can fix.
– quixotic
Feb 1 at 3:36




"works in one program not in another" smells a lot like the other is looking for keycodes rather than keysyms. make sure to restart the nonworking program and retest, but it may be a bug in the program rather than something xkb can fix.
– quixotic
Feb 1 at 3:36












@quixotic looks like it is, because I installed Nautilus and ALT + BackSpace works correctly. I will file a bug for this. Thanks.
– bEn
Feb 1 at 14:05





@quixotic looks like it is, because I installed Nautilus and ALT + BackSpace works correctly. I will file a bug for this. Thanks.
– bEn
Feb 1 at 14:05
















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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f421124%2fhow-to-remap-alt-backspace-to-work-like-del-key%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f421124%2fhow-to-remap-alt-backspace-to-work-like-del-key%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?