Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on slrpnk.net
linux·Linuxbytsugu

I made a script that configures Ubuntu (mainly its GNOME) the way I like it. I also made it work in Debian and Fedora.

It doesn't do any crazy ricing, as I mostly focused on usability tweaks and automatic installation of my must-have extensions. (Tiling, clipboard manager, dash to dock, desktop icons)

Most notable tweaks include:

  • clicking on a running app minimizes it
  • clicking on a group of apps brings up their previews
  • adds minimize, maximize buttons to windows
  • installs flatpak, adds flathub
  • install flatpak and snap plugins into gnome-software (doesn't work on Fedora)
  • installs snap
  • installs mtp-tools and gvfs-backends on Debian to be able to transfer files from a connected phone
  • adds right click > New File
  • Super + Shift + S brings up the area screenshot
  • Super + E opens the file manager
  • Ctrl + Alt + T opens the terminal

(Those already configured on Ubuntu don't get configured again, obviously.)

I also recorded a short showcase to prove that it works without errors https://youtu.be/xf739ivb9hg

I made a script that configures Ubuntu (mainly its GNOME) the way I like it. I also made it work in Debian and Fedora.https://github.com/Tsu-gu/tsubuntuOpen linkView original on slrpnk.net
61

15 replies

slrpnk.net

inb4 snap bad, they are bash scripts. Anyone can delete any command they don't like.

14
slrpnk.net

On Ubuntu, do you also remove the Snap store and install gnome-software?

Do you add the PPAs for updated flatpak version and dependencies like bubblewrap?

7
tsugureply
slrpnk.net

Nope, I don't touch the snap-store on Ubuntus (to be fair I don't install any snap plugins for gnome software center on Debian/Fedora either). As for flatpak, it's installed via apt from the regular repos. I didn't even know there was an up to date PPA.

I know about this but that's meant for 18.04 and earlier.

Edit: these are good suggestions tho. Something to work on to improve it even more.

6
tsugureply
slrpnk.net

I added sudo apt install gnome-software-plugin-snap gnome-software-plugin-flatpak gnome-software Looks like Fedora does not have gnome-software-plugin-snap or gnome-software-plugin-flatpak in its repos.

2
slrpnk.net

On Fedora is is likely just named differently ;) it for sure has at least Flatpak support.

Background is that flatpak is used directly, not through packagekit.

Have a look at packages.fedoraproject.org

1
tsugureply
slrpnk.net

I checked and Fedora dropped support for the snap plugin. https://discussion.fedoraproject.org/t/enable-snap-in-gnome-software/76134

These are also the only packages related to gnome-software:

Related Packages

    gnome-software-devel
    gnome-software-fedora-langpacks
    gnome-software-rpm-ostree

From what I remember, their gnome-software already has flatpak support. So all that will be missing is the GUI snap support. Could've been worse.

2
slrpnk.net

Interesting, thanks for the research!

Snaps are unsandboxed on Systems without AppArmor so they are not a useful cross platform technology anyways.

1
tsugureply
slrpnk.net

Yeah, that sucks. I would still want it if I were to use Fedora, as an option.

1
lemmy.ml

I don't mean to be that guy, but if you like your desktop a certain way and want to easily configure it you might want to look into Nix and home-manager, it's difficult to get started but once you have a config that works it lets you set up your whole OS and desktop and lots of apps.

4

I don't wish to learn Nix. I'm perfectly fine with Debian/Ubuntu/Fedora. When a new version comes out, all I have to do is change the versions of the extensions according to the new Gnome version.

13

Not that it would eliminate every shell command but you should learn Ansible. This is what's it's built for.

1

Interesting project. Thanks for the share. Just saying Ansible is a more "general purpose" tool, almost a programming language, to configure most anything, not just desktop environments.

1

You reached the end

I made a script that configures Ubuntu (mainly its GNOME) the way I like it. I also made it work in Debian and Fedora. | Spyke