Pantherina

joined 2 years ago
MODERATOR OF
[–] [email protected] 3 points 3 months ago* (last edited 3 months ago)

Funny. True, on superstable but also super unstable systems, having separated apps makes most sense.

Not actually on "immutable" rpm-ostree systems, as these have the best and most solid package management.

So actually when people say "these immutable systems, you just use Flatpaks", actually on the regular systems you should mainly use Flatpaks.

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

Use MakeMKV. It is really good. It will give you files to work with, and automatically extract all good ones.

Then use Handbrake. You may also directly use handbrake, I dont know I used a total Potato (intel core duo) for the first step, no chance for encoding.

I literally just did that. DVDs have pretty uncompressed video, like an old movie is 8GB or bigger.

Have a look at the back cover of the DVD, mine had "PAL" written on it.

Recommended settings if you only want to use it with VLC or MPV, not strange media players.

  • container: use mkv. It is free, works very well and has a funny name.
  • video: AV1 (it is completely free and really good for the future. For better support use h264, but it is not as good)
    • resolution: 570p or something, PAL
    • compression rate: 25
    • FPS: 22 or something, PAL
  • audio: AAC or opus, AAC is the default
    • bitrate 128kb/s for crappy movies, 160kb/s and up for music. But using more than the original DVD has makes no sense.
    • make sure to add all tracks
  • subtitles: also make sure to add all of them

Save these settings as custom preset "PAL DVDs"

Then run it. If you have multiple files from makemkv, you can "open directory" in handbrake, and then under "queue" "add multiple ones to queue" and select all of them. Make sure to have the preset chosen, and run.

I literally encoded all my DVDs with 720p, artificially increasing the size. I am not redoing everything, my laptop is heating for 50h or so. Working well but damn that takes time.

If the videos have grain, you may want to apply a grain filter. Grain is hard to compress, as it is random noise all over the place.

Like in JPG image compression, pictures are converted to areas of the same color, like this:

image

(More examples)

If you have grain, noise, in videos, the images cannot be compressed that well and the size can be double. So if it works well, use that to decrease the video size.

Jpeg, aac, opus, AV1 are all "lossy" so they will remove information that cannot be gotten back. Unlike zip for example, or jpeg-xl (JXL) for images, or FLAC for Audio.

But encoding something that is lossy, in a lossless format, makes no sense.

You can increase the size of a lossy encoded video, by re-encoding with better presets. Without adding any real information.

So test the presets first, and if you are unhappy, run them again but on the original files.

With the correct settings I got a 6GB movie down to 600MB or less, without notable data loss.

[–] [email protected] 14 points 3 months ago

Literally a KDE setting. In the GUI.

And nobody needs that, otherwise there would be a plasmoid.

[–] [email protected] 9 points 3 months ago* (last edited 3 months ago) (15 children)

Crazyy!

Btw I am XWayland free since today!

I have a list of recommended apps here

Some apps need environment variables:

Qt:

  • qpwgraph

GTK

  • GPU Screen recorder, I guess

Electron

  • Nextcloud Flatpak
  • MullvadVPN RPM
  • Signal Flatpak
  • (Element, I switched to the Webapp in Librewolf)
  • Freetube Flatpak

You can use xlsclients -l to detect apps using XWayland.

Some may even want to run apps through XWayland on purpose, like KeepassXC for Clipboard access or autotype. Lets see how long it takes to implement all the needed protocols.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

You got me in the first part XD

No joking, apart from that

But since apparently PulseAudio is the GNome / Microsoft approved way

I think I understand your point.

Pulseaudio is outdated, Pipewire AND Pulseaudio are now needed. Maybe also just Pipewire, and you can somehow fake Pulseaudio?

I never used a system without Pulseaudio, and Fedora has both (?) Or just Pipewire.

Pulseaudio is the old stuff that apps want to use, pipewire is the new cool stuff (I recommend qpwgraph) which allows like everything.

Aaand it is not overcomplicated, it isolated apps and introduces a permission system. Privileged programs that channel the requests and permissions, and sometimes need user interaction. Its actually less chaotic, the problem simply is that Flatpak ALSO tries to run all apps everywhere. And apps are mostly not up to date, so Flatpaks have randomly poked holes everywhere.

Today I worked on hardening configs for my apps. I maintain a list of recommended ones here. I will just put my overrides in my (currently still private) dotfiles, will upload them some day.

