Skip Navigation

Search

Should I use zram?

Hello, I came across zram recently and I'd like to know if I should use it, my laptop only has ~4GB of ram, and for the most part it'll only stutter when I open multiple programs or a game, so would zram be adequate in my case?

Also, would the compressing and decompressing have a significant impact on my cpu?

8

Bring existing KDE Konsole into focus instead of launching if one exists

I use KDE on arch and would like to achieve the following behavior:

Whatever way I launch Konsole, I want it to check whether there already is a Konsole instance. If one exists, it should be brought into focus, and if no instance exists, one should be launched.

I am unable to find such an option in the Konsole settings, even though I found a roughly 1 year old forum entry mentioning such a setting. Was it removed or am I just blind? Or do I need some optional dependency?

Alternatively, it would be fine if this could simply kick in when I use my Super+K shortcut, which I've set up. Maybe there's a way to call Konsole from the terminal like that? I tried using konsole --force-reuse but it didn't seem to do the trick, and konsole --new-tab does not bring Konsole into the foreground.

Edit: Here's a script that does this, by @[email protected]

#!/bin/bash WIN="$(kdotool search --class org.kde.konsole | head -1)" if [[ "$WIN" != "" ]]; then kdotool windowactivate "$WIN" else konsole fi

kdotool is available in AUR as kdotool-git

13

Drop ENTR media keys on linux

I recently bought a Drop ENTR, and I would like to use the media keys. On the drop.com website it says that using FN + the F-keys should work, but “Fn hotkeys may work with Windows operating system only.”. Well, for me it doesn’t work. Any ideas as to why that could be, or how I could go about creating a workaround?

obligatory I use arch btw

2

How do I install firmware updates? Fedora 39

Hi, no matter how many times I click Restart & Updates..., the integrated firmware update never get's installed. Everything else does as usual, but not this one.

Is there a command line I can use to force install this?

Fedora 39.

EDIT: Solved.

My ESP /boot/efi partition originally created by Windows 11 had no space for the firmware upgrade files, so the upgrade never ran.

I fixed it by resizing it from 100MB to 200MB, now it works well.

Just in case anyone runs into this in the future, the process is unfortunately not as simple as resizing it on GParted because of a bug in libparted https://bugzilla.gnome.org/show_bug.cgi?id=649324 but there is a workaround in the comments.

5