The officially official Devuan Forum!

You are not logged in.

#1 2025-01-01 10:30:58

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Screen Brightness app for SysTray?

Hi Folks,

What can be installed so that a User can adjust the Screen Brightness via an applet in the SysTray?

Can gnome-applets be installed for this?

Thanks!!

Offline

#2 2025-01-01 18:06:29

greenjeans
Member
Registered: 2017-04-07
Posts: 724  
Website

Re: Screen Brightness app for SysTray?

I know you can do it with the xfce4 power-manager, in it's GUI config display there is an option to drop an icon in the tray, and then after if you right-click it it will offer up a slider to change brightness.


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded January 2025!
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.
New Devuan-mate-mini isos too!
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#3 2025-01-01 22:52:57

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

greenjeans wrote:

I know you can do it with the xfce4 power-manager

There is no slider presented with neither Devuan 5 nor MX Linux 23.4 on the Toshiba Tecra A7 (2006) using xfce4 power-manager.

MX Linux has a Tweak tool that includes a brightness slider using xrandr which works.

I had tried using the arandr app but it didn't have any interface for brightness control.

Using xfce4 power-manager with Devuan 5 on the Dell Latitude E6530 does present a Slider control for adjusting the brightness. Hmmmm.

Offline

#4 2025-01-02 01:44:14

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

I tried the following also but to no avail.

https://www.ricksdailytips.com/fix-brig … a-laptops/

Offline

#5 2025-01-02 03:48:59

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

Would it be safe it use MX Tweak from MX Linux 23.4?

Offline

#6 2025-01-02 10:08:05

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 274  

Re: Screen Brightness app for SysTray?

guessing by now you've come across this webpage but just in case you haven't:

https://support.dynabook.com/support/viewContentDetail?contentId=4015505

were you able to determine if the functionality you desire was operational in the units original operating system?

do you need a brighter or dimmer screen and/or is the adjustment more for power conservation efforts?

keep us posted.


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#7 2025-01-04 21:55:23

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

stargate-sg1-cheyenne-mtn wrote:

keep us posted

Last night I looked at a package called fnfxd in the search list for brightness in synaptic.

Lo and behold it's an ACPI and hotkey daemon for Toshiba laptops. The description reads as follows:

fnfx enables owners of Toshiba laptops to change the LCD brightness,
control, the internal fan and use the special keys on their keyboard
(Fn-x combinations, hot-keys). The internal functions will give the
possibility to map the Fn-Keys to functions like volume up/down, mute,
suspend to disk, suspend to ram and switch LCD/CRT/TV-out. These
functions heavily depend on the system and/or kernel configuration.
You will need at least a kernel (v2.4.x, v2.5.x, v2.6.x) with ACPI and
Toshiba support (CONFIG_ACPI and CONFIG_ACPI_TOSHIBA).

Can the 6.1.0-28-686-pae kernel be configured for this?

I got the following responses when installing fnfxd and fnfx-client

For more information read the documentation and/or http://fnfx.sf.net/index.php?section=doc#kernel.

invoke-rc.d: initscript fnfxd, action "start" failed.
dpkg: error processing package fnfxd (--configure):
installed fnfxd package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
fnfxd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up fnfxd (0.3-18) ...
Starting Toshiba hotkeys utils: FnFX Daemon v0.3 (c) 2003, 2004 Timo Hoenig <thoenig@nouse.net>

fatal error: Could not open /proc/acpi/toshiba/keys.
Please make sure that your kernel has enabled the Toshiba option in the ACPI section.
For more information read the documentation and/or http://fnfx.sf.net/index.php?section=doc#kernel.

invoke-rc.d: initscript fnfxd, action "start" failed.
dpkg: error processing package fnfxd (--configure):
installed fnfxd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
fnfxd

fnfx-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up fnfxd (0.3-18) ...
Starting Toshiba hotkeys utils: FnFX Daemon v0.3 (c) 2003, 2004 Timo Hoenig <thoenig@nouse.net>

fatal error: Could not open /proc/acpi/toshiba/keys.
Please make sure that your kernel has enabled the Toshiba option in the ACPI section.
For more information read the documentation and/or http://fnfx.sf.net/index.php?section=doc#kernel.

invoke-rc.d: initscript fnfxd, action "start" failed.
dpkg: error processing package fnfxd (--configure):
installed fnfxd package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of fnfx-client:
fnfx-client depends on fnfxd (>= 0.3-18); however:
  Package fnfxd is not configured yet.

