Posts

Yum Extender - Rises Like a Phoenix

Image
Yum Extender (yumex-dnf) as retired 5 years ago from Fedora, as I did not have the time to handle development. Back in May 2021 i started up the development up again on yumex-dnf. One month ago, I started a new project yumex-ng https://github.com/timlau/yumex-ng It is a rewrite of Yum Extender from scratch as a more modern application using gtk4, libadwaita and Python 3.11. Today I made the first development release, package is available for Fedora 37 and Rawhide in Fedora Copr I'm very pleased of the current state for the application, so try it out at let me know what you think. You can track the development on my Mastodon profile.

Setup your Fedora Linux 35 using Ansible

Image
There is a lot of scripts to setup your new cool Fedora Linux 35 installation Many companies uses Ansible to setup computers, but you can also use it to setup your own local system. Check out my Github Gist with Ansible playbooks to setup your system and user configuration https://gist.github.com/timlau/0f7f09b6695f05504c611272d63e7e5c It will do the following actions  Set system Hostname Add rpmfusion Install some wanted packages Remove some unwanted packages install GStreamer codecs Add flathub flatpak repo Add gnome-nightly flatpak repo Install flatpaks from flathub Install flatpaks from gnome-night Disable Gnome Software updates auto download Ansible playbook is written i YAML format, it is very easy to read and edit. It can easy be extended to do most thing you can think off.    

Pimp your Gtk application with CSS

Image
  GTK is a powerful framework for building GUI application in Linux and other OSes. It is written in C, but there is binding for many programing languages like Python. GTK uses a subset of CSS for styling your application. I have made a little Python Demo Application to show how to pimp your application like a pimp. It shows the basics of how to use a CSS file with GTK python bindings and  the basics of how to write custom styling in CSS for your GTK application.  It is not meant to be good looking 😊, but to show how the styling works. It shows the basics like colors, padding, margins, borders etc, but also more advanced features like transitions and animations.

Clapper - A GNOME media player

Image
Clapper is a very cool media player for Gnome, It is simple and is looking very good and has some very nice features.

Show code with syntax highlighting in Blogger

Image
 When showing code examples in a blog, it is nice to have syntax highlighting on the code to increase readability. 

Using Sass in Visual Studio Code

Image
  Sass is a great way to make your .css in a more structured way that is easier to maintain. The upstrean version is made in Ruby, but here is many other versions written in other languages. I want to use libsass writen in C++ and the python-libsass python bindings there can be run from a commandline. I like to keep the requirements for my projects down, and Ruby or Node need a lot of packages to make Sass work and I need something that can be used for creating .css for Gtk applications, that can be build into packages and Node & Ruby will add a lot of unneeded requirement just to use Sass for non-web applications.

How to make a cool cinematic text effect in Shotcut

Image
 A cool tutorial by  Ben Espanto of how to  make a  very cool looking Cinematic Text reveal effect in the Free & Open Source video editor Shotcut.

Add CSS for showing Source Code in blogger

Image
If you want to have your blog on blogger, to show source code in a nice way.

Python request tutorial

Image
 A great tutorial about the Python Request library to work with webpages/services in Python. Corey Schafer Youtube channel  is a great ressource for all python programmers.