asus-linux-drivers / asus-numberpad-driver

Maintained feature-rich linux driver for NumberPad(2.0) on Asus laptops. NumberPad(2.0) is illuminated numeric keypad integrated to touchpad which appears when is done tap on top right corner of touchpad for atleast 1s by default (configurable) or slide gesture from top right/left corner to the center, the left shows calc app aswell (configurable).
GNU General Public License v2.0
268 stars 21 forks source link

Issue with pgrep and GNOME Calculator - Fixed #197

Closed encrustace closed 3 months ago

encrustace commented 3 months ago

@ldrahnik I've noticed that pgrep cannot locate org.gnome.Calculator because the system lists the GNOME Calculator with the ID gnome-calculator, regardless of whether it was installed via Pacman or Flatpak. This discrepancy caused the previous script to fail in toggling the calculator.

To address this, I have modified the script to account for the actual process name used by the system (gnome-calculator). This ensures consistent and reliable toggling functionality, irrespective of the installation method.

Tested in my machine with below configs

Arch Linux Gnome Calculator from flatpak as well as from pacman.