dpkg: error processing package fnfx-client (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
fnfxd
fnfx-client

Last edited by mtbvfr (2025-01-04 21:59:28)

Offline

#8 2025-01-04 22:35:26

RedGreen925
Member
Registered: 2024-12-07
Posts: 58  

Re: Screen Brightness app for SysTray?

fatal error: Could not open /proc/acpi/toshiba/keys.
Please make sure that your kernel has enabled the Toshiba option in the ACPI section.

Check your kernel to see if it indeed has that support enabled and modprobe the module before starting the install again.

zeus@9600k:~/Downloads$ grep -i toshiba /boot/config-6.12.8-amd64 
CONFIG_YENTA_TOSHIBA=y
CONFIG_PATA_TOSHIBA=m
CONFIG_MMC_TOSHIBA_PCI=m
CONFIG_ACPI_TOSHIBA=m
CONFIG_TOSHIBA_BT_RFKILL=m
CONFIG_TOSHIBA_HAPS=m
CONFIG_TOSHIBA_WMI=m

The CONFIG_ACPI_TOSHIBA=m seems the likely candidate needed. Check your running kernel config for it being enabled there.

Offline

#9 2025-01-05 00:44:43

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

RedGreen925 wrote:

Check your kernel

I am working on is the 32-bit version of Devuan.

It has 3 files in the /boot directory as follows:

config-6.1.0-10-686-pae
config-6.1.0-27-686-pae
config-6.1.0-28-686-pae

All 3 report the same results as follows:

CONFIG_TOSHIBA=m
CONFIG_YENTA_TOSHIBA=y
CONFIG_PATA_TOSHIBA=m
CONFIG_MMC_TOSHIBA_PCI=m
CONFIG_ACPI_TOSHIBA=m
CONFIG_TOSHIBA_BT_RFKILL=m
CONFIG_TOSHIBA_HAPS=m
CONFIG_TOSHIBA_WMI=m

What does the m value represent?

Can it be changed to y?

Thanks!!

Offline

#10 2025-01-05 00:54:10

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

RedGreen925 wrote:

modprobe the module

P.S.

Which module should I use for modprobe?

Offline

#11 2025-01-05 02:46:27

RedGreen925
Member
Registered: 2024-12-07
Posts: 58  

Re: Screen Brightness app for SysTray?

The CONFIG_ACPI_TOSHIBA=m should be the one. The m means that it is module, the y it is built into the kernel no need to load it with modprobe, n means no not built at all. Use modprobe toshiba_acpi it appears to be named as.

root@9600k:~# locate toshiba
/usr/lib/modules/6.12.8-amd64/kernel/drivers/platform/x86/toshiba-wmi.ko.xz
/usr/lib/modules/6.12.8-amd64/kernel/drivers/platform/x86/toshiba_acpi.ko.xz
/usr/lib/modules/6.12.8-amd64/kernel/drivers/platform/x86/toshiba_bluetooth.ko.xz
/usr/lib/modules/6.12.8-amd64/kernel/drivers/platform/x86/toshiba_haps.ko.xz

Offline

#12 2025-01-05 04:06:55

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

RedGreen925 wrote:

The CONFIG_ACPI_TOSHIBA=m should be the one.

$ locate toshiba produced the following output:

/lib/modules/6.1.0-10-686-pae/kernel/drivers/char/toshiba.ko
/lib/modules/6.1.0-10-686-pae/kernel/drivers/platform/x86/toshiba-wmi.ko
/lib/modules/6.1.0-10-686-pae/kernel/drivers/platform/x86/toshiba_acpi.ko
/lib/modules/6.1.0-10-686-pae/kernel/drivers/platform/x86/toshiba_bluetooth.ko
/lib/modules/6.1.0-10-686-pae/kernel/drivers/platform/x86/toshiba_haps.ko
/lib/modules/6.1.0-27-686-pae/kernel/drivers/char/toshiba.ko
/lib/modules/6.1.0-27-686-pae/kernel/drivers/platform/x86/toshiba-wmi.ko
/lib/modules/6.1.0-27-686-pae/kernel/drivers/platform/x86/toshiba_acpi.ko
/lib/modules/6.1.0-27-686-pae/kernel/drivers/platform/x86/toshiba_bluetooth.ko
/lib/modules/6.1.0-27-686-pae/kernel/drivers/platform/x86/toshiba_haps.ko
/lib/modules/6.1.0-28-686-pae/kernel/drivers/char/toshiba.ko
/lib/modules/6.1.0-28-686-pae/kernel/drivers/platform/x86/toshiba-wmi.ko
/lib/modules/6.1.0-28-686-pae/kernel/drivers/platform/x86/toshiba_acpi.ko
/lib/modules/6.1.0-28-686-pae/kernel/drivers/platform/x86/toshiba_bluetooth.ko
/lib/modules/6.1.0-28-686-pae/kernel/drivers/platform/x86/toshiba_haps.ko
/usr/share/doc/libgphoto2-6/camlibs/README.toshiba-pdrm11
/usr/share/libinput/50-system-toshiba.quirks

$ modprobe toshiba_acpi produced the following output:

bash: modprobe: command not found

$ sudo modprobe toshiba_acpi produced nothing.

Offline

#13 2025-01-05 04:22:47

RedGreen925
Member
Registered: 2024-12-07
Posts: 58  

Re: Screen Brightness app for SysTray?

$ modprobe toshiba_acpi produced the following output:

    bash: modprobe: command not found

$ sudo modprobe toshiba_acpi produced nothing.

Debian and their BS breaking things changes strikes again.

root@9600k:~# apt-file search modprobe | grep bin
discover: /usr/sbin/discover-modprobe
kmod: /usr/sbin/modprobe

From my /root/.bashrc so I do not run into that BS.

# set PATH so it includes /sbin if running distro without it in the PATH like Debian Buster.
needpath=$(which fdisk)

if [ -z $needpath ] ; then
    PATH="/sbin:$PATH"
fi

Use the full path sudo /usr/sbin/modprobe toshiba_acpi.

Edit: Now I noticed you may want to run apt autoremove to get rid of that extra kernel and stop ignoring apt when it tells you to do this every time there is a package(s) to remove that is not needed anymore.

Last edited by RedGreen925 (2025-01-05 04:32:56)

Offline

#14 2025-01-05 05:40:55

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

RedGreen925 wrote:

Debian and their BS breaking things

I used find -name *modprobe* | grep modprobe as apt-file was not installed.

discover-modprobe and modprobe are in the /sbin directory.

I installed apt-file which confirmed it.

Do I have to create the .bashrc file or should it already exist?

Using sudo /sbin/modprobe toshiba_acpi produced no output.

Thanks!!

Last edited by mtbvfr (2025-01-05 05:47:20)

Offline

#15 2025-01-05 09:35:37

RedGreen925
Member
Registered: 2024-12-07
Posts: 58  

Re: Screen Brightness app for SysTray?

I used find -name *modprobe* | grep modprobe as apt-file was not installed.
Using sudo /sbin/modprobe toshiba_acpi produced no output.

The apt-file is never installed by default but is a wonderful little tool for finding the package containing the file needed. When using modprobe the only time it produces output is when the module is not there to load. You use the lsmod command to see if it loaded, rmmod will remove loaded module.

root@9600k:~# lsmod |grep toshiba_acpi
root@9600k:~# modprobe toshiba_acp
modprobe: FATAL: Module toshiba_acp not found in directory /lib/modules/6.12.8-amd64
root@9600k:~# modprobe toshiba_acpi
root@9600k:~# lsmod |grep toshiba_acpi
toshiba_acpi           73728  0
sparse_keymap          12288  1 toshiba_acpi
battery                28672  1 toshiba_acpi
industrialio          139264  1 toshiba_acpi
rfkill                 40960  6 toshiba_acpi,bluetooth
video                  81920  2 toshiba_acpi,i915
wmi                    28672  4 video,toshiba_acpi,gigabyte_wmi,wmi_bmof
root@9600k:~# rmmod toshiba_acpi
root@9600k:~# lsmod |grep toshiba_acpi

Have you tried the install again with the module loaded?

Edit: while I think of it an article on making sure the module loads on boot.

https://www.cyberciti.biz/faq/linux-how … boot-time/

Last edited by RedGreen925 (2025-01-05 09:44:29)

Offline

#16 2025-01-05 10:17:27

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

RedGreen925 wrote:

Have you tried the install again with the module loaded?

fnfxd is still installed.

When I attempt to remove it or I install other packages (e.g. apt-file), I get the following responses:

The following dialogue window is displayed:

An error occurred

The following details are provided:

E: fnfxd: installed fnfxd package pre-removal script subprocess returned error exit status 1

Close Button

After closing the above window, the Changes applied dialogue window appears and the following details are output:

For more information read the documentation and/or http://fnfx.sf.net/index.php?section=doc#kernel.

invoke-rc.d: initscript fnfxd, action "start" failed.
dpkg: error while cleaning up:
installed fnfxd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
fnfxd
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up fnfxd (0.3-18) ...
Starting Toshiba hotkeys utils: FnFX Daemon v0.3 (c) 2003, 2004 Timo Hoenig <thoenig@nouse.net>

fatal error: Could not open /proc/acpi/toshiba/keys.
Please make sure that your kernel has enabled the Toshiba option in the ACPI section.
For more information read the documentation and/or http://fnfx.sf.net/index.php?section=doc#kernel.

invoke-rc.d: initscript fnfxd, action "start" failed.
dpkg: error processing package fnfxd (--configure):
installed fnfxd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
fnfxd

After closing the Changes applied window, fnfxd is still marked with an icon indicating "Marked for complete removal".

Should I attempt to run the modprobe and lsmod commands with the fnfxd package in this state?

Thanks!!

Offline

#17 2025-01-05 10:41:30

RedGreen925
Member
Registered: 2024-12-07
Posts: 58  

Re: Screen Brightness app for SysTray?

After closing the Changes applied window, fnfxd is still marked with an icon indicating "Marked for complete removal".

Forget the stupid graphics tools they are useless junk for solving problems they only work when there are no problems. Open a terminal and sudo dpkg --configure -a to see if it is going to allow you to configure the broken package.

Edit did some reading on the package I downloaded here.

https://sourceforge.net/projects/fnfx/

The last update of 2015 is not a good sign but it appears it could be possible to get the required support file.

root@9600k:~# file /home/zeus/Downloads/usr/bin/fnfx
/home/zeus/Downloads/usr/bin/fnfx: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.0.0, stripped
root@9600k:~# file /home/zeus/Downloads/usr/sbin/fnfxd
/home/zeus/Downloads/usr/sbin/fnfxd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.0.0, stripped

The /lib/ld-linux.so.2 by installing the having the i386 libc6 installed. I am rapidly running out of ideas on this one.

https://packages.debian.org/search?sear … e&arch=any

Last edited by RedGreen925 (2025-01-05 11:01:37)

Offline

#18 2025-01-05 10:53:19

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

RedGreen925 wrote:

Open a terminal and sudo dpkg --configure -a

The following output is produced:

Setting up fnfxd (0.3-18) ...
Starting Toshiba hotkeys utils: FnFX Daemon v0.3 (c) 2003, 2004 Timo Hoenig <thoenig@nouse.net>

fatal error: Could not open /proc/acpi/toshiba/keys.
Please make sure that your kernel has enabled the Toshiba option in the ACPI section.
For more information read the documentation and/or http://fnfx.sf.net/index.php?section=doc#kernel.

invoke-rc.d: initscript fnfxd, action "start" failed.
dpkg: error processing package fnfxd (--configure):
installed fnfxd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
fnfxd

Offline

#19 2025-01-05 11:05:41

RedGreen925
Member
Registered: 2024-12-07
Posts: 58  

Re: Screen Brightness app for SysTray?

Let it remove it make certain the toshiba_acpi is loaded then try again. If it does the same thing the package is broken and will not install on a system more than 9 years after the last update of it.

Offline

#20 2025-01-05 11:12:22

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

Let it remove it

Do I use apt or dpkg to remove it?

Offline

#21 2025-01-05 11:17:21

RedGreen925
Member
Registered: 2024-12-07
Posts: 58  

Re: Screen Brightness app for SysTray?

Do I use apt or dpkg to remove it?

The one you used to install but either should work. You say the graphical tool says it is marked for removal you could let it do it as well. Now there is one for me to ask about where is the link to the . deb you use? I see nothing like that on the page I just linked too.

Offline

#22 2025-01-05 11:40:08

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

I used synaptic to install. When attempting to remove it, I get the details you saw in post #18.

When I close synaptic and reopen it, fnfxd is still installed.

I didn't install from a .deb file. fnfxd is in the Devuan repositories. Latest version is 0.3-18. The executable (fnfxd) in sbin has a modified date  of 2023-02-14.

The fnfxd_0.3-18_i386.deb file in /var/cache/apt/archives has a Modified Date of 2023-02-15.

Given invoke-rc.d: initscript fnfxd, action "start" failed. during installation, do we need to be looking in the init area somewhere?

Offline

#23 2025-01-05 11:44:26

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

P.S.

synaptic doesn't indicate any Broken packages.

Offline

#24 2025-01-05 11:50:27

mtbvfr
Member
Registered: 2017-07-29
Posts: 150  

Re: Screen Brightness app for SysTray?

Heading to bed. Catch up mañana amigo.

Thanks!!

Offline

#25 2025-01-05 14:09:36

RedGreen925
Member
Registered: 2024-12-07
Posts: 58  

Re: Screen Brightness app for SysTray?

I didn't install from a .deb file. fnfxd is in the Devuan repositories. Latest version is 0.3-18. The executable (fnfxd) in sbin has a modified date  of 2023-02-14.

The fnfxd_0.3-18_i386.deb file in /var/cache/apt/archives has a Modified Date of 2023-02-15.

Given invoke-rc.d: initscript fnfxd, action "start" failed. during installation, do we need to be looking in the init area somewhere?

Does not show up here but I am running 64bit system and it is 32bit plus one version on the testing or excalibur the new stable to come in few months. The apt remove fnfxd or dpkg -r /var/cache/apt/archives/fnfxd_0.3-18_i386.deb should remove it. Using of course the sudo command in front to get root permissions if you do not have root user setup. Yes the init area is it looking carefully at the scripts that are run in the post install as this is where they likely fail. You can extract the file and start looking at them to see if you can find the spot where it fails.

Offline

Board footer