The tag has no usage guidance.

learn more… | top users | synonyms

47
votes
8answers
45k views

How to copy text from vim to an external program?

I'm trying to copy-paste some text from vim. I'm doing v to enter visual mode, then y once I selected my block. It appears to copy the text into vim's clipboard, because p will paste it. But in ...
33
votes
3answers
59k views

Is there a command to list all open displays on a machine?

When SSH'd locally into my computer (don't ask, it's a workaround), I can't start graphical applications without running: export DISPLAY=:0.0 If I run this first and then run a graphical ...
2
votes
3answers
6k views

Starting Qt Application On Startup for Embedded Linux

I'm trying to get a Qt application to launch immediately after booting up. When booted, the Linux image does nothing more than launch an X server and a terminal. It also has the cron daemon running in ...
4
votes
2answers
565 views

Screenshots from multiple Xservers

I want to take screenshots simultaneously from multiple X servers on one desktop PC. I have multiple users logged in different terminals (tty1, tty2, tty3, tty4) who start multiple Xservers with ...
3
votes
1answer
2k views

How to detect global key presses

I have an Asus laptop that has a special key that can be configured to launch any software (at least on Windows). The general question is: how can I detect any key press (globally)? Then, how ...
2
votes
1answer
3k views

What does this `xhost …` command do?

Please help me understand this line of command: xhost +SI:localuser:lightdm in reference to the answer in this post and also suggest if there's a better way and why that's needed. I couldn't make ...
7
votes
2answers
7k views

How to attach to remote machine's local display session over ssh?

Scenario: Linux mint is running on a machine at my home. I have some gui applications open on it. I'm away from home but want to get at the open applications. I have cygwin/x and I know how to ssh ...
6
votes
1answer
16k views

minimal X.org xserver installation on Debian Wheezy

I installed Debian Wheezy with no desktop environment as I would like to use lightweight dwm window manager instead. However, as a first step, I need to install xserver. I would like to install ...
4
votes
1answer
255 views

Can one disable tap-to-click in X server configuration without “InputClass” sections?

I want to configure my system so that tap-to-click is disabled on the touchpad. (It's running a rather old version of ALTLinux distro with xorg-server-1.4.2-alt10.M41.1.) I'm interested in a solution ...
2
votes
1answer
167 views

How to let a daemon prompt for a password (in Xsession, keyloggersafe)?

Exposition: Working inside an XSession. Some (background) deamon needs to prompt me for password input. How can I make the daemon to prompt me for a password using a popup in the Xsession? ...
2
votes
1answer
1k views

Can one disable tap-to-click in X server configuration, without synclient?

I want to configure my system so that tap-to-click is disabled on the touchpad. (It's running a rather old version of ALTLinux distro with xorg-server-1.4.2-alt10.M41.1.) The most popular advice I ...
5
votes
1answer
471 views

emulate key-combination with xdotool

I am using Xephyr as a nested X server. When I am in Xephyr window and pres the key combination Control_L+Shift_L, Xephyr grabs my input (mouse, keyboard). This grab can be released with ...
3
votes
3answers
8k views

“Could not connect to display” in one user account

I have a GUI application written in Qt and I wanted to run tests by ssh (or Jenkins). There is only one user account, which allows to run it in display mode (ofc when I previously do "export ...
3
votes
1answer
2k views

How to determine if X server runs with root privileges

This is a one-liner: Is there a way/command to check if the X server is run as root or as user? This was supposed to be a one-liner but alas... I recently upgraded my Arch Linux box. After the ...
2
votes
1answer
2k views

Installing KVM on CentOS 6.4 without GUI (yet)

I've installed CentOS 6.4 from the 'minimal' iso, so it doesn't come with a GUI. Will this question's answer allow me to install KVM, or do I need to install KDE or X-server or something first?
2
votes
4answers
4k views

Lost mouse pointer in XServer

Have tried many windows managers including TWM, xfce and Gnome, but my mouse pointer is gone. It is invisible, but it performs all the actions. If I do the right click the context menu opens and this ...
1
vote
0answers
36 views

X server error due to possible hardware issue?

I am running Linux Mint 17, and have encountered an X server error that prevented the OS from booting, similar to the error described here. Typically, such an error suggests a problem with the ...
1
vote
1answer
112 views

Change X server configuration at runtime

Environment: NVidia video card with NVidia drivers. Debian 8. Multiple monitors I currently have 2 screens connected to my computer. Usually (while working) I like to use both. Sometimes (while ...
1
vote
1answer
169 views

Get report of the gui application processes

I want to list main applications processes report in this format ps -e -o pid,comm,pmem,pcpu,uname To filter main GUI applications wmctrl -pl is the only way I can get processes ids.its great if ...
0
votes
2answers
72 views

Start application in x-server session from external terminal?

How can I start an application in a specific x-server session from outside (e.g.) with putty? Until now I have started a vnc server, logged in, opened the shell and started the application there. How ...