Language Selection

English French German Italian Portuguese Spanish

GNOME Desktop/GTK: GNOME Themes and GObject Class Private Data

Filed under
GNOME
  • How does GNOME themes work

    The GNOME themes file is essentially a CSS file, done, you can stop reading. There are a few more details you may want to hear about. The theme files describe what your desktop looks like but that is not all. It also contains the artwork needed for it to work. You make all your configuration in the CSS file of your theme. A caveat is that much of the look comes from the GTK 2.0 and GTK 3.0 themes. Another issue is that the standard setup does not allow your own themes, you need to download the User Theme extension to use your own theme. The reason is that the theme files delivered with your distribution are compiled from gresource files. This integrates the themes closer to the development process but has the drawback that making your own requires more programming skills. Documentation is also scarce, for users that is. Development documentation is plentiful.

  • GObject Class Private Data

    It can be very handy to store things you might do as meta programming in your GObjectClass‘s private data (See G_TPYE_CLASS_GET_PRIVATE()).

    Doing so is perfectly fine, but you need to be aware of how GTypeInstance initialization works. Each of your parent classes instance init functions are called before your subclasses instance init (and in order of the type hierarchy). What might seem non-obvious though is that the GTypeInstance.g_class pointer is updated as each successive _init() function is called.

More in Tux Machines

Android Leftovers

System76 Thelio Major Proves To Be A Major Player For Linux Workstations

For the past two months we have been testing the System76 Thelio Major and it's been working out extremely well with performance and reliability. The Thelio Major offering with options for Intel Core X-Series or AMD Ryzen Threadripper and resides between their standard Thelio desktop with Ryzen/Core CPUs and the Thelio Massive that sports dual Intel Xeon CPUs. The Thelio Major is the platform we have been using for all of our AMD Ryzen Threadripper 3990X testing and it's been working out great. The Thelio Major besides having Threadripper and Core X-Series CPU options can be configured with up to 256GB of RAM, up to two GPUs, and up to 46TB of storage for really yielding incredibly powerful Linux workstation performance potential. Read more

Deprecating support for the Linux kernel

Running on the Hurd was always a goal for Guix, and supporting multiple kernels is a huge maintenance burden. As such it is expected that the upcoming Guix 1.1 release will be the last version featuring the Linux-Libre kernel. Future versions of Guix System will run exclusively on the Hurd, and we expect to remove Linux-Libre entirely by Guix 2.0. The Linux kernel will still be supported when using Guix on "foreign" distributions, but it will be on a best-effort basis. We hope that other distributions will follow suit and adopt the Hurd in order to increase security and freedom for their users. Read more Also: Guix deprecating support for the Linux kernel

Essential Guide: How to Upgrade to Ubuntu 20.04 (Beta) Right Now

Well, in this guide I show you the steps required to upgrade to Ubuntu 20.04 from Ubuntu 18.04 or Ubuntu 19.10 right now, , nice and early, ahead of the final release. You do not need to download an .iso, fuss around with a USB thumb drive, or lose any of your files — you can upgrade directly with a half-way decent internet connection. Just keep in mind that (at the time you read this) the final stable release of the Focal Fossa is not yet available, only a beta quality candidate is. Read more