Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [xorg]

Xorg is a full featured X server that was originally designed for UNIX and UNIX-like operating systems running on Intel x86 hardware. It now runs on a wider range of hardware and OS platforms.

Filter by
Sorted by
Tagged with
42 votes
5 answers
30k views

Can I launch a graphical program on another user's desktop as root?

Following are other questions which I think I need to know: From a non X Session? (meaning root isn't logged into X) If multiple people were logged in on X, could I auto-detect who was on which ...
xenoterracide's user avatar
563 votes
14 answers
1.5m views

How to forward X over SSH to run graphics applications remotely?

I have a machine running Ubuntu which I SSH to from my Fedora 14 machine. I want to forward X from the Ubuntu machine back to Fedora so I can run graphical programs remotely. Both machines are on a ...
Mr. Shickadance's user avatar
18 votes
1 answer
11k views

Where is Xkb getting its configuration?

Is there a way to query where xkb is getting its configuration from? Under ArchLinux I have /etc/X11/xorg.conf.d/00-keyboard.conf with: Section "InputClass" Identifier "system-keyboard" ...
rabipelais's user avatar
23 votes
8 answers
29k views

Show a notification across all running X displays

Using the command line, I'd like show a notification on every running X display. ( and running console ) Something like: notify-send-all 'Warning' 'Nuclear launch in 5 minutes, please evacuate' Is ...
Stefan's user avatar
  • 25.3k
105 votes
13 answers
78k views

How can I turn off "middle mouse button paste" functionality in all programs?

I don't like having the middle mouse button paste, because I often end up with uncompilable code in Eclipse. How can I turn this off (in all programs)? I'm running Fedora.
derekhh's user avatar
  • 1,227
76 votes
11 answers
73k views

A tool for automatically applying RandR configuration when external display is plugged in

is there a tool which enables one to: remember current RandR configuration (position, orientation, resolution etc) on per-monitor basis, automatically apply last known good configuration as soon as ...
Yaroslav Fedevych's user avatar
61 votes
1 answer
52k views

What does DISPLAY=:0.0 actually mean?

What does the :0.0 actually mean? I know that :0 is the first X server that is started on a local machine, :1 the second, etc. But what is that .0 part after :0? Do other combinations exist? (e.g. :0....
Lekensteyn's user avatar
  • 20.9k
2 votes
2 answers
851 views

What is switching environments on the system wide terminal called?

I am currently trying to make an autonomous drone using the Robot Operating System (ROS). To do this, I have installed Raspbian Lite (Jessie) on a Raspberry Pi 3 and am currently using ROS Kinetic on ...
SDG's user avatar
  • 315
44 votes
4 answers
22k views

Command for forcing a pointer ungrab (captured mouse release)

Sometimes Firefox doesn't release the mouse after dragging, so I need to kill the application to force it to release its pointer grab. Is there any command to force an application to ungrab the ...
Ariyan's user avatar
  • 2,106
42 votes
7 answers
35k views

How to enable killing Xorg with Ctrl+Alt+Backspace

I don't remember why they did this, but at one point X.org decided that disabling CtrlAltBackspace to kill it was a good idea. I know there's a way to re-enable it but I don't remember how. Can ...
xenoterracide's user avatar
22 votes
1 answer
99k views

xrandr doesn't detect monitor on hdmi port

I installed Arch on my laptop but I don't think this problem is specfic to Arch. The only problem at the moment is that the display connected to the hdmi port isn't detected. For example running from ...
sashang's user avatar
  • 736
21 votes
3 answers
5k views

Custom xkb layout in which one key creates two unicode code points

I am writing a new custom keyboard layout for Xorg, but there is one particular glyph which does not exist in Unicode. It is, however, easy to create it by using a standard letter plus a combining ...
SigueSigueBen's user avatar
10 votes
1 answer
4k views

Due to a broken monitor, I need to setup only the right half of my screen

The left side of my full hd monitor is broken, in order to use only the good part the resolution needs to be 1274x1080, aligned to the right. A simple xrandr -s 1274x1080 will get the right ...
Luis Pacheco's user avatar
2 votes
1 answer
7k views

How to configure kiosk with Wayland / Xorg?

Self - answered now, see below: I am setting up a kiosk system with a browser. Now my manjaro system is updating and it seems that Xorg is replaced by Wayland. With Xorg it was clear I could use ...
r0berts's user avatar
  • 730
100 votes
5 answers
39k views

Pasting X selection (not clipboard contents) with keyboard

I'd like to be able to paste the X selection using the keyboard. Currently I have to use the middle mouse button to do this. I gather that faking a middle mouse button press is fairly easy to do, ...
intuited's user avatar
  • 3,538
69 votes
4 answers
120k views

What is ".xsession" for?

What is the purpose of the .xsession file in the home folder? What should be put in there? The desktop environments don't use that file and for the X startup from the tty there is .xinitrc.
Mirzhan Irkegulov's user avatar
55 votes
6 answers
224k views

Command line to return to the GUI after Ctrl-Alt-F1?

I'm unable to return to the GUI with Ctrl+Alt+F7 (or any of the 12 function keys). I have some unsaved work and I don't want to lose them. Are there any other key combinations that will allow me to ...
netvope's user avatar
  • 1,085
45 votes
4 answers
163k views

How to switch between tty and xorg session

My xorg session is on tty1 and if I want to issue a command from tty (because I cannot do it from xorg session for some reasons), I press Ctrl+Alt+F2, for example, and type a command. But I cannot ...
itun's user avatar
  • 677
25 votes
4 answers
12k views

Sharing an X server (session) across computers

I have 2 computers (both running linux) and I'm currently using synergy to use them. This is great, but now I'm wondering, is there any way (is it possible? being worked on? tried and failed? ...
Falmarri's user avatar
  • 13.1k
18 votes
2 answers
7k views

Disable mouse (not touchpad!) in Xorg while idle

I am an avid keyboard user, but I still need the mouse every now and then. To minimize the hand travel, I have the mouse located below my keyboard. (On a side note, using the mouse this way feels ...
igor's user avatar
  • 807
15 votes
2 answers
3k views

Set Xorg to use only part of the screen

My screen has 1280 x 1024 resolution. But unfortunately, rightmost belt of 200 pixels is damaged and unable do display any image. How can I set that the Xorg will treat my screen as 1080 x 1024 ...
Rok Kralj's user avatar
  • 346
5 votes
1 answer
2k views

Using native 1366 x 768 resolution in a Lenovo Ideapad

I have a Lenovo Ideapad 100S 14'' IBR-14'' Intel Celeron CPU N3060 @ 1.60GHz, 32GB SSD, 4GB RAM, based in the Broadwell chipset, running FreeBSD 12.0. I have been trying to configure xorg to use the ...
Rui F Ribeiro's user avatar
35 votes
4 answers
25k views

Is there a way to communicate with someone at their desktop?

My wife is sitting at her home desktop, alpha, which is running a recent version of Ubuntu. I am on a bus, using ConnectBot on my G1 phone, and can SSH into alpha from wherever I am. For complicated ...
dirtside's user avatar
  • 453
29 votes
8 answers
25k views

Disable Keyboard & Mouse input on unix (under X)

How can one programmatically "freeze" the Keyboard & Mouse temporarily, so that no one could mess with the system? There are several possibilities where this is useful. For instance, I have a ...
Philomath's user avatar
  • 2,877
24 votes
1 answer
11k views

Can I move a running application to a different X server? [duplicate]

Is there any way to open a graphical program (for instance, gedit) while using X11 forwarding over SSH and transfer the X server connection back to the X server on the SSH host?
KG6ZVP's user avatar
  • 413
11 votes
2 answers
11k views

Unlisted screen resolution

On my new computer I have 2 screens connected on the igpu of a i7 processor, 1 using hdmi. the other using dvi. Both screens are the same but the one connected using hdmi has a wrong resolution inside ...
switch87's user avatar
  • 926
11 votes
2 answers
19k views

Howto find my xorg.conf. Where is it?

I can't find my xorg.conf. There is no xorg.conf file by default in Ubuntu 11.04. If I run: "whereis xorg.conf" I am seeing: xorg: /usr/lib/xorg /usr/lib64/xorg /usr/include/xorg may be I just can ...
bakytn's user avatar
  • 2,951
9 votes
1 answer
3k views

Swapping <esc> and <caps lock> in a way that persists with external keyboards

I have a file called ~/.speedswapper which contains the following: ! Swap caps lock and escape remove Lock = Caps_Lock keysym Escape = Caps_Lock keysym Caps_Lock = Escape add Lock = Caps_Lock ......
evilsoup's user avatar
  • 6,827
9 votes
1 answer
4k views

Multiseat X setup with a single dual head graphics card

I am considering trying to setup a multiseat system. It seems like this would be pretty straight forward if I had two graphics cards or if I didn't need hardware based OpenGL acceleration. Is it ...
StrongBad's user avatar
  • 5,291
6 votes
3 answers
20k views

How to manually run/init/start a Xorg server on a different VT/TTY?

I want to start an Xorg server (which should only feature a minimal xterm terminal emulator from a newly created "pristine" tty). I have thought this to be as simple as issuing a xinit or ...
fraleone's user avatar
  • 817
67 votes
3 answers
29k views

How does Linux's display work?

The Linux's display system uses multiple technology, protocols, extensions, applications, servers (daemon), drivers and concepts to achieve the windowing system for instance: Xorg, Wayland, X11, ...
intika's user avatar
  • 14.5k
54 votes
9 answers
80k views

Running GUI application as another (non-root) user

Let's say I have 2 user accounts user1 and user2. When I login as user1, and then switch to user2 using su, I can execute command-line programs, but GUI programs fail. Example: user1@laptop:~$ su - ...
sashoalm's user avatar
  • 5,830
35 votes
5 answers
160k views

Error when trying to use Xorg: Only console users are allowed to run the X server?

So when i try to use the Xorg command as a normal user, this is the error that it gives me : /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server but i don't understand, what ...
John P's user avatar
  • 1,123
29 votes
2 answers
53k views

What does LIBGL_ALWAYS_INDIRECT=1 actually do?

KDE SC 4.5.0 has some problems with some video cards including mine. Upon Release Arch recommended several workarounds. One of which was export "LIBGL_ALWAYS_INDIRECT=1" before starting KDE I ...
xenoterracide's user avatar
17 votes
4 answers
5k views

How to make Compose work in GTK and Qt apps?

I used Gnome for a long time, but preferred vanilla X input method (xim) over the default GTK behaviour. I just set GTK_IM_MODULE and QT_IM_MODULE environment variables to xim, and didn't have any ...
sastanin's user avatar
  • 401
16 votes
3 answers
5k views

Emulate horizontal scrolling with Shift key

I want to emulate horizontal scrolling when I use my (vertical) scroll wheel and pressing Shift. In some applications (Chrom{e,ium}) this already works, but I'm looking for a generic solution for X ...
Paul Schyska's user avatar
13 votes
4 answers
9k views

Reassign Ctrl and Alt keys - xmodmap 'BadValue' error

I am attempting to remap my keyboard in order to make emacs usable. My ergonomic keyboard puts its single Control key in an isolated 4-key island way off to the left. The OS is Debian squeeze. Here ...
Aliud Alius's user avatar
12 votes
7 answers
35k views

xrandr fails randomly with "Configure crtc X failed" on dock with multiple monitors

TL;DR: xrandr fails randomly on my system with the error message xrandr: Configure crtc X failed on my setup with two monitors, that are connected to a dockingstation. After I turn on and off single ...
Max N.'s user avatar
  • 221
11 votes
3 answers
13k views

Forwarding X11 over SSH if the server configuration doesn't allow it

Consider a situation where I'm logging in over SSH from machine A to machine B, I have an X session on machine A, and I want to run an X program on B. ssh -X B makes this work transparently. But what ...
Gilles 'SO- stop being evil''s user avatar
11 votes
1 answer
29k views

How to install Nvidia drivers on Debian Jessie

I have installed the Nvidia drivers according to the wiki but with no success. The system hung during boot. How can I install the drivers successfully on Debian Jessie? My PC's specs: GPU: GeForce ...
sterz's user avatar
  • 824
11 votes
1 answer
40k 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 ...
Martin's user avatar
  • 7,586
10 votes
1 answer
4k views

Create and set custom keyboard layout

I want to create and set a custom keyboard layout with setxkbmap. I created a file in ~/.xkb/prog with this content: partial default alphanumeric_keys xkb_symbols "basic" { include "latin(type4)" ...
José Luis's user avatar
8 votes
2 answers
50k views

How to disable Hardware Acceleration in Linux?

How can I turn off Hardware Acceleration in Linux, also known as Direct Rendering. I wish to turn this off, as it messes with some applications like OBS Studio which can't handle capturing of hardware ...
user avatar
8 votes
2 answers
9k views

Edid information

I want to gather the Edid information of the monitor. I can get it from the xorg.0.log file when I run X with the -logverbose option. But the problem is that If I switch the monitor (unplug the ...
SHW's user avatar
  • 14.8k
7 votes
2 answers
17k views

How to configure xorg.conf for widescreen VNC on headless Linux/Ubuntu?

I have a Ubuntu 12.10 Box configured to run headless. I've managed to boot X headless by a lot of trial and error but I still have a glitch: When booting using the monitor, it all works ok, widescreen ...
Stefan Rogin's user avatar
7 votes
1 answer
29k views

Switch to a text console in Fedora

I have switched recently to Fedora 22 from Ubuntu Gnome. In Ubuntu gnome, when my Kodi media center used to hang while in full-screen, I used to press Ctrl+Alt+F1 to switch to terminal. Then find ...
akya's user avatar
  • 73
6 votes
2 answers
11k views

What is the best way to find the current DISPLAY and XAUTHORITY in non interactive shell for the current user? [duplicate]

I have a project that needs to detect the DISPLAY in shell (bash) variable to be able to display some gui stuff on the local machine. Or a better solution (dbus ?) to open gui stuff in non ...
Gilles Quénot's user avatar
5 votes
1 answer
7k views

change colour depth

How do I change the colour depth? It says online to edit the xorg.conf file, but I don't have that. I am running Debian XFCE on a Powerbook G4
gadgetmo's user avatar
  • 831
2 votes
2 answers
13k views

not able to create xorg.conf file

I want to change my colour depth. I posted this, and got the following answer: Create an xorg.conf file by running Xorg -configure. Then edit the Depth entry in the Display subsection of the Screen ...
gadgetmo's user avatar
  • 831
97 votes
15 answers
121k views

How do I get current keyboard layout?

I'm wondering if there is any command line tool that returns the current keyboard layout. I have XkbLayout set to us, ru. Update: setxkbmap returns layout settings, not selected layout. E.g.: $ ...
Andrew's user avatar
  • 1,432

1
2 3 4 5 6