Skip to content

alzwded/sensors-gnome-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sensors Gnome extension

I wanted to write a Gnome extension and see how Gtk4 on JS is compared to Gtk2 on C from more than a decade ago.

Run on Gnome 45+.

An earlier commit works for versions from Gnome 3.36 through Gnome 44.

How to install&test this thing

...according to how much I know thus far.

  1. Clone this and cd into it.
  2. ln -s \pwd` ~/.local/share/gnome-shell/extensions/sensors@alzwded.example.com `
  3. Reboot?
  4. gnome-extensions enable sensors@alzwded.example.com (or whatever name you gave the symbolink
  5. It works?

Instead of rebooting, one can run

dbus-run-session -- gnome-shell --nested --wayland

From that session, launch a terminal and gnome-extensions enable sensors@alzwded.example.com. Close session. Launch again. Extension should be there if there weren't any hiccups.

TODO

  • cleanup
  • figure out how these things get packaged
  • figure out how these things get submitted
  • replace infowindow.js Gtk/Gjs app with St stuff that eliminates the need of packaging a separate app; otherwise, may as well launch gnome-terminal -- watch sensors

About

sensors@alzwded.example.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published