Showing posts with label gnome. Show all posts
Showing posts with label gnome. Show all posts

Debloat Fedora 37 Gnome

As usual, there's a lot of bloat is coming together with system. But nevertheless I must say I really love how stable it is working on my Asus Transformer Mini T102HA. I really love their Gnome implementation - all the tablet features are just operating out of the box.

ibus-typing-booster is taking up to 150Mb of RAM


If you don't know how to type this might be a good tool for you - https://mike-fabian.github.io/ibus-typing-booster/ But for me it's just a memory eating unneeded extra bloat.

$ ps v $(pgrep -f ibus-typing-booster)
    PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
   2290 ?        Sl     0:30     41     0 797219 159284  4.1 /usr/bin/python3 /usr/share/ibus-typing-booster/engine/main.py --ibus

$ yum remove ibus-typing-booster-2.19.13-2.fc37.noarch

packagekitd is taking up to 300Mb of RAM

This this right after service restart, but earlier before it was 300+ Mb.

$ ps v $(pgrep packagekitd)
    PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
   6260 ?        Ssl    0:07     10     0 574388 108200  2.8 /usr/libexec/packagekitd

To me, it shouldn't be like this. No shitty interim wrapper service to wrap rpm/apt/pacman into some common API that gui frontend programs can work with, shouldn't take that much of precious RAM.

Updated this bug https://bugzilla.redhat.com/show_bug.cgi?id=1354074 and https://github.com/PackageKit/PackageKit/issues/576 but I'm in a mood of throwing it into bin without waiting for the solution. Even by paying a price of loosing gnome-software.

Later I found this ticket, where there's a suggestion to configure a timeout for exiting. I set it to 30 seconds and it shuts itself down if not being used:

$ cat /etc/PackageKit/PackageKit.conf

# Shut down the daemon after this many seconds idle. 0 means don't shutdown.
ShutdownTimeout=30

Who needs firewall and modem in 21st century?

If you're not going to create any local network services (samba, telnet, cups, whatever proxy)  with an aim to let anyone from your local network (192.168.0.0) to use them without any authorization, then you don't need a firewall. Really - if you don't have any plans to have such unprotected services, you shouldn't care about firewall. It's a lame idea first of all, to have some uncontrolled bunch of garbage local services to be "protected" by firewall. Where "protected" usually means restricted from being used.

yum remove firewalld

Same goes for ModemManager. If you don't have a modem (if you old enough to know what it is) or if you don't pair your PC with your phone via Bluetooth to use is as a modem (don't confuse it with creating a WiFi access point by your phone) - you don't need this.

yum remove ModemManager

Throw out the rest trash

Didn't have time for the below, but need to sort it out. 200 Mb of RAM is just wasted in there. If you just kill it - nothing bad happens to system: calendar in the top-row is still working. You can even invoke an address book. I really don't understand, why to keep all these services up, when everything is already working fine.

/usr/libexec/geoclue - 31 M
/usr/libexec/evolution-data-server/evolution-alarm-notify - 57 M
/usr/bin/gnome-software --gapplication-service - 89 M
/usr/libexec/evolution-source-registry - 42 M
/usr/libexec/evolution-addressbook-factory - 28 M
+ /usr/bin/python3 /usr/share/ibus-typing-booster/engine/main.py - 81 M
/usr/bin/gnome-calendar --gapplication-service - 57 M

Just see what happens if you run the below:

pkill gnome-software
pkill gnome-calendar
pkill evolution-alarm
pkill evolution-addre
pkill evolution-calen
pkill evolution-sourc

To be continued to properly fix (wipe) all that shit from being started automatically.

Start here

Disable Firefox from updating itself and flash those annoying "Restart to Keep Using Firefox" messages on you

I recently switched from Brave to Firefox. Just because Brave appeared to be some proprietary shit, even though they're masking themselv...