I used xfce4 whilst on Arch and had a really hard time trying to get the scaling of apps to scale correctly. I found some stuff out on my own and was corrected about some stuff by people on the forum. I thought it was all fixed and sorted but sadly I was mistaken. I gave up and have currently installed gnome as that’s the only DE I think works out the box. I realise I bought the wrong laptop for Linux (well for a beginner user). I would much rather be using xfce than gnome but if I have to I’ll stick with it as I don’t have much choice.
I’m pretty sure dealing with this matter is above my paid grade and I understand if I don’t get hand holding help as I don’t think it is a little issue. But I just thought I’d post this and see if it was possible for me to get help and be able to use my DE of choice. I’m going to be busy today but if someone thinks it is possible then I’ll reinstall xfce hopefully tomorrow.
First I changed the scaling to x2 in appearance > settings
The following two commands are whilst I have gnome installed.
neofetch
[muj@Blackstone ~]$ neofetch
./o. muj@Blackstone
./sssso- --------------
`:osssssss+- OS: EndeavourOS Linux x86_64
`:+sssssssssso/. Host: 20QD00KWUK ThinkPad X1 Carbon 7th
`-/ossssssssssssso/. Kernel: 5.9.2-arch1-1
`-/+sssssssssssssssso+:` Uptime: 13 mins
`-:/+sssssssssssssssssso+/. Packages: 981 (pacman)
`.://osssssssssssssssssssso++- Shell: bash 5.0.18
.://+ssssssssssssssssssssssso++: Resolution: 3840x2160
.:///ossssssssssssssssssssssssso++: DE: GNOME 3.38.1
`:////ssssssssssssssssssssssssssso+++. WM: Mutter
`-////+ssssssssssssssssssssssssssso++++- WM Theme: Adwaita
`..-+oosssssssssssssssssssssssso+++++/` Theme: Arc-Dark [GTK2/3]
./++++++++++++++++++++++++++++++/:. Icons: Adwaita [GTK2/3]
`:::::::::::::::::::::::::------`` Terminal: gnome-terminal
CPU: Intel i7-8565U (8) @ 4.600GHz
GPU: Intel UHD Graphics 620
Memory: 1990MiB / 15688MiB
inxi -Fxz
System: Kernel: 5.9.2-arch1-1 x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: GNOME 3.38.1
Distro: EndeavourOS
Machine: Type: Laptop System: LENOVO product: 20QD00KWUK v: ThinkPad X1 Carbon 7th serial: <filter>
Mobo: LENOVO model: 20QD00KWUK v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO v: N2HET57W (1.40 )
date: 10/08/2020
Battery: ID-1: BAT0 charge: 46.6 Wh condition: 52.0/51.0 Wh (102%) model: LGC 5B10W13930 status: Discharging
CPU: Info: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP arch: Kaby Lake rev: C
L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 32012
Speed: 1000 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 1000 2: 1000 3: 1000 4: 1000 5: 1000
6: 1001 7: 1000 8: 1001
Graphics: Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus ID: 1-8:2
Display: wayland server: X.org 1.20.9 compositor: gnome-shell driver: i915
note: display driver n/a - try sudo/root resolution: <xdpyinfo missing>
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio: Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo driver: sof-audio-pci
bus ID: 00:1f.3
Sound Server: ALSA v: k5.9.2-arch1-1
Network: Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel port: 2000
bus ID: 00:14.3
IF: wlan0 state: up mac: <filter>
Device-2: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel port: efa0 bus ID: 00:1f.6
IF: enp0s31f6 state: down mac: <filter>
Drives: Local Storage: total: 476.94 GiB used: 52.42 GiB (11.0%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBQNTY-512G-1001 size: 476.94 GiB
Partition: ID-1: / size: 451.57 GiB used: 52.42 GiB (11.6%) fs: ext4 dev: /dev/nvme0n1p2
Swap: ID-1: swap-1 type: partition size: 16.85 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p3
Sensors: System Temperatures: cpu: 38.0 C mobo: N/A
Fan Speeds (RPM): cpu: 0
Info: Processes: 268 Uptime: 14m Memory: 15.32 GiB used: 2.62 GiB (17.1%) Init: systemd Compilers:
gcc: 10.2.0 Packages: 981 Shell: Bash v: 5.0.18 inxi: 3.1.08
The issues:
I first notice albert way too small, I scoured the internet and found this fix
I modified the Exec=line in /usr/share/applications/albert.desktop
to this:
Exec=/usr/bin/env QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=2 /usr/bin/albert %u
It worked but someone on the forum told me that is just for albert so to make it apply to all apps I should add the environment variable to ~/.xprofile
So I added export QT_AUTO_SCREEN_SCALE_FACTOR=0
and export QT_SCALE_FACTOR=2
and /usr/bin/albert &
to my ~/.xprofile
I thought it was applying the environment variable for all apps on my user session.
Then gimp was tiny too I found and applied this fix
https://wiki.archlinux.org/index.php/HiDPI#Gimp_2.10
Then leafpad was tiny. I added leafpad to my .xprofile
without the &
sign hoping it would be applied with the environment variables (because obviously I don’t have a clue what I’m doing) then I couldn’t reboot.
I edited the kernel parameters with single
then Ctrl + x
booted and deleted leafpad from .xprofile
I’m assuming there would be loads of other apps which would be tiny too. Is there a good way to globally sort out this scaling issue?
Also the notifications setting weren’t working properly. I turned chrome notifications off in xfce but they kept coming. I’m assuming chrome settings were over-riding the xfce settings.
I first thought this would probably be too much to ask for help with, that’s why I went and installed gnome. So if it is too much then I’ll just stick with gnome.
Let me know,
Thanks in advance.
I also forgot, In the window manager settings under theme I think it was, when I changed the theme to anything other than default the borders around the windows went super skinny.