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.
Related
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.
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 5 years ago.
Improve this question
I've installed bash linux subsys on w10, but for whatever reason my bash is rooted in a directory I cannot find on my pc.
root#DESKTOP-MLRVSAC instead of localhost.
How do I fix this issue?
DESKTOP-MLRVSAC sounds like the weird PC names Windows assigns automatically to the PC when being installed.
So I would look how that PC is named on the Windows level (sorry, I don't know Windows 10, but on Windows 7 Pro you would first right-click "Computer", then choose "Properties" from the context menu; the screen which then appears shows the computer name).
If you find out that DESKTOP-MLRVSAC is indeed the computer name on Windows level, just use the usual Windows mechanisms / dialogs to change it (in Windows 7 Pro: Open Control Panel, choose "System", then click the link "Change Settings" at the right side in the lower half of the dialog which appears. This will open a new dialog with caption "System Properties". On the tab "Computer name" which is activated by default, there is a button "Change"; clicking it will finally open another dialog where you can input the new computer name).
You might have to logout and login again, or even to restart the PC, before Microsoft bash reflects that change. But I am not sure about that; just try.
That’s not the current directory - that’s the “user#host” bit that tells you what user you’re logged in as (root from the Linux subsystem’s point of view) and which machine you’re logged into (DESKTOP-MLRVSAC, the automatically-generated hostname for your machine). The current directory should follow that, in the format “user#host:cwd# ”. For a new shell, cwd will probably be ~, indicating your home directory.
You may edit the PS1 definition in .bashrc or .profile to change how this prompt appears, or edit your computer name in your system control panel to something a bit more familiar.
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.
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.
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.