Sample Header Ad - 728x90

Unix & Linux Stack Exchange

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

Latest Questions

0 votes
2 answers
7767 views
Cannot change ViewportOut in Nvidia X Server Settings
I have 2 monitors on Nvidia Card: - First: 1440x900 - Second: 1280x1024 The first one works great.  The second one has a resolution of 640x480.  In Nvidia settings, I can choose only 640x480.  If I change ViewportOut, it drops to 640x480. It would be very cool...
I have 2 monitors on Nvidia Card: - First: 1440x900 - Second: 1280x1024 The first one works great.  The second one has a resolution of 640x480.  In Nvidia settings, I can choose only 640x480.  If I change ViewportOut, it drops to 640x480. It would be very cool if I could change resolution in xorg.conf.
Alex (21 rep)
Mar 27, 2015, 02:53 PM • Last activity: Aug 5, 2025, 07:02 PM
0 votes
1 answers
4770 views
How can I change the screen resolution of Slax?
[Slax][1] uses X.org for managing its GUI. However, when I boot Slax (specifically in a VM), the resolution gets capped at 1024x768. How can I increase the resolution to more fully utilize the screen estate available on my display? I have already attempted to follow the old advice from the following...
Slax uses X.org for managing its GUI. However, when I boot Slax (specifically in a VM), the resolution gets capped at 1024x768. How can I increase the resolution to more fully utilize the screen estate available on my display? I have already attempted to follow the old advice from the following sources: - http://old.slax.org/forum.php?action=view&parentID=25516 - http://www.linuxquestions.org/questions/mandriva-30/changing-screen-resolution-552768 - http://slaxlive.blogspot.com/2005/07/slax-linux-step-by-step-first-step.html
warren (1920 rep)
Mar 25, 2014, 08:02 PM • Last activity: Jul 23, 2025, 11:04 PM
0 votes
1 answers
2153 views
How can I change the screen resolution?
I'm running Tails. - Can't use the settings menu to do it, there's only one option there and it's like 600x800 which is the problem, I think - Can't figure out what the display name is for my monitor, have tried using `w` but it tells me my console's not wide enough to do it. I cannot make the windo...
I'm running Tails. - Can't use the settings menu to do it, there's only one option there and it's like 600x800 which is the problem, I think - Can't figure out what the display name is for my monitor, have tried using w but it tells me my console's not wide enough to do it. I cannot make the window bigger because of my screen resolution. It already looks huge. - All the solutions I've found involve using xrandr, but I need to know the display name of my monitor to do them. I have run out of ideas.
eddie_cat (101 rep)
Jan 5, 2017, 12:39 AM • Last activity: Jul 14, 2025, 01:06 AM
26 votes
3 answers
175377 views
How to scale the resolution/display of the desktop and/or applications?
While using Xorg X11, on KDE/Gnome/XFCE **how can we scale the display/resolution** for the whole desktop and/or per application? **(when this is not available on the settings GUI)** The purpose is to keep the screen resolution unchanged (at max) while scaling the size (bigger/smaller) of the deskto...
While using Xorg X11, on KDE/Gnome/XFCE **how can we scale the display/resolution** for the whole desktop and/or per application? **(when this is not available on the settings GUI)** The purpose is to keep the screen resolution unchanged (at max) while scaling the size (bigger/smaller) of the desktop/applications.
intika (15066 rep)
Jul 5, 2020, 08:46 PM • Last activity: Jun 24, 2025, 08:59 PM
0 votes
1 answers
1935 views
Lower possible screen resolution on MX Linux than Windows
I'm running MX Linux and Windows on the same machine. I'm using an LCD television screen connected via HDMI to the graphics card (NVIDIA GeForce RTX 2070 SUPER). **My problem:** - On Windows, I can select resolutions way higher than 1024x768 (i.e. 1920x1080 and above). - However, on MX Linux, 1024x7...
I'm running MX Linux and Windows on the same machine. I'm using an LCD television screen connected via HDMI to the graphics card (NVIDIA GeForce RTX 2070 SUPER). **My problem:** - On Windows, I can select resolutions way higher than 1024x768 (i.e. 1920x1080 and above). - However, on MX Linux, 1024x768 is the highest resolution (800x600 and 640x480 are also selectable). - Display settings in MX Linux only show one screen labelled "default". **I tried:** - using xrandr as described here . - "xrandr --newmode (...)" gives the error(/warning?): "Failed to get size of gamma for output default". - "xrandr --addmode default "1920x1080_60.00"" also gives "Failed to get size of gamma for output default". - "xrandr --output default --mode "1920x1080_60.00"" gives the **additional** message: "Configure crtc 0 failed". - no change in display happened after that. - using arandr (GUI) *after* typing the above commands: - "default" is shown as screen - right-click --> resolution: shows the 3 resolutions mentioned above, *and also* "1920x108060.00" - selecting "1920x108060.00" and hitting the check sign --> pop-up error message: "(...) error code 1: xrandr: Failed to get size of gamma for output default" and "xrandr: Configure crtc 0 failed". - no change in display happened after that. I would appreciate any help. It is kind of inconvient having to work with this low (and stretched!) resolution on a 42'' LCD TV screen ;)
Nico Autia (101 rep)
Apr 18, 2020, 09:32 AM • Last activity: Jun 17, 2025, 12:02 PM
1 votes
1 answers
2451 views
How to change linux text mode resolution? GRUB_GFXMODE didn't help
After I set `GRUB_GFXMODE` it affected GRUB menu and some of subsequent printouts, but in the middle of boot, text becomes very small again, and I still want to make resolution smaller. Where else the resolution is changing during boot? Any usage of `fbmode` reports unknown mode or invalid argument:...
After I set GRUB_GFXMODE it affected GRUB menu and some of subsequent printouts, but in the middle of boot, text becomes very small again, and I still want to make resolution smaller. Where else the resolution is changing during boot? Any usage of fbmode reports unknown mode or invalid argument:
$ sudo fbset 1920x1200-32
Unknown video mode `1920x1200-32'

$ sudo fbset 1920x1200
Unknown video mode `1920x1200'

