Lock screen on Linux-based screens [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Is there a lock screen on Linux-based systems?
When the screen is locked, the user should enter a PIN code to enter back. Like the PIN screen lock on an iPhone.

Gnome Desktop:
gnome-screensaver-command -l
What this actually does (source code) is call a DBUS Api that aims to be desktop-neutral. Read more about that on this page

I don't know if you are looking for a tool or library to do this. There are quite a few DE independent options:
xlock
slock
They are opensource so you can take a look at code if you are looking for a programatic way to do this.
For library you can look at xlib for all interaction with X. XLockDisplay is the function that you might want to use.

Often you have that choice in the screen saver. Then the computer will be locked after a specific time that you decide. You have it in Ubuntus screen saver.

Related

How to display system information in visual c++? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am writing a console application in visual c++, and I want to display the system information like one displayed when we right click on Computer icon on desktop. I want to display the information like name of processor, its speed, RAM (how much used and how much free), hard drive (whether it is fixed or removable), name of computer, Windows OS version and edition name, etc. Help appreciated.
There is different function for that. If you are on Windows and are looking for the windows version : this function should be ok : https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451%28v=vs.85%29.aspx
And for the hardware information you can find some of them thanks to this function : https://msdn.microsoft.com/en-us/library/windows/desktop/ms724381%28v=vs.85%29.aspx
Hope this helps

Is it possible to generate glyphs for the Linux terminal on the fly? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
For example, Impulse Tracker for DOS was a nice music production app that was among the first to create a smooth mouse using glyphs generated on the fly in the characters located near the current position of the mouse. (Read here for a better description of what I mean).
So, I'm just wondering if that can be done in Linux terminals (e.g. the tty1-6 terminals or Gnome Terminal). Is it possible?
(EDIT: Should I post this on unix.stackexchange.com instead?)
Seeing as the terminal itself (and not the application) usually sets the font being used, I don't think this is possible. For the tty1-6 terminals, you could use a framebuffer to accomplish this, if you were that dedicated to the idea. With a terminal emulator on a desktop environment, I do not believe this is possible.
Would GPM accomplish what you're looking for, with a lot less hassle?
GPM Link 1
GPM Link 2

Does anyone know the OS distro, editor and how is he spliting screens? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
If you look at http://bambuser.com/v/2846316 you can see a developer with two monitors, in the video this person is spliting the screens into multiple outputs of an editor. And switching the content of them... Does anyone know how to do something like this ? Or the editor he/she is using ? I think the distro is Archlinux and the website on the movie is http://japh.se
EDIT: Ahhhhh found it. Depends on the type of the Windows Managers ! :D I was looking for Tiling windows managers :D
https://wiki.archlinux.org/index.php/Window_manager
Could anyone recommend me one ? Thank you
Looks like awesome to me, which is very nice for that and is my windows manager on arch linux. You can also have a look at xmonad which is quite equivalent but older.
For the editor its not clear for me since I dont see him use it so I cant distinguish between vim and emacs.

Anti-Alias versus Hi-Density Screen? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
Conceptual question, just out of curiosity:
What is less taxing on the graphics processor: Anti-aliasing (2x? 4x? Higher?) on a typical desktop machine (around 120-150dpi) or to drive a hi-density (>300dpi) screen without anti-aliasing? This question could pertain to both desktop systems and embedded (smartphones). I'm interested to see the responses!
Neither usually, since font rendering and AA is done by the CPU (though you can use GPU features to blur). And then it depends on the font rasterizer and how good or bad it was implemented. It also depends on how AA was done, whether a matrix blur was applied, an FFT, or a simple render-bigger-and-bicubic-downsampling was used. Only runtime tests can show.

Window short cuts for XFCE4 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
This is not a programming question per se, but this is certainly about something which would help increasing my programming productivity.
In KDE, one can assign short-cuts to particular windows. This eliminates alt-tabbing completely and, is very very convenient when multiple apps(browser, console, emacs etc) are open.
My question is - can window short cuts be assigned in XFCE4 ? And if yes, how ? I very recently switched to XFCE from KDE4 and would appreciate any help regarding this.
TIA.
I'm using xdotool.
For example command below moves Firefox to foreground:
xdotool search --onlyvisible --name 'Mozilla Firefox' windowraise
You can update your keyboard settings with needed parameters (Applications Menu -> Settings -> Settings Manager -> Keyboard):

Resources