date
int64
1,220B
1,719B
question_description
stringlengths
28
29.9k
accepted_answer
stringlengths
12
26.4k
question_title
stringlengths
14
159
1,370,268,943,000
My output of xrandr is: Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 340mm x 190mm 1366x768 60.02*+ 1280x720 59.86 60.00 59.74 1024x768 60.00 1024x576 60.00 59.90 59.82 960...
Mirroring isn't going to work this way. The OS keeps track of positions of windows or your mouse cursor using coordinates. Top left coordinates are 0:0, screen resolution shows the bottom right coordinates. That's what keeps your mouse from disappearing from view when it hits the edge of the screen - that's the end of...
How can I have two mirrored displays (laptop screen + TV monitor) with different resolutions?
1,370,268,943,000
Symptoms Every few minutes/hours the displays connected to the USB3 DisplayLink dock turn off for a few seconds and back on again. Hardware Dell docking station model D6000 USB3 connection to HP laptop (happens on at least three different models) DisplayPort connections to two HP monitors OS Arch Linux Ubuntu 20.04...
Old question, but I'll still provide answer since it might help new DisplayLink users. I've used DisplayLink with both Linux and Windows, had two different devices. Here are the common points that were causing issues. I'll address Windows too since some users might be dual-booting. Check the USB suspend/powersave set...
How to avoid DisplayLink dock monitors disconnecting intermittently?
1,370,268,943,000
I've tried this : https://wiki.archlinux.org/index.php/xrandr#Permanently_adding_undetected_resolutions Here I was advised on the Debian IRC channel to change the path of the config file to: /etc/X11/xorg.conf.d instead of /etc/X11/xorg.conf.d/10-monitor.conf as per the ArchWiki. However, the person who was helping me...
In Debian, the default directory that contains xorg.conf files is indeed /usr/share/X11/xorg.conf.d/. This would be the correct location to place custom X settings. Here is the configuration file you need to force a specific resolution (and have none other to choose from!). Save it in /usr/share/X11/xorg.conf.d/10-mon...
Can't set the resolution to 1080 on a VGA to HDMI adapter on Debian 10 (Thinkpad X220)
1,370,268,943,000
On my Odroid running Ubuntu 16.04.3 LTS I have a python2 program that interacts with a display device (projector). When I run this program from the command line: python ~/imgProc/torcam.py everything works fine. I want this program to run at startup so I created a service file: /lib/systemd/system/torcam.service It ...
Your torcam needs an X server, and systemd scripts are not meant to use the X server (it may not even have started when the scripts are run). If you need this program to access the display device/projector independent of the user logging in via keyboard/monitor, consider using two X servers (one for the monitor, one f...
Linux Service Cannot Open Display
1,370,268,943,000
I am experiencing some flickering problems with Google Chrome (and Chromium, but not on Firefox) on certain websites. The thing is that the flickering manifests only on Cinnamon desktop environment, and not on Xfce. Turning off hardware acceleration does not help: it turns the flickering into tearing. Notes: Cinnamon ...
It appears that this solves it: sudo apt-get purge xserver-xorg-video-intel
Google Chrome flickers on Cinnamon, but not on Xfce
1,370,268,943,000
I want a python script to send notification. The script can be run successfully and show what I want. but crontab did not boot it in right way. the following is the the code refer to the libnotify def SendMessage(title, message): pynotify.init("ChinaBank") notice = pynotify.Notification(title,message) not...
I find the answer from here. Update Pidgin IM status on Ubuntu using cron cron run in its own environment, therefore, we have to find the variables DBUS_SESSION_BUS_ADDRESS, XAUTHORITY, and DISPLAY. I followed the instruction and succeeded to set the variables. My script can work now!
dbus-laauch failed caused by the child process exited
1,370,268,943,000
For presentations I want to use the external USB connected video adapter connected to the projector (especially as the standard VGA output in my laptop got damaged). My idea was to start a dedicated X server on this additional video adapter, and make it available via VNC. Then I can connect to it with xvncviewer to ma...
Sorry for answering my own question, but as no other responses were published, I've decided to do it. It seems, that I have found a working solution: I start the X server with the -sharevts flag: X -config displaylink.conf -sharevts :2 I start my applications: DISPLAY=2: x-window-manager DISPLAY=2: xterm I...
How to have X server on another graphics card which keeps refreshing when I'm working on my main display?
1,370,268,943,000
Background: I perfectly installed Linux (dual-boot) on an iMac 2010 a couple of years ago. Recently I spent hours to figure out why the iMac was not running "Target Display" mode under MacOs / OSX. Got it, it needs High Sierra or earlier (I incorrectly assumed High Sierra or newer). More and more older iMacs are gett...
I did not find an answer for this, but I did find a workaround. But that one is not Linux related. What I did: I decided to only use this iMac as an external monitor. I unplugged the mac from internet (disconnect eth0 cable and shut down WiFi too) I created a new user 'screen' with a simple password that I can type f...
Run Linux on iMac 2010 and use as external monitor ("Target Display" mode)?
1,370,268,943,000
Using a fresh install of Fedora 34 Workstation edition(GNOME) on a dell latitude 7400 laptop, I'm struggling to make my external display to work, an Asus ROG PG278Q 27". Connecting through the USB-C port, the display shows up in the system settings as an "unknown display" and the resolution is capped at 1024x768. Thin...
I was able to finally get this fixed by changing my "Windowing System" from Wayland (default on gnome) to X11, then following the xrandr guide I posted in the original question. You can check your windowing system in "settings > about" and you can change the windowing system when you log out and there should be the op...
External monitor stuck on "Unknown display" 1024x768 - Fedora 34
1,539,605,791,000
user@domain:~ $ echo $DISPLAY :0 user@domain:~ $ DISPLAY=:0 DISPLAY=:0: Command not found. Just trying to run the command here: https://stackoverflow.com/questions/46810043/notify-send-doesnt-work-over-ssh - How come it's not recognized as a command? I'm using CentOS v7.7.
tcsh has different syntax from Bash. To set your variable in that shell and make it available for the programs you'll call, you have to use the following command: setenv DISPLAY :0 ssh .... Or if you want that variable only to launch ssh (as mentioned in the answer you linked), you can use env before the command: env...
DISPLAY=:0: Command not found
1,539,605,791,000
Everytime i open a new console,the error info shown xxd ~/.Xauthority 00000000: 0100 0006 6465 6269 616e 0002 3130 0012 ....debian..10.. 00000010: 4d49 542d 4d41 4749 432d 434f 4f4b 4945 MIT-MAGIC-COOKIE 00000020: 2d31 0010 1fba cba8 1f6a f8b6 e00d 8c1a -1.......j...... 00000030: c7cb 7d86 0100 0006 6465 6269 6...
Invalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display ":0" This is actually two error messages that have been printed out on the same line: Invalid MIT-MAGIC-COOKIE-1 key xhost: unable to open display ":0" When you log in using a X11 GUI, that session is automatically given a DISPLAY environment variable and a...
Invalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display ":0"
1,539,605,791,000
How can I display the number of registered users on the system who have their home directory in /home and simultaneously have Bash Shell as the command interpreter?
You could just grep the /etc/password file for lines that have :/home (so a field that starts with /home), then more non-: characters and only one more : before the end, which should be followed by /bin/bash: $ grep ':/home/[^:]*:/bin/bash' /etc/passwd terdon:x:1000:1000::/home/terdon:/bin/bash bib:x:1001:1001::/home/...
Display the number of registered users
1,539,605,791,000
My computer has only one display. Does it correspond to $DISPLAY :0? Can an application run on an arbitrary display number, even if I don't see it? $ DISPLAY=:40 firefox Can a X server run on an arbitrary display number? Will the kernel implicitly create a virtual display? $ xpra start :7 Thanks.
You can specify an arbitrary display, but you won’t get far if there’s no corresponding X server. The display number is specified when the X server is started, by whatever starts the X server — typically your display manager, or yourself in your Xpra example. It’s :0 by default (see the Xserver manpage). It can be cho...
Can I specify an arbitrary `$DISPLAY`?
1,539,605,791,000
I am trying to run Arch Linux ARM on my Raspberry Pi 2B and running into some issues with displaying anything with Xorg. I have the xf86-video-fbdev driver installed, which is what I have seen suggested in many other posts. I did try configuring a .xinitrc to run just a window manager, as well as installing and enabli...
For those that are having a similar issue, I ended up finding a solution that works for me. My solution was to create a file at /etc/X11/xorg.conf.d/10-driver.conf with the following contents. Section "Device" Identifier "card0" Driver "fbdev" VendorName "All" BoardName "All" EndSection This will forc...
Arch Linux ARM on RPi 2B, Xorg not Displaying Anything
1,539,605,791,000
I want to setup read-only screens around a room that displays different messages at different times. A single laptop would run a BASH script that checks the times, and decides which messages to send to which display, and when. This could either be text only (maybe a console, but with a huge font) or pictures, whicheve...
Set up a simple http server on your Linux machine with a number of static html pages. Write your messages from bash to those pages directly. Open those pages in a browser on your windows machine. You can use some javascript magic to autoreload its contents when a new data is coming. Example: On a Linux machine: Set up...
How to control screens on several Windows computers placed around a room?
1,539,605,791,000
I want to preface this by saying that I understand RPM-Fusion exists and that it has a way to install Nvidia drivers. But, I am using Nvidia's cuda repo instead because I am interested in development rather than playing games (which is what my Windows computer on the remote controlled display switch is for). Unfortun...
Edit /etc/sysconfig/grub and append rd.driver.blacklist=nouveau to end of GRUB_CMDLINE_LINUX=”…”. ## Example row with Fedora 33 BTRFS ## GRUB_CMDLINE_LINUX="rhgb quiet rd.driver.blacklist=nouveau" ## OR with LVM ## GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet rd.driver.blacklist=nouveau"...
Fedora 33: Installing Nvidia Drivers from Nvidia
1,539,605,791,000
I connect from a Windows PC to a Linux PC with ssh using MobaXTerm. Within the ssh session, I have a tmux session with a few windows and panes. The ssh session will typically disconnect after a few hours of inactivity (I've tried toying with what looked like relevant keep-alive settings in MobaXTerm, but it's never wo...
DISPLAY is used by X clients (application programs) to find the corresponding X server to connect. It's of the form hostname:displaynr.screennr, but usually you only see something like :0, which means the first display of the X server running on localhost. Using a hostname in there is not secure, because the X protoco...
How do I correctly (re)set $DISPLAY?
1,539,605,791,000
I'm getting a different screen resolution (in a Python script) depending on whether I type commands into Cygwin manually or run them using a shell script, and I can't understand why. I'm running Windows 8.1 / Cygwin 2.8.2 (and XWin Server at startup) / Python 2.7.13 (and am new to Cygwin and Python; please let me know...
I don't know exactly what the issue is but here are a couple of things: Environment My first guess would be a difference in the environment when you use the cygwin terminal and when you execute bash through the batch file. When running from the cygwin terminal execute the command env to see what the environment is (i...
Windows/Cygwin/Python: Resolution depends on manual entry or shell script?
1,539,605,791,000
local machine [mukesh@centos ~]$ xhost 192.168.4.200 192.168.4.200 being added to access control list remote VM machine [mukesh@centos ~]$ ssh [email protected] [email protected]'s password: Last login: Fri Jul 7 02:38:07 2017 [user@labipa ~]$ DISPLAY=192.168.1.3:0.0;export DISPLAY [user@labipa ~]$ firefox Error: c...
If X11 forwarding is enabled in both the client and the server, ssh will automatically set up the DISPLAY variable (to a local proxy). You don't need to set it, and especially not directly to the machine's IP address; that will completely bypass the ssh mechanism. Use echo $DISPLAY to verify the display is set by ssh....
Why can i export the display from linux to linux?
1,539,605,791,000
My vim always gets distorted after I switch between tabs in the terminal. The correct display The distorted display This always happen when I switch back to the vim tab and gets back to normal after I press a move like j or k.
Do you, by any chance, have different font size in your other tabs? When switching between tabs of different font size in a maximized/fullscreen gnome-terminal (or mate-terminal), weird sizing issues occur. The terminal emulator wants to resize itself (to keep the same number of character cells as you can see with unm...
terminal vim window gets distorted after switching tab
1,539,605,791,000
My primary display isn't working and I'm using a monitor. Unfortunately, Fedora 22 doesn't seem to pick up on this and acts as though I had two displays working simultaneously. As all system settings / the control panel, as well as several programs, launch on the primary display, I cannot get to some of the files I ne...
You could try to set your primary display with xrandr. First query your displays by just executing xrandr Then set the primary with e.g. xrandr --output HDMI1 --primary Or disable the other display with xrandr --output eDP1 --off. Or you could write a /etc/X11/xorg.conf file.
Disabling primary display in Fedora 22 (without primary display visible)
1,539,605,791,000
The X window system in a desktop Linux (where just one physical monitor is used) usually uses display 0, screen 0. The output of who in Ubuntu 14.04 is user1 :0 2016-06-15 14:25 (:0) where :0 is the abbreviation for :0.0 (:display.screen). Here I logged in only from the GUI. Then I opened a terminal emula...
You're referring to the text at the end of the line. That is written by screen to indicate which pseudo-terminal connection it is using, as well as which window-number screen has assigned to it. Comments in the code indicate what it does: /* * Construct a utmp entry for window wi. * the hostname field reflects w...
Display used by screen in utmp
1,539,605,791,000
In VirtualBox 5.0.18 on Windows 10 I'm running the guest: Linux Mint 17.3 Cinnamon 64-bit Cinnamon 2.8.8 Linux kernel 3.19.0-32-generic with 3D acceleration enabled. Everything was working fine until I updated Linux this morning and started Atom. Atom displayed partially, then showed random glitchy images on the sc...
The problem is caused by VBoxGuestAdditions_5.0.18, I believe the graphics driver is broken in it. Try to install VBoxGuestAdditions_5.0.16, that works just fine.
How do I fix my display after Atom broke it completely?
1,539,605,791,000
I recently started getting a fuzzy screen on start up when booting into Fedora. The best way to describe it is to say the screen looks like it has a H-Scroll problem - fuzzy horizontal lines. The mouse pointer is stable however. My current work around is to log out and back in, then I get a nice stable login screen (d...
I had this exact issue on my machine where I am running both Fedora 20 x64 and Windows 8.1. Sometime in the summer I changed the GPU (Gigabyte GeForce GTX 750 Ti) to support two monitors both using the HDMI interface. Today I needed to switch onto Fedora and was surprised by the same fuzzy (corrupted) screen on both ...
Fuzzy screen on startup
1,539,605,791,000
I am working on a microcomputer with Yocto operating system (based on openembedded) where I don't have any graphical environment. The system is quite heavily loaded, and I would like to avoid adding a GUI to it. Recently there has been a need to project video from cameras, connected to the microcomputer (RTSP), to a s...
Thanks to @dirkt I finally did it using ffmpeg with command like ffmpeg -fflags nobuffer -flags low_delay -rtsp_transport tcp -stimeout 1000000 -i <RTSP_stream_addr> -pix_fmt bgra -loglevel quiet -f fbdev /dev/fb0
Displaying video on a monitor without a graphic interface
1,539,605,791,000
I am using slim login manager on Debian 10. slim-1.3.6 part of the slim package is slimlock, a screenlocker. When I lock my screen (Ctrl+Alt+Del), two things happen: typical lock screen appears, where I have to provide password to unlock after few seconds my display goes to sleep When I then come back and either mo...
Mouse movements cause the DPMS extension in the X11 server to wakeup the monitor. One way to stop this is to disable the mouse device before starting slimlock and re-enabling it afterwards. First find the name of the mouse using xinput --list. For me it was Logitech USB Optical Mouse. You can then disable it with dev=...
Slim login manager: patch slimlock to not wake up display on mouse movement
1,539,605,791,000
I have a modern 1920x1200 LED display, capable of up to 96 kHz HorizSync, up to 76 Hz VertRefresh, and up to 205 MHz pixel clock. Apart from its native resolution, the display can also run in 1600x1200 (4:3) resolution at 75 Hz: 1600x1200 (0xa1) 202.500MHz +HSync +VSync h: width 1600 start 1664 end 1856 tot...
Partial answer, and quick one: Graphics cards have evolved from the legacy model based on a CRTC (CRT controller) that started out as an 6845, with an index and data register to change internal registers, to something completely different in major graphics hardware lines (Intel, Nvidia, ATI/AMD, and others as well). I...
An attempt to switch to a doublescan X11 modeline fails with "Configure crtc 0 failed"
1,539,605,791,000
How can I know the brand/model of the display used in a laptop? I have been roaming with dmidecode but I haven't found that information.
If your GPU and monitor can talk via i2c, you'll see your monitor model in a X.org log. The commands to achieve that manually: sudo ddcutil detect or ddccontrol -p Lastly you could download and install a trial version of Windows 10 Enterprise and install SoftMCCS.
How to check the laptop ID for the LCD panel manufacturer?
1,539,605,791,000
From https://unix.stackexchange.com/a/17278/674 Local displays correspond to a socket in /tmp/.X11-unix. (cd /tmp/.X11-unix && for x in X*; do echo ":${x#X}"; done) On a computer: $ (cd /tmp/.X11-unix && for x in X*; do echo ":${x#X}"; done) :0 :1 :10 :11 :2 :3 :4 :5 :6 :7 :8 :9 I was wondering how to find out the...
lsof /tmp/.X11-unix/X* as root will list the commands and pids corresponding to each socket. You can then match the socket name to the display number, as you’ve done in your example.
How can I find out the X servers (command, or pid) for display numbers?
1,545,320,948,000
I have connected my server through displayport-VGA cabel to my laptop but my Ubuntu 14 on laptop recognizes it as a view destination, not a view source. How can I revert it and get view from a server displayed on a laptop monitor?
So you used a Male-Male VGA cable to connect one video output port to another video output port? Working as expected, I'm afraid. This is basically a much less dangerous version of expecting everything to be fine when connecting a (deliberately-very-hard-to-find) Male-Male power cord between two outlets. You need to ...
Laptop monitor as a server's display
1,545,320,948,000
I've read the answers to this question but I don't have ACPI, the /sys/class/drm/card0-socket/status method does not work and the xrandr method chokes my CPU. udevadm monitor shows nothing when (un)plugging the monitor. I've got a circa 2013 Lenovo ThinkPad w530 with nVidia quadro something. I'm running Lubuntu 18.04 ...
I resorted to polling for the external screen EDID. I installed the read-edid package, added a line in visudo %sudo ALL=(ALL:ALL) NOPASSWD:/usr/bin/get-edid to allow passwordless get-edid and used the following loop: #!/bin/bash # edid_based_automatic_display_loop.sh export NEW_CONNECTION=1 export NEW_DISCONNECTION=1...
How do I detect when a monitor is plugged in or unplugged without acpi, xrandr, /sys and udev?
1,545,320,948,000
This might be a strange question. I have a very lightweight Ubuntu Server 14.04 box running underneath my TV, and I want to connect my TV to it to monitor some things. However, since it is a very lightweight server, I cannot have anything impacting it's performance. So my question is, will using my TV as a monitor for...
Just hooking up a viewing device like a monitor/TV to a display port on your server won't affect performance. Technically the OS is already prepared to send a display signal and waiting for you to hook up a display to receive. The action of sending the signal would not even register as intensive on any machine made si...
Will using a display impact performance?
1,545,320,948,000
I have just upgraded my PC. It was an old intel Q8400 with an nvidia graphics card. I changed the CPU (now an i3-6300) + Motherboard, and ditched the graphics card (want to use intel's graphics card that comes with the CPU). Now, however, I get the message that Cinnamon is running without video hardware acceleration,...
This question is very old and no longer relevant (for me at least), so I am going to close it. For the record, I ditched cinnamon for gnome at the time. Unfortunately I cannot tell if any of the answers will work. Thank you for commenting though!
Cinnamon running without video hardware acceleration after moving HD to a new PC [closed]
1,545,320,948,000
My usecase: User opertes on Server1 station. He can use ssh or whatever to connect with Remote Station and start some application on it and display it on his station (Server1). Now user has to change his place and operate on Server2. I know that he can start new instance of application and display it on Server2. But ...
I don't think you can reattach if the application has already been started in X. But maybe the following questions help? xpra Detach/reattach an application run on X over SSH? Reattach to lost X11 session Also, VNC could be a solution for you. But all these applications require that you restart the gui application o...
Is possible to change X server without kill client? [duplicate]
1,545,320,948,000
We have a small linux cluster ~12 computers and a similar number of users. Is it possible for a superuser to launch a graphical application - say firefox or even a python script on another machine that is being used by another user?
Actually what you want is a basic concept of the X window system. However, recent Linuxes don't allow remote X clients by default. You have to enable it first. The tool xhost can do that. Running xhost + simply disables access control and any client can interact with that server. X server instances are addressed by <h...
Is it possible to display a graphical application on another host/user [duplicate]
1,545,320,948,000
I am trying to set up the teacher's computer in a university room, having two identical displays on the table. One of these displays should be duplicated on the e-Blackboard connected via HDMI. Obviously, the computer has two graphical cards (the internal card does not support more than two outputs at one, despite ha...
My colleague came in and suggested the obvious: I just changed the e-Blackboard's resolution to 1920x1060 instead of 3840x2160. This solution was so plainly obvious that it completely escaped me before... <:-D
Duplicate only one of dual monitors on a Smart e-Blackboard
1,545,320,948,000
I have a laptop with Artix Linux on it that I'm using as a web server. I want to keep it minimalist, w/o graphical environment and only the absolute necessary software. My problem is I still don't know how to turn off/on the display (to save energy) when I'm not interacting with it (which I do very rarely). I am aware...
Nevermind, I found a page in ArchWiki that explains everything. No additional software is needed. All I have to do is change the value in /sys/class/backlight/intel_backlight/brightness to 0 to turn the display off. To turn it back on, I can use any value grater than 0. The maximum value can be found in /sys/class/bac...
Turn off/on laptop display from TTY without additional software
1,545,320,948,000
I am running Arch Linux on a Dell XPS-13 9380 with the DWM window manager (which uses X11). I recently started using an external monitor with my laptop. My issue is that when and only when the second display is active, my terminal emulator glitches when I type into it. Please note that this only affects the terminal e...
It was an X11 problem. After installing the xf86-video-intel drivers (for the Intel UHD Graphics 620 chip. Consult the arch wiki to be sure). I added this to /etc/X11/xorg.conf.d: 20-intel.conf: Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TripleBuffer" "true" Option "TearFree" "...
Terminal emulators glitch when using two displays (DWM)
1,545,320,948,000
There are many articles about how to add undetected resolutions. My problem is the opposite: gnome-control-center shows many resolutions I won't ever use. Here is my list with 33 entries on a 3840x2160 monitor: How to clean up this list (per monitor) and only keep these 2 entries? 3840x2160 (native resolution) 1920x...
Automatically detected modes cannot be deleted. Ping developers: https://gitlab.freedesktop.org/xorg/xserver/-/issues/353 You can try creating and using a custom EDID file for your monitor: https://wiki.archlinux.org/title/Kernel_mode_setting#Forcing_modes_and_EDID
Remove detected resolutions
1,545,320,948,000
I have a setup with 2 monitors. I'm on Manjaro, I installed v4l2loopback from AUR (here is github link: https://github.com/umlaeute/v4l2loopback)and it works great, no problem there. But my question is how to specify which monitor I want it to use? What I did was: $ sudo modprobe v4l2loopback exclusive_caps=1 $ ffmpeg...
The ffmpeg-all man page says x11grab takes an option, [<hostname>]:<display_number>.<screen_number>[+<x_offset>,<y_offset>] which in your case is :0.0+0,0 and determines what to grab. Depending on your configuration, you can try :0.1+0,0 for a second screen or :0.0+1920,0 for an offset in a single virtual screen, o...
How to specify display to stream using v4l2loopback?
1,545,320,948,000
If I want to use the name of my primary screen (HDMI-0, found out via xrandr) within another command, the device is never found. Instead I have to use the name HEAD-0. From what I've already read I assume this is probably a nVidia-thing, but I don't understand how it works, why it's done and most importantly: How can...
Not sure if it's the correct answer, but you can query connected displays via nvidia-settings --query dpys. If I understand it correctly, HEAD-x is mapped to a display of the output of nvidia-settings in the order they appear. For example: HEAD-0 is the first connected display, HEAD-3 the fourth, etc.
How to find out, which screen is HEAD-0, HEAD-1, etc.?
1,545,320,948,000
System: Linux Mint 19.1 Cinnamon. Hardware: Laptop screen: 3840x2160 + HDMI screen 1920x1080; GPU: NVIDIA, GeForce GTX 1060, Max-Q Design, 6 GB VRAM I have enabled Double DPI in General settings. It works fine for the laptop display, but now I connected an external FullHD display, the things on it are twice as large....
Did you try the solution in https://enochtsang.com/articles/scaling-two-monitors-differently-on-linux-mint ? In your case, create a file called .xsession in your home directory, in the terminal you can do that with touch ~/.xsession Second, open it with a text editor and paste this: #!/usr/bin/env bash xrandr --outpu...
Making external display DPI settings permanent
1,545,320,948,000
Under Waayland I used busctl --user set-property org.gnome.Mutter.DisplayConfig /org/gnome/Mutter/DisplayConfig org.gnome.Mutter.DisplayConfig PowerSaveMode off to turn off / on the display however after having to go back to X11 due to Wayland being unusable this command works same as dpms force off. With X11 I can r...
I think you possibly misunderstand what DPMS "off" means. Look at the table in Wikipedia, what DPMS actually does is to signal the power saving state by turning the horizontal sync and vertical sync signals (or the HDMI equivalent) off, and disabling the DAC in the graphics card, while the rest of the graphics card ke...
Turn off X11 / Xorg display (not standby)
1,545,320,948,000
I'm pretty new to Linux (running linux mint). I've been messing around with the display resolution and changed it from 1280x720 to 1920x1080. All the icons and taskbar are pretty small. I want to scale everything up, not just the font size. How do I do this? Thanks! If this helps: I think I'm looking for the linux equ...
This is for the MATE version : Fonts: Click 'Menu', type 'Apparence' and click, select tab : Polices , then update font and/or size as needed. Desktop icons size: Right click the icon, there is a 'Resize icon' entry, drag the icon's corner.
How do I scale up everything on my display?
1,545,320,948,000
When I configured VNC server there were strings VNCSERVERS="1:oracle" VNCSERVERARGS[1]="-geometry 800x600" When I connected via VNC and run w command, I saw that current display is :1. [oracle@localhost ~]$ w 06:53:24 up 11 days, 22:15, 2 users, load average: 0.38, 0.16, 0.10 USER TTY FROM L...
:0. :1, :2 all are display nembers (also display names for a single motinor on the same host). If multiple X servers are running on the host then their displays are numbered as incremental values like :X starting from :0 to uniqely identify each one. Quoting the DISPLAY NAMES section from man 7 X : Display Names From...
What does :0 mean in vnc configuration?
1,545,320,948,000
I'm using CentOS 6, with Xfce as a desktop environment and have switched to xdm from gdm as a display manager. However, after making this change, I am observing a very strange oddity: graphical applications can run without $XAUTHORITY being defined: $ echo $DISPLAY :0.0 $ echo $XAUTHORITY $ zenity --error --text "......
The X(7) overview man page (recommend reading the whole thing, by the way) tells us: The file from which Xlib extracts authorization data can be specified with the environment variable XAUTHORITY, and defaults to the file .Xauthority in the home directory. So no, XAUTHORITY is not mandatory if you have your authoriz...
GUI running without $XAUTHORITY being defined, but not for root
1,545,320,948,000
I am connecting to a Linux CentOS 2.6 computer via SSH wit the display deported on my screen (using MobaXterm). It is also possible to access to this computer "physically". However, I would like a way to inform people that may want to access "physically" to the computer that I am currently using it via SSH. One way w...
Can I do that? Can I open an application on a different display than mine? Yes, if you have the appropriate permissions. For example, on a desktop where you are the only current user with a GUI, try switching to a console (e.g., via alt-ctl-F4), log in as the same user, and try: xterm -display 0:0 Your mileage may...
Acting on a different display when using SSH [duplicate]
1,545,320,948,000
Actions before the GDM failure I was trying to install RT tool in my system. However, the RT tool required Perl 5.10. So, I did yum remove perl to remove the existing version. While the command was getting executed, I was not able to navigate to any other tab or window. The system was stuck. So, I long pressed the pow...
I figured it out. It was the unexpected shutdown which triggered the display problem. Since, I had shut it down using long press while the yum remove perl was going on, the transaction had locked some of the files and it was pending. I did the following commands to bring back the display. yum -complete-transaction --...
RHEL - GDM could not be initialized
1,702,159,574,000
I can understand why 100%, 200%, 300%... scalings are technically easier. But when it comes to fractional scaling, why is it limited to 125%, 150%, and 175%? Is it more difficult to implement, for example, 110% than to implement 125%?
Not knowing how this is actually implemented on different systems, I can only guess: It is indeed more efficient to implement a bitmap scaling by those values. Think of 150% scaling: at 100%: 1 2 3 4 ... --- --- --- -- -- -- -- -- at 150%: 1'2'3'4'5'6'... Pixel 1' will be the same ass pixel ...
Technical reason why Gnome's fracional scaling is limited to multiple of 1/4?
1,702,159,574,000
I am a teacher and I have some students in the room and others via web, using  3 screens my laptop + a Wacom one tablet + a video projector screen.  I need to  (using an HP zbook 15u G3 wich can use 3 screens) sync the video projector screen  with  [ a part of ] my 'Wacom one' screen. Map the stylus only to the Wac...
The good way is simply to use xsetwacom. (an example in french :http://doc.ubuntu-fr.org/wacom ) -Use xrandr to obtain the list of the screens -Use xsetwacom list dev to identify the devices [pen,eraser...] And xsetwacom --set "Name of Wacom device [pen,eraser...]" MapToOutput "Name of the tablet screen" For ...
Configuring Wacom one to overlap on a third screen and map it appropriately
1,702,159,574,000
I use two screens: my laptop screen (eDPI-1, 1920x1080) and my external monitor (HDMI-2, 2560x1440). All my applications render just fine on both, at the resolution I would expect, with the sole exception of Zoom (the videoconferencing app) which we use for work. Zoom appears super zoomed in (no pun intended) and does...
I have a similar scaling issue with xfce on an Arch fork, using Zoom version 5.1.412382.0614. It seems to be a recent regression though as it does not occur with Zoom 5.0.418682.0603, so maybe you could try an older version.
Some apps (zoom.us) have incorrect scaling on eDPI (1080p) screen but not HDMI (1440p) screen
1,702,159,574,000
In Debian 10 stable with KDE changing the scaling under the display settings has a lot of bugs. For example the tabs in the bottom panel are too large and have a font-size that's much too large so that only very few open windows are shown there. Furthermore, the text-size of many buttons is too large for the buttons, ...
I reported the bug within another issue (a feature request) here. From the replies it appears the issue has been fixed in newer version of KDE Plasma. (I haven't tested it.) I asked what would be needed by Debian to distribute newer versions of KDE Plasma here. Many apps can zoom and have standard font-size and defau...
Scaling bugs in Debian 10/KDE - how to increase the size / zoom of apps instead of scaling the display?
1,575,051,545,000
After installing Antergos with KDE everything is working fine (as far as I can tell) except my HDMI monitor doesn't work. Instead of rendering anything properly it displays whatever the first image that appears on it is but broken into lines with black lines in between. I have an NVidia GPU and I think it's Optimus (I...
For future readers with a similar problem: the fix that worked for me is here. The solution here of adding acpi_osi=! acpi_osi="Windows 2009" to the kernel parameters both allowed the reinstalled nouveau drivers to finish booting and the nvidia drivers to work at all.
HDMI output broken after Antergos install
1,575,051,545,000
I am running Red Hat Enterprise Linux 7.4. I have done a minimal install so that I don't have X11, xorg, xset or anything x related installed. I am trying to keep the monitor from going blank. When I log in I can run the following command which does the trick: setterm -blank 0 -powerdown 0 -powersave off However, ...
At least the first two parts are realised by sending an escape sequence to the console handler, as can be demonstrated like this: $ setterm -blank 0 -powerdown 0 | od -c 0000000 033 [ 9 ; 0 ] 033 [ 1 4 ; 0 ] 0000015 The easiest way of doing this automatically is to add this output to the file /e...
How to keep login screen from going blank with minimal RHEL install?
1,575,051,545,000
On Xubuntu I've used vbetool to turn off/on the display in my laptop, assigned to touchpad key because the display key didn't work. I now just installed Fedora 26 and want to use my script, but It seems that vbetool is not in the repository anymore. How can I install vbetool on Fedora 26? I've tried to install from th...
I've solve the problem by searching for libpci.a file on 64bit Fedora the file was located in /usr/lib64/ so runing: sudo ln -sf /usr/lib64/libpci.a /usr/local/lib/libpci.a and then running make again solved the issue. So the whole solution (based on CentOS article): sudo dnf install pciutils-devel pciutils-devel-sta...
How to install vbetool on 64bit Fedora
1,462,807,659,000
On the Arch-based Antergos Linux, initially Gnome Shell desktop, I have installed Mate on a laptop that normally (in Windows, OpenSuse, Ubuntu) has a dedicated key to switch between displays, which here is not working. Is there a default way of doing that? If not, how to set a key for that in Mate?
Install disper. In Ubuntu-beased systems: sudo apt-get install disper In Arch-based systems it is in AUR. Various commands available with this utility HERE. The command to cycle between clone, extended, internal and external displays should be like this: disper --cycle-stages='-e : -c : -S : -s' --cycle In that cas...
How to cycle displays in Mate desktop?
1,462,807,659,000
I've been running 64-bit Linux Mint Cinnamon for a couple of years now on my current hardware. I upgraded to Qiana a month ago and hadn't had any problems with it. This morning my machine locked up when I accidentally loaded a huge file via a python script that was apparently too big to fit in memory. I couldn't even ...
Display Settings Did you check under System-Settings -> Displays (the names might be slightly different)? The screen resolution may have changed to one that isn't the same aspect ratio as your monitor. This setting is per user, which is why your login screen looks fine. Test User Create a test user (as root):- #user...
Screen stretching on Mint Cinnamon after hard reboot
1,462,807,659,000
I'm trying to list the connected monitors using xrandr that is returning the following information: Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192 eDP-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm 1366x768 60.06*+ 1360x768 59.80 59.96...
This answer on AskUbuntu seems relevant to your question. Basically, the VGA port you see is just a built-in adapter for the native DP port. In this case, xrandr correctly shows you the installed hardware which is a DisplayPort.
What does "DP" device stand for?
1,462,807,659,000
ERROR: type should be string, got "\n\nhttps://unix.stackexchange.com/a/503874/674 says\n\nThe display is effectively the X server; there is exactly one display per X server. So multiple X servers can’t run simultaneously\n on the same display, and an X server can’t run simultaneously on\n multiple displays. (Strictly speaking, the latter point isn’t\n correct, but I don’t think there’s an X server which can serve\n multiple displays.)\n\nhttps://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 says a\ndisplay can have multiple screens/monitors. $DISPLAY specifies a\nscreen, not just a display, and is used in starting a X server or a\nX client. So does a X server start in a display or a screen? So\ndoes a X server start in a display or a screen?\nhttps://unix.stackexchange.com/a/503884/674 has a diagram that\n\ndistinguishes screen and monitor, while https://www.x.org/archive/X11R6.8.0/doc/X.7.html#sect4 seems to say\nthey are the same concept when explaining screen number. Which one is correct?\nshows a X server covers all the screens in a display. So does a display server start in a display or a screen or a monitor?\n\nCan I specify an arbitrary `$DISPLAY`?\nsays:\n\nAn xserver can use a hardware framebuffer, a dummy framebuffer (Xvfb) or a window on another xserver (Xephyr). The latter two are\n examples of \"virtual\" xserver/display\n\nIs a framebuffer associated with a display or a screen or a monitor?\n\nSorry I am still confused by the multiple concepts. Thanks.\n"
So does a X server start in a display or a screen? I’m not sure how to say this in a different way than I did previously; for all intents and purposes, the X server is a display (“display” as the X Window concept, which I understand is what we’re discussing here). An X server doesn’t start in a display, it is a disp...
Does a display server start in a display or a screen or a monitor?
1,462,807,659,000
I ssh to a remote host (without X forwarding). In the shell created by sshd on the remote host, why can't I start a GUI program on the default $DISPLAY $ eog Unable to init server: Could not connect: Connection refused (eog:31542): Gtk-WARNING **: 23:11:16.793: cannot open display: $ echo "$DISPLAY" $ while speci...
There is no default value for DISPLAY. If it’s not set, and you don’t specify a target display in some other way, X programs won’t be able to connect to a server. This can be useful, e.g. to start a program with no X connection when you’re running inside an X session: temporarily clearing DISPLAY will ensure the X ses...
Why can't I start a GUI program on the default `$DISPLAY` on a remote ssh server host?
1,462,807,659,000
My laptop has screen resolution of 1366x768 but I want to create an X display with a higher resolution and scroll around it. It was possible in Windows where the drivers and the graphics card allowed it. Can the same be done in Linux?
Yes. Assuming that the screen of your laptop is LVDS-1 (get the real name with xrandr | grep -w connected): xrandr --output LVDS-1 --panning 2732x1536 But simple application windows can be larger than the root window or the screen even without that. You can check with xclock -geometry 2732x1536 if xclock(1) is insta...
Can the screen size of an X11 window be set higher than the monitor's resolution and the view panned around the larger display?
1,462,807,659,000
I have a laptop which I want to use only remotely via rdp (xvnc server). I have setup rdp successfully. As I only use the laptop remotely, I want to disable it's display. To do that, I have already disabled lightdm. However, now at boot it shows: Antergos Linux 4.14.15-1-ARCH (tty1) simon login: I want to disable th...
Since you're seeing a login prompt on tty1, the local X server has been stopped and the virtual console is in text mode, acting as a terminal emulator. (The xvnc is a separate, "virtual display" X server for incoming VNC/RDP connections. It does not deal with physical display, keyboard or mouse at all.) To force disab...
How to disable tty1 and backlight using Arch Linux
1,462,807,659,000
Context I am runnning a Debian Stretch distribution with Cinnamon graphical interface. I use this command to turn off the display xset dpms force off It is useful to me when I want to sleep and just launch a video without being perturbed by the light of my screen. Note that if the mouse pointer is active (moves), th...
Run mplayer like this mplayer -nostop-xscreensaver [other options] video-file or add the option into config file ~/.mplayer/config : [default] stop-xscreensaver=0
Debian DPMS - Mplayer
1,462,807,659,000
I am currently using Manjaro (Juhraya 18.1.5) and I use [guake] [1] as a dropdown terminal. I have set a transparency on it and wanted to launch it as a start up program. But after logging in, I find no transparency of the background. Everything else works perfectly fine. If I quit it and relaunch it, transparency wor...
About my system information... I am using Kubuntu with KDE plasma v:5.18.5. Here is what I did. I installed "gcc" from the terminal window.The "gcc" is a program that translates the C language text code in machine code. I have have created a text file, called "start-guake.c" and then I written the code in that text...
Transparency settings for my drop down terminal is not loading at start up
1,462,807,659,000
I installed NVIDIA's Linux x64 (AMD64/EM64T) Display Driver for my Laptop's NVIDIA GeForce GTX 970M/PCIe/SSE2 since I had issues with display a few weeks ago (I don't remember exactly which; I think it was with my [three] multi-monitor setting). Since then every second update or so (and they are presented almost daily...
Since then every second update or so (and they are presented almost daily with Tumbleweed) this driver is thrown out, TW boots into shell and I have to run: You described a "the hard way" setup as in https://en.opensuse.org/SDB:NVIDIA_the_hard_way The easy and most common is to setup using a repository as in https:/...
How to convince openSUSE Tumbleweed to NOT throw out NVIDIA display driver on updates
1,462,807,659,000
My WSL defines the DISPLAY variable for x windows on the .profile, checking the IPs I have on the resolv.conf. Why ? If I am not wrong, resolv.conf is only used for define the DNS to use, and the DISPLAY should point to my local IP. In fact, I have several (plenty) of IPs on my Windows machine due the use of Virtu...
The settings in your .profile are yours to change as you see fit. If the current DISPLAY setting in your .profile is not right for you, then you should change it to something that actually works. a).- DISPLAY being setting automatically by profile incorrectly Your setup is more complex than expected by the creators ...
How is DISPLAY variable defined for X access on WSL?
1,462,807,659,000
I have a Slimbook laptop with an external monitor (HP Elitedisplay E243) connected to it using HDMI. Suddenly, the monitor stopped working (it was at a system start). The monitor gets detected by the Linux Mint desktop (21.04 Cinnamon), but no signal is shown. It even seems to wake up when I unplug/plug the HDMI cable...
In the end, after more tests, I moved the laptop and discovered that the cable was pinched between the table and the wall. Don't know why, but it seems this to make this happen, even if other computers work with that cable being pinched. After moving the cable everything went OK!
Monitor detected but with no signal in Linux Mint and Ubuntu
1,462,807,659,000
I have two monitors setup on my machine. I would like to prevent some apps from accessing one of the two monitors while still granting permission to other apps. I would like to restrict an application only to HDMI-1-1 (check xrandr output below) and prevent it from reading eDP-1-1. Is it possible to do so? xrandr outp...
Under X.org only session it's not possible, if you run two X.org servers (e.g. by default and then :1) programs running at them won't be able to sniff on another X.org server (not directly of course, an evil app may relunch itself with a different DISPLAY variable). So your best bet will be to have two different user ...
Restrict monitor access to certain apps
1,462,807,659,000
I want to add additional language input to my linux. I am using MX Linux and DWM desktop environment. How can I do this?
Since MX Linux is Debian based, you can set your keyboard layout using, sudo dpkg-reconfigure keyboard-configuration. The keyboard settings file is /etc/default/keyboard if you prefer to do it manually. You can set the layout, the available languages, variants and the key combination to switch layout/language. In Debi...
How to add keyboard layout in dwm
1,462,807,659,000
My roommate has a really old 1280x1024 VGA display that the driver sets to 1600x1200 by default and it causes it to display a message saying it can't display the input. I can ctrl+alt+f1 and use xrandr -d :0 to find out the output that's being used but every time I do xrandr --output CRT1 --mode "1280x1024_60.00" it s...
So after installing other things to fix the drivers the crash message went away and the fix ended up being adding Modes "1280x1024" to the SubSection in the Screen section in xorg.conf
Change display output with xrandr?
1,462,807,659,000
Is there some command (or trick) to detect what DISPLAY is active? I mean active in a sense that it will "eat" all key strokes, and mouse clicks and moves; so it has the input focus. I mean also for the simple hardware installation where the user has only one physical keyboard and only one mouse (usb or ps2). The de...
fgconsole (if run as root) should do what you want. Ctrl-Alt-Fx switches to the Linux console #x, and fgconsole tells you the number of the currently active console.
how to detect what DISPLAY is active/has input focus?
1,462,807,659,000
I have exported my X display to another computer using this command: export DISPLAY=xxx.xxx.xxx.xxx:0.0 How can I undo it?
Just reset DISPLAY to the original value. The details depend on your system but one of these should work: export DISPLAY=:0.0 export DISPLAY=localhost:0.0
How to undo DISPLAY export in linux?
1,462,807,659,000
I can adjust brightness or gamma of my whole screen with xrandr. But is it possible to only change these settings for given window in `openbox? For instance, if my browser is too bright and I want to reduce the colors, without affecting other applications? EDIT: I am using xrandr as an example here. I don't require th...
xrandr is configuration utility of RandR (Resize and Rotate), part of X.org Server. Compiz config has a setting for this but I'm not aware of any similar utility for OpenBox, and don't find any direct method to affect window brightness in OpenBox documentation either. As per the FAQ you can get true 32-bit transparenc...
openbox: change brightness or contrast or saturation only for given window / application
1,462,807,659,000
I was recently figuring out how to properly configure 2 monitors with X11 and a NVIDIA card and tried many different options. Many tutorials pointed out that a 2-monitor setup should include 2 screens in the ServerLayout section in /etc/X11/xorg.conf, like so: Section "ServerLayout" Identifier "Main" Scree...
You don't usually need to manually play with xorg.conf anymore. Even an empty xorg.conf will often get it right (with the exception of monitor placement). The magic is that most of this is now done behind the scenes. The Nvidia drivers (not necessarily nvidia-xconfig) use xorg.conf for some hints but will do most o...
How does my dual-monitor X configuration work with just one screen specified? (Nvidia)
1,651,686,969,000
I have an MSI Optix MAG245R 23.8" display. It features USB connections. When I start up my Debian-based machine (BunsenLabs), I get warnings that say: May 4 19:41:51 localname kernel: [ 240.573980] sd 9:0:0:0: [sdc] Unaligned partial completion (resid=4060, sector_sz=512) May 4 19:41:51 localname kernel: [ 240.573...
Thanks to @telcoM for the clues. I have fixed the problem. tl;dr De-authorize the offending USB device using udev rules. How to do it Run dmesg in follow mode: $ dmesg -w Disconnect and reconnect the display's USB cable. In the output of dmesg, take note of the bus number of the device you want to disable (covered...
USB connection from display detected as storage device
1,651,686,969,000
I am using Ubuntu 20.04 version on Lenovo Ideapad Whenever I lock my laptop (or it gets locked in inactivity) and try to unlock, my display is crashing. I see a screen as below I have another external monitor connected to this laptop and that display looks fine. This started happening only since a couple of days. I a...
I have an Lenovo latop (AMD architecture) with the same issue. The problem is in newest update of kernel 5.13 newer. Check your kernel version by typing this command uname -r If you have a version 5.13 or newer you can fix the issue by downgrading to a lower version such as 5.11. It is not a final solution but it can...
Display crashes after screen lock
1,651,686,969,000
I have installed Debian 11 (bullseye) on a new Lenovo LEGION 5i Pro with Nvidia RTX 3050. After installing the Nvidia drivers: sudo apt-get install nvidia-driver firmware-misc-nonfree I connected an external monitor using the HDMI port, but it was not recognized, it does not show up in the Displays settings. I tried ...
Notebooks with separate dedicated and integrated graphics cards will try to balance which is used to improve battery life. Check nvidia-settings and bios settings to see if there is an option to specify which you would like to use.
How to configure multiple displays on Lenovo LEGION 5 Pro (Nvidia RTX 3050)
1,651,686,969,000
I have two monitors connected (one HDMI, one DVI) connected to an Nvidia GT710 GPU on my linux box. When I am logged in to my box over ssh, if I run xeyes it will always run on the same screen. I know the name of this screen because echo $DISPLAY returns :0 Based on some what I have read, I expected to be able to...
I expected to be able to target X windows to my left and right monitor using :0.0 and :0.1 This is only true of your left and right monitor would actually use two X screens, which isn't something you'd normally see unless you've configured it yourself. Out of the box, most of today's system use Xinerama, which means...
How can I target an X window to a secondary monitor? (and know what it is called in order to do that)
1,651,686,969,000
I recently acquired an older motherboard with SiS built-in graphics and installed Xubuntu on it. I wanted to challenge myself and see if I could figure out how to install a graphics driver for SiS. After a bit of work, I believe I actually managed to do just that by using this guide with a few tweaks. I have come to t...
lspci and lshw only show driver information for hardware handled by a kernel driver. In your case, the graphics hardware is managed by a X.org driver, not a kernel driver, so the driver doesn’t show up in the output of lspci or lshw. The fact that your screen resolution increased is a strong indicator that you succeed...
Do "lspci" and "lshw" commands always show graphics driver?
1,651,686,969,000
At work, we are developing programs, each developer having his own private VM under CentOS. I disconnect my session at the end of the day, then the next morning I start Remote Desktop under Windows and join it again. But today, I went on a different Windows workstation, with lower resolution display. I started my remo...
Have a look at the xrdp settings (xrdp.ini or sessman.ini). By default it will start a new session for earch new user and for each color resolution. There are different settings which will cause different behaviours. pstree will show your different sessions. All of them will propably be based on a window-manager. If y...
Using Remote Desktop on my private VM, I enter another existing session than the previous one, depending on... my screen resolution?
1,651,686,969,000
I have a setup where I connect to two different displays depending on where I am. I would like to use a mode which one of the monitors doesn't allow, but that won't be loaded when any other display is connected. To be more concrete, the I would like to overclock the external display at home to 120hz, but not overclock...
Ok so if using nvidia you can refer to monitors by their EDID here is an example from my 99-nvidia.conf (Reference I used here) Section "Module" Load "modesetting" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 #this ...
Custom EDID for specfic physical monitor, not output
1,651,686,969,000
I'm running some UI automatic testing in which the pointer is moved to perform/simulate user actions, which is executed after some time when the display is OFF. I want to leave the screen OFF while running these tests, but stop the tests if the user interact with the keyboard or mouse (or just the keyboard) I know ho...
This is what I use daily, which goes through usual X11 driver rather than VGA BIOS, no root access needed: xrandr --output LVDS1 --off If your display is not a built-in LCD screen, substitute LVDS1 with relevant port from you see from plain xrandr command without parameter. It is usually something along the line of ...
Prevent the mouse to wake up display (UI Testing)
1,651,686,969,000
I have a console program: #include <iostream> #include <stdio.h> using namespace std; int main() { printf("please num1:"); int a; cin>>a; printf("please num2:"); int b; cin>>b; cout<<"see the result"<<endl; return a+b; } With the executable named test. When I put this line:/path/to/test test & inside the home/user/....
since your program is a console program and not a graphical one, as you stated and as your code shows you need to launch it in a console, in a terminal. e.g. gnome-terminal -- test.sh in this case, I used gnome-terminal and the executable was test.sh. this is the command to launch at startup
How to start a console program at startup(inside ../openbox/autostart)
1,651,686,969,000
I am running a Linux Mint 17.3 machine with a DVI and USB (DVI-to-USB) monitor connection plugged in to the same desktop. Upon booting up, I get strange display misalignment that I found out was due to the USB connection - half of one screen is scrunched up on one of the monitors. However, if I simply go into Settin...
My solution, which works great, was to do the following: Create a startup.sh file in my home directory ~/ (that way I can port it over during a backup of files later if you wish) with the following command saved in it: pkill -HUP "cinnamon --replace" Open a terminal session, type crontab -e to enter the crontab file...
Startup Script for Refreshing Screen Settings
1,651,686,969,000
I am trying to open up firefox in my Red Hat machine. I am doing, export DISPLAY=:0.0 and typing, firefox I am getting Error: cannot open display: :0.0 Is there any way to know what packages are missing or needs to be installed or any log files I can refer to, to be able to load firefox from terminal.
Ok. I figured it out. I had to use X11 forwarding using Xming. Below link provides more details. https://wiki.utdallas.edu/wiki/display/FAQ/X11+Forwarding+using+Xming+and+PuTTY
Error: cannot open display: :0.0 - Red Hat Enterprise Linux Server [duplicate]
1,651,686,969,000
How to set the maximum laptop brightness after startup on my ASUS laptop? When I power on my laptop, it only has about 30% display brightness set. Naturally, I want to set the maximum laptop screen brightness after startup on my Asus N750JV. I am running Linux Mint 17.3 Cinnamon. I presume there will have to be some s...
My own solution, that worked for me: Go to a directory, where this information is stored cd /sys/class/backlight/intel_backlight/ Find out the maximum brightness of your display: cat max_brightness In the following step, use echo your-maximum-brightness, mine is 5273: Write a script e.g. named set-max-brightness.sh ...
How to set the maximum laptop brightness after startup on my ASUS laptop?
1,651,686,969,000
I have an AMD Radeon HD 4650 Graphics hardware, and a LCD monitor with an odd native resolution of 1440x900. I use debian stable on this system. When not using the firmware-linux-nonfree package, the display resolution offers few choices that doesn't look very well on this monitor, since they are lower than the monit...
If your hardware requires firmware to be loaded on chip then you should use it, otherwise do not wonder why your resolution resets to something not native to your monitor. Without firmware the graphics driver probably fails to detect graphics chip at all or can't access it's advanced features you mentioned, and falls ...
Is framebuffer/vbe resolution a property of monitor or graphics hardware?
1,651,686,969,000
/dev/dri/renderD128 should only be accessible to root or users in the render group as per: project_kohli% ls -lha /dev/dri/renderD128 crw-rw----+ 1 root render 226, 128 May 26 09:43 /dev/dri/renderD128 However I can see a number of applications which are NOT running as root accessing the file d...
crw-rw----+ Did you notice the plus sign at the end of the permissions string? It means the device node has an Access Control List on it, and so you'll need the getfacl /dev/dri/renderD128 command to see the complete set of permissions on it. The result will probably be similar to this: getfacl: Removing leading '/' ...
How can Firefox access /dev/dri/renderD128 when it should be only root accessible
1,651,686,969,000
I recently experienced a very bizarre phenomenon. As I thawed my computer from suspend, I got back to my session manager's lock screen. However, the content of the window of application currently running in the session was displayed intermittently, and with a 180°-rotation. As a picture is better than a thousand words...
I would tentatively classify that as a failure to restore GPU state on resume from suspend. More specifically, it appears that the display composition information did not get properly restored. It is possible that an intermittent hardware failure (e.g. an unreliable spot in GPU memory) might be involved too. The flick...
Application windows content get displayed (upside down !) while session is locked
1,692,995,896,000
After a fresh Ubuntu Server install, the console (no GUI) output is not aligned to the left side of my 4k screen. Instead, each line starts at a third of the screen width away from the right side, and then overflows to the left side of the screen. This doesn't seem to be a problem with lower-resolution screens (tested...
Your card might not be able to drive that monitor. 4K seems to be a common barrier, even for some 3-y.o. cards.
Console output not aligned on 4k screen
1,692,995,896,000
I have recently install 22.10 Ubuntu OS and I lost external monitor connectivity. I have tried few things but stuck. OS: Ubuntu 22.10 xrandr: HDMI-1-1 disconnected (normal left inverted right x axis y axis) Identifier: 0xa7 Timestamp: 5598 Subpixel: unknown Clones: CRTCs: 4 5 6 7 Tr...
I have tried multiple tricks to find a solution inside the Linux system. Afterwards, I have tried to find a solution for the Dock driver connector to display my external monitor. And it works, here what I have done: Download external Nvidia drivers as mentioned by kepler-22. https://www.nvidia.com/download/index.aspx...
Ubuntu 22.10 External monitor connection issue
1,692,995,896,000
I am trying to get a USB 3.0 to HDMI adapter to work that supports displaylink drivers in archlinux with Xorg server, doing: I have installed evdi for the in development kernel module. I have installed the displaylink driver. yay -S evdi displaylink I have enabled displaylink.service. Used the modesetting driver w...
Reviewing the problem, I have noticed that in the last comments of the displaylink AUR package information, it indicates: djallits commented on 2022-10-13 21:33 (UTC) DisplayLink 5.6.1-3 breaks on Linux 6.0.1-arch1-1 x86_64. I am digging into the issue now, >but I just wanted to warn anyone else. And: jmcld comment...
Unable to init displaylink service for HDMI adapter
1,692,995,896,000
Simple. I have the file "longname.server" on remote pc, I want to copy on my pc, but..I don't remind the name because is long and I use tab completion. \rsync -avP remote:^[\\\[0\\\;longname.server^[\\\[0m\\\^M Strange characters appear on display after I press the tab key to complete name, what to check? Distro is...
Workaround found. I start bash without reading the rc files bash --norc now the command works Then I edit bashrc and I delete those lines which cause problems # Append any additional sh scripts found in /etc/profile.d/: for profile_script in /etc/profile.d/*.sh ; do if [ -x $profile_script ]; then . $profile_sc...
when I use tab on rsync and remote pc magical characters happear in display
1,692,995,896,000
I've a bunch of SSD1351 OLED displays like this one: Those are driven over a SPI Interface and I use them in the Raspberry Pi and other ARM SBCs like the NanoPi with the following libraries: https://github.com/rm-hull/OPi.GPIO https://luma-oled.readthedocs.io/en/latest/ https://pillow.readthedocs.io/en/stable/ Thos...
Apparently this was already done using a FT232H. https://github.com/rm-hull/luma.oled/issues/185
x86: Drive a SSD1351 OLED Display
1,692,995,896,000
Is there some sort of display keep-awake command that could be scheduled? I have a machine I'd like to run a dashboard display during certain hours without having to interact with it every day to wake and sleep. This means I'd like only the display to wake and sleep on a schedule of my choosing without locking the des...
It looks like a broad solution isn't available (or easily discoverable), so I think Caffeine for Ubuntu* is my best option. Apart from the GUI utility, there is a CLI interface that could be scheduled to achieve my goals. If someone has a better answer, I'll gladly review and accept it instead. *Note: StackExchange do...
Display Sleep / Wake on Schedule
1,692,995,896,000
I have two monitors. I disabled my primary monitor(eDP-1) by running this command on startup to display on secondary monitor(DP-1) only. xrandr --output eDP-1 --off The primary monitor is disabled and everything is shown on the secondary monitor. But only about three-quarters of the secondary monitor is used and the ...
Okay.. I finally fixed it by setting the secondary monitor as primary monitor before disabling the primary monitor by using the following command xrandr --output "DP-2" --primary --above "eDP-1"
xrandr - can't set fullscreen
1,692,995,896,000
So, if I boot with only one screen or use cinnamon or another desktop environment, everything looks nice, but if i boot with two screens, it looks like this: Notice how everything looks normal in the browser, however the task bar and widgets look insanely large. I suspect they are being scaled as if both screens are ...
This took me forever and many days of figuring out the problem. It turns out my DVI monitor has a broken EDID, so it was telling my PC that it's display size is significantly smaller than it actually is, while maintaining the resolution, which created this huge DPI difference. I'm not exactly sure what exactly fixed i...
KDE Plasma's widgets look comically large when using two screens
1,621,168,052,000
I am running Pop!OS 20.04, on an Asus Tuf FX505DU with an Nvidia 1660TI, and sometimes when I boot up the OS, instead of the login screen I get a glitched screen (horizontal bars of pixels of different colours) and it keeps turning on and off for a bit. If I press Ctrl+Alt+F2, I can enter TTY and login, I can run sudo...
I fixed this issue by simply reinstalling GDM. Originally, I thought it's a graphical driver loading issue, but apparently this did the trick. sudo apt install --reinstall gdm3 pop-desktop gnome-shell sudo systemctl reboot Edit: Here's the link to System76's article that I used: https://support.system76.com/articles/...
Pop!OS 20.04 - Glitched screen instead of login screen
1,621,168,052,000
I'm trying to automate the connection of a VPN tunnel via cron upon system boot. I have a bash-script triggered by roots cron sudo crontab -e (because some other commands needs elevation). I'd be fine using piactl (cli), but when trying to connect I get a message saying the client needs to be started, so... One of the...
This is embarrassing as I've already asked this exact question only days ago. Didn't even realize... The solution is to add full path-to-command as the command is not in cron's PATH. Changed the code to: sudo su /sbin/runuser -l $username -c 'DISPLAY=:0 /opt/piavpn/bin/pia-client &> /dev/null &' Source/credit: @steel...
starting GUI application on other users display via roots cron
1,621,168,052,000
I am trying to get an external monitor (Dell) working on my laptop (dell) via a ubc-c docking station (dell). and I am having some issue - Running on an up to date Manjaro (5.4.28-1) Basically while in KDE, the 2nd monitor is detected correctly and signal is going, but I have no image. I can't figure out what is going...
so in desperation I wiped the system and went for a kubuntu 20.04 - I have a dell dev edition so I thought that might help. It did initialy, but after few update it stopped working again. So that made me start looking in KDE. and I finally found it. Appenrently, something, I don't know if it is the laptop, the scree...
XF86-video-intel vs Modesetting for a 2nd Monitor [Manjaro]