AnyDesk: mouse scroll-wheel detection when connecting from Linux to MacOS? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 months ago.
Improve this question
I'm using AnyDesk to connect from my Linux desktop to a remote MacOS host, and I am having problems with the scroll wheel when using programs such as Terminal and iTerm2.
When using the scroll wheel on the MacOS host (i.e., when directly using the MacOS host's mouse), it properly scrolls Terminal and iTerm2 windows.
However, when connecting to the MacOS host via AnyDesk from my linux machine and using the scroll wheel from linux, AnyDesk sends the following character sequences to the Mac:
<ESC>[A for scrolling up;
<ESC>[B for scrolling down
This causes Terminal and iTerm2 to scroll through the command history and not to scroll the window contents.
If I hold down the <Alt> key on the linux keyboard when using the scroll wheel, then the Terminal and iTerm2 windows scroll properly on the AnyDesk-connected MacOS device.
Is there any way to get the mouse wheel to behave this way when using AnyDesk to connect from linux to MacOS, without having to hold down the <Alt> key?
I have found nothing in the AnyDesk settings which controls this behavior.
Thank you in advance.

I figured it out ...
I just have to use imwheel on Linux with this configuration entry added within ~/.imwheelrc:
".*anydesk.*"
None, Up, Alt_L|Button4, 1
None, Down, Alt_L|Button5, 1
It sends the <Alt> key through AnyDesk along with the mousewheel commands, and as described above, that causes the scrolling to work the way I want when running Terminal and iTerm2 under MacOS.

Related

Turning a workspace in Linux desktop into a permanent terminal [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have Manjaro Linux on my laptop with KDE desktop. In desktop environments you can have multiple desktops. I want to turn one of these desktops into a permanent terminal. A complete full-screen terminal like the one you get when you don't have a desktop environment installed. Is there anyway to turn one of my workspaces in KDE into a permanent terminal ??
Did you try using a plasmoid? It's not complete full screen but it's as near as it gets.
For example this or this.
Also, have you tried Yakuake? It's not located on the desktop, but invoked by a key press (usually F12) or by the mouse reaching the top border if you want. It's the first program I install on any KDE setup, it's vital to my workflow.

Ubuntu: Do NOT lock the screen when pressing Super+L [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Whenever I press Super+L (or Win+L) on my Ubuntu 14.04 Desktop, the screen gets locked. I would like to disable this behaviour. In System Settings->Keyboard->Shortcuts->System there is a shortcut configured for Lock screen: Ctrl+Alt+L. It works. But I couldn't find where the shortcut for Super+L is configured.
Background: I run Ubuntu in a virtual machine on Windows and use Super+L to lock the Windows desktop, making it superfluous to lock the Ubuntu Desktop. Once I unlock the screen I have to type my password twice: Once for Windows and again for Ubuntu.
Unity also has a shortcut to lock the screen, so you need to disable that one too.
Install and run CompizConfig Settings Manager
Click "Ubuntu Unity Plugin"
Click the button next to "Key to lock the screen."
Disable
While this is an old question, it still comes up as the top result for searches like "ubuntu disable win+L locking". For future reference, this answer covers a method without CompizConfig Settings Manager.
https://askubuntu.com/questions/531835/how-do-i-disable-lock-screen-keyboard-shortcut-under-unity
In short:
Run gsettings set org.gnome.desktop.lockdown disable-lock-screen true to disable the lock screen.
However, this will still turn your screen black for a few seconds. This is still especially useful if you are running Ubuntu in a VM, and don't want it to lock when you lock your outer system.
I searched for search lock in the search bar (Ctrl+Space) and found screen locking window. That did the trick.

Terminal in Gnome for Arch Linux Not Working [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I've just installed Arch Linux and installed the gnome package (Note: Not gnome-extra)
I open Gnome using the xinit gnome-session command, as I have already installed X Window.
When I run that command, Gnome opens up and I'm presented with a white terminal titled "login". However, nothing I do in this terminal actually does anything. No commands work, nothing.
Could someone help me figure out what I'm doing wrong? There have been a few questions around similar to this, however none that have been properly answered.
Thank you!
After installing gnome session you need to append
exec gnome-sssion
at the end of your .xinitrc file located at your home.
when you get the login: prompt enter your username and then your password.
Once you're logged in type startx to start gnome session
Solved! I hadn't set Gnome to startup automatically, so when you login to Arch Linux using your standard root login. Check that gnome is installed and works (Use: xinit gnome-session).
Create an account by going to Settings, Users, Create the account as Administrator. Logout of Gnome Log back in as root to your Arch Linux CLI Use the command: systemctl enable gdm The next time you reboot, you should be presented with the Gnome Login screen.

How to set maximum fullscreen in vmware? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm using VMware workstation 8 on windows 7 and having some Linux hosts such as Centos, Backtrack and ... on it.
The problem is the screen of the virtual machines is not fixed with my screen.
here is the picture from my screen: https://s15.postimg.cc/7carokj4r/Capture.png
Change the resolution of your operating system running in VMware and hope it will stretch the screen when chosen the correct values
Go to view and press "Switch to scale mode" which will adjust the virtual screen when you adjust the application.
It sounds to me as if you actually mean "linux guests" and not "linux hosts".
But in any case, I suspect you did not install the VMWare Tools: doubleclick on that icon on the Desktop that can be seen on your screenshot. It will install some drivers that communicate with VMWare that, among other things, allow to adjust the screen resolution dynamically.
When the installation process is finished, you'll most likely have to reboot the VM.
From you main machine, start -> search -> "remote desktop connection" -> click on "remote desktop connection" -> Click "Options" Beside to "Connect Button" -> Display Tab - > Then increase Display Configuriton Size. If this will not work, try the same thing by closing remote desktop. But this will give you solution.

Moving from Gnome to XFCE [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm using Gnome now and want to install XFCE. Nothing complicated but just curious - do all applications, installed previously on Gnome will be also removed or they would work on XFCE properly after installing XFCE and removing Gnome ?
OS: Linux Mint 7
Don't uninstall Gnome, just select XFCE in the graphical login screen
You might lose functionality in any desktop widgets that were using Gnome, but in general, all of your application using GTK should not in any way be affected by what desktop environment you are using.
At least under Ubuntu, I am fairly sure that uninstalling Gnome should only affect the desktop environment, it should not remove any applications that are not explicitly tied to the Gnome desktop.
Installing XFCE is easy : as root, run:
yum groupinstall XFCE
In my experience, all gnome applications will work with XFCE. However, you should make sure that XFCE launches the appropriate services for these at startup. Navigate to Menu –> Settings –> Sessions & Startup. On the “Advanced” tab, select the appropriate checkbox.
There is no need to uninstall GNOME. The login screen will allow you to select one or the other.

Resources