I am for example now Wayland only. Not all apps want to, but with the correct env vars (which I just globally set for all flatpaks, hoping it will not mess with anything), all apps use it.

This makes the system way faster, and applying different vars on the apps is very easy with Flatpak.

Literally no downsides!

Not true. It still has no updating mechanism, the binary may be official, but the rest are random libraries that may not be well versioned or controlled, etc etc.

The post is specifically about upstream supported Appimages, while Flathub is mainly maintained by the same 4 peolple (it is crazy). The request is for upstream devs to maintain Flatpaks.

But for sure not everything is nice. Runtimes are too huge, outdated apps cause huge library garbage, downloads are inefficient, ...

[–] [email protected] 1 points 3 months ago

Btw get Mull from the DivestOS repo, the F-Droid version has veeery slow updates and less.

[–] [email protected] 1 points 3 months ago

I am pretty happy with GrapheneOS. Things like separate toggles for internet, or long powerbutton press foe torch are missing.

But you cannot imagine how much effort it is to maintain such a project, and their base is stable, the updates are damn fast.

First stability and security, then features.

Their core OS is minimal on purpose. I use the phone, vanadium (hardened chromium, with JIT toggle, now with adblock, completely degoogled), their attestation app, etc.

Most of the other stuff are random FOSS projects, I dont even use sandboxed play, but if I wanted to I could create a separate user profile and install it just in there.

DivestOS is doing sandboxed microG which is way more secure than unsandboxed, but still tons of effort and will break a lot.

[–] [email protected] 1 points 3 months ago (3 children)

Interesting. What are the App IDs of those both apps?

If they base on Chromite that is probably fine.

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

Thanks! TLDR spamhaus (a big spamlist provider) has them on their spamlist, or maybe not, and they are using some fancy CDN.

It is VERY likely just a technical error.

[–] [email protected] 1 points 3 months ago (1 children)

What do you mean?

To my knowledge they dont ship GNOME 46 but some old "LTS" variant (GNOME doesnt do LTS variants)

[–] [email protected] 2 points 3 months ago

Yes I know, and I want to try DivestOS one time. But they do incomplete patches.

They cannot update the kernel themselves or even worse the firmware. The kernel needs to be built and patched for the specific hardware, GrapheneOS relies completely on Google here. And the firmware needs to be signed by the vendors, so no chance either.

And especially baseband, cellular stuff has extremely many vulnerabilities in the code.

 

A little admiration of how easy UI customization is on Firefox, and how shitty Chromium looks.

60
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 
*Timestamps*
00:00 Introduction
01:45 Astra Monitor
02:36 Pano Clipboard Manager
03:14 PaperWM
04:04 MiniView
04:51 Quick Settings Tweaker
05:12 Privacy Settings
05:29 Apps Menu
05:50 Places Status Indicator
06:04 Logo Menu
06:36 Just perfection
07:25 Top Bar Organizer
08:01 SpeedUp Gnome Shell
08:43 Wiggle
09:07 Blur my shell
09:30 Burn My Windows
09:56 Caffeine
10:20 DDTerm

I dont necessarily agree.

  • a different clipboard manager (whatever is equal to KDEs)
  • blur my shell
  • quick settings tweaker probably
  • privacy settings (which is only for pipewire apps I guess, so nearly none)
  • wiggle
  • probably some maximize to workspace
4
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
25
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

I am looking for an app that allows me to combine up to 20 images into a grid. That's it.

Hard requirements:

  • not bigger than 60MB (not bloated with useless stickers etc.)
  • works properly, multiple grids, maybe adaptive to content, rectangle, resizable images inside the grid.

Soft requirements:

  • no ads or creepy network stuff (GrapheneOS network toggle deals with that)
  • latest target SDK
  • support for share dialog OR android photo picker portal (instead of using their own filepicker and needing storage access)
  • FOSS

So far I tried these apps, all garbage:

All have their own silly galleries and have a nonfunctional share portal.

Explanation: Apps dont need access to your storage to load content into their internal sandbox storage.

They can use the native android photo picker portal:

GIF (click if not playing)

gif

Or they can catch media sent to them via the share dialog, from your trusted Gallery or Filemanager app.

image

Apps using a builtin Gallery suck, as they need access to all media (Android 14), specific folders (GrapheneOS) or even all storage (older Android) which is pretty invasive.

And yeah, Signal is still doing that.

 

