Solved: Chrome/Chromium mouse cursor troubles in Linux on VirtualBox

Well, not solved. But worked-around.

Chrome and Chromium 42 (and I’ve read 41 as well) have a weird mouse cursor problem in Linux on VirtualBox where the cursor wouldn’t change to a text cursor instead of an arrow pointy thingy.

Long story short: it’s a bug in Chrome/Chromium and here’s how to work around it:

Kamal says:
edit ‘/opt/google/chrome/google-chrome’ file and add ‘–touch-devices=123’ in last couple of lines as shown below. You are all set to go

#sudo vi /opt/google/chrome/google-chrome

if [[ -n "$CHROME_USER_DATA_DIR" ]]; then
# Note: exec -a below is a bashism.
exec -a "$0" "$HERE/chrome" \
--user-data-dir="$CHROME_USER_DATA_DIR" --touch-devices=123 "$@"
exec -a "$0" "$HERE/chrome" --touch-devices=123 "$@"

And Akger says:
fix also works with chromium



and change the Exec-statement to

Exec=chromium-browser %U --touch-devices=123

Mainly documenting this here for my own use. Should be solved in newer Chrome/Chromium versions.


Fix window transparency in Xfce 4.12

In Xfce 4.10 you used to be able to change a window’s transparency by holding the mouse cursor over its title bar and scroll the mousewheel up or down. If you try that in Xfce 4.12 you’ll notice that that zooms the entire desktop in or out.

Setting the ‘special’ key to something other than the default alt key doesn’t help here. Disbaling the zoom function does.

From the Xfce Menu, choose Settings > Setting Editor. In the Channel pane select ‘xfwm4’ and in the right pane scroll all the way down to ‘zoom_desktop’. Uncheck the Value box.

Transparency should now work again!

Get current user’s SID from the command line in Windows 7

Here’s how you can get the logged-on user’s SID from the command line (ignore the line endings!):

for /f "delims=*" %%I in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /s /f %username% ^| findstr /B "HKEY"') do set sidpath=%%I

set sid=%sidpath:~76%