From 9b0de1e7a3ce72324c59b2c8848c7a95d9d8a1f2 Mon Sep 17 00:00:00 2001 From: P-rth <67070874+P-rth@users.noreply.github.com> Date: Wed, 8 Oct 2025 01:59:40 +0530 Subject: [PATCH 1/4] Add Pantheon desktop environment profile adding pantheon support; fixing #3834 --- .../default_profiles/desktops/pantheon.py | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 archinstall/default_profiles/desktops/pantheon.py diff --git a/archinstall/default_profiles/desktops/pantheon.py b/archinstall/default_profiles/desktops/pantheon.py new file mode 100644 index 0000000000..1887d49515 --- /dev/null +++ b/archinstall/default_profiles/desktops/pantheon.py @@ -0,0 +1,34 @@ +from typing import override + +from archinstall.default_profiles.profile import GreeterType, ProfileType +from archinstall.default_profiles.xorg import XorgProfile + + +class PantheonProfile(XorgProfile): + + def __init__(self) -> None: + super().__init__('Pantheon', ProfileType.DesktopEnv) + + @property + @override + def packages(self) -> list[str]: + return [ + 'pantheon-session', + 'pantheon-polkit-agent', + 'pantheon-print', + 'pantheon-settings-daemon', + 'sound-theme-elementary', + 'switchboard', + 'switchboard-plug-desktop', + 'elementary-icon-theme', + 'wingpanel-indicator-session', + 'wingpanel-indicator-datetime', + 'pantheon-applications-menu', + 'gnome-settings-daemon', + 'pantheon-default-settings', + ] + + @property + @override + def default_greeter_type(self) -> GreeterType: + return GreeterType.LightdmSlick From de9f725808ccf8c9c8e1cb04b3cd4801416acc11 Mon Sep 17 00:00:00 2001 From: P-rth <67070874+P-rth@users.noreply.github.com> Date: Wed, 8 Oct 2025 14:25:38 +0530 Subject: [PATCH 2/4] fix linting replaced all spaces with tabs --- .../default_profiles/desktops/pantheon.py | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/archinstall/default_profiles/desktops/pantheon.py b/archinstall/default_profiles/desktops/pantheon.py index 1887d49515..882c234bbf 100644 --- a/archinstall/default_profiles/desktops/pantheon.py +++ b/archinstall/default_profiles/desktops/pantheon.py @@ -6,29 +6,29 @@ class PantheonProfile(XorgProfile): - def __init__(self) -> None: - super().__init__('Pantheon', ProfileType.DesktopEnv) + def __init__(self) -> None: + super().__init__('Pantheon', ProfileType.DesktopEnv) - @property - @override - def packages(self) -> list[str]: - return [ - 'pantheon-session', - 'pantheon-polkit-agent', - 'pantheon-print', - 'pantheon-settings-daemon', - 'sound-theme-elementary', - 'switchboard', - 'switchboard-plug-desktop', - 'elementary-icon-theme', - 'wingpanel-indicator-session', - 'wingpanel-indicator-datetime', - 'pantheon-applications-menu', - 'gnome-settings-daemon', - 'pantheon-default-settings', - ] + @property + @override + def packages(self) -> list[str]: + return [ + 'pantheon-session', + 'pantheon-polkit-agent', + 'pantheon-print', + 'pantheon-settings-daemon', + 'sound-theme-elementary', + 'switchboard', + 'switchboard-plug-desktop', + 'elementary-icon-theme', + 'wingpanel-indicator-session', + 'wingpanel-indicator-datetime', + 'pantheon-applications-menu', + 'gnome-settings-daemon', + 'pantheon-default-settings', + ] - @property - @override - def default_greeter_type(self) -> GreeterType: - return GreeterType.LightdmSlick + @property + @override + def default_greeter_type(self) -> GreeterType: + return GreeterType.LightdmSlick From 0c7e9fc93f6fbda1ca15f45571ab0f1687661069 Mon Sep 17 00:00:00 2001 From: P-rth <67070874+P-rth@users.noreply.github.com> Date: Wed, 8 Oct 2025 14:43:14 +0530 Subject: [PATCH 3/4] remove extra line removed extra line at line number 8 --- archinstall/default_profiles/desktops/pantheon.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/archinstall/default_profiles/desktops/pantheon.py b/archinstall/default_profiles/desktops/pantheon.py index 882c234bbf..b4b1aacb70 100644 --- a/archinstall/default_profiles/desktops/pantheon.py +++ b/archinstall/default_profiles/desktops/pantheon.py @@ -5,7 +5,6 @@ class PantheonProfile(XorgProfile): - def __init__(self) -> None: super().__init__('Pantheon', ProfileType.DesktopEnv) @@ -31,4 +30,4 @@ def packages(self) -> list[str]: @property @override def default_greeter_type(self) -> GreeterType: - return GreeterType.LightdmSlick + return GreeterType.LightdmSlick \ No newline at end of file From e4739ea6ca398021c8d3922f863cd5f260565810 Mon Sep 17 00:00:00 2001 From: P-rth <67070874+P-rth@users.noreply.github.com> Date: Thu, 9 Oct 2025 01:22:46 +0530 Subject: [PATCH 4/4] Fix missing newline at end of pantheon.py im dum --- archinstall/default_profiles/desktops/pantheon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/default_profiles/desktops/pantheon.py b/archinstall/default_profiles/desktops/pantheon.py index b4b1aacb70..2e116ca883 100644 --- a/archinstall/default_profiles/desktops/pantheon.py +++ b/archinstall/default_profiles/desktops/pantheon.py @@ -30,4 +30,4 @@ def packages(self) -> list[str]: @property @override def default_greeter_type(self) -> GreeterType: - return GreeterType.LightdmSlick \ No newline at end of file + return GreeterType.LightdmSlick