Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated minimum package lists for Cinnamon, Cutefish, Deepin, GNOME, I3, KDE Plasma, LXQt, Sway, GPU drivers and deleted Wayfire desktop profile #3069

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
c8229d6
Update packages
Metelar Jan 3, 2025
e087cb3
Update plasma.py
Metelar Jan 3, 2025
6346c5e
Update hardware.py
Metelar Jan 3, 2025
8844e17
Update sway.py
Metelar Jan 3, 2025
c7a833f
Update sway.py
Metelar Jan 3, 2025
48423ad
Update gnome.py
Metelar Jan 3, 2025
be0b1d3
Update gnome.py
Metelar Jan 3, 2025
783c57f
Update plasma.py
Metelar Jan 3, 2025
2025ab7
Update gnome.py
Metelar Jan 3, 2025
8125a12
Update gnome.py
Metelar Jan 3, 2025
b3bbf47
Update gnome.py
Metelar Jan 3, 2025
dae04be
Update gnome.py
Metelar Jan 3, 2025
1d908cd
Update gnome.py
Metelar Jan 3, 2025
498b0d0
Update hardware.py
Metelar Jan 4, 2025
4001b77
Update hardware.py
Metelar Jan 4, 2025
1dc77e7
Update hardware.py
Metelar Jan 4, 2025
90fb228
Update hardware.py
Metelar Jan 4, 2025
f71fd73
Update hardware.py
Metelar Jan 5, 2025
94205ac
Update hardware.py
Metelar Jan 5, 2025
c4879c7
Update hardware.py
Metelar Jan 5, 2025
6bd2a15
Update hardware.py
Metelar Jan 11, 2025
9936136
Update gnome.py
Metelar Jan 11, 2025
6a79165
Update plasma.py
Metelar Jan 11, 2025
e841eed
Update gnome.py
Metelar Jan 11, 2025
903861e
Update plasma.py
Metelar Jan 11, 2025
e57fe71
Update hardware.py
Metelar Jan 11, 2025
4bac98d
Update hardware.py
Metelar Jan 11, 2025
7e1a806
Update hardware.py
Metelar Jan 11, 2025
ce6ddbc
Update hardware.py
Metelar Jan 11, 2025
e7e4837
Update hardware.py
Metelar Jan 11, 2025
0eb95d2
Update hardware.py
Metelar Jan 11, 2025
634333e
Update hardware.py
Metelar Jan 11, 2025
6fa05aa
Update gnome.py
Metelar Jan 11, 2025
e245e79
Update gnome.py
Metelar Jan 11, 2025
7b19309
Update plasma.py
Metelar Jan 12, 2025
b26df75
Update sway.py
Metelar Jan 12, 2025
f4f2783
Update i3.py
Metelar Jan 13, 2025
3004315
Update cinnamon.py
Metelar Jan 13, 2025
4b92eba
Update cutefish.py
Metelar Jan 13, 2025
828cc05
Update deepin.py
Metelar Jan 13, 2025
7a4fc90
Update lxqt.py
Metelar Jan 13, 2025
bfda669
Delete archinstall/default_profiles/desktops/wayfire.py
Metelar Jan 13, 2025
997d165
Update cinnamon.py
Metelar Jan 13, 2025
b64069f
Update deepin.py
Metelar Jan 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions archinstall/default_profiles/desktops/gnome.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ def __init__(self) -> None:
@override
def packages(self) -> list[str]:
return [
'gnome',
'gnome-tweaks'
'gnome-shell',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could potentially just install the gnome group https://archlinux.org/groups/x86_64/gnome/ as recommneded https://wiki.archlinux.org/title/GNOME

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but there are many unnecessary packages in this group.

The 'gnome-shell' package is enough to run GNOME, but I also added a system settings app (gnome-control-center), a terminal emulator (gnome-console), a file manager (nautilus) and an additional GVFS package to transfer files on the MTP protocol [1]

  1. https://wiki.archlinux.org/title/Media_Transfer_Protocol)

'gnome-console',
'gnome-control-center',
'gvfs-mtp',
'nautilus'
]

@property
Expand Down
14 changes: 9 additions & 5 deletions archinstall/default_profiles/desktops/plasma.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ def __init__(self) -> None:
@override
def packages(self) -> list[str]:
return [
"plasma-meta",
"konsole",
"kate",
"dolphin",
"ark",
"plasma-workspace"
"bluedevil",
"breeze-gtk",
Copy link
Collaborator

@svartkanin svartkanin Jan 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • breeze-gtk nice to have for theme, not essential
  • plasma-nm may not be wanted if the users did not setup any networking in the settings
  • plasma-pa also depends on the configuration of the audio server installed and may not be wanted
  • sddm-kcm this should probably only be installed if SDDM was choosen as the greeter

"dolphin",
"kde-gtk-config",
"konsole",
"plasma-desktop",
"plasma-nm",
"plasma-pa",
"sddm-kcm"
]

