Include:Setup-desktop: Difference between revisions

From Alpine Linux
m (rephrased the sentence)
No edit summary
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.}}
{{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.}}
<br>
<br>
{{Note|To Install any desktop environment, [[Repositories#Managing_repositories|enable]] the <code>community</code> repository. [[Alpine_setup_scripts#setup-desktop|Setup-desktop]] utility referred in [[Setup-desktop#Quickstart_Installation|Quickstart Installation]] automatically does this for you. }}
{{Note|To Install any desktop environment, [[Repositories#Managing_repositories|enable]] the <code>community</code> repository. [[Alpine_setup_scripts#setup-desktop|Setup-desktop]] script referred in [[Setup-desktop#Quickstart_Installation|Quickstart Installation]] automatically does this for you. }}


= Quickstart Installation =
= Quickstart Installation =


The Alpine Linux utility for setting up any desktop quickly is [[Alpine_setup_scripts#setup-desktop|setup-desktop]]. 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}}.
The Alpine Linux script for setting up any desktop quickly is [[Alpine_setup_scripts#setup-desktop|setup-desktop]]. Desktop environements can be installed with this script, which is part of the standard Alpine Linux installation package {{pkg|alpine-conf|repo=main}}.


{{Cmd|# setup-desktop}}
{{Cmd|# setup-desktop}}


On running the above command, you will be prompted for the desktop name.
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]}}
{{Cmd|Which desktop environment? ('gnome', 'plasma', 'xfce', 'mate', 'sway' or 'none') [none]}}


Once you have chosen the desktop environment, this utility installs the chosen desktop along with all the necessary dependencies, standard utilities, commonly used applications and {{pkg|firefox|repo=main}} as browser. This utility also activates the necessary services like dbus etc..   
Once you have chosen a desktop environment, this script installs the chosen desktop along with all the necessary dependencies, standard utilities, commonly used applications and {{pkg|firefox|repo=main}} as browser. This script also activates the necessary services like dbus etc..   


To view all the packages that are installed by the utility for the chosen desktop you can issue the below command:
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}}
{{Cmd|# cat /sbin/setup-desktop}}

Revision as of 18:08, 1 September 2024

Tip: Before installing a desktop, you may want to create a non-privileged user account for security reasons.


Note: To Install any desktop environment, enable the community repository. Setup-desktop script referred in Quickstart Installation automatically does this for you.

Quickstart Installation

The Alpine Linux script for setting up any desktop quickly is setup-desktop. Desktop environements can be installed with this script, which is part of the standard Alpine Linux installation package alpine-conf.

# setup-desktop

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

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 dependencies, standard utilities, commonly used applications and firefox as browser. This script also activates the necessary services like dbus etc..

To view all the packages that are installed by the script for the chosen desktop you can issue the below command:

# cat /sbin/setup-desktop