Due to limitations of my AVR at 4K (3840 × 2160) and because of other reasons I'd like to use it only at Full HD resolution (1920 × 1080).
I'm running Linux Mint 19 Xfce and I've set the display settings to 1920 × 1080. Most of the time it's running OK at Full HD but sometimes it was at UHD.
I'm running Kodi on auto-start and I also have auto-login active.
To fix the resolution for my user-session permanently I've set the resolution of 1920 × 1080 in my
.xprofile
.Code: Select all
$ cat ~/.xprofile
xrandr --output HDMI-1 --mode 1920x1080
The problem is when I exit the Xfce session (logout). Then the resolution goes up to 3840 × 2160.
I want to restrict the resolution to 1920x1080 always and anytime. How can I do this?
Code: Select all
$ inxi -Fx
System: Host: rome Kernel: 4.15.0-38-generic x86_64 bits: 64 gcc: 7.3.0 Console: tty 0
Distro: Linux Mint 19 Tara
Machine: Device: desktop Mobo: ASRock model: J5005-ITX serial: N/A UEFI: American Megatrends v: P1.40 date: 08/06/2018
Battery hidpp__0: charge: N/A condition: NA/NA Wh
model: Logitech Wireless Touch Keyboard K400 Plus status: N/A
CPU: Quad core Intel Pentium Silver J5005 (-MCP-) arch: N/A cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11980
clock speeds: max: 2800 MHz 1: 1380 MHz 2: 1201 MHz 3: 1476 MHz 4: 1030 MHz
Graphics: Card: Intel Device 3184 bus-ID: 00:02.0
Display Server: N/A drivers: modesetting (unloaded: fbdev,vesa)
tty size: 237x63 Advanced Data: N/A out of X
Audio: Card-1 Intel Device 3198 driver: snd_hda_intel bus-ID: 00:0e.0 Sound: ALSA v: k4.15.0-38-generic
Card-2 Microdia driver: USB Audio usb-ID: 001-003
Network: Card-1: Intel Wireless-AC 9260 driver: iwlwifi bus-ID: 02:00.0
IF: wlp2s0 state: up mac: 30:24:32:ca:0f:d5
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 03:00.0
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: 70:85:c2:7e:06:b7
Drives: HDD Total Size: 250.1GB (7.9% used)
ID-1: /dev/sda model: CT250MX500SSD1 size: 250.1GB
Partition: ID-1: / size: 30G used: 7.3G (26%) fs: ext4 dev: /dev/sda7
ID-2: /home size: 30G used: 3.5G (13%) fs: ext4 dev: /dev/sda8
ID-3: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap dev: /dev/sda9
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 47.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 190 Uptime: 1:11 Memory: 635.6/7626.0MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56