@property
Expand Down
11 changes: 4 additions & 7 deletions archinstall/default_profiles/desktops/sway.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,13 @@ def packages(self) -> list[str]:
return [
"sway",
"swaybg",
"swaylock",
"swayidle",
"waybar",
"dmenu",
"wmenu",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this deprecated https://github.com/LinArcX/wmenu ?

Copy link
Author

@Metelar Metelar Jan 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"brightnessctl",
"grim",
"slurp",
"pavucontrol",
"foot",
"xorg-xwayland"
"xorg-xwayland",
"xdg-desktop-portal-gtk",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this essential? Seems to me more of an optional thing to work with things like Flatpak https://wiki.archlinux.org/title/XDG_Desktop_Portal

"xdg-desktop-portal-wlr"
] + additional

@property
Expand Down
37 changes: 9 additions & 28 deletions archinstall/lib/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,13 @@ def get_ucode(self) -> Path | None:


class GfxPackage(Enum):
Dkms = 'dkms'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you share why these packages were removed and what the reasoning is?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dkms is a dependency of the nvidia-dkms and nvidia-open-dkms packages

IntelMediaDriver = 'intel-media-driver'
LibvaIntelDriver = 'libva-intel-driver'
LibvaMesaDriver = 'libva-mesa-driver'
Mesa = "mesa"
Mesa = 'mesa'
NvidiaDkms = 'nvidia-dkms'
NvidiaOpen = 'nvidia-open'
NvidiaOpenDkms = 'nvidia-open'
NvidiaOpenDkms = 'nvidia-open-dkms'
VulkanIntel = 'vulkan-intel'
VulkanRadeon = 'vulkan-radeon'
Xf86VideoAmdgpu = "xf86-video-amdgpu"
Xf86VideoAti = "xf86-video-ati"
Xf86VideoNouveau = 'xf86-video-nouveau'
Xf86VideoVmware = 'xf86-video-vmware'
XorgServer = 'xorg-server'
XorgXinit = 'xorg-xinit'
Expand Down Expand Up @@ -93,50 +87,37 @@ def gfx_packages(self) -> list[GfxPackage]:
packages = [GfxPackage.XorgServer, GfxPackage.XorgXinit]

match self:
case GfxDriver.AllOpenSource:
packages += [
case GfxDriver.AllOpenSource:
packages += [
GfxPackage.Mesa,
GfxPackage.Xf86VideoAmdgpu,
GfxPackage.Xf86VideoAti,
GfxPackage.Xf86VideoNouveau,
GfxPackage.Xf86VideoVmware,
GfxPackage.LibvaMesaDriver,
GfxPackage.LibvaIntelDriver,
GfxPackage.IntelMediaDriver,
GfxPackage.VulkanIntel,
GfxPackage.VulkanRadeon,
GfxPackage.VulkanIntel
GfxPackage.Xf86VideoVmware
]
case GfxDriver.AmdOpenSource:
case GfxDriver.AmdOpenSource:
packages += [
GfxPackage.Mesa,
GfxPackage.Xf86VideoAmdgpu,
GfxPackage.Xf86VideoAti,
GfxPackage.LibvaMesaDriver,
GfxPackage.VulkanRadeon
]
case GfxDriver.IntelOpenSource:
packages += [
GfxPackage.Mesa,
GfxPackage.LibvaIntelDriver,
GfxPackage.IntelMediaDriver,
GfxPackage.VulkanIntel
]
case GfxDriver.NvidiaOpenKernel:
packages += [
GfxPackage.NvidiaOpen,
GfxPackage.Dkms,
GfxPackage.NvidiaOpenDkms
]
case GfxDriver.NvidiaOpenSource:
packages += [
GfxPackage.Mesa,
GfxPackage.Xf86VideoNouveau,
GfxPackage.LibvaMesaDriver
GfxPackage.Mesa
]
case GfxDriver.NvidiaProprietary:
packages += [
GfxPackage.NvidiaDkms,
GfxPackage.Dkms,
GfxPackage.NvidiaDkms
]
case GfxDriver.VMOpenSource:
packages += [
Expand Down