Fedora-OSTree-Setup-dev / Fedora-OSTree-Setup

Glorified scipt that automates the setup of Fedora Silverblue/Kinoite based on given config file.
GNU General Public License v3.0
7 stars 3 forks source link

tracker: general user and simple system wide tweaks and fixes #38

Open iaacornus opened 1 year ago

iaacornus commented 1 year ago

to track issues for user and simple system wide tweaks

boredsquirrel commented 1 year ago

Make Installation of GIMP Plugins easier by providing a script and putting that in the "Tools" folder? Just found out about it, will be lots of bloat because they are not tested, but GIMP needs more attention, so does KDEnLive, which doesnt seem to run on Wayland.

iaacornus commented 1 year ago

kdenlive doesnt run on wayland? im using it currently on my fsb 37 wayland.im not sure of the tools idea, since not everyone or alot of person would use those tools or scripts

boredsquirrel commented 1 year ago

Weird it works? Maybe it falls back to X11? Do you use the Flatpak?

The scripts integrate into the GIMP menu with GUI etc. But they are a lot, so optional of course.

iaacornus commented 1 year ago

Weird it works? Maybe it falls back to X11? Do you use the Flatpak?

yes

The scripts integrate into the GIMP menu with GUI etc.

this sounds interesting, if you can work on it, i can just integrate it in the program's option

boredsquirrel commented 1 year ago

Are additional RPMs here too?

I have some, because there are Dolphin dependencies:

nextcloud-client
# you get all Dolphin features like creating links and showing whats synced and whats not. This poorly doesnt work on the Flatpak

perl-Image-ExifTool
# for the "remove Metadata" extension, working really well. You could use jExifToolGUI (io.github.hvdwofl.jExifToolGUI) from Flatpak though and just execute exiftool from that container. Weird method, currently dont know how to install just that as flatpak. The Flatpak is also really nice!

pandoc
# there is an existing Dolphin extension, I created myself some I need to get icons working and will upload to pling. There currently is no flatpak for pandoc

I can try and replace the last two with direct container commands, but no guarantee that this will work, and it will slow down the addons a bit. But of course better.

boredsquirrel commented 1 year ago

gnome-boxes qemu qemu-kvm

The flatpak doesnt support USB for some weird reason (usb is a permission?) so no way to get windows running without that, guest additions, no internet, no clipboard etc.

boredsquirrel commented 1 year ago

stacer

is a really nice app, for showing systemd processes, cleaning temporary files (Gigabytes for me), some system stuff.

This may be replaced by KDE internal apps soon, but not yet and dont see it coming

boredsquirrel commented 1 year ago

selinux-policy-doc selinux-policy-sandbox

for some reason these are not installed. But I was too lazy to research what they do and if they are useful. SELinux = good Redhat happy

boredsquirrel commented 1 year ago

Shell replacement, keep in mind that it coould break the system, but this should work

#1. add fish to overrides

# 2.
lchsh -s /usr/bin/fish $USER

the lchsh is said to be a specific fedora command.

You could also only replace it in Konsole and Gnome terminal. Sed should be able to do that, if one file is not existent it should be skipped

  1. what override works?
  2. what causes least weird behavior?
  3. sudo needed

some more problems on manjaro

Terminal emulator only:

# 1. overlay fish

# 2. add to configs
# kde
# gnome

to test: echo $SHELL

Configs needed?

mkdir -p ~/.config/fish
printf 'set fish_greeting ""' >> ~/.config/fish/config.fish

konsole -e fish_config #kde only, dont know a unified way for terminal emulators

a problem with Flatpak apps and fish, different ways of Flatpaks using it?

iaacornus commented 1 year ago

Are additional RPMs here too?

I have some, because there are Dolphin dependencies:

nextcloud-client
# you get all Dolphin features like creating links and showing whats synced and whats not. This poorly doesnt work on the Flatpak

perl-Image-ExifTool
# for the "remove Metadata" extension, working really well. You could use jExifToolGUI (io.github.hvdwofl.jExifToolGUI) from Flatpak though and just execute exiftool from that container. Weird method, currently dont know how to install just that as flatpak. The Flatpak is also really nice!

pandoc
# there is an existing Dolphin extension, I created myself some I need to get icons working and will upload to pling. There currently is no flatpak for pandoc

I can try and replace the last two with direct container commands, but no guarantee that this will work, and it will slow down the addons a bit. But of course better.

you can create a pull request for addition of the recommended rpm apps. To add it, you can just include it in config/app_for_install.json, it has a format of:

    "Mailspring": {
            "aid": "com.getmailspring.Mailspring",
            "sdesc": "A simple email client.",
            "source": "flathub"
        },

the source is either rpm or flathub, while the aid is the application id for rpm, it should be the name you'll include to install it, e.g., for stacer:

    "Stacer": {
            "aid": "stacer",
            "sdesc": "System monitor",
            "source": "rpm"
        },
iaacornus commented 1 year ago

selinux-policy-doc selinux-policy-sandbox

for some reason these are not installed. But I was too lazy to research what they do and if they are useful. SELinux = good Redhat happy

i'm not sure about this tho, since selinux is already installed and set up in fedora

iaacornus commented 1 year ago

Shell replacement, keep in mind that it coould break the system, but this should work

#1. add fish to overrides

# 2.
lchsh -s /usr/bin/fish $USER

the lchsh is said to be a specific fedora command.

lchsh is not included in fedora silverblue as well as chsh, and overlaying another program does not seem to be good idea for me, hence i plan to use usermod -s instead

You could also only replace it in Konsole and Gnome terminal. Sed should be able to do that, if one file is not existent it should be skipped

1. what override works?

2. what causes least weird behavior?

3. sudo needed

some more problems on manjaro

Terminal emulator only:

# 1. overlay fish

# 2. add to configs
# kde
# gnome

to test: echo $SHELL

Configs needed?

mkdir -p ~/.config/fish
printf 'set fish_greeting ""' >> ~/.config/fish/config.fish

konsole -e fish_config #kde only, dont know a unified way for terminal emulators

a problem with Flatpak apps and fish, different ways of Flatpaks using it?

the shell will be changed using usermod, which is the proper way, it should not break the system from my experience. the breaking of system is due to symlinking the binary of fish to bash, which is improper method.

boredsquirrel commented 1 year ago

add #32 to the list? its a list on its own but fits here

boredsquirrel commented 1 year ago

add cache-cleaner #85