54 votes
Accepted

Why is Gnome fractional scaling 1.7518248558044434 instead of 1.75?

The preset scale factors (100%, 125%, etc.) get adjusted to the closest values that give a whole number of pre-scaling virtual pixels both horizontally and vertically for your resolution; judging by ...
rakslice's user avatar
  • 1,177
52 votes

Sharing your desktop with Google Hangouts, dual monitor and GNOME Shell

Problem It turns out there's already an open issue in the Chromium tracker about this annoying inconvenience. Existing options offered by Hangouts have major drawbacks: Share Entire Screen: If you ...
Kostas Filios's user avatar
47 votes
Accepted

How do I scale i3 window manager for my HiDPI display?

Since version 4.13 i3 reads DPI information from Xft.dpi (source). So, to set i3 to work with high DPI screens you'll probably need to modify two files. Add this line to ~/.Xresources with your ...
Nagasaki45's user avatar
36 votes
Accepted

What are X server, display and screen?

I will give you a visual example to explain the basics of X11 and what is going on in the background: source In this example you have a local X11-server with two "screens" on your hostA. ...
ZleekWolf's user avatar
  • 709
31 votes

How do I scale i3 window manager for my HiDPI display?

You can run xrandr as any user running an X session. Xrandr is a command line program, so you run it in your terminal. So you would run something like this in your user terminal $ xrandr --dpi 220
Dennis Chen's user avatar
28 votes

How to duplicate desktop in Linux with xrandr?

First find out the name of each display e.g. using xrandr --current. Then the following command should work to duplicate them. $ xrandr --output <projector> --same-as <desktop>
rlf's user avatar
  • 822
26 votes

How to set the bash display to not show the vim text after exit?

Such behavior was the only thing that kept me away from using screen. It uses "screen" terminal and changing it to "xterm" didn't help. Adding altscreen on option in ~/.screenrc ...
BartBiczBoży's user avatar
26 votes
Accepted

Random image generator

Firstly, you need to feed display RGB:- raw bytes, not an encoded hex string like you're building with that hexdump | sed | tr pipeline. Secondly, you aren't giving it enough bytes: you need 3 bytes ...
PM 2Ring's user avatar
  • 6,653
25 votes

Is there a Linux graphics program that displays man commands in a browser?

Yelp is the help viewer in GNOME. yelp man:cgraph
Changming Sun's user avatar
25 votes

How do I scale i3 window manager for my HiDPI display?

If you only want to change the DPI within i3, you could put the command in your i3 config file with the line: exec xrandr --dpi 220 Depending on your distro you will find the config file in ...
jkf's user avatar
  • 351
21 votes

How to duplicate desktop in Linux with xrandr?

I use this command to mirror my desktop with my external VGA: $ xrandr --output LVDS-1 --mode 1366x768 --scale 1x1 --output VGA-1 --same-as LVDS-1 --mode 1920x1080 --scale 0.711x0.711 LVDS-1 is the ...
George Vasiliou's user avatar
18 votes

How to get information about which display server is running?

(Trying to improve @shcherbak answer.) To get info about the running display server write in the console: ps -e | grep tty The out put might be, for example: 1475 tty2 00:00:00 gdm-x-session ...
loved.by.Jesus's user avatar
15 votes

Bash list all display output ports

So I am messing with trying to change dual monitor setup on my machine and found your post. Because I'm interested in the actual display I'm looking for EDID resource from the attached monitor: find ...
Happy Heyoka's user avatar
14 votes

xbacklight not working

Arch Linux has the following to say about xbacklight: Brightness can be set using the xorg-xbacklight package. Note: xbacklight only works with intel. Radeon does not support the RandR ...
Lorem Ipsum's user avatar
13 votes
Accepted

How to enable 2560x1440 option for display in Linux Mint?

First create the appropriate modeline with cvt $ cvt 2560 1440 # 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 ...
NetIceCat's user avatar
  • 2,294
13 votes
Accepted

How can I get the number bytes to write per row for FrameBuffer?

Programmatically, to retrieve information about a framebuffer you should use the FBIOGET_FSCREENINFO and FBIOGET_VSCREENINFO ioctls: #include <fcntl.h> #include <linux/fb.h> #include <...
Stephen Kitt's user avatar
12 votes

