Skip to content

[Feature request] - add the ability to change the order of profiles (previously added by the user) matching the currently connected display

Submitted by Riccardo Torre

Assigned to Xfce Bug Triage

Link to original bug (#15954)

Description

Created attachment 9021 this is xfce4-display-settings

I want to reorder the profiles in the display settings: under the "advanced settings" tab, there's a table that contains all the saved profiles customized by the user. I would like to change the order in the UI to set the preferred profile when an external monitor is plugged in.

In my personal experience, I had to add a configuration with xrandr to set the same resolution to the internal monitor as the external monitor. So I made two profiles (see the attachment):

"1360x768 solo monitor esterno" >> that means: "1360x768 only the external monitor" let's call this (1) "1360x768 schermi duplicati" >> that means: "1360x768 duplicated screens" let's call this (2)

Every time the monitor is plugged in, the option (1) is taken. I tried erasing these two profiles and saving them in the opposite order. But nothing changes. I want the option (2) to be taken when the cable HDMI is attached, instead of (1).

I'm using an Arch based Linux distro:

System: Host: riccardo-pc Kernel: 5.2.13-arch1-1-ARCH x86_64 bits: 64 compiler: gcc v: 9.1.0 Desktop: Xfce 4.14.1 Distro: ArcoLinuxB-xfce-bare v19.07.9 Machine: Type: Laptop System: Hewlett-Packard product: HP ProBook 450 G2 v: A3009DD10303 serial: <filter> Mobo: Hewlett-Packard model: 2248 v: KBC Version 67.24 serial: <filter> BIOS: Hewlett-Packard v: M74 Ver. 01.09 date: 01/26/2015 Battery: ID-1: BAT0 charge: 14.3 Wh condition: 29.1/29.1 Wh (100%) model: Hewlett-Packard Primary status: Charging CPU: Topology: Dual Core model: Intel Core i7-4510U bits: 64 type: MT MCP arch: Haswell rev: 1 L2 cache: 4096 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20760 Speed: 837 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 898 2: 898 3: 898 4: 898 Graphics: Device-1: Intel Haswell-ULT Integrated Graphics vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 Display: x11 server: X.Org 1.20.5 driver: intel resolution: 1360x768_60.0060Hz, 1360x76860Hz OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.1.6 direct render: Yes Audio: Device-1: Intel Haswell-ULT HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:03.0 Device-2: Intel 8 Series HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 Sound Server: ALSA v: k5.2.13-arch1-1-ARCH Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus ID: 08:00.0 IF: enp8s0 state: down mac: <filter> Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Hewlett-Packard driver: rtl8723be v: kernel port: 3000 bus ID: 09:00.0 IF: wlo1 state: up mac: <filter> Drives: Local Storage: total: 353.99 GiB used: 25.58 GiB (7.2%) ID-1: /dev/sda vendor: Toshiba model: MQ01ABD032 size: 298.09 GiB ID-2: /dev/sdb vendor: Dogfish model: SSD 60G size: 55.90 GiB Partition: ID-1: / size: 54.77 GiB used: 9.40 GiB (17.2%) fs: ext4 dev: /dev/sdb1 ID-2: /home size: 283.55 GiB used: 16.18 GiB (5.7%) fs: ext4 dev: /dev/sda2 ID-3: swap-1 size: 9.00 GiB used: 3.3 MiB (0.0%) fs: swap dev: /dev/sda1 Sensors: System Temperatures: cpu: 45.0 C mobo: 0.0 C Fan Speeds (RPM): N/A Info: Processes: 197 Uptime: 2h 03m Memory: 7.66 GiB used: 1.78 GiB (23.2%) Init: systemd Compilers: gcc: 9.1.0 Shell: bash v: 5.0.9 inxi: 3.0.35

Attachment 9021, "this is xfce4-display-settings":
display_settings

Version: 4.14.1