Make a singular button sleep/wake windows 10 [closed] - windows-10

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 2 years ago.
Improve this question
I can't seem to find anything specific for windows 10. I can search for the above title and it searches for everything with the word "Make" in it so it returns generic keyboard on/off settings adjustment.
My question is if there's a way to make a singular keyboard key sleep/wake the computer. No mouse, not the whole keyboard, just 1 button. Is that possible?

To put your computer into sleep mode, you can do windows + X, chord into U and then chord into S.
I don't think it would be possible to assign one specific key to wake your computer though, at least not with the default system settings. I guess the reason for that is that when your PC goes to sleep, it is set to react to any input rather than process the input and filter specific keys, most likely for power usage reason (usually why you put your computer to sleep).
It should be possible to write a program to change that behavior, but I don't think anyone has done it yet (or have published it).

Keys can be remapped using
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout.
There are enough guides for this to go around, plus some tools (e.g. SharpKeys) to automate this entirely.
You can prevent devices from being able to wake up the computer by disabling "allow this device to wake the computer" in Device Manager:
SharpKeys lists E0_63 as Fn/Wake button, but I have not tested how this interacts with above option.
With the above combined, computer would go to sleep at a press of a single (remapped) button and wake up only by pressing the Power button.

Related

Second monitor flickering and leaving trail with black background in extended display on Manjaro GNOME/Wayland [closed]

Closed. This question is not about programming or software development. 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 2 days ago.
Improve this question
I am running the latest version of GNOME and Wayland on my Manjaro computer. When I connect my second monitor and extend my display, one screen flickers and the mouse icon leaves a trail, with a black background. However, I can still open applications and drag them to the second screen, which works fine. Mirror mode for two screens works great. What could be causing this issue and how can I fix it?
After trying some more things, it seems everything except the background is working, the bottom bar is working, when i press super key it will take me to menu where I can move.
When I try to screenshot the buggy monitor it just screenshots the normal background. (The background picture)
I tried updating GNOME and Wayland, also tried to update the whole system with pacman -Syu to no avail. Tried looking it up but couldn't find anything.

how to secure monitoring screen (transparent screen lock) [closed]

Closed. This question is not about programming or software development. 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 yesterday.
Improve this question
I know it's generally considered as insecure, but it really depends on situation. I don't want to replace valid screen lock, I want to have possibility to choose based on situation. 2 sample usecases:
kids: I want to enable her to watch show, but I would like to block 'work cooperation' on any of mine projects, and I need not to have spare hw available
at secure work site: any college need not to poke at my screen, he can trivially clone/get whatever he wants, because he has same access. So I would like to lock screen against jokers who would like to write something under my name, but while helping someone I'd like progress of some process going on my screen. Ie. ANY monitoring screen, where we want to show status 24*7, but disallow unauthorized input.
I don't expect even naive hacking attempts in these usecases, so not 100% bulletproof lock is fine.
Some time ago, there was project named pyxtrlock, but it was deprecated. Is there some replacement? Or is there better way how to secure monitoring systems?

in linux, is there any way to rotate my screen arrangement via the command line? [closed]

Closed. This question is not about programming or software development. 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 days ago.
Improve this question
I am running MATE desktop with 4 monitors. I maximize 4 app windows across these but my neutral neck/eye-line position is comfortable with the lower left one. Right now when I need to look at the other monitors I have to move my neck around (which I do not mind occasionally) but when I need to work on them I either move the window to my main monitor (lower left/3rd quadrant) covering up the original app that is displayed there, or just glance towards that monitor which is okay for a few minutes but strains my neck a bit if it goes beyond 5 mins or more.
the most efficient way I can think of this is to shuffle the displays around (clockwise or counterclockwise) via a key combination.
I am aware about SHIFT+Fn key+arrow keys which throws the active window around but this isn't what I'm looking for.
A bit of googling led me to xrandr commands which changes the display orientation but not (or I haven't found the command yet) the screen ordering. I'm not sure if I'm using the terms correctly thus it might be affecting the quality of the search results.

Moving between two seperate terminal/tmux windows [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 5 years ago.
Improve this question
I'm currently using an extra monitor so I'm running two tmux sessions in two separate terminals (one for each screen). The problem is every time I want to move between screens I have to manually move my cursor and click the other screen before my cursor will move over, this is super annoying. I'm on MacOS 10.12, using v2.7 of Terminal and v2.2 of tmux.
I've currently tried:
cmd + shift + arrow keys, but that only works when the tabs are actually stuck together on the same screen
Using tmux switch -t [] or tmux attach -t [] doesn't manually move the cursor over, it just changes the current screens session, syncing the one session onto both screens.
Just using one session, but there's this annoying quirk where the external monitors dimensions fit to my macbooks smaller screen size. From here it states that tmux "limits the dimensions of a window to the smallest of each dimension across all the sessions to which the window is attached. If it did not do this there would be no sensible way to display the whole window area for all the attached clients." So there's no way to fix that I think.
Is there some easy command to move between the two terminal windows?
Command-backquote (⌘-`) cycles through the open windows in Terminal.

Window appears off screen on ubuntu [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 a dual monitor setup, and I am using Ubuntu 12.04 LTS
I have changed the positioning of the monitors several times, and now for some reason some of the windows open up off-screen (outside of both screens), Update Manager, for instance.
How can I position the windows on one of my screens?
You can get the window back on your screen by using
ALT + spacebar
This would show you the maximize/minimize/ ... options. Click maximize and it would occupy your screen.
You can also hit "move" and then either your mouse or arrow keys to move the window to your current window.
Be sure to have the off-screen window selected (use Alt-Tab or Super-W for example). Then hold Alt+F7 and move the window with the cursor keys until it appears in the viewport.
When this happens to me the hidden window is usually below the screen (I occasionally use two screens with one on top of the other, a setup that agrees well with a laptop on a desk). If you use Super-W to select the window, you can guess where it is by looking at the animations. Holding Alt+F7+Up brings the window into view for me.
I made a little script to fix a similiar bug I have in ubuntu 15.04 with two screens: https://github.com/mezga0153/offscreen-window-restore
The script makes use of the wmctrl command line tool to find the offscreen windows and then uses wmctrl to place each one back into a visible area.

Resources