📎 AI Summary:
The user initially asked if it's possible to remap the right Alt key to function as AltGr on their Dell XPS 15, as the standard tools and scripts didn't achieve this. After some troubleshooting and trying different methods, including switching keyboard layouts and using KbdEdit, the user successfully resolved the issue by creating a custom keyboard layout with MS Keyboard Layout Creator while KbdEdit was open. The thread ends with a participant expressing gladness that the user resolved the problem and thanking them for the update.
Thread Author
I just bought a Dell XPS 15 and discovered that there's no AltGr, but two Alt's instead. Is it possible to remap the right Alt to act as AltGr?

I've tried several keyboard editing programs, but haven't found any with that option (except KbdEdit, but the demo version won't let you save the settings and 8€/12$ is quite a lot to pay only to change one key).

 

cybercore

Essential Member
Member details
Joined
Jul 7, 2009
Messages
15,628
[langtitle=hr]Re: Remap right Alt to AltGr?[/langtitle]

Link Removed - Invalid URL will let you remap:


Left Alt to AltGr:

Code:
[B]LAlt::Send {AltGr}[/B]



Right Alt to AltGr:

Code:
[B]RAlt::Send {AltGr}[/B]
 
Last edited:

MikEst

New Member
Member details
Joined
Feb 12, 2011
Messages
8
Thread Author #3
Thank you for your answer, but that doesn't work either - right Alt still doesn't function as AltGr.
 

cybercore

Essential Member
Member details
Joined
Jul 7, 2009
Messages
15,628
Thank you for your answer, but that doesn't work either - right Alt still doesn't function as AltGr.

1. Did you install Autohotkey?

2.
Code:
[B]RAlt::Send {AltGr}[/B]
Did you save this code as name.ahk?


3. Did you double click on the script to launch it?


If you answered No to any of these questions, you know why it doesn't work.
 

MikEst

New Member
Member details
Joined
Feb 12, 2011
Messages
8
Thread Author #5
1. Did you install Autohotkey?

2.
Code:
[B]RAlt::Send {AltGr}[/B]
Did you save this code as name.ahk?


3. Did you double click on the script to launch it?


If you answered No to any of these questions, you know why it doesn't work.
Yes, of course I did all those things.
 
Last edited:

kemical

Essential Member
Member details
Joined
Aug 28, 2007
Messages
36,163
Hi MikEst,

a couple of things to suggest and apologies if you've tried these already.. Have you tried setting the keyboard to UK input? Another option would be to try the keys of 'Control & Alt' as these should produce AltGr when used together.

More information on this subject can be found here:

AltGr key - Wikipedia, the free encyclopedia
 

MikEst

New Member
Member details
Joined
Feb 12, 2011
Messages
8
Thread Author #7
Hi MikEst,

a couple of things to suggest and apologies if you've tried these already.. Have you tried setting the keyboard to UK input? Another option would be to try the keys of 'Control & Alt' as these should produce AltGr when used together.

More information on this subject can be found here:

AltGr key - Wikipedia, the free encyclopedia
Thank you fro your answer, but switching to UK input didn't help either. And I already know that Ctrl+Alt=AltGr (btw, that didn't work in the UK input).

But I got it to work. The program that I mentioned in the original post (KbdEdit) creates a temporary layout called "Language [KbdEdit Preview]". While KbdEdit was still open, I opened the layout with MS Keyboard Layout Creator 1.4 and then closed KbdEdit. The layout then saved and I was able to select it from the input language / keyboard settings.
 

kemical

Essential Member
Member details
Joined
Aug 28, 2007
Messages
36,163
Glad to hear you got it sorted and much thanks for updating the thread.