Cygwin on Windows: Can't open display

Source : CygwinX FAQ : Since X server 1.17, by default the server does not listen for TCP/IP connections, only accepting local connections on a unix domain socket. For local clients, use DISPLAY=:0.0,...
WhoCares's user avatar
  • 171
12 votes

Ubuntu Windows10 App -- X11 Forwarding -- $DISPLAY Error

I was seeing the message debug1: X11 forwarding requested but DISPLAY not set because I was not setting the DISPLAY environment variable in the shell before connecting to the host. I am using 'Bash on ...
Samik R's user avatar
  • 261
11 votes

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

You are not far wrong with that --transformation! The point is that you not only want to shift the screen to the right, but also you need to shrink it by half in the horizontal axis. To do so lets ...
jimmij's user avatar
  • 47.2k
11 votes

Sharing your desktop with Google Hangouts, dual monitor and GNOME Shell

Updated News Good news for everybody: We have the medicine, and you won't need workaround anymore. ; ) This bug was fixed in Chromium 83 Beta (dev/unstable). I have tested the version 83.0.4103.14 (...
Wagner Cipriano's user avatar
11 votes
Accepted

List permissions with find command

Check out this command: $ find . -name '*.sh' -printf "depth="%d/"sym perm="%M/"perm="%m/"size="%s/"user="%u/"group="%g/"name="%p/"type="%Y\\n depth=1/sym perm=-rwxr-xr-x/perm=755/size=1678/user=...
George Vasiliou's user avatar
10 votes

Sharing your desktop with Google Hangouts, dual monitor and GNOME Shell

I think I have found a better workaround than using vlc. We just need to create a fake webcam that shows our screen. # Unload sudo rmmod v4l2loopback # Load module sudo modprobe v4l2loopback video_nr=...
Ashark's user avatar
  • 909
10 votes

How do I take a screen shot of my Xvfb buffer?

I tried something similar (on another distribution and to take a screenshot of an xterm window, but this should not be much different) I had to use display :1 as display :0 is already used : $ Xvfb :...
Nathael Pajani's user avatar
10 votes
Accepted

What does the "Adjust for TV" option in GNOME do?

If you search for "HDTV Overscan" you will find that historically, there was no standard for the size of CRT screens (the bulky non-flat displays nobody uses anymore). As such it was ...
Alexandros's user avatar
9 votes
Accepted

How can I quickly check exactly how many columns my terminal has?

This has been answered (and mis-answered) repeatedly. But: tput cols provides information that the operating system can tell you about the width. the COLUMNS variable may be set by your shell, but (...
Thomas Dickey's user avatar
9 votes

How can I get the number bytes to write per row for FrameBuffer?

The row stride does not have to be the same as the width; on your 1920-wide screen your software just worked "by accident" (not much of an accident, strides are typically chosen for hardware ...
Marcus Müller's user avatar
8 votes

run command on user display as root isn't working as expected

I found the answer on https://www.reddit.com/r/linux/comments/2clob0/help_with_cron_though_its_probably_not_really_a/?st=j7e4jv37&sh=e83bf930 I had to add the following to the script: export ...
stdcerr's user avatar
  • 2,079
8 votes

Cannot enable HiDPI from Gnome Tweak Tool?

Apparently it's been removed from Tweaks but not from dconf which is why you're still able to do it via terminal... Typical GNOME stuff. Anyway, as of gnome 3.26, there's a new dconf key under org....
don_crissti's user avatar
  • 82.9k
8 votes

Bash list all display output ports

This is a complicated problem. xrandr will display any and all outputs according to the knowledge of all the GPUs that are under control of the X11 server. But a hardware manufacturer may add built-...
telcoM's user avatar
  • 97.1k
8 votes
Accepted

Forwarding an entire desktop over SSH without third party tools

How can you? I've been using the below method from the (now suspended) Xmodulo site to remote into my entire Raspberry Pi desktop from any Ubuntu machine. Works with my original RPi, RPi2 and RPi3. Of ...
Mike's user avatar
  • 104

Only top scored, non community-wiki answers of a minimum length are eligible