[gnome-shell-ext] Extention for using Wacom tablet with application-specific button mappings.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Good night,

I was told by Debian's IRC that I would be better served by this mailing list to aid me in improving a shell script that I've created. I tried to fix the lack of an option for creating button mapping profiles for Wacom Tablets in the Gnome's Settings menu with a script that would allow me to create and store such profiles, and also load them dynamically based on the application currently in focus. This was the result.

For what it's worth, it is functional. But the way it identifies a program by reading its header is problematic, since they aren't static, and having it run on a loop since startup in order to detect applications being focused makes for a lot of useless cycles. As such, I would like to know if there is a better way to identify applications in focus, and even, if it is possible to to launch the script when an application gets on focus.

Thanks you for listening,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBCAAGBQJY0IrfAAoJEGbzWnyiRMhf8doL/0xskZsxJB+8ieN5paOBYuje
Qx3iiLRQc4vW5pbHahWrusFJi2drfCocl6XQZdZl6rsJGKWldJav/j1+4FjBoLsa
nIkakB2l7AzvNGDFQitIiJMnoxR1TyxO+xA8OTWZ+pLtue/7gUpbxaF9pa1JImRe
Ri3MMvf3X+HZtpO4FTcauhcQa1Fr3odRf2tLLUh6ZkZsbvSttDHKC9hRK84gHs/1
hW5cumVWtIR/NrdQIViHBkwxDb1km3S5/quphAWq/wT6LGfdrWDo6E+ErM67q1zT
+2+sofEMe/l7CWfN4JtpFR5x8Df7w+Eu2issDd2QA0IX7OPE03mmpAq8Po0g/7pB
BRlBr7zR220GyCiKAow3Dn8CFCmkWSxaSXwCWjdRC0gSO403FBfjJZEvBDDM7J8g
zrdEcRpII3+bGsm2hBxodSAvqPPPG/3YzHw+eE9DDOK3zsFqOfM+BsISZZB88u/q
/9AXTUU637byLziZEu3nszGe0H22pUpnuYpXU034BQ==
=IPyi
-----END PGP SIGNATURE-----

Guilherme de Abreu
Designer Gráfico e Ilustrador
--
Visite meu portfólio

Sent from ProtonMail, encrypted email based in Switzerland.


-------- Original Message --------
Subject: [gnome-shell-ext] Extention for using Wacom tablet with application-specific button mappings.
Local Time: March 21, 2017 2:09 AM
UTC Time: March 21, 2017 2:09 AM
From: gnome-shell-extensions-list gnome org
To: gnome-shell-extensions-list gnome org <gnome-shell-extensions-list gnome org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Good night,

I was told by Debian's IRC that I would be better served by this mailing list to aid me in improving a shell script that I've created. I tried to fix the lack of an option for creating button mapping profiles for Wacom Tablets in the Gnome's Settings menu with a script that would allow me to create and store such profiles, and also load them dynamically based on the application currently in focus. This was the result.

For what it's worth, it is functional. But the way it identifies a program by reading its header is problematic, since they aren't static, and having it run on a loop since startup in order to detect applications being focused makes for a lot of useless cycles. As such, I would like to know if there is a better way to identify applications in focus, and even, if it is possible to to launch the script when an application gets on focus.

Thanks you for listening,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAEBCAAGBQJY0IrfAAoJEGbzWnyiRMhf8doL/0xskZsxJB+8ieN5paOBYuje
Qx3iiLRQc4vW5pbHahWrusFJi2drfCocl6XQZdZl6rsJGKWldJav/j1+4FjBoLsa
nIkakB2l7AzvNGDFQitIiJMnoxR1TyxO+xA8OTWZ+pLtue/7gUpbxaF9pa1JImRe
Ri3MMvf3X+HZtpO4FTcauhcQa1Fr3odRf2tLLUh6ZkZsbvSttDHKC9hRK84gHs/1
hW5cumVWtIR/NrdQIViHBkwxDb1km3S5/quphAWq/wT6LGfdrWDo6E+ErM67q1zT
+2+sofEMe/l7CWfN4JtpFR5x8Df7w+Eu2issDd2QA0IX7OPE03mmpAq8Po0g/7pB
BRlBr7zR220GyCiKAow3Dn8CFCmkWSxaSXwCWjdRC0gSO403FBfjJZEvBDDM7J8g
zrdEcRpII3+bGsm2hBxodSAvqPPPG/3YzHw+eE9DDOK3zsFqOfM+BsISZZB88u/q
/9AXTUU637byLziZEu3nszGe0H22pUpnuYpXU034BQ==
=IPyi
-----END PGP SIGNATURE-----

Guilherme de Abreu
Designer Gráfico e Ilustrador
--
Visite meu portfólio

Sent from ProtonMail, encrypted email based in Switzerland.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]