Skip to main content

Questions tagged [xorg]

X.Org Server (commonly abbreviated to Xorg Server, XServer or just Xorg) refers to the X server release packages stewarded by the X.Org Foundation, which is hosted by freedesktop.org, and grants public access to the standard X Window releases for the efforts of the free and open source software community.

Filter by
Sorted by
Tagged with
191 votes
16 answers
1.9m views

How do I fix a "cannot open display" error when opening an X program after ssh'ing with X11 forwarding enabled?

After launching the X11 app (XQuartz 2.3.6, xorg-server 1.4.2-apple56) on my Mac (OS X 10.6.8), opening an terminal in X11 and running xhost +, I then ssh -Y to my Ubuntu 10.04 VM (running on VMware ...
Daryl Spitzer's user avatar
70 votes
6 answers
56k views

Detecting currently active window

The linux commandline tool wmctrl allows you to list all windows, or all desktops, among other things. In the desktop-listing mode, the current desktop is marked with an asterisk. I need a tool that ...
Dave Vogt's user avatar
  • 1,738
70 votes
1 answer
65k views

What is the difference between .Xresources and .Xdefaults?

These two files seem to have the same function. What is the difference between the two if any?
freedrull's user avatar
  • 1,063
65 votes
2 answers
53k views

How can I view the WMClass attribute of a window in Xorg (linux)?

I am trying to find a workaround for incorrect grouping of windows in Docky, and I believe the problem lies with the WMClass attribute that is set for each window. However, I do not know how to view ...
Ryan C. Thompson's user avatar
63 votes
8 answers
39k views

Alt+click-drag window resizing on a Mac? (Similar to X-Windows)

Is there a way I can get this behavior on Mac OS? alt + right-click-drag will resize the window, relative to where you've clicked within the window and the window's center alt + left-click-drag will ...
Aaron F.'s user avatar
  • 833
59 votes
9 answers
78k views

How do I find out my screen resolution from a shell script?

How do I find out my screen resolution from a shell script?
dave4420's user avatar
  • 1,698
43 votes
5 answers
47k views

Per-application window scaling in Xorg for high dpi display

I am running Gnome Shell with a 4k monitor and there are a few applications that I use that don't scale at all with the high resolution. Here is an example of LMMS, an application that hasn't yet ...
daxvena's user avatar
  • 1,023
42 votes
6 answers
19k views

NumLock is completely useless, and I want to disable it completely on Linux

Forget all the rants about Caps Lock, Num Lock is the most useless key of them all. It's never, ever useful. You don't want to use your numpad as an arrowpad, since the arrows are 1cm away from it. ...
niXar's user avatar
  • 876
38 votes
5 answers
80k views

Get display resolution from the command line for Linux Desktop

I'm looking for a method of reporting display resolution. I want to set up scripts to launch rdesktop, and I want to launch it on several machines with different resolutions, so I want a way to ...
Barton Chittenden's user avatar
36 votes
6 answers
158k views

How to get the display number I was assigned by X

From X(7) man pages DISPLAY NAMES From the user's perspective, every X server has a display name of the form: hostname:displaynumber.screennumber [...] ...
ricab's user avatar
  • 998
35 votes
1 answer
49k views

How to apply/reload X settings after changes to xorg.conf.d configuration files

I have added a synaptics.conf file under /etc/X11/xorg.conf.d/50-synaptics.conf. Do I need to restart X to see it applied?
WestCoastProjects's user avatar
31 votes
6 answers
35k views

Binding Super+C Super+V to Copy and Paste

For some time I've been interested in binding the Windows Key (Super_L) on my keyboard to Copy and Paste for no other reason but convenience and consistency between my desktop and my MacBook. I ...
solo's user avatar
  • 523
28 votes
2 answers
27k views

What does xfce4 power-manager do in "presentation mode"?

What exactly does the xfce4-power-manager if I press the button for presentation mode? Is it called X function? Or what else? Any ideas?
Azd325's user avatar
  • 324
26 votes
2 answers
37k views

Run wine totally headless

I want to run wine headless and avoid the error message: Make sure that your X server is running and that $DISPLAY is set correctly. Is there a way or do I have to route/forward it to some output? ...
FabioCosta's user avatar
26 votes
6 answers
58k views

How to find out xorg version? or "what's my xorg version?"

ATI docs says i need: XOrg 6.9, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5 or 7.6 Xorg -version says: X.Org X Server 1.11.1.902(1.11.2 RC 2) [...] X Protocol Version 11, Revision 0 [...] xorg-server 2:1.11.1....
gcb's user avatar
  • 4,991
26 votes
3 answers
112k views

Setting up X11 forwarding over SSH on Windows 10 Subsystem for Linux?

I have a Raspberry Pi 3 Model B+ connected to my local network and I can SSH into it with no problems. This does cause some problems though as everything is done on the command line. What I would ...
Cromulent's user avatar
  • 443
25 votes
5 answers
263k views

How do I get X11 Forwarding to work on Windows with PuTTY and Xming?

I've always wanted to get X11 Forwarding to work with PuTTY, and the X Window System I'm using is Xming. When I have Xming running and I establish a new connection to my server, I receive the ...
NobleUplift's user avatar
  • 1,605
25 votes
3 answers
21k views

debian/ubuntu - invert all colours in desktop session (colors)

Sometimes I need to flip from a light colour scheme to a dark one quickly, and I need it to apply not just to the desktop theme but also to any webpages that are open etc. On the Mac there's a neat ...
Dan Stowell's user avatar
24 votes
3 answers
22k views

How can I set environment variables for a graphical login on linux?

I'm looking for a way to set arbitrary environment variables for my graphical login on linux. I am not talking about starting a terminal and exporting environment variables within the terminal, ...
Ryan C. Thompson's user avatar
23 votes
5 answers
18k views

Updating screen session environment variables to reflect new graphical login?

I use linux, and I like to do all my command-line work within a single screen session, so that I can restart my graphical login and such without losing my terminals. However, when I log out and back ...
Ryan C. Thompson's user avatar
22 votes
3 answers
7k views

WSL2 X11 programs "disappear"

I'm mostly very happy with WSL2 on Windows 10, having just switched from Mac. I run X410 on the Windows host and start X11 apps inside WSL by setting export DISPLAY=$(cat /etc/resolv.conf | grep ...
andreas's user avatar
  • 506
22 votes
5 answers
22k views

Browser instead of window manager?

Is it possible to have just a browser (for example, just a canvas that renders with webkit) running on top of X11 (or any other way in Linux) as my window manager, as if I'm viewing my normal web ...
RyanScottLewis's user avatar
22 votes
2 answers
9k views

Is Cinnamon a desktop environment or a window manager? (Or both?)

As far as I understand it: X11 is how you draw primitive things; A (compositing) window manager is something that uses X11 to provide the tools for drawing more complex things, and position them in ...
Adam Barnes's user avatar
22 votes
3 answers
32k views

Disable Unplugged Displays (xrandr)

I have a laptop with two video outputs that I use when I am home (HDMI1,VGA1). To enable them, I do this: xrandr --output HDMI1 --right-of LVDS1 --auto xrandr --output LVDS1 --off xrandr --output ...
user avatar
21 votes
3 answers
42k views

When trying to connect remote clients to Cygwin/X, I get 'Authorization required, but no authorization protocol specified'

I just installed Cygwin/X and I launch it with startxwin -- -listen tcp to allow remote clients to connect to it through tcp. However, remote clients fail to connect to the remote display with the ...
qwertzguy's user avatar
  • 2,604
20 votes
2 answers
19k views

Speeding up remote X sessions

I have a remote machine running Ubuntu 11.10 Server, to which I connect via SSH from OS X 10.7.3: Host remote.example.com ForwardX11 yes ForwardX11Trusted yes Sometimes I want to launch a GUI ...
Alexander Gladysh's user avatar
20 votes
4 answers
35k views

How do you start a program after X has started?

There's a little app called F.Lux that sets your screen temperature based on the time of day. The Linux version is a little spartan with just a console interface but it works perfectly well. Where ...
cyborg's user avatar
  • 364
19 votes
5 answers
6k views

Emulating extra displays

I have a system with a single monitor, I would like to test the an xmonad configuration that is designed for multiple monitors. Is there any way to emulate a system with 3 monitors using something ...
lab_notes's user avatar
  • 421
19 votes
2 answers
12k views

Cygwin/X and Windows Subsystem for Linux

I have a functioning Cygwin installation on my Windows 10 device (a Surface 3, in case that matters), including a functioning Xorg windowing environment. I've just begun to experiment with with the ...
rob's user avatar
  • 309
18 votes
5 answers
58k views

Remap Keys in Linux

I'd like to switch my Ctrl and Alt keys under Linux (to make it more Mac-like). How do I do this? If it helps, I'm running Ubuntu 9.04.
Nate's user avatar
  • 2,011
18 votes
1 answer
137k views

Starting and stopping X11 and LXDE from command line

I have a Raspberry Pi with Debian Wheezy (Raspbian) and so far I've managed to learn quite a lot about Linux just playing around, but I have a few questions for all you seasoned Linux pros out there. ...
radian's user avatar
  • 203
17 votes
3 answers
31k views

Remap keys without xmodmap or any X tools

Due to a coffee accident some numbers of my laptop's keyboard stopped working. I used xmodmap to use F1, F2, etc, as replacements and saved the configs to ~/.Xmodmap. However, that caused a few ...
Alex's user avatar
  • 2,116
17 votes
3 answers
33k views

X11 forwarding from Amazon EC2 AMI

local$> echo $DISPLAY :0.0 local$> ssh -X -i PEMFILE ec2-user@AMAZONEC2_AMI [ec2-user@REMOTE_AMI ~]$ echo $DISPLAY [ec2-user@REMOTE_AMI ~]$ sudo grep X11 /etc/ssh/sshd_config ~/.ssh/...
Humble Debugger's user avatar
16 votes
6 answers
42k views

How to prevent the monitor from turning off in Linux

I have to start a QT-Program on the screen on startup in Linux Mint 9.  The monitor that is displaying the program turns off after an unknown amount of time.  I already deactivated the turnoff in the ...
Linuxnewb's user avatar
  • 161
16 votes
4 answers
16k views

How do I set the size of the X mouse pointer in the Windows Subsystem for Linux

I am running Ubuntu 16.04 on the Windows Subsystem for Linux on Windows 10 (with the Creators update). I have an X server (VcXsrv) running in Windows and from bash I open an lxterminal on that X ...
Peter Jaric's user avatar
  • 2,136
16 votes
1 answer
3k views

What is my X11 doing with Ctrl-Period and how can I disable it?

How do I disable whatever X-window-system-wide setting is intercepting Ctrl-Period for some kind of special input popup? More detail: I'm trying to bind an emacs command to Ctrl-Period (C-.), which ...
Steve's user avatar
  • 263
16 votes
4 answers
16k views

How do I PROPERLY map a keyboard key to a mouse button?

Question summary: I want one of my mouse buttons to be registered as the left Windows button Super_L by X11. In my window manager, I can move windows around by holding the "left Windows button" (Left ...
Hubro's user avatar
  • 5,826
15 votes
4 answers
7k views

enabling sticky keys under xorg (awesome desktop manager)

I would like to enable "sticky modifier keys" under archlinux + awesome, and I haven't found the correct info.
Macario's user avatar
  • 478
15 votes
2 answers
5k views

invert colors on X (or xfce4)

Is there a way to invert colors in X. It would be even more useful if the answer was something I could bind to a keyboard shortcut(a command and not a setting that will require a restart if X).
fakedrake's user avatar
  • 933
15 votes
2 answers
36k views

How do I restart a frozen screen in Ubuntu without losing any open windows?

I had a device running Ubuntu 12.04 LTS have its screen freeze. Generally I have simply jumped onto an available tty, i.e. Ctrl-Alt-F1 and executed the command /etc/init.d/lightdm restart or service ...
PeanutsMonkey's user avatar
15 votes
1 answer
27k views

What should my $DISPLAY variable be and why is it not set?

I am using Mac OS X 10.10.2 Yosemite and SSHing into a remote machine but cannot get X11 forwarding to work. When I ssh -X RemoteMachine, I get : $ echo "$DISPLAY" $ to return nothing. ...
drjrm3's user avatar
  • 1,506
15 votes
2 answers
938 views

What XMonad Configuration Best Replicates Default Ion3 Behavior and Feature Set?

Not being very familiar with Haskell and lamenting that Ion 3 is now abandonware, I am curious if anyone out there has found a way of replicating the default Ion 3 behavior and aesthetics in XMonad. ...
mtp's user avatar
  • 151
14 votes
5 answers
7k views

Xorg: How can I map AltGr to the CapsLock Key (to toggle 3rd level symbols)

as many others I don't need CapsLock. I want to reassign it such that it has the function of AltGr. I use Kubuntu 9.10 but I think there must be a solution which is distribution independent. I ...
cknoll's user avatar
  • 401
14 votes
5 answers
36k views

Linux: How to send message to local user logged into X11?

Is possible to send a message (popup window or something) to local user logged into X (xdm, fluxbox) from console ? For example: user1 is logged and using X/fluxbox, user2 logging into the same box by ...
marioosh's user avatar
  • 3,591
14 votes
9 answers
12k views

"Detach" and "Reattach" xterms across X sessions?

Is there a way to save/detach an xterm (or another window), and reopen/load/reattach it on a different X session on the same machine ? What I'm trying to achieve is "move" running xterms between two ...
Abhinav's user avatar
  • 2,040
14 votes
5 answers
31k views

how to set the mouse speed very low on ubuntu

I set the mouse acceleration and sensitivity levels to minimum in System->Preferences->Mouse but with the new mouse I have, even those settings are too fast. Is there a way to further reduce the speed?...
Kim's user avatar
  • 2,358
14 votes
4 answers
49k views

On Ubuntu 9.10, where is the xorg.conf file in Karmic Koala?

I am trying to change this xorg.conf file that I used to modify under Ubuntu 9.04, so it can have the higher resolutions of my monitor. Under 9.04, the monitor was unknown, and I had to key in all ...
jfmessier's user avatar
  • 2,790
14 votes
5 answers
15k views

How to use xrandr to crop part of my monitor

The top of my monitor is physically obstructed by a bezel. I want to use xrandr to redefine the display resolution (height only) to restrict it to the viewable portion of the monitor. The monitor ...
Greg S's user avatar
  • 149
14 votes
1 answer
37k views

Is my keyboard "Generic 101-key PC" or "Generic 105-key PC (intl.)" or what?

How can I reliably and authoritatively determine which of the predefined "generic" X11 keyboard layouts is the best choice for my physical device? There must be a better way than counting keys and ...
Szczepan Hołyszewski's user avatar
14 votes
3 answers
16k views

Triple monitor setting in Linux with USB-HDMI adapter

I'm trying to set up a triple monitor desktop at my office using Fedora 17, but it seems impossible, let me explain the setting: Laptop ASUS K53SD with 2 graphic cards, Intel and nVidia (Screen ...
CastleDweller's user avatar

1
2 3 4 5
30