Fix Firefox desktop filename in favorites

This commit is contained in:
eabdullin 2025-02-20 16:39:42 +03:00
parent 48fd3bd19a
commit 5a42b14cc7
2 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,25 @@
From b524cdc2f74eee1b7185a06b40ec536bdfd8ae48 Mon Sep 17 00:00:00 2001
From: eabdullin <eabdullin@almalinux.org>
Date: Thu, 20 Feb 2025 16:37:48 +0300
Subject: [PATCH] Fix Firefox desktop filename in favorites
---
libexec/livesys/sessions.d/livesys-gnome | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libexec/livesys/sessions.d/livesys-gnome b/libexec/livesys/sessions.d/livesys-gnome
index e77c5ff..5bc2f6e 100755
--- a/libexec/livesys/sessions.d/livesys-gnome
+++ b/libexec/livesys/sessions.d/livesys-gnome
@@ -48,7 +48,7 @@ if [ -f /usr/share/applications/liveinst.desktop ]; then
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell]
-favorite-apps=['org.mozilla.firefox.desktop', 'org.gnome.Calendar.desktop', 'rhythmbox.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
+favorite-apps=['firefox.desktop', 'org.gnome.Calendar.desktop', 'rhythmbox.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop', 'anaconda.desktop']
FOE
if [ ! -d /var/lib/gnome-initial-setup ]; then
--
2.39.5 (Apple Git-154)

View File

@ -1,12 +1,14 @@
Name: livesys-scripts
Version: 0.6.4
Release: 1%{?dist}
Release: 1%{?dist}.alma.1
Summary: Scripts for auto-configuring live media during boot
License: GPL-3.0-or-later
URL: https://pagure.io/livesys-scripts
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0001: 0001-Fix-Firefox-desktop-filename-in-favorites.patch
BuildRequires: systemd-rpm-macros
BuildRequires: make
@ -18,7 +20,7 @@ BuildArch: noarch
%prep
%autosetup
%autosetup -p1
%build
@ -57,6 +59,9 @@ touch %{buildroot}%{_sharedstatedir}/livesys/livesys-session-late-extra
%changelog
* Thu Feb 20 2025 Eduard Abdullin <eabdullin@almalinux.org> - 0.6.4-1.alma.1
- Fix Firefox desktop filename in favorites
* Wed Aug 28 2024 Neal Gompa <ngompa@fedoraproject.org> - 0.6.4-1
- Update to 0.6.4