This is a small Tutorial how to convert Konsole to never, I mean never, open a new window again.

I mean, we moved away from Windows for a reason, right?

Also, I will show you how to use a different shell and add custom right-click actions for various useful things.

screenshot

No new windows

Go to Konsoles Settings, the second checkbox is "open all konsole windows in a single process". Check this, as it is needed.

Now to edit the system desktop entry, never do this in place, copy it to your user directory, entries here always overwrite system ones. (This can be used to hide apps too, use touch ~/.local/share/applications/name.desktop)

cp /usr/share/applications/konsole.desktop ~/.local/share/applications/

Now edit this file with your editor.

Replace Exec=konsole with Exec=konsole --new-tab.

Profile: Different Shell

Bash is the default and I highly advise against using chsh if you want to use fish, zsh or others.

Instead, create a new Konsole profile, set its default command to for example /usr/bin/fish and set it as default profile!

Profile: Distrobox

If you use Distrobox, you may want a profile that launches it directly. The advantage is that you can color it differently and much more.

In the settings create a new profile and set the startup command to distrobox enter Boxname.

Mine is for Fedora, while my main system is Fedora Atomic KDE.

Custom right-click actions

You can remove unneeded translations from the desktop entry to make it easier to work with.

In the Actions= line you define what you want. Below the main entry you put the actions with name, icon and command.

Here I have examples for launching the Distrobox Profile, opening a root shell and opening a remote ssh session.

The complete desktop entry (click me to expand)

[Desktop Entry]
Type=Application
TryExec=konsole
Exec=konsole --new-tab
Icon=utilities-terminal
Categories=System;TerminalEmulator;
Actions=FedoraBox;root;ssh;
X-DocPath=konsole/index.html
X-DBUS-StartupType=Unique
X-KDE-AuthorizeAction=shell_access
X-KDE-Shortcuts=Ctrl+Alt+T
StartupWMClass=konsole
Keywords=terminal;console;script;run;execute;command;command-line;commandline;cli;bash;sh;shell;zsh;cmd;command prompt
Name=Konsole
GenericName=Terminal
Comment="$GenericName"

[Desktop Action FedoraBox]
Name=Distrobox
Icon=fedora-logo-icon
Exec=konsole --new-tab --profile FedoraBox # this launches "distrobox enter FedoraBox"

[Desktop Action root]
Name=root Terminal
Icon=folder-root-symbolic
Exec=konsole --new-tab -e pkexec $SHELL #or define a shell like fish

[Desktop Action ssh]
Name=ssh to X
Icon=folder-remote-symbolic
Exec=konsole --new-tab -e ssh user@IP:PORT -i /path/to/key

Note that I removed the actions for "new tab" and "new window". For some reason Plasma shows the "open new window" always, and due to the replacement this opens a new tab instead.

Ctrl+Alt+t, opening from Dolphin and more will also open a new tab.

Btw, if somebody can help me figure out how to focus the Konsole window when opening a new tab, that would be nice. This is currently missing

 

Appimages totally suck, because many developers think they were a real packaging format and support them exclusively.

Their use case is tiny, and in 99% of cases Flatpak is just better.

I could not find a single post or article about all the problems they have, so I wrote this.

This is not about shaming open source contributors. But Appimages are obviously broken, pretty badly maintained, while organizations/companies like Balena, Nextcloud etc. don't seem to get that.

 

I agree with @[email protected] a lot here.

I think a color scheme solves a lot, but the color gradients etc. are still gone.

What is your favourite non-white light theme, best for Plasma 6?

Please add a screenshot!

 

Hey, my Pixel with GrapheneOS doesnt get dark enough. Android has some "extradark" feature that basically overlays black with a set transparency.

I used Red Moon in the past but its overcomplex, I have Android bluelight filter which works fine, and just would like an app to overlay such a dark mode.

The screen is OLED so I think? It even saves energy?

 

I use Fedora Kinoite daily and find it to be the only OS to make sense really.

I find Fedora CoreOS totally confusing (with that ignition file, no anaconda, no user password by default, like how would I set this up anywhere I dont have filesystem access to?)

But there are alternatives. I would like to build my own hardened Fedora server image that can be deployed anywhere (i.e. any PC to turn into a secure and easy out-of-the-box server).

As modern server often uses containers anyways, I think an atomic server only makes sense, as damn Debian is just a pain to use.

Experiences, recommendations?

view more: ‹ prev next ›