Commit Graph

23 Commits

Author SHA1 Message Date
jh-devv
48c8250e1a fix: capitalize first character of comment (#132) 2023-08-02 13:42:35 +00:00
plata
3355dc59b3 chore: autostart.desktop add line break at EOF 2023-08-02 15:46:52 +03:00
plata
ff6e40f014 chore: justom.just add line break at EOF 2023-08-02 15:41:52 +03:00
Waffleophagus
fb6dc4da90 fix: remove GNOME Games, is deprecated 2023-07-31 12:59:56 +00:00
Waffleophagus
7fcc4ab5d1 Revert "Per the updating tools, it appears that org.gnome.Games is end of life and will no longer get updates."
This reverts commit 0f80d3054b.
2023-07-30 21:03:33 -05:00
Waffleophagus
0f80d3054b Per the updating tools, it appears that org.gnome.Games is end of life and will no longer get updates. 2023-07-30 21:01:22 -05:00
Waffleophagus
93cc478514 Updating Gamescope to pull from the most recent package. 2023-07-30 20:55:36 -05:00
Tulili
da1b3f9ca2 feat: integrate bling repo (#105)
includes everything from the bling repository to this repository (COPY)
and removes features now ingested from bling

---------

Co-authored-by: ER
2023-06-30 09:02:23 +00:00
Arcitec
ecb6fdebb1 fix!: remove legacy PWA setup command from custom.just
This is not necessary anymore. It's the job of Flatpak authors. All of them have these permissions by default nowadays, including Microsoft Edge.
2023-05-14 18:18:18 +03:00
Arcitec
aa157c2514 feat: sanity check Flathub's existence on all systems and all users
This is super important. Without these checks, the system can end up in a broken state where certain users or even the system itself lacks the "flathub" remote, which then breaks yafti's ability to install software, and also breaks consistency between multi-user accounts.

Before these fixes, we only installed "flathub" for the current user on multi-user systems, and then never again, since our installation of Flathub was dependent on the removal of Fedora's own repositories, and never happened again after that.

We now sanity-check both the system and the user-account on every yafti run.

If someone doesn't want "flathub" at the user-level, they're welcome to make their own image which removes that check. But as a "starting point" template, we should strive to provide a robust example that the largest amount of people will be happy with, which means ensuring that Flathub exists for all users on the system!

Most people run a single-user system, and will never even see these screens, since they'll see the initial screen which removes Fedora's repos and takes care of adding Flathub at the same time. These "system repair" screens will only be seen by people on multi-user systems or on various messed up systems.

PS: The strange "run" condition is required since yafti demands that the return code of a command should be "0" to show a conditional screen, but "grep" by itself returns "1" when nothing matches. Negation operators such as `!` don't work in the run-conditions either, so this workaround does the job perfectly instead. It robustly checks for the exact number "0", meaning that the Flathub remote wasn't found.
2023-05-14 18:18:18 +03:00
Arcitec
475a3c91cd fix: thoroughly remove fedora Flatpaks, and install unfiltered Flathub
We're now deleting the "fedora" Flatpak repos if they're detected on either the system or user level. All software is crippled in their repos, and less maintained than Flathub, so there's no good reason to have them.

More importantly, we're now also installing the Flathub repo system-wide instead of merely the user-level. This has two important effects:

1. People who opted out of "Third Party Repos" during OS installation will now receive the Flathub repo, to ensure that their system still works properly in that scenario.

2. It gets rid of the "Filter" line in `/var/lib/flatpak/repo/config`, so that Fedora can never reinstate the filtering in the future.

As for why we install Flathub at both the user and system levels: We need both, since the user then gets a nice dropdown menu inside GNOME Software, which lets them switch between system-wide or per-user installation locations.

The "remote" name detection has also been improved, by only printing the raw "name" column, to avoid any risk of false positives.
2023-05-14 18:18:18 +03:00
Arcitec
7c3ae599e5 fix: add the missing GNOME Core apps to "yafti" template
- Added missing apps. The list is now synced with upstream's list of Core apps (https://apps.gnome.org/). Minus the few that Fedora doesn't ship by default (such as Console, Music, Web, etc).

- Names that are already installed at the native system-level (such as Nautilus) are not included in the list.

- Fixed the names of a few apps.

- Two of the newly added apps have names that have a high risk of confusing new users, so they were added as "Photos (Organizer)" and "Videos (Player)" to avoid confusion from newcomers, otherwise they might think that those checkboxes add some bundled photos or video files.
2023-05-14 18:18:18 +03:00
Arcitec
c7deb7d6fe fix: friendlier experience in the "yafti" first boot template
- The first screen's "Pick some applications to get started" has been replaced with a friendly welcoming message.

- The second screen's difficult-to-understand "WARNING: This will modify your Flatpaks if you are rebasing!" has been replaced with an explanation of what it actually does.

- The application setup screen is now titled "Application Installer", since the previous title sounded too much like a silly rhyme. It's a minor change.

- All Flatpaks now default to system-wide install thanks to the great work of bsherman at https://github.com/ublue-os/yafti/pull/82. This saves tons of disk space for multi-user systems.

- The "system application" category have been split up into GNOME apps and every other system app, so that people on other desktop environments don't get all the GNOME apps.

- Apps that had too vague descriptions have been renamed to their full names, such as "Backup -> Deja Dup Backups".

- All app lists have been sorted alphabetically.

- Non-inclusive language in descriptions has been changed.

- Added SteamTinkerLaunch as a suggestion for the Steam category, which is the best tool for managing Steam game configurations and Proton installations, albeit very advanced since it can do practically anything the gamer needs. :)
2023-05-14 18:18:18 +03:00
Arcitec
4318180a7c fix: further improve portability of login-profile.sh
The `-d ""` check is false on bash and zsh, but there might be some rare shell out there which treats it as "." or similar, so let's guard against that risk by also verifying that `$HOME` is a non-empty string before we check if it's a directory.
2023-05-14 18:18:18 +03:00
Arcitec
cec73978cf fix!: move justfile to standardized, non-conflicting new location
- The old location was conflicting with upstream images (main, nvidia, etc), and was causing the file to be overwritten.

- It was therefore decided that each image should prefix their own justfile names, to avoid clobbering, to easily allow image makers to bundle multiple "modular" justfiles, and to allow end-users to easily include the particular modules they want.

- The name `custom.just` represents a "template name" for this "custom uBlue image", while being neutral enough to use long-term (unlike the alternative name `startingpoint.just`, which doesn't flow nicely).

- All redundant commands that already existed upstream in `ublue-os/main` have been removed, to follow the new "modular inclusion" nature of uBlue's "justfile" organization, which also means that we'll never have to manually update it to match upstream anymore. No more duplicated effort! ;)

- Updated README instructions to mention the new way of including justfiles, until the upstream "just" project has finished their "include" functionality.

- The ".just" suffix is the official upstream suffix for modular justfile inclusions.
2023-05-14 18:18:18 +03:00
Arcitec
2f85593176 feat: include flowchart graphic which explains new launcher hierarchy 2023-05-14 18:18:18 +03:00
Arcitec
abbb283dbe fix: improve "yq" arguments in justfile
No more pipe redirection. We tell yq to read the file itself. And we use `--` to ensure it never interprets files as flags.
2023-05-14 18:18:18 +03:00
Arcitec
c4b6b47606 fix: switch profile.d script to more robust technique
- Now uses `sh`-style single-bracket `[]` POSIX syntax instead of the truly old-school `test` syntax. Both are equivalent and equally portable. In fact, `man test` explains everything that `[]` can do.

- We now symlink the user's autostart file to the uBlue image's own file, and we do it in a backwards-compatible way which replaces the user's current legacy script file (if any). The previous system dumped a permanent file in the user's home-directory which never updated again after that, which meant that OS updates could never fix or improve the autostart scripts in the future. That's now possible, thanks to being a symlink.

- If the user uninstalls uBlue, or switches to a flavor without `yafti`, then the leftover "autostart" symlink will simply be a minor nuisance that only causes some soft, invisible syslog warnings about the "broken symlink", which is an improvement over the previous system which kept a full `.desktop` file that attempted to run a binary and failed to find it.
2023-05-14 18:18:18 +03:00
Arcitec
ec4d01caa8 fix!: enhanced autostart.desktop to use new script, and always find icon
Notable changes:

- The icon is no longer dependent on "GNOME Terminal" being installed. Will now work on any desktop environment, not just GNOME. We only see this icon in "GNOME Tweaks: Startup Applications" or similar autostart-managers, which is even better reason to use a generic, always-existing icon for the shortcut.

- Now runs the new "autostart.sh" yafti GUI launcher.

- Tells the OS to not spawn a terminal window when running this shell script.
2023-05-14 18:18:18 +03:00
Arcitec
8a5fd31f88 feat: new "autostart" binary, for easy startup customization
Instead of having to use a restrictive command-line in a ".desktop" file, we are now able to use scripting to create more advanced launchers, or if someone wants to easily switch yafti to something else.
2023-05-14 18:18:18 +03:00
Arcitec
34f6189d26 fix!: move all autostart-related files to standardized location 2023-05-14 18:18:18 +03:00
Arcitec
8ee996722f fix!: move yafti.yml to standardized location 2023-05-10 21:44:01 +03:00
Arcitec
07642c2f43 fix!: move justfile to standardized location 2023-05-10 21:44:01 +03:00