Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

3 votes
3 answers
2487 views
Applying mouse settings on startup
linux learner here. (Running on a `Debian`-derived distro) My mouse sensitivity was too high so I was able to change it, but can't seem to get it to apply on startup. I made `/etc/init.d/mouse` When I run `sudo /etc/init.d/mouse start`, the script works fine and the mouse settings are updated. But I...
linux learner here. (Running on a Debian-derived distro) My mouse sensitivity was too high so I was able to change it, but can't seem to get it to apply on startup. I made /etc/init.d/mouse When I run sudo /etc/init.d/mouse start, the script works fine and the mouse settings are updated. But I can't get it to run on startup. I tried running sudo update-rc.d mouse defaults, but it still doesn't update when I log out and back in again. Not sure what else I'm missing in order to make it run on startup. Related question: Is /etc/init.d even the right place to be putting it? Or is there some other startup folder that's better for configuration type changes? (As I read init.d is a folder for applications to be run on startup)
Tiberiu (131 rep)
Nov 23, 2014, 12:42 AM • Last activity: Aug 6, 2025, 05:05 PM
36 votes
7 answers
35709 views
How to get near-perfect screen recording quality?
Someone suggested I direct a copy of the unmodified X display to a file and afterwards convert that file to a general purpose video file. What commands would I use to do this on a Kubuntu system? (Edit: He said something about attaching a display port to a file.) If not possible, what is my best opt...
Someone suggested I direct a copy of the unmodified X display to a file and afterwards convert that file to a general purpose video file. What commands would I use to do this on a Kubuntu system? (Edit: He said something about attaching a display port to a file.) If not possible, what is my best option for an excellent quality screen recording that does not depend on fast hardware? *Background:* I tried using avconv with -f x11grab and some GUI programs. However, no matter what I try, the resulting video either has artifacts/ blurriness or is choppy (missing frames). This is probably due to CPU/ memory constraints. *Goals:* - Video quality must not be noticeably different from seeing the session directly on a screen, because the purpose is to demonstrate an animated application. - The final video must be in a common format that can be sent to Windows users and used on the web. I think H.264 MP4 should work. - The solution should not presume much prior knowledge. I am familiar with the command line and basic Linux commands, but I am still learning Linux and do not know much about video codecs. *What I already tried:* - Best command so far: ffmpeg -f x11grab -s xga -r 30 -i :0.0 -qscale 0.1 -vcodec huffyuv grab.avi, then convert to mp4 with ffmpeg -i grab.avi -sameq -vcodec mpeg4 grab.mp4. - The picture quality is great, but on my test sytem it lags the computer. On a faster target system it does not lag, but frames are obviously skipped, making the video not very *smooth*. - I am still trying to figure out how to save the grab.avi file to SHM to see if that helps. - Using Istanbul and RecordMyDesktop GUI recorders - Simple command: avconv -f x11grab -s xga -r 25 -i :0.0 simple.mpg using avconv version 0.8.3-4:0.8.3-0ubuntu0.12.04.1 - Adding -codec:copy (fails with: Requested output format 'x11grab' is not a suitable output format) - Adding -same_quant (results in great quality, but is very choppy/ missing many frames) - Adding -vpre lossless_ultrafast (fails with: Unrecognized option 'vpre', Failed to set value 'lossless_ultrafast' for option 'vpre') - Adding various values of -qscale - Adding various values of -b - Adding -vcodec h264 (outputs repeatedly: Error while decoding stream #0:0, [h264 @ 0x8300980] no frame!) - Note: h264 is listed in avconv -formats output as DE h264 raw H.264 video format
Oleg Pryadko (2500 rep)
Apr 25, 2013, 04:04 AM • Last activity: Aug 4, 2025, 10:02 AM
503 votes
14 answers
656390 views
How to know whether Wayland or X11 is being used
I just installed the latest Kali Linux on my laptop which was based on Debian 7 (oldstable). I then dist-upgrad-ed the whole thing to Debian 8. I've always wanted Wayland instead of X11, so I installed the necessary packages. Then created a minimal `~./config/weston.ini` configuration. Now, from the...
I just installed the latest Kali Linux on my laptop which was based on Debian 7 (oldstable). I then dist-upgrad-ed the whole thing to Debian 8. I've always wanted Wayland instead of X11, so I installed the necessary packages. Then created a minimal ~./config/weston.ini configuration. Now, from the Gnome login screen: ![Login Screen](https://blogs.gnome.org/mclasen/files/2013/09/login-screen.png) I can boot to Gnome on Wayland or LXDE (among others). The previous with very limited success and the latter (LXDE) almost perfectly, though the panel needs setting up (I have to look up freedesktop). Anyways, in LXDE, the GUI is more responsive than it was on the oldstable and possibly as fast when it was running Windows 7. I was pleased. But I want to know if this is because of all the library/module upgrades from Debian 7 to 8 or from using Wayland (if I really am using Wayland at all). I skimmed through htop and found a /usr/bin/Xorg running and no process named "wayland". So which one am I currently running?
Dehbop (5259 rep)
May 12, 2015, 04:53 AM • Last activity: Aug 1, 2025, 05:49 AM
6 votes
4 answers
10452 views
minimizing & raising a window from a shell script
I am trying to run a script that will check internet speed on a linux machine with gui, bring the terminal window down and when the query is finished , the window will come up with the answer. as for the time being- i can take the window down, but not up. #!/bin/bash xdotool getactivewindow windowmi...
I am trying to run a script that will check internet speed on a linux machine with gui, bring the terminal window down and when the query is finished , the window will come up with the answer. as for the time being- i can take the window down, but not up. #!/bin/bash xdotool getactivewindow windowminimize #xdotool set_window --name speedy #xdotool set_window --icon-name speedy speedtest-cli --simple if [ $? -eq 0 ] then #xdotool windowactivate speedy xdotool windowfocus #speedy xdotool key "F11" fi exec $SHELL
soBusted (941 rep)
Aug 31, 2016, 08:28 AM • Last activity: Jul 31, 2025, 09:08 AM
0 votes
1 answers
2009 views
How do I configure lynx to pass images to xloadimage, xv or zvg?
I know that it's possible to configure `lynx` to pass images (PNG/GIF/JPEG/JPG) to `xloadimage`, `xv` or `zvg` and I've looked online ([Description of lynx configuration][1]; [Use lynx with browser image support][2] ; [Lynx with HTML Images][3]) for documentation for how to do this, to no avail. I'v...
I know that it's possible to configure lynx to pass images (PNG/GIF/JPEG/JPG) to xloadimage, xv or zvg and I've looked online (Description of lynx configuration ; Use lynx with browser image support ; Lynx with HTML Images ) for documentation for how to do this, to no avail. I've tried changing/adding directives to lynx's configuration file (lynx.cfg), without success. What is the correct configuration for images? Do I need to compile lynx from source and, if so, what flags/parameters do I need to specify? Should I rather use Netscape Navigator/Communicator (as that seems to support images without configuration)?
Agi Hammerthief (622 rep)
Mar 15, 2014, 09:17 AM • Last activity: Jul 29, 2025, 01:05 PM
0 votes
1 answers
116 views
Broadcasting a message to users in desktop environments
I'm currently writing a small systemd service that may need to shutdown the computer. I'd like to broadcast a message to all users, e.g. `This computer is going to shutdown at XXX, don't forget save your work.` For terminal users, I could use `wall`, but for users who don't have a terminal open, tha...
I'm currently writing a small systemd service that may need to shutdown the computer. I'd like to broadcast a message to all users, e.g. This computer is going to shutdown at XXX, don't forget save your work. For terminal users, I could use wall, but for users who don't have a terminal open, that's not an option. I know that all the users on this machine use X/Gnome, so they have a freedesktop notification client installed. However, it's not clear to me how I can use the system bus (?) to send freedesktop notifications. How can I do that?
Yoric (103 rep)
Oct 31, 2024, 11:04 AM • Last activity: Jul 28, 2025, 12:44 PM
0 votes
1 answers
2267 views
How to VNC to Ubuntu 19.04 without monitor while connected via SSH
I am trying to figure out how I can VNC to my Ubuntu 19.04 desktop which doesn't have a monitor or keyboard/mouse. I installed Ubuntu 19.04 on an external USB hard drive using my MacBook Air. I then booted Ubuntu on the MacBook Air and installed SSH. Then the above hard drive which has Ubuntu instal...
I am trying to figure out how I can VNC to my Ubuntu 19.04 desktop which doesn't have a monitor or keyboard/mouse. I installed Ubuntu 19.04 on an external USB hard drive using my MacBook Air. I then booted Ubuntu on the MacBook Air and installed SSH. Then the above hard drive which has Ubuntu installed was connected to my headless desktop and Ubuntu boots up perfectly and I was able to connect to my Ubuntu desktop via SSH on my MacBook Air. I installed tightvncserver on Ubuntu via SSH and when I connect to Ubuntu via VNC using MacBook Air, I get a grey screen on VNC. Read many articles and tutorials using xserver-xorg-video-dummy and also using dummy plugs for DVI and none of these works. How can I have Ubuntu boot up normally as if it was connected to a monitor and connect to it using VNC? Seems like Ubuntu 19.04 is not booting up the X server window without a monitor connected. Please don't provide solutions that requires using thrid-party desktop environments when Ubuntu already has a perfectly working desktop environment which only functions when monitor is connected. I booted Ubuntu 19.04 on my MacBook Air and logged in with the normal GUI interface. I started tightvncserver and when I login to VNC I also get a grey screen.
S To (11 rep)
Sep 2, 2019, 03:28 AM • Last activity: Jul 27, 2025, 05:04 AM
5 votes
2 answers
4654 views
Initiate a new (X11) desktop session on a remote host
I would like to start a new `Xorg` server on a **remote** host. At first, I tought this would be as easy as it is on the local host: $ xinit /usr/bin/startxfce4 -- :4 On a _local_ host, this command typed into a (non-graphic) login shell (vt/tty) will start _another_ `Xorg` server, i.e. I will have...
I would like to start a new Xorg server on a **remote** host. At first, I tought this would be as easy as it is on the local host: $ xinit /usr/bin/startxfce4 -- :4 On a _local_ host, this command typed into a (non-graphic) login shell (vt/tty) will start _another_ Xorg server, i.e. I will have a xfce4 desktop after this - and this desktop is _additional_ to my normal desktop started from login from the desktop manager (e.g. sddm). However, if I try that on a _remote_ (fedora) system from the ssh console: X.Org X Server 1.20.6 X Protocol Version 11, Revision 0 Build Operating System: 5.0.6-200.fc29.x86_64 Current Operating System: Linux noah.siteos-lokal.de 5.5.10-200.fc31.x86_64 #1 SMP Wed Mar 18 14:21:38 UTC 2020 x86_64 Kernel command line: BOOT_IMAGE=(hd0,msdos3)/vmlinuz-5.5.10-200.fc31.x86_64 root=/dev/mapper/vg_sdd-root ro rd.luks.uuid=luks-a9eba963-ff2e-499b-a298-0659c5e29359 rd.lvm.lv=vg_sdd/root rd.lvm.lv=vg_sdd/swap rhgb quiet resume=/dev/disk/by-uuid/73299393-6bdb-4230-a1ca-096e5ee32396 splash=silent quiet video.use_native_backlight=1 Build Date: 25 November 2019 12:00:00AM Build ID: xorg-x11-server 1.20.6-1.fc31 Current version of pixman: 0.38.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/tpasch/.local/share/xorg/Xorg.4.log", Time: Fri Apr 3 19:38:52 2020 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) (EE) (EE) Please consult the Fedora Project support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/tpasch/.local/share/xorg/Xorg.4.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error I wonder why it is possible to start _another_ Xorg on the _local_ host but I get this error on a _remote_ host. I'm _not_ expecting to 'see' the new desktop from my ssh terminal. But I would expect that I could ‘export’ the new Xorg rendered desktop with e.g. x11vnc. It there easy way to get this running? The bounty is for: * Showing how to start _another_ Xorg server on a _remote_ fedora machine from a ssh terminal session. The following answers will not be considered: * Using Xvfb, Xvnc or the like. * Using some kind of remote desktop technology (RDP, VNC, Spice, TeamViewer, ...)
aanno (129 rep)
Apr 4, 2020, 05:57 AM • Last activity: Jul 25, 2025, 08:01 PM
0 votes
1 answers
2429 views
Firefox slow over ssh -X (again)
As pointed out in a comment to the question this was about `gfx.xrender.enabled`. The answer can be found in the marked dupe, but it is easy to miss in all the noise talking about ssh and the X11 protocol. Direct link to answer: [https://unix.stackexchange.com/a/557920/66307][1] My problem started h...
As pointed out in a comment to the question this was about gfx.xrender.enabled. The answer can be found in the marked dupe, but it is easy to miss in all the noise talking about ssh and the X11 protocol. Direct link to answer: https://unix.stackexchange.com/a/557920/66307 My problem started happening about a month ago. I'm currently on Firefox 89.0.1. Up until this point, Firefox ran just fine over ssh -X. I'm running it from an Ubuntu machine (server) to an Ubuntu VM (client) and a different Ubuntu machine (server) to Windows 10 (client), both showing the same symptoms. It's not my hardware setup or -X as all machines are wired to a local gigabit switch and other applications (including Thunderbird) run just fine. They are a little slower than if I was running them on their own desktop, but perfectly usable. After it happened, Firefox is just .... slow. I'm using it with --no-remote and the actual window for Firefox appears in under a second. It then hangs there for about 2 minutes until the tabs become usable. The output in my ssh shell reads: $ firefox --no-remote & libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast (firefox:757486): GLib-GIO-CRITICAL **: 10:39:54.241: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed (firefox:757486): GLib-GIO-CRITICAL **: 10:39:54.241: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed (firefox:757486): GLib-GIO-CRITICAL **: 10:39:54.241: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast but that doesn't look too different to what I had before. Can anyone please suggest anything that might speed it up? I'm not really looking for answers telling me that ssh -X is slow (it is, but it's acceptable to me on all other applications) or things to do with compression or cypher suites. My link is fine, except for Firefox.
Skrrp (187 rep)
Jun 24, 2021, 08:55 AM • Last activity: Jul 25, 2025, 05:07 PM
0 votes
1 answers
24 views
Session resets after rearranging the monitors on Fedora
I have an external monitor on my laptop, but it's placed wrong on the right instead of on the left from of my laptop display. When I go to displays configuration on my Fedora 42, I can rearrange it. However, when I click Apply all my windows get closed and my Plasma session resets. After I log back...
I have an external monitor on my laptop, but it's placed wrong on the right instead of on the left from of my laptop display. When I go to displays configuration on my Fedora 42, I can rearrange it. However, when I click Apply all my windows get closed and my Plasma session resets. After I log back in, the monitors are still placed in the wrong way. I cannot change the settings. I'm using X11, the problem doesn't appear on Wayland. Using xrandr doesn't help – the same behavior repeats. This is the output of lspci | grep VGA: 00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01) 01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1) How to rearrange my displays so that it doesn't break my DE?
camilajenny (147 rep)
Jul 25, 2025, 10:56 AM
3 votes
1 answers
6624 views
How do I start KDE Desktop via X11? CentOS 7
I wonder how to start the KDE Desktop via X11 on my CentOS 7. So I installed: yum groupinstall "KDE Plasma Workspaces" -y and set: systemctl set-default graphical.target I am using `putty` from a Windows 10 client with working ssh login and I set the "Enable X11 forwarding". I also installed `Xming`...
I wonder how to start the KDE Desktop via X11 on my CentOS 7. So I installed: yum groupinstall "KDE Plasma Workspaces" -y and set: systemctl set-default graphical.target I am using putty from a Windows 10 client with working ssh login and I set the "Enable X11 forwarding". I also installed Xming and tried xclock& and xeyes& in my terminal. Both are working like a charm.
Georodin (159 rep)
Apr 13, 2018, 09:32 PM • Last activity: Jul 25, 2025, 01:04 AM
7 votes
2 answers
3387 views
setxkbmap switches between 2 out of 3 layouts
Issuing that command: setxkbmap -layout "us,ua,ru" -variant ",winkeys" -option "grp:shift_caps_toggle,grp_led:scroll" -model pc105 -rules xorg When hitting Caps Lock + Shift I'm switching between English (us) and Ukrainian (ua) layouts, but not Russian (ru). I've tried to reset it with the following...
Issuing that command: setxkbmap -layout "us,ua,ru" -variant ",winkeys" -option "grp:shift_caps_toggle,grp_led:scroll" -model pc105 -rules xorg When hitting Caps Lock+Shift I'm switching between English (us) and Ukrainian (ua) layouts, but not Russian (ru). I've tried to reset it with the following command: setxkbmap -layout "us,ua,ru" -option "" and played with many different options - nothing helps. My system is Gentoo Linux and window manager wmii.
archer (171 rep)
Jan 31, 2013, 06:11 PM • Last activity: Jul 22, 2025, 07:05 PM
0 votes
0 answers
11 views
phosh gives me an error and phoc opens up empty black screen or few apps which I try to open hence onwards
As far as I know `pho` stands for `phone` I think,- When I run `phosh` I getting following error :~$ phosh (phoc:9139): phoc-wlroots-CRITICAL **: 16:28:35.127: [libseat] [libseat/backend/logind.c:131] Could not take device: Device or resource busy (phoc:9139): phoc-wlroots-CRITICAL **: 16:28:35.127:...
As far as I know pho stands for phone I think,- When I run phosh I getting following error :~$ phosh (phoc:9139): phoc-wlroots-CRITICAL **: 16:28:35.127: [libseat] [libseat/backend/logind.c:131] Could not take device: Device or resource busy (phoc:9139): phoc-wlroots-CRITICAL **: 16:28:35.127: [backend/session/session.c:322] Failed to open device: '/dev/dri/card0': Resource temporarily unavailable (phoc:9139): phoc-wlroots-CRITICAL **: 16:28:35.127: [backend/backend.c:217] Found 0 GPUs, cannot create backend (phoc:9139): phoc-wlroots-CRITICAL **: 16:28:35.127: [backend/backend.c:311] failed to add backend 'drm' (phoc:9139): phoc-server-CRITICAL **: 16:28:35.151: Failed to create server: Could not create backend and phoc opens up blank empty black screen or it opens up the few of the apps whatever I try to open after, for example eclipse ide enter image description here while I close phoc window, I get the following terminal output phoc-output-Message: 16:32:20.323: Output 'X11-1' added ('The X.Org Foundation'/'11.0'/''), 0mm x 0mm I would like know what is use of this phoc and phosh
Dev Anand Sadasivam (131 rep)
Jul 18, 2025, 11:13 AM • Last activity: Jul 18, 2025, 11:37 AM
0 votes
4 answers
9543 views
How to visualise eml files?
I have many email archived in `eml` format. The problem is that I can't view them without installing an email client and importing eml files, which is tedious and not what i want. Ideally, I would like to find something like a pdf viewer that opens when you click on the file. I currently use `munpac...
I have many email archived in eml format. The problem is that I can't view them without installing an email client and importing eml files, which is tedious and not what i want. Ideally, I would like to find something like a pdf viewer that opens when you click on the file. I currently use munpack -t that extracts attachments and text in separate files. It kinda works but it's tedious. As a reference, when I am on a Windows desktop, I use quicklook which opens the eml file like any other text or pdf file. Any idea ?
GnuSam (41 rep)
Oct 19, 2022, 08:29 AM • Last activity: Jul 18, 2025, 01:40 AM
4 votes
2 answers
4041 views
Startx as non-root user via SSH
I have a remote VM running Ubuntu 1804 and would like to run VNC. I am using x11vnc, which requires an X server to be running. Currently, I'm connected through SSH. The VM has an Nvidia card, and after generating the xorg.conf with nvidia-xconfig, I can start an X session using startx, but only as r...
I have a remote VM running Ubuntu 1804 and would like to run VNC. I am using x11vnc, which requires an X server to be running. Currently, I'm connected through SSH. The VM has an Nvidia card, and after generating the xorg.conf with nvidia-xconfig, I can start an X session using startx, but only as root. Any subsequent connection via VNC is with root, which I want to avoid. The Device section in xorg.conf file looks like this:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Tesla K80"
    BusID          "0:30:0"
