Questions tagged [xorg]

X.org is the display server used in most Unix and Linux distributions.

X.org is a very popular display server. It is used as a backend by most graphical toolkit (including GTK+ and Qt) and allows Unix/Linux workstation to render 2D/3D graphics on the screen, using hardware acceleration.

Inputs (keyboard, mouse, touchscreen) is also handled by X.org.

614 questions
80
votes
10 answers

SSH -X "Warning: untrusted X11 forwarding setup failed: xauth key data not generated"

Hey I'm having an issue getting ssh X forwarding to work. The setup is I'm sshing into my ubuntu VM off OSX Yosemite host machine. I already installed xQuartz on OSX, xauth on ubuntu, and I believe I've have all the correct options set in ssh_config…
sprw121
  • 1,073
  • 1
  • 8
  • 8
46
votes
2 answers

How does X11 clipboard handle multiple data formats?

It probably happened to you as well - sometimes when you copy a text from some web page into your rich-text e-mail draft in your favorite webmail client, you dislike the fact that the pasted piece has a different font/size/weight.. it somehow…
mykhal
  • 19,175
  • 11
  • 72
  • 80
38
votes
3 answers

getting HTML source or rich text from the X clipboard

How can rich text or HTML source code be obtained from the X clipboard? For example, if you copy some text from a web browser and paste it into kompozer, it pastes as HTML, with links etc. preserved. However, xclip -o for the same selection just…
intuited
  • 23,174
  • 7
  • 66
  • 88
36
votes
3 answers

Ctrl+. (Dot) makes "e" appear instead of showing suggestions in VSCode on Gnome

I'm using VSCode on Gnome (on XOrg on Arch). Since lately, the shortcut Ctrl+. stopped working, despite still being listed in the keyboard shortcuts and despite all extensions being disabled. Instead, an underlined e appears: The character goes…
32
votes
2 answers

X Error of failed request: BadAlloc (insufficient resources for operation)

I noticed this question has been asked many times in the past and surfing the web I found many pages about it. However, it seems like the proposed solutions rarely work and, in my case, the problem does not refer to a program that I wrote. So I'll…
bartgol
  • 1,703
  • 2
  • 20
  • 30
25
votes
5 answers

How to create a callback for "monitor plugged" on an intel graphics?

I've got an eeepc with an intel graphics. I'd like to hook a script to the event of a monitor plugged via VGA. How to do that?
Reactormonk
  • 21,472
  • 14
  • 74
  • 123
25
votes
5 answers

Installing and Configuring xvfb

I'm trying to find a Ubuntu operating system, version of xorg, and version of xvfb that are compatible. Can anyone help me with directions to install xvfb without getting a hang on Initializing build-in extension GLX So far I've tried the following…
kevinn2065
  • 325
  • 1
  • 3
  • 12
24
votes
3 answers

Getting X client to reload .Xcompose?

Fedora 20, xorg 1.14.4-11. I run with a lot of terminal windows open, and I make heavy use of the compose/multi-key mechanism. One of the most frustrating things is that after altering my ~/.Xcompose file, I need to start new terminal windows in…
RoUS
  • 1,888
  • 2
  • 14
  • 29
22
votes
4 answers

How can I get the current mouse (pointer) position co-ordinates in X

This can either be some sample C code or a utility that will show me either gui or on the console it doesn't matter, but I have to be able to "command" it to grab the co-ordinates at an exact time which makes xev not very useful (that I could figure…
user376403
  • 1,085
  • 2
  • 9
  • 18
19
votes
4 answers

How to programmatically prevent linux computer from sleeping or turning on screensaver?

While developing a small cross-platform game on C++, I got stuck with following issue: when players are playing with a USB gamepad without touching a keyboard or mouse, the computer sleeps automatically while they're playing. In Windows, it can be…
Chan Kha Vu
  • 9,834
  • 6
  • 32
  • 64
17
votes
2 answers

XDummy in Docker container

I am trying to run a X11 server inside a docker container by using the XDummy driver. However, I have problems getting it to work. The intended purpose is to perform headless rendering. I can get it to work using Xvfb, but I need RANDR support, and…
user1419305
  • 468
  • 8
  • 16
16
votes
2 answers

Obtaining List of all Xorg Displays

I would like to know how I can obtain a list of all Xorg displays on my system, along with a list of screens associated with each display. I spent some time looking through the Xlib documentation, but was not able to find a function that does what I…
void-pointer
  • 14,247
  • 11
  • 43
  • 61
15
votes
2 answers

How to enter greek alpha under Xorg?

I want to enter greek alpha letter under Xorg. In system xcompose (/usr/share/X11/locale/en_US.UTF-8/Compose) there is line: : "α" U03B1 # GREEK SMALL LETTER ALPHA How to enter it with US keyboard? My locale is en_US.UTF-8. What…
Leonid Volnitsky
  • 8,854
  • 5
  • 38
  • 53
14
votes
1 answer

Get X/Y position of caret (input text cursor) under Xorg?

I'd like to display a popover right above where the user is typing, in any Linux app (GTK, Qt, Electron, etc.), running on X. I figured out creating the popover, now I'm trying to figure out how to get the coordinates of the input text cursor (what…
nkkollaw
  • 1,947
  • 1
  • 19
  • 29
14
votes
4 answers

Would dropping X altogether hurt?

I live in the linux terminal all the time under my slackware GNU/linux system (an EeePC). By default, GNU Emacs won't start if It can't find several Xorg libraries. Assuming I will never use X software at all, would it make sense for me to drop all…
Xavier Maillard
  • 958
  • 7
  • 15
1
2 3
40 41