Author Topic: [SOLVED] Photoshop Elements Alt+/ Movement Key Conflict  (Read 2019 times)

Offline DuaneF

  • Jr. Member
  • **
  • Posts: 15
[SOLVED] Photoshop Elements Alt+/ Movement Key Conflict
« on: November 13, 2011, 07:26:01 PM »
I'm using PCLinuxOS in the LXDE variant, 2011.06. I also use Virtualbox to run a few Windows apps. I've been frustrated for months by the inability to use the clone stamp and healing brush tools in Photoshop Elements, on a Virtualbox virtual machine using Windows XP. Those tools require an Alt+<click> to select the area that will be cloned.

Searches with Google have revealed that these tools don't work because of a conflict with the way Linux uses the Alt+<click> to move windows. I've found a few instructions for a few other distros and other desktops, indicating that the conflict is resolved by setting the Linux system to use the "Super" key instead of Alt for window movement. E.g.:

{Broken link removed - target can be reached through Adobe Forums link in reply 5}

What I can't seem to figure out is how to make that change in my current system. Anyone?
« Last Edit: November 22, 2011, 11:52:45 AM by DuaneF »

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Photoshop Elements Alt+/ Movement Key Conflict
« Reply #1 on: November 13, 2011, 10:45:31 PM »
It's a VirtualBox issue and not PCLinuxOS. Why don't you try changing the hotkeys for VirtualBox. Instead of using <Alt>, change it to <Ctrl> or <Meta>. There's a good chance that if you change the hotkey, you will be able to use the <Alt> key for your purpose.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline DuaneF

  • Jr. Member
  • **
  • Posts: 15
Re: Photoshop Elements Alt+/ Movement Key Conflict
« Reply #2 on: November 14, 2011, 05:42:28 AM »
It's a VirtualBox issue and not PCLinuxOS. Why don't you try changing the hotkeys for VirtualBox. Instead of using <Alt>, change it to <Ctrl> or <Meta>. There's a good chance that if you change the hotkey, you will be able to use the <Alt> key for your purpose.

That's an option I already investigated at length before posting, and discovered this definitely IS a Linux issue. Virtualbox doesn't use the <Alt> key. In its default configuration, its only hot-key (which they call the "Host-key") is the right <Ctrl> key. So there is nothing to change in Virtualbox. 

From all of the reading I've done this problem impedes use of Photoshop only on Linux hosts, regardless of the virtualization software in use - Virtualbox, VMWare, QEMU, and even with Wine. See http://wiki.winehq.org/AdobePhotoshop

I've also confirmed that the problem is specific to Linux by installing and using Photoshop on a Windows XP VM under Virtualbox on a Windows host. On the Windows host, there is no conflict with the <Alt> key, and the tools in question work just fine.

Offline zerocool

  • Sr. Member
  • ****
  • Posts: 374
Re: Photoshop Elements Alt+/ Movement Key Conflict
« Reply #3 on: November 14, 2011, 06:21:47 AM »

Well, you could try using a Virtual keyboard in XP.

Just a thought...


Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15288
  • ┌∩┐(◕_◕)┌∩┐
Re: Photoshop Elements Alt+/ Movement Key Conflict
« Reply #4 on: November 14, 2011, 06:22:38 AM »
I spotted this on the VB forums but I don't know whether it applies in this case. (the poster Running VirtualBox on Snow Leopard with guest OS -> Windows XP)

Re: Alt-Click Not Captured By Guest OS

Postby bx6 » 2. Apr 2011, 00:20
I know the thread is old, but I wanted to add that I had success by going in to my guest OS and modifying the keymapping via the windows registry.

(link) how to re-map keys via windows registry
http://www.usnetizen.com/fix_capslock.php

specific binary value to map the left 'windows' key (the left 'command' key on a mac) to the left ALT key
00,00,00,00,00,00,00,00,02,00,00,00,37,e0,0e,00,00,00,00,00

note: these values have to be typed in. i could not copy n paste

this worked for me and gave me ALT key access in my guest.


https://forums.virtualbox.org/viewtopic.php?t=233&highlight=hotkey

=========

Oh, BTW - the link in the original post is showing

404 Error: Not found

