The officially official Devuan Forum!

You are not logged in.

#1 Re: Desktop and Multimedia » Display Brightness with SliM and JWM » 2020-09-22 20:27:26

A fix.

Create the following file:

vi /usr/share/X11/xorg.conf.d/20-intel.conf 

Add the following lines...

Section "Device"
        Identifier  "card0"
        Driver      "intel"
        Option      "Backlight"  "intel_backlight"
        BusID       "PCI:0:2:0"
EndSection

Then reboot.

Now xfce4-power-manager is able to consistently control my display's brightness.

#2 Desktop and Multimedia » Display Brightness with SliM and JWM » 2020-09-16 20:21:39

jay00
Replies: 1

So I am using JWM (Joe's Window Manager) with SLiM as my login manager.

After booting and then logging in Xfce4-power-manager can adjust the screen's brightness.

If I log out and then log back in Xfce4-power-manager cannot adjust the brightness for some reason.

This does not happen when using LXDM or XDM. Only with SLiM.

How can I make Xfce4-power-manager handle the display's brightness after I log out and log in again?

#3 Re: Desktop and Multimedia » Devuan-Beowulf Resolution, 4k-monitor, 10-bit. » 2020-09-16 19:40:13

You can change your resolution quickly with the "arandr" application. Check it out.
Arandr works really well for resizing VirtualBox screens too.

If you are trying to adjust your HiDPI settings keep in mind that you are probably trying to scale 3 different GUI toolkits: GTK2, GTK3, and Qt5.

GTK2 does not have any builtin HiDPI settings. There are a some pretty good HiDPI hacks that work ok for GTK2 though.
GTK3 applications do NOT scale very well (my opinion). As you have already noted GTK3 will only scale with an integer value. (Correction: GTK3 can scale fonts using a non-integer relative to the currenly set 'GDK SCALE' value.)
QT5 has the best scaling. It will scale to integer or non-integer values.

Here is how I have manually set up the scaling for Qt5 and GTK3 Apps for my 4K Screen.
All of the settings are in my '$HOME/.xsessionrc' since I am currenly using an either JWM or Openbox.

# GTK-3 Scaling
GDK_SCALE=2 export GDK_SCALE                   
GDK_DPI_SCALE=0.5 export GDK_DPI_SCALE 

$ Qt5 Scaling
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCREEN_SCALE_FACTOR=2.0
export QT_SCALE_FACTOR=1.9
#

Those settings achive pretty good results.

Here is a good reference: https://wiki.archlinux.org/index.php/HiDPI

Hopefully that addresses some of your concerns.

Board footer

Forum Software