Include:Setup-desktop: Difference between revisions

From Alpine Linux
m (fixed few sentences)
m (added exception for sway)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Note|Before installing any desktop,
The Alpine Linux script for quickly [[Alpine_setup_scripts#setup-desktop|setting up a desktop]] is:{{Cmd|# setup-desktop}}
*create a non-privileged [[Setting_up_a_new_user#Creating_a_new_user|user account]] for security reasons.
*[[Repositories#Managing_repositories|enable]] the <code>community</code> repository.  [[Setup-desktop#Installation_using_setup-desktop|Setup-desktop]] script automatically does this for you. }}


== Installation using setup-desktop ==
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]}}


The Alpine Linux script for setting up a desktop quickly is [[Alpine_setup_scripts#setup-desktop|setup-desktop]].
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}}
 
{{Cmd|# setup-desktop}}
 
On running the above command, you will be prompted to select a desktop environment.
 
{{Cmd|Which desktop environment? ('gnome', 'plasma', 'xfce', 'mate', 'sway' or 'none') [none]}}
 
Once you have chosen a desktop environment, this script installs the chosen desktop along with all the necessary packages, {{pkg|firefox|repo=community}} browser and adds the necessary services to run on startup. You can reboot when complete and the system will boot into a graphical login screen with the desktop environment. Depending on the desktop chosen, the script also activates the necessary services like dbus, elogind, login manager etc.
 
To view all the packages that are installed by the script for the chosen desktop you can issue the below command:
 
{{Cmd|# cat /sbin/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