The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for

« Last Edit: November 14, 2011, 06:24:18 AM by menotu »
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline DuaneF

  • Jr. Member
  • **
  • Posts: 15
Re: Photoshop Elements Alt+/ Movement Key Conflict
« Reply #5 on: November 14, 2011, 10:19:23 AM »
Thanks for the additional tip on the VM registry. I've tried a couple of times to modify the link in the OP (it worked in the preview, but not when posted). However, there is a working link in message number 7 of a discussion of this same issue on the Adobe forums:

http://forums.adobe.com/message/3116950

Maybe that will get interested parties to the page, but unfortunately, it doesn't shed any light on how to make the fix on a system using LXDE.

Further research suggests that this may also be connected to use of Openbox as the window manager in LXDE. I've found some instruction on the FAQ page of the Sourceforge pages for LXDE, indicating that LXDE can be modified to use different window managers. I will probably try that, and perhaps the suggestion of modifying the VM's registry entry. Both options are a bit beyond the cusp of my current knowledge, but learning new things is one of life's great pleasures. I suppose just changing to KDE might also allow me to apply the changes for which I've found instructions. But meanwhile, I'm still open for suggestions.

UPDATE: I seem to be making headway, after reading up a bit on Openbox. I've modified ~/.config/openbox/lxde-rc.xml to change some "mousebind" entries. This file is (surprisingly) editable by a normal user, to make more changes in window, keyboard and mouse behaviors than I would have imagined. About half-way through the file, after the section for <keyboard>, is the <mouse> section. In the default install, the first "context" section starts like this:

<context name="Frame">
      <mousebind button="A-Left" action="Press">
        <action name="Focus"/>
        <action name="Raise"/>
      </mousebind>
      <mousebind button="A-Left" action="Click">
        <action name="Unshade"/>
      </mousebind>
      <mousebind button="A-Left" action="Drag">
        <action name="Move"/>
      </mousebind>

After saving the entire file with a .bak filename (I screw up more often than anyone), I changed the "A"s to "W" in these three entries, and saved the file. I'm not sure how many really needed to be changed, but I'll try to figure that out later. After logging out and back in, the window movement is now controlled by the "windows" key, rather than the <Alt> key. That is, holding the "windows" key and left-clicking the mouse anywhere in a window now displays the four-way "move" arrows, and I can move the entire frame of a window with the mouse, as was previously done with <Alt>+click. Unfortunately, I'm doing this on a little computer that has a VM installed, but no version of Photoshop. I'll have to wait until much later to test this on my main machine. But I found the discovery of this too exciting to wait.
« Last Edit: November 14, 2011, 12:09:37 PM by DuaneF »

Offline DuaneF

  • Jr. Member
  • **
  • Posts: 15
[SOLVED] Photoshop Elements Alt+/ Movement Key Conflict
« Reply #6 on: November 14, 2011, 07:38:07 PM »
Solved.

The changes made in the "update" section of my last post did the trick. I'm not sure yet how many of the entries in the lxde-rc.xml file really need to be modified, but Photoshop tools that I've been missing for all these months are now working correctly.

Offline fraxinus

  • Hero Member
  • *****
  • Posts: 518
Re: [SOLVED] Photoshop Elements Alt+/ Movement Key Conflict
« Reply #7 on: November 21, 2011, 04:06:52 PM »
DuaneF - glad you have resolved this problem. I too depend on Photoshop and run it in an XP guest in VirtualBox.

Using Gnome and KDE, I have always used a simple solution to making the ALT key available to my guest OS. In Gnome, I go to Control Centre - Personal - Windows. The various windows preferences appear in a dialogue - near the bottom of the dialogue, under Movement Key, I change the setting from the default (Alt) to 'Super' (or 'Windows Logo'). Reboot your VM and the ALT key works. I used to use KDE till a couple of years ago. I remember then that I made a very similar change in KDE's control centre.

Just thought I should post this solution, as the link you included to technologytales.com is dead and someone else might search the forum on this issue in future! Perhaps this option is not so readily available in Openbox/LXDE, however - I don't know either desktop.
« Last Edit: November 22, 2011, 02:29:44 AM by fraxinus »