Include:Setup-desktop: Difference between revisions

From Alpine Linux
m (added exception for sway)
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Tip|Before installing a desktop, you may want to create a non-privileged [[Setting_up_a_new_user#Creating_a_new_user|user account]] for security reasons.}}
The Alpine Linux script for quickly [[Alpine_setup_scripts#setup-desktop|setting up a desktop]] is:{{Cmd|# setup-desktop}}


== Quickstart Installation ==
On running the above command, you will be prompted to select a desktop environment.{{Cmd|Which desktop environment? ('gnome', 'plasma', 'xfce', 'mate', 'sway', 'lxqt' or 'none') [none]}}


{{Note|To Install any desktop environment, ensure that <code>community</code> repository is [[Repositories#Managing_repositories|enabled]].}}
Once you have chosen a desktop environment, this script installs the chosen desktop along with necessary packages, {{pkg|firefox|repo=community}} browser and adds necessary services to run on startup. You can reboot when complete, and the system will boot into a graphical login screen with the chosen desktop environment, except for [[Sway#Setup-desktop|sway]]. To view the packages installed by the script: {{Codeline|$ cat /usr/sbin/setup-desktop}}
 
The Alpine Linux utility for setting up any desktop quickly is <code>setup-desktop</code>. Most commonly used desktop environements can be quickly installed with this utility, which is part of the standard Alpine Linux installation package {{pkg|alpine-conf|repo=main}}.
 
This utility installs the chosen desktop environment with all the necessary dependencies, standard utilities and commonly used applications along with {{pkg|firefox|repo=main}} as browser.
 
{{Cmd|# setup-desktop}}

Latest revision as of 06:03, 23 May 2025

The Alpine Linux script for quickly setting up a desktop is:

# setup-desktop

On running the above command, you will be prompted to select a desktop environment.

Which desktop environment? ('gnome', 'plasma', 'xfce', 'mate', 'sway', 'lxqt' or 'none') [none]

Once you have chosen a desktop environment, this script installs the chosen desktop along with necessary packages, firefox browser and adds necessary services to run on startup. You can reboot when complete, and the system will boot into a graphical login screen with the chosen desktop environment, except for sway. To view the packages installed by the script: $ cat /usr/sbin/setup-desktop