Include:Setup-desktop: Difference between revisions

From Alpine Linux
(rephrased the sentence)
m (fixed few sentences)
 
(4 intermediate revisions by the same user 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.}}
{{Note|Before installing any desktop,
<br>
*create a non-privileged [[Setting_up_a_new_user#Creating_a_new_user|user account]] for security reasons.  
{{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. }}
*[[Repositories#Managing_repositories|enable]] the <code>community</code> repository.  [[Setup-desktop#Installation_using_setup-desktop|Setup-desktop]] script automatically does this for you. }}


= Quickstart Installation =
== Installation using setup-desktop ==


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}}.
The Alpine Linux script for setting up a desktop quickly is [[Alpine_setup_scripts#setup-desktop|setup-desktop]].  


{{Cmd|# setup-desktop}}
{{Cmd|# setup-desktop}}
Line 13: Line 13:
{{Cmd|Which desktop environment? ('gnome', 'plasma', 'xfce', 'mate', 'sway' or 'none') [none]}}
{{Cmd|Which desktop environment? ('gnome', 'plasma', 'xfce', 'mate', 'sway' or 'none') [none]}}


this cript will install all of the necessary packages and add 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.
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..   
 
Once you have chosen a desktop environment, this script installs the chosen desktop along with all the necessary packages, {{pkg|firefox|repo=main}} 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:
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}}

Latest revision as of 05:55, 11 September 2024

Note: Before installing any desktop,

Installation using setup-desktop

The Alpine Linux script for setting up a desktop quickly is setup-desktop.

# 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 packages, firefox 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:

# cat /sbin/setup-desktop