EndSection
When trying to launch startx as a non-root user, I get the following:
/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
If I change the /etc/X11/Xwrapper.config to allow anybody to startx, I get the following:
Couldn't get a file descriptor referring to the console
I've been reading that connecting via SSH doesn't mean that you're connected to a text console, which you need to run startx. Trying to change to a text console with chvt fails doesn't change anything. Is there anyway that I can launch X via SSH?
Markus Schlafli (141 rep)
Nov 26, 2019, 05:02 PM • Last activity: Jul 17, 2025, 03:02 AM
6 votes
1 answers
642 views
What is the purpose of the X11 request "RotateProperties"?
The X Window System Protocol has a request RotateProperties: https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#requests:RotateProperties > If the property names in the list are viewed as being numbered starting from zero, and there are N property names in the list, then the value associ...
The X Window System Protocol has a request RotateProperties: https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#requests:RotateProperties > If the property names in the list are viewed as being numbered starting from zero, and there are N property names in the list, then the value associated with property name I becomes the value associated with property name (I + delta) mod N, for all I from zero to N - 1. The effect is to rotate the states by delta places around the virtual ring of property names (right for positive delta, left for negative delta). This seems...esoteric. What would be the intended use case for this request?
Nick Matteo (1617 rep)
Jul 15, 2025, 07:13 PM • Last activity: Jul 15, 2025, 08:10 PM
0 votes
1 answers
2967 views
Xrdp session has wrong display screen size and aspect ratio
I am using remote desktop on a windows machine to connect to a CentOS 7 machine running a Xrdp server. Recently I had a problem with an application, where the avaialable openGL version (2.1) was not enough and it suggested either updating it, or using VNC. While trying to make a VNC connection to wo...
I am using remote desktop on a windows machine to connect to a CentOS 7 machine running a Xrdp server. Recently I had a problem with an application, where the avaialable openGL version (2.1) was not enough and it suggested either updating it, or using VNC. While trying to make a VNC connection to work I made several updates inlcuding a Kernel update. I could not get the turboVNC to work at the same time than Xrdp, and damaged the settings somehow. Now, when I connect to the Xrdp session the Gnome shell window is very small and has a weird aspect ratio, making it unusable (see picture below, the black area is the the size of my screen). Even if logged out of the gnome session, where I am able to select other shell (KDE, for example) I still have the same window size. enter image description here Since I could not find a similar problem, I am not sure what is causing the problem. How could I return the size of the window to its original shape and size?
thomaseh (1 rep)
Jun 3, 2021, 03:50 PM • Last activity: Jul 13, 2025, 09:05 PM
9 votes
2 answers
11523 views
Why do the command cvt and gtf give different frequency values
I am trying to setup a xrandr mode line for a X display but in attempting to find the appropriate parameters, I note there are two different calculation programs (see below). Why the difference in values? Which set should I use for a NON-CRT display? $ gtf 1600 1200 60 # 1600x1200 @ 60.00 Hz (GTF) h...
I am trying to setup a xrandr mode line for a X display but in attempting to find the appropriate parameters, I note there are two different calculation programs (see below). Why the difference in values? Which set should I use for a NON-CRT display? $ gtf 1600 1200 60 # 1600x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 160.96 MHz Modeline "1600x1200_60.00" 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -HSync +Vsync $ cvt 1600 1200 60 # 1600x1200 59.87 Hz (CVT 1.92M3) hsync: 74.54 kHz; pclk: 161.00 MHz Modeline "1600x1200_60.00" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync
mdpc (6991 rep)
Dec 21, 2017, 12:27 AM • Last activity: Jul 13, 2025, 12:05 PM
1 votes
1 answers
2240 views
Blank screen at startup, xset is unable to open display ""
Seemingly from out of nowhere, I get a blank screen during startup on Arch Linux. Going into the TTY shows me ``` xset: unable to open display "" Unable to connect to X server ``` I use X11, LightDM and i3. Here LightDM seems to be able to show a blank screen with a cross as a cursor (both during st...
Seemingly from out of nowhere, I get a blank screen during startup on Arch Linux. Going into the TTY shows me
xset:  unable to open display ""
Unable to connect to X server
I use X11, LightDM and i3. Here LightDM seems to be able to show a blank screen with a cross as a cursor (both during startup and after running lightdm in the TTY). I suspect it can be can be caused of i3, since the file ~/.xsession-errors has the content
i3status: trying to auto-detect output_format setting
i3status: auto-detected "i3bar"
i3status: exiting due to signal.
However, running exec i3 -V -d all &>> "$HOME/i3.log" only shows i3: Cannot open display, so perhaps its not i3. When running htop, I can see that Xorg is running with command
/usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
which should tell me that the correct display indeed is :0. I tried export DISPLAY=":0", but I don't know what to do after this. I did update my system yesterday via pacman, could something there have caused this? I see that i3wm for Arch was updated a couple of days ago, which could explain it. What should I do in order to get it working?
aahlback (31 rep)
Feb 2, 2022, 12:07 PM • Last activity: Jul 13, 2025, 05:05 AM
20 votes
9 answers
30198 views
Map Caps Lock to Control in Linux Mint
I am running the latest version of Linux Mint with Cinnamon. I'm trying to map Caps Lock to Ctrl , but I cannot figure out how to do it. All web searches I've done have led me to older versions of Linux Mint (there is no keyboard layout option in my settings). How can I do this?
I am running the latest version of Linux Mint with Cinnamon. I'm trying to map Caps Lock to Ctrl, but I cannot figure out how to do it. All web searches I've done have led me to older versions of Linux Mint (there is no keyboard layout option in my settings). How can I do this?
Zach Russell (1127 rep)
Feb 7, 2014, 11:59 AM • Last activity: Jul 11, 2025, 07:02 PM
Showing page 1 of 20 total questions