alt-key hijacked
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
alt-key hijacked
I use the alt-key in several apps. Now with gnome3 that key is mapped to drag window. Completely breaks functionality of many softwares.
How can I have it not do that and let me use the alt key as an alt-key?
I have tried System Tools>System Settings>Keyboard Layout>Layouts Tab>Options but haven't found any option there that let's me use alt-key normally.
How can I have it not do that and let me use the alt key as an alt-key?
I have tried System Tools>System Settings>Keyboard Layout>Layouts Tab>Options but haven't found any option there that let's me use alt-key normally.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: alt-key hijacked
Open a terminal, and run:
This disables the right alt key as modifier to drag windows around.
Code: Select all
gconftool-2 -t str --set /apps/metacity/general/mouse_button_modifier ""
Re: alt-key hijacked
I had no Metacity entries in gconfeditor.
I had /apps/marco/general/mouse_button_modifier which was set to <alt>. I removed that value but it did not help, alt is still dragging windows around.
I had /apps/marco/general/mouse_button_modifier which was set to <alt>. I removed that value but it did not help, alt is still dragging windows around.
Re: alt-key hijacked
Try looking at it another way. The behaviour you describe is what most people want, and it can be very useful at times, so instead of trying to change that, why don't you try and change shortcuts you have that make use of it? For example make the shortcut Ctl/Alt instead of just Alt? I am sure that is going to be a whole lot easier and I have had to do it myself in one case.
Edit. Actually you might not even have to do that. If you go to System Settings>Keyboard>Shortcuts>Custom Shortcuts and create a new shortcut using the Alt key Gnome will show you a warning dialogue telling you that Alt is mapped to 'Resize Window' and ask you if you would like to reassign it.
Edit. Actually you might not even have to do that. If you go to System Settings>Keyboard>Shortcuts>Custom Shortcuts and create a new shortcut using the Alt key Gnome will show you a warning dialogue telling you that Alt is mapped to 'Resize Window' and ask you if you would like to reassign it.
Re: alt-key hijacked
Because many of the softwares I'm using is heavily relying on the alt-key. some of them is proprietary where I cannot change it's alt-key behaviour.viking777 wrote:..so instead of trying to change that, why don't you try and change shortcuts you have that make use of it?..
So, thank you, but I do want to keep my alt-key used as an alt-key.
Yes, but I do want to choose myself what key-combo triggers moving windows. In compiz I had it set to ctrl+flag+alt-drag.viking777 wrote:...The behaviour you describe is what most people want, and it can be very useful at times...
I feel gnome3 is very blunt and dumbed down compared to compiz where I can change pretty much what I want.
Can I map "alt" to "alt" that way?viking777 wrote:Edit. Actually you might not even have to do that. If you go to System Settings>Keyboard>Shortcuts>Custom Shortcuts and create a new shortcut using the Alt key Gnome will show you a warning dialogue telling you that Alt is mapped to 'Resize Window' and ask you if you would like to reassign it.
Last edited by mint-o-licious on Mon Feb 06, 2012 6:04 am, edited 1 time in total.
Re: alt-key hijacked
Erm, I didn't suggest you go look for the setting. I gave you a command to run Run the command, it works.mint-o-licious wrote:I had no Metacity entries in gconfeditor.
I had /apps/marco/general/mouse_button_modifier which was set to <alt>. I removed that value but it did not help, alt is still dragging windows around.
Re: alt-key hijacked
>Vincent. Sorry was to lazy to copy-paste as I read your post on another computer than the one having gnome3-problems...
Now I did it and it partially worked.
I now can use alt for keyboard-shortcuts but not for mouse-combinations. I can't alt-click on objects...
Now I did it and it partially worked.
I now can use alt for keyboard-shortcuts but not for mouse-combinations. I can't alt-click on objects...
Re: alt-key hijacked
Ah. That makes kinda sense. Perhaps it needs to be disabled at a different level for the right alt key still to be able to be bound to other mouse actions...
You should be able to bind the left alt to mouse actions though.
You should be able to bind the left alt to mouse actions though.
Re: alt-key hijacked
I switched to mate with compiz which solved this issue and all others I had with gnome3. It just feels so dumbed down, an enviroment for preschool, not suited for workstations at all.
Re: alt-key hijacked
Has anyone found a solution to this? As above I am using mate on lmde and cannot get the windows manager from hijacking <Alt>Button1. Always tries to move the window. I have changed the setting in gconf-editor /apps/metacity/general/mouse_button_modifier; I have also disabled the setting in compiz manager. I also ran the command given earlier in this thread. After all this a <Alt> left mouse button still moves the window.
All help appreciated.
KJ
All help appreciated.
KJ
Re: alt-key hijacked
Works when using mateconf-editor insteadkjrunner wrote:Has anyone found a solution to this? As above I am using mate on lmde and cannot get the windows manager from hijacking <Alt>Button1. Always tries to move the window. I have changed the setting in gconf-editor /apps/metacity/general/mouse_button_modifier; I have also disabled the setting in compiz manager. I also ran the command given earlier in this thread. After all this a <Alt> left mouse button still moves the window.
All help appreciated.
KJ