$ sudo fbset 640x480-60
ioctl FBIOPUT_VSCREENINFO: Invalid argument

$ sudo fbset 640x480
Unknown video mode `640x480'

$ sudo fbset 640x480-8
Unknown video mode `640x480-8'
and so on.
Dims (3425 rep)
Jun 18, 2019, 02:20 PM • Last activity: Jun 13, 2025, 12:07 AM
2 votes
1 answers
4590 views
WPS Office determines screen resolution incorrectly
I'm trying out [WPS Office](http://wps-community.org/) (version Alpha21 10.1.0.5672~a21). The first issue I'm running into is a display bug: the display is compressed horizontally (or elongated vertically, whichever). Only the document display is affected, the user interface part is fine. This isn't...
I'm trying out [WPS Office](http://wps-community.org/) (version Alpha21 10.1.0.5672~a21). The first issue I'm running into is a display bug: the display is compressed horizontally (or elongated vertically, whichever). Only the document display is affected, the user interface part is fine. This isn't a font issue: I see this with every font, and with figures. In the screenshot below, the blue rectangle is in fact a 1cm×1cm square, and the PDF output is correct. screenshot On startup, WPS Office shows a “System Check” window which mentions > System DPI is asymmetric. WPS Office may have display issues. The “solution” link leads to http://community.wps.cn/wiki/dpix_not_equal_dpiy which is a broken link. If the solution exists anywhere on the web now, I can't find it (possibly because it's in Chinese only). xrandr output (that's actually 158dpi both horizontally and vertically, so whatever WPS Office is doing to determine the resolution, it's mistaken): Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 173mm I use Sawfish without a destkop environment. [Fouad](https://unix.stackexchange.com/users/247050/fouad) reports that he has the same issue under XFCE, but not under Cinnamon. How can I make WPS Office display document content at a correct aspect ratio?
Gilles 'SO- stop being evil' (862297 rep)
Oct 5, 2016, 10:12 AM • Last activity: Jun 11, 2025, 07:03 AM
0 votes
0 answers
49 views
Cannot set full native resolution of external monitor
I have a Thinkpad X1 Carbon Gen 12 with the following specs: ``` $ inxi -Fzxx System: Kernel: 6.14.9-300.fc42.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.1.1 Desktop: GNOME v: 48.2 tk: GTK v: 3.24.49 wm: gnome-shell dm: GDM Distro: Fedora Linux 42 (Workstation Edition) Machine: Type: Laptop Sys...
I have a Thinkpad X1 Carbon Gen 12 with the following specs:
$ inxi -Fzxx                                          
System:
  Kernel: 6.14.9-300.fc42.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
  Desktop: GNOME v: 48.2 tk: GTK v: 3.24.49 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 42 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 21KCCTO1WW v: ThinkPad X1 Carbon Gen 12
    serial:  Chassis: type: 10 serial: 
  Mobo: LENOVO model: 21KCCTO1WW serial: 
    part-nu: LENOVO_MT_21KC_BU_Think_FM_ThinkPad X1 Carbon Gen 12 UEFI: LENOVO
    v: N3YET74W (1.39 ) date: 12/18/2024
Battery:
  ID-1: BAT0 charge: 21.0 Wh (38.8%) condition: 54.1/57.0 Wh (94.9%)
    volts: 11.2 min: 11.7 model: BYD 5B11H56386 serial: 
    status: discharging
CPU:
  Info: 16-core (6-mt/10-st) model: Intel Core Ultra 7 155H bits: 64
    type: MST AMCP arch: Meteor Lake rev: 4 cache: L1: 1.6 MiB L2: 18 MiB
    L3: 24 MiB
  Speed (MHz): avg: 400 min/max: 400/4500:4800:3800:2500 cores: 1: 400
    2: 400 3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400
    12: 400 13: 400 14: 400 15: 400 16: 400 17: 400 18: 400 19: 400 20: 400
    21: 400 22: 400 bogomips: 131788
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Meteor Lake-P [Intel Arc Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Xe-LPG ports: active: eDP-1 empty: DP-1, DP-2,
    DP-3, DP-4, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:7d55
  Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    compositor: gnome-shell driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Samsung 0x419f res: 2880x1800 dpi: 242
    diag: 356mm (14")
  API: OpenGL v: 4.6 vendor: intel mesa v: 25.0.6 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel Arc Graphics (MTL)
    device-ID: 8086:7d55 display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Meteor Lake IPU vendor: Lenovo driver: N/A bus-ID: 00:05.0
    chip-ID: 8086:7d19
  Device-2: Intel Meteor Lake-P HD Audio vendor: Lenovo
    driver: sof-audio-pci-intel-mtl bus-ID: 00:1f.3 chip-ID: 8086:7e28
  API: ALSA v: k6.14.9-300.fc42.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.4.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Wi-Fi 7 AX1775 /AX1790 /BE20 /BE401/BE1750 2x2
    driver: iwlwifi v: kernel pcie: speed: 16 GT/s lanes: 1 bus-ID: 09:00.0
    chip-ID: 8086:272b
  IF: wlp9s0f0 state: up mac: 
Bluetooth:
  Device-1: Intel BE200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-10:4 chip-ID: 8087:0036
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address:  bt-v: 5.4
    lmp-v: 13
Drives:
  Local Storage: total: 931.51 GiB used: 651.65 GiB (70.0%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN850X 1000GB
    size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 serial:  temp: 36.9 C
Partition:
  ID-1: / size: 929.91 GiB used: 651.28 GiB (70.0%) fs: btrfs dev: /dev/dm-0
    mapped: luks-5a7cd77f-8bf6-4f84-b372-70e01085de13
  ID-2: /boot size: 973.4 MiB used: 360.1 MiB (37.0%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 929.91 GiB used: 651.28 GiB (70.0%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-5a7cd77f-8bf6-4f84-b372-70e01085de13
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  Src: /sys System Temperatures: cpu: 54.0 C mobo: N/A
  Fan Speeds (rpm): cpu: 4654 fan-2: 4183
Info:
  Memory: total: 32 GiB note: est. available: 30.78 GiB used: 7.25 GiB (23.6%)
  Processes: 537 Power: uptime: 4d 6h 56m wakeups: 7 Init: systemd v: 257
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 22
    Compilers: gcc: 15.1.1 Shell: Zsh v: 5.9 running-in: gnome-terminal
    inxi: 3.3.38
My problem is that I cannot set the resolution on my external monitor (LG 34UM95-P) to 3440 x 1440 when I connect the laptop with the monitor via HDMI. The maximum that I get is 1980 x 1080. Interestingly, when I connect the monitor via a USB-C dongle, it sporadically works with the 3440 x 1440 resolution (I need to plug/unplug multiple times for this to work). Most of the time, I only get a black screen though. Here is what I have tried so far: - Changed the HDMI cable (e.g., used HDMI 2.1 cable). Did not solve the issue. - Checked with different laptops. On the Macbook Air M4 it works, on a Dell (Intel Arc; same GPU) with Ubuntu it does not work. - Checked with a different OS on the same laptop. It works on my Lenovo when I install/use Windows 11. - Installed the latest firmware and OS updates. No changes. I am running out of options. I believe that this is a driver problem with the Intel Arc GPU, but I am not sure how I can solve this issue since my drivers are all up to date.
user3475602 (101 rep)
Jun 7, 2025, 04:11 PM
3 votes
2 answers
2001 views
Can change monitor resolution of a SyncMaster SA850 and Intel HD graphics
I have installed Debian 7.2 from liveUSB and connected the monitor Samsung SyncMaster SA850 with DVI cable into integrated Intel HD graphics. However I have very low resolution and can't change it. In addition, the system doesn't want to shut down (drivers update didn't help). With VGA cable everyth...
I have installed Debian 7.2 from liveUSB and connected the monitor Samsung SyncMaster SA850 with DVI cable into integrated Intel HD graphics. However I have very low resolution and can't change it. In addition, the system doesn't want to shut down (drivers update didn't help). With VGA cable everything works fine. Configuration: I have ASUS H87-Pro motherboard and Intel Core i7-4770K. Linux kernel 3.2.0-4-amd64
anatoly (131 rep)
Dec 25, 2013, 01:13 PM • Last activity: Jun 1, 2025, 10:00 AM
1 votes
1 answers
5882 views
Force screen resolution in Lubuntu
Connecting an ASRock Beebox N3000 with Lubuntu 16.04 to a Sony Bravia with a HDMI cable this is the output of `xrandr`: Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 DP1 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis...
Connecting an ASRock Beebox N3000 with Lubuntu 16.04 to a Sony Bravia with a HDMI cable this is the output of xrandr: Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 DP1 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis) HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 735mm x 420mm 1920x1080i 50.00*+ 60.00 59.94 1280x720 60.00 50.00 59.94 720x576 50.00 720x576i 50.00 720x480 60.00 59.94 720x480i 60.00 59.94 640x480 60.00 59.94 HDMI2 disconnected (normal left inverted right x axis y axis) HDMI3 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) 1920x1080i is supposed to work well, but it results in a too wide desktop, such that it does not stay within the screen limits. Another laptop connected by VGA performs reasonably well with 1360x768, but this resolution is not supported here. xrandr --addmode HDMI1 1360x768 results in xrandr: cannot find mode "1360x768" don't know if this modeline can be added. I have also tried to change the TV configuration, but there's little to do under a HDMI connection.
nightcod3r (972 rep)
Jan 12, 2017, 11:04 PM • Last activity: May 19, 2025, 03:03 AM
2 votes
1 answers
3380 views
How to lower or change my TTY resolution?
How to lower or change my TTY (1-6) resolution? - System: Linux Mint 20.1 64-bit, kernel 5.4.0-74-generic, Nvidia proprietary display driver. `/etc/default/grub`: ``` GRUB_GFXMODE=1024x768 GRUB_GFXPAYLOAD=1024x768 GRUB_GFXPAYLOAD_LINUX=1024x768 ``` `/etc/grub.d/00_header`: ``` #if [ "x${GRUB_GFXMODE...
How to lower or change my TTY (1-6) resolution? - System: Linux Mint 20.1 64-bit, kernel 5.4.0-74-generic, Nvidia proprietary display driver. /etc/default/grub:
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768
/etc/grub.d/00_header:
#if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=auto ; fi
if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1024x768 ; fi
if [ "x${GRUB_GFXPAYLOAD}" = "x" ] ; then GRUB_GFXPAYLOAD=1024x768 ; fi
...
set gfxmode=${GRUB_GFXMODE}
set gfxpayload=${GRUB_GFXPAYLOAD}
On UEFI, calling videoinfo for the list of supported resolutions: GRUB <code class=videoinfo" class="img-fluid rounded" style="max-width: 100%; height: auto; margin: 10px 0;" loading="lazy"> *** I feel desperate already as nothing I tried changes my laptop's native resolution of 3840x2160. *** After changes, these were called:
update-initramfs -u
update-grub
Vlastimil Buri&#225;n (30505 rep)
Jun 11, 2021, 05:28 AM • Last activity: Apr 23, 2025, 03:02 PM
3 votes
3 answers
4261 views
Win-Kex Screen Resolution
I've started using the Win-Kex package in order to create a GUI for WSL2 Kali Linux. It runs okay, however the tigerVNC viewer appears blurry & hard to read. [![enter image description here][1]][1] After investigating, I discovered that it is caused by Windows scaling and layout setting (which is se...
I've started using the Win-Kex package in order to create a GUI for WSL2 Kali Linux. It runs okay, however the tigerVNC viewer appears blurry & hard to read. enter image description here After investigating, I discovered that it is caused by Windows scaling and layout setting (which is set to the default of 150%). If I change this to 100% Kali Linux appears fine, however then Windows icons and text is too small. enter image description here I knew there used to be a trick to change the high DPI settings for individual apps (however, as the exe is hosted in WSL I am unable to use this setting) Any idea's on how to fix this? Thanks, Jack
Jack (31 rep)
Sep 9, 2020, 06:25 PM • Last activity: Apr 18, 2025, 11:07 PM
0 votes
2 answers
2702 views
Change screen resolution of Xenserver Console for a CentOS VM
I need to increase screen resolution to 1024x800 for my XEN console. I tried to place vga=791 at the end of kernel line the file `/boot/grub/grub.conf` but it seems that most of the boot arguments are ignored during startup. Probably inside XenSever /boot is not really used in order to launch CentOS...
I need to increase screen resolution to 1024x800 for my XEN console. I tried to place vga=791 at the end of kernel line the file /boot/grub/grub.conf but it seems that most of the boot arguments are ignored during startup. Probably inside XenSever /boot is not really used in order to launch CentOS. I even tried to add boot option in the boot option tab (VM -> Property -> Boot Option) but doesn't work.
Max Cuttins (153 rep)
Feb 27, 2014, 01:14 PM • Last activity: Apr 18, 2025, 03:05 AM
0 votes
1 answers
2096 views
set kms specific resolution at boot time
i'm trying to set a specific resolution for kms, at boot time. by default kms choose the highest resolution available (2500x1600) which is a bit hard to read. i'd like to set 1440x900 instead. i tried two things via grub, the first one: ``` GRUB_GFXMODE=1440x900 GRUB_GFXPAYLOAD_LINUX=keep GRUB_GFXPA...
i'm trying to set a specific resolution for kms, at boot time. by default kms choose the highest resolution available (2500x1600) which is a bit hard to read. i'd like to set 1440x900 instead. i tried two things via grub, the first one:
GRUB_GFXMODE=1440x900
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_GFXPAYLOAD_LINUX=1440x900
but that didn't help, the system act just the same, no matter if it is there or not, it just continue to use 2500x1600. the other thing i tried instead is setting a kernel parameter like so:
GRUB_CMDLINE_LINUX_DEFAULT="video=1440x900"
that kind of helped a bit, the resolution changed, it's much better and readable but then, the virtual_size didn't change accordingly, it's still 2500x1600, meaning my tty is much bigger than the screen itself and so i only see the upper_left part of a larger term. how can i force kms to a specific resolution ? thanks
nsklaus (1 rep)
May 24, 2019, 05:49 AM • Last activity: Mar 9, 2025, 06:05 PM
1 votes
0 answers
979 views
How to set display refresh rate to 120Hz via HDMI?
I have a display that supports 280 Hz and although I'm limited to an old Intel HD610 via HDMI, **on Windows I'm able to set the refresh rate up to 120 Hz** (checked on display menu), but on Linux I can only go to 99 Hz maximum. What I'm doing: cvt 1920 1080 120 Which prints: # 1920x1080 119.93 Hz (C...
I have a display that supports 280 Hz and although I'm limited to an old Intel HD610 via HDMI, **on Windows I'm able to set the refresh rate up to 120 Hz** (checked on display menu), but on Linux I can only go to 99 Hz maximum. What I'm doing: cvt 1920 1080 120 Which prints: # 1920x1080 119.93 Hz (CVT) hsync: 139.12 kHz; pclk: 369.50 MHz Modeline "1920x1080_120.00" 369.50 1920 2080 2288 2656 1080 1083 1088 1160 -hsync +vsync Then: xrandr --newmode "1920x1080_120.00" 369.50 1920 2080 2288 2656 1080 1083 1088 1160 -hsync +vsync And: xrandr --addmode HDMI1 1920x1080_120.00 Finally, when I try to set this custom refresh rate (via Xfce Display app), nothing happens; it goes back to the previous refresh rate. I did the same process with 90 Hz and it worked, but that's the maximum I could go. My xorg (v1.20.10) log contains this interesting information: intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20190822 [ 3.606] (II) intel(0): Supported standard timings: [ 3.606] (II) intel(0): #0: hsize: 1280 vsize 720 refresh: 60 vid: 49281 [ 3.606] (II) intel(0): #1: hsize: 1280 vsize 720 refresh: 75 vid: 53121 [ 3.606] (II) intel(0): #2: hsize: 1280 vsize 800 refresh: 60 vid: 129 [ 3.606] (II) intel(0): #3: hsize: 1280 vsize 800 refresh: 75 vid: 3969 [ 3.606] (II) intel(0): #4: hsize: 1920 vsize 1080 refresh: 60 vid: 49361 [ 3.606] (II) intel(0): #5: hsize: 1920 vsize 1080 refresh: 85 vid: 55761 [ 3.606] (II) intel(0): #6: hsize: 1920 vsize 1080 refresh: 100 vid: 59601 [ 3.606] (II) intel(0): #7: hsize: 1920 vsize 1080 refresh: 120 vid: 64721
Fulalas (119 rep)
Feb 9, 2021, 08:21 AM • Last activity: Mar 7, 2025, 03:35 PM
0 votes
2 answers
61 views
Does convert from imagemagick misinterpret the resolution- or density-related metadata of PNG?
Let's grab a DIN A4 paper sheet in PNG format from https://www.a4-size.com/download/335/?tmstv=1739899566 . After unpacking the obtained archive, we get a4-size-portrait-pixels-600dpi.png. Let's inspect its meta data: ```bash $ exiftool a4-size-portrait-pixels-600dpi.png ExifTool Version Number : 12...
Let's grab a DIN A4 paper sheet in PNG format from https://www.a4-size.com/download/335/?tmstv=1739899566 . After unpacking the obtained archive, we get a4-size-portrait-pixels-600dpi.png. Let's inspect its meta data:
$ exiftool a4-size-portrait-pixels-600dpi.png 
ExifTool Version Number         : 12.57
File Name                       : a4-size-portrait-pixels-600dpi.png
Directory                       : .
File Size                       : 5.2 kB
File Modification Date/Time     : 2020:08:28 10:46:09+02:00
File Access Date/Time           : 2025:02:18 18:47:15+01:00
File Inode Change Date/Time     : 2025:02:18 18:43:03+01:00
File Permissions                : -rw-r--r--
File Type                       : PNG
File Type Extension             : png
MIME Type                       : image/png
Image Width                     : 4961
Image Height                    : 7016
Bit Depth                       : 1
Color Type                      : Palette
Compression                     : Deflate/Inflate
Filter                          : Adaptive
Interlace                       : Noninterlaced
Palette                         : 255 255 255
Image Size                      : 4961x7016
Megapixels                      : 34.8
As we see, the resolution/density tags are missing. So let's add them, using https://unix.stackexchange.com/a/791125 :
$ dpi=600 && exiftool -o a4-size-portrait-pixels-600dpi.exiftool.png -XResolution=$dpi -YResolution=$dpi -ResolutionUnit=inches -PixelsPerUnitX=$(( dpi * 10000 / 254 )) -PixelsPerUnitY="$(( dpi * 10000 / 254 ))" -PixelUnits=meters a4-size-portrait-pixels-600dpi.png 
    1 image files created
But now:
$ convert a4-size-portrait-pixels-600dpi.exiftool.png -density 600 a4-size-portrait-pixels-600dpi.exiftool.convert.pdf
$ pdfinfo a4-size-portrait-pixels-600dpi.exiftool.convert.pdf
Title:           a4-size-portrait-pixels-600dpi.exiftool.convert
Producer:        https://imagemagick.org 
CreationDate:    Tue Feb 18 18:55:03 2025 CET
ModDate:         Tue Feb 18 18:55:03 2025 CET
Custom Metadata: no
Metadata Stream: no
Tagged:          no
UserProperties:  no
Suspects:        no
Form:            none
JavaScript:      no
Pages:           1
Encrypted:       no
Page size:       234.378 x 331.465 pts
Page rot:        0
File size:       35775 bytes
Optimized:       no
PDF version:     1.3
As we see, the page size is wrong. In Postscript points, the right size would have been 595 × 842 pts. What's going on here? Are we overusing exiftool+convert, or is convert simply wrong? We might suspect that we shouldn't need to tell the toolchain the density/resolution more than once. However, (in the ideal world) you should be able to say as often as you wish how big your pixel or your dot is (in our case, 1/600 of an inch wide and 1/600 of an inch high) to any tool in the toolchain.
AlMa1r (1 rep)
Feb 18, 2025, 06:00 PM • Last activity: Feb 24, 2025, 08:59 PM
2 votes
5 answers
52805 views
Why is my display resolution limited to 800x600 in Debian?
I just installed Debian 11.6 and see that everything looks scaled up a lot. I checked the size of the display and it is 800 x 600 which is quite big having it on my 4k monitor. But me having an NVIDIA RTX 3060 Ti should not trigger this because that is some good hardware. I opened Settings and went...
I just installed Debian 11.6 and see that everything looks scaled up a lot. I checked the size of the display and it is 800 x 600 which is quite big having it on my 4k monitor. But me having an NVIDIA RTX 3060 Ti should not trigger this because that is some good hardware. I opened Settings and went to the Display section to change the resolution and I can only see the resolution but not change it. How can I change the resolution of the display?
Jimmy Zeng (91 rep)
Mar 29, 2022, 12:01 PM • Last activity: Feb 22, 2025, 01:17 PM
5 votes
2 answers
13486 views
Set fixed screen resolution for application in Wine
For example, I've application (game) that has only 640x480 resolution. Now I've 2 options: launch it in window-mode, and will has 640x480 size or enable fullscreen and will fill all screen. What I want is to resize application without going fullscreen (e.g. to 1024x768). As for now I've tried 2 solu...
For example, I've application (game) that has only 640x480 resolution. Now I've 2 options: launch it in window-mode, and will has 640x480 size or enable fullscreen and will fill all screen. What I want is to resize application without going fullscreen (e.g. to 1024x768). As for now I've tried 2 solutions: 1. Enable 'Emulate a virtual desktop' in winecfg. At first it will launch desktop with that resolution, but when I enable fullscreen in application it will shrink that desktop to 640x480. 2. Start Wine in inner X-server: Xephyr -ac -br -noreset -screen 1024x768 :1.0 & ZEPHYR_PID=$! sleep 1 DISPLAY=:1.0 wine game.exe kill $ZEPHYR_PID Same problem here, it will resize window when I enable fullscreen.
anlar (4357 rep)
Nov 23, 2014, 02:20 PM • Last activity: Feb 2, 2025, 11:29 AM
0 votes
0 answers
53 views
Setting the default resolution to use when a new screen is connected in Linux Mint?
I use a Dell XPS 13 laptop with a 4k screen. I only ever use in FHD resolution. Whenever I connect an external screen that I've not used before (this happens surprisingly often), Mint autodetects the new screen, sets it to FHD (good), but sets the built-in screen to 4k (bad) with a user interface sc...
I use a Dell XPS 13 laptop with a 4k screen. I only ever use in FHD resolution. Whenever I connect an external screen that I've not used before (this happens surprisingly often), Mint autodetects the new screen, sets it to FHD (good), but sets the built-in screen to 4k (bad) with a user interface scale of 200% (also bad), so I have to access display settings, switch to FHD and do resize many open windows. Not the end of the world, but tedious. Is there a way to tell Mint which resolution and scale to use by default on my built-in screen, i.e. to retain FHD and 100% scale on the built-in display, regardless of the kind of external display I connect? For context: $ inxi -GSC System: Host: ******* Kernel: 6.8.0-51-generic arch: x86_64 bits: 64 Desktop: Cinnamon v: 6.2.9 Distro: Linux Mint 22 Wilma CPU: Info: quad core model: Intel Core i7-8550U bits: 64 type: MT MCP cache: L2: 1024 KiB Speed (MHz): avg: 2000 min/max: 400/4000 cores: 1: 1998 2: 2000 3: 2001 4: 2001 5: 2000 6: 2000 7: 2000 8: 2000 Graphics: Device-1: Intel UHD Graphics 620 driver: i915 v: kernel Device-2: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz API: EGL v: 1.5 drivers: iris,swrast platforms: x11,surfaceless,device API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.9-0ubuntu0.3 renderer: Mesa Intel UHD Graphics 620 (KBL GT2)
Tomislav Nakic-Alfirevic (103 rep)
Jan 30, 2025, 08:13 AM
4 votes
2 answers
2511 views
Low resolution in Debian
I installed Debian 8.3 LXDE today and I cannot adjust the resolution of my monitor. I have a 1920x1080 resolution, but allows you to install Debian to me only 1280x1024. I tried to make as here: https://wiki.archlinux.org/index.php/xrandr, using xrandr to do manually, but there is no connected inter...
I installed Debian 8.3 LXDE today and I cannot adjust the resolution of my monitor. I have a 1920x1080 resolution, but allows you to install Debian to me only 1280x1024. I tried to make as here: https://wiki.archlinux.org/index.php/xrandr , using xrandr to do manually, but there is no connected interfaces: drahenfels@debian:~$ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 400, current 1280 x 1024, maximum 1280 x 1024 default connected 1280x1024+0+0 0mm x 0mm 1280x1024 0.00* 1152x864 0.00 1024x768 0.00 800x600 0.00 640x480 0.00 720x400 0.00 My GPU: AMD/ATI RS780L [Radeon 3000]
drfels (141 rep)
Mar 18, 2016, 07:42 PM • Last activity: Dec 23, 2024, 09:06 AM
Showing page 1 of 20 total questions