Manjaro Difference between pages "Install Desktop Environments" and "Configure Graphics Cards"

Difference between pages "Install Desktop Environments" and "Configure Graphics Cards"

From Manjaro
(Difference between pages)
imported>Dalto
m (Updated budgie lightdm greeter settings to to match v18)
 
imported>Verityproductions
 
Line 1: Line 1:
__TOC__
= Overview =
= Overview =


There are several Desktop Environments and Window Managers available for Manjaro, each with their own unique style, interface, and features. Furthermore, it is possible to install multiple environments if desired, which can be selected at the login screen at any time. Users are not restricted  to whatever comes pre-installed with a particular flavour of Manjaro.
{{note|The mhwd command is still ''under development'', and at present is only able to install drivers for graphics cards connected internally via pci.}}
 
 
 
= Desktop Environments =
 
It is worth noting that a desktop environment is not a single entity; it is actually a collection of different components that work together. This commonly includes a:
 
* '''window manager''' to display, move and resize application windows
* '''file manager''' to visually browse, copy and access files, etc.
* '''background provider''' to display wallpapers, etc.
* '''panel''' to provide a menu and to display information such as the time
* '''settings/configuration manager''' to change the look of the environment
 
 
And so on. Most desktop environments will also come with their own preferred applications, in addition to various widgets, addons, and extensions to provide extra features. As such, upon entering the commands provided below in your terminal to download and install a desktop environment, you may be prompted to choose from a selection of components provided for it. '''To install a full desktop environment''' - complete with its own preferred file manager, applications, and so on - simply press <enter> when prompted. Everything will be downloaded and installed by default.
 
 
{{note|If you install this way to use multiple desktop environments, you may find certain applications seem to appear several times in your application menus. For example, several different terminals may be available, as many desktop environments come with their own preferred version, which can also be used in other desktops.}}
 
 
Where additional (and optional) extras for a desktop environment are availble, the terminal commands to obtain these have also been provided. These commands have been listed seperately to those for obtaining the desktop environments themselves.
 
 
Some important information about installing the Manjaro settings packages:
* The Manjaro settings packages contain the theming and settings to make the desktop the same as in the Manjaro ISOs
* They have the naming convention manjaro-<desktop>-settings i.e. manjaro-xfce-settings
* They share files so you can only have one at a time installed.
* If you are coming from gnome you must remove the meta package '''manjaro-gnome-assets''' before you can install the settings package for another desktop
 
 
== XFCE ==
 
[[File: xfceDE.png|thumb|left|375px]]
 
 
'''[http://xfce.org/ XFCE]''' is a lightweight and versatile desktop environment that utilises a classic drop-down or pop-up menu to access applications. It is also compatible with '''[[Compiz_and_Emerald|Compiz]]'''. A little time and effort will also be required to properly customise the desktop to suit personal taste. A 64 bit installation of Manjaro running XFCE uses about 390MB of memory.  As of version 18, Manjaro has moved to the gtk3 version of XFCE.
 
====== Install a basic XFCE environment ======
 
sudo pacman -S xfce4-gtk3 xfce4-goodies xfce4-terminal network-manager-applet xfce4-notifyd-gtk3 xfce4-whiskermenu-plugin-gtk3 tumbler engrampa
 
====== Optional: Install and use LightDM, the recommended display manager for XFCE ======
sudo pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings
sudo systemctl enable lightdm.service --force
edit '''/etc/lightdm/lightdm.conf''', under [Seat:*] replace the greeter-session setting with '''greeter-session=lightdm-gtk-greeter'''
 
====== Optional: Install the Manjaro configuration and theming for XFCE ======
sudo pacman -S manjaro-xfce-gtk3-settings manjaro-settings-manager
 
To configure LightDM to match the official iso replace the contents of /etc/lightdm/lightdm-gtk-greeter.conf with
[greeter]
background = /usr/share/backgrounds/illyria-default-lockscreen.jpg
font-name = Cantarell Bold 12
xft-antialias = true
icon-theme-name = Adapta-Papirus-Maia
screensaver-timeout = 60
theme-name = Adapta-Eta-Maia
cursor-theme-name = xcursor-breeze
show-clock = false
default-user-image = #avatar-default
xft-hintstyle = hintfull
position = 50%,center 50%,center
clock-format =
panel-position = bottom
indicators = ~host;~spacer;~clock;~spacer;~language;~session;~a11y;~power
 
====== Create a new user for the new desktop environment ======
sudo useradd -mG lp,network,power,sys,wheel <username>
sudo passwd <username>
 
<br clear="all" />
 
== KDE Plasma 5 ==
 
 
[[File: KDEPlasmaDE.png|thumb|left|375px]]
 
 
'''[http://www.kde.org/ The KDE community]''' offers [https://www.kde.org/plasma-desktop Plasma], a feature-rich and versatile desktop environment that provides several different styles of menu to access applications. Its default window manager is kwin, but is also compatible with '''[[Compiz_and_Emerald|Compiz]]'''. An excellent built-in interface to easily access and install new themes, widgets, etc, from the internet is also worth mentioning. A 64 bit installation of Manjaro running KDE uses about 455MB of memory.
 
====== Install a basic KDE Plasma environment ======
 
sudo pacman -S plasma kio-extras
 
====== Optional: Install KDE applications ======
To install a full set of K* applications use '''kde-applications'''.  This will be ~300 packages(including dependencies)
sudo pacman -S kde-applications
Alternatively, install a minimal set of KDE applications with '''kdebase'''
sudo pacman -S kdebase
 
====== Optional: Install and use [https://wiki.manjaro.org/index.php?title=Install_Display_Managers#SDDM SDDM], the recommended display manager for KDE ======
SDDM is installed as a dependency of plasma.  To enable it
sudo systemctl enable sddm.service --force
reboot
 
====== Optional: Install the Manjaro configuration and theming for plasma ======
sudo pacman -S manjaro-kde-settings sddm-breath-theme manjaro-settings-manager-knotifier manjaro-settings-manager-kcm
 
Open plasma settings, go to Startup & Shutdown->Login Screen and select "Breath"
 
====== Create a new user for the new desktop environment ======
sudo useradd -mG lp,network,power,sys,wheel <username>
sudo passwd <username>
 
 
<br clear="all" />
 
== Gnome 3 ==
 
[[File: Gnome-de-18.jpg|thumb|left|375px]]
 
 
'''[http://www.gnome.org/ Gnome 3]''' is an intuitive desktop environment that utilises a tablet or smartphone style interface to access applications. It is not compatible with compiz. Although Gnome is very easy to learn and use, its customisation options are quite limited, and it can be difficult to configure. A 64 bit installation of Manjaro running Gnome uses about 447MB of memory.
 
====== Install a basic gnome environment ======
 
sudo pacman -S gnome
 
====== Optional: To install extra themes, games, and features ======
 
sudo pacman -S gnome-extra
 
====== Optional: Install and use GDM, the recommended display manager for gnome ======
GDM is installed as a dependency of gnome, to enable it
sudo systemctl enable gdm.service --force
 
====== Optional: Install the Manjaro configuration and theming for gnome ======
sudo pacman -S manjaro-gnome-assets manjaro-gdm-theme manjaro-settings-manager
 
====== Create a new user for the new desktop environment ======
sudo useradd -mG lp,network,power,sys,wheel <username>
sudo passwd <username>
 
<br clear="all" />
 
== Budgie ==
 
[[File: budgie.jpg|thumb|left|375px]]
 
 
The '''[https://github.com/solus-project/budgie-desktop Budgie Desktop]''' is a modern desktop designed to keep out the way of the user. It features heavy integration with the GNOME stack in order for an enhanced experience. A 64 bit installation of Manjaro running budgie uses about 632MB of memory.
 
====== Install a basic budgie environment ======
 
sudo pacman -S budgie-desktop network-manager-applet gnome-control-center gnome-screensaver
 
====== Optional: Install additional commonly used components ======
sudo pacman -S gnome-terminal nautilus budgie-extras dconf-editor
 
====== Optional: Install and use LightDM, the recommended display manager for budgie ======
sudo pacman -S lightdm lightdm-slick-greeter lightdm-settings
sudo systemctl enable lightdm.service --force
edit '''/etc/lightdm/lightdm.conf''', under [Seat:*] replace the greeter-session setting with '''greeter-session=lightdm-slick-greeter'''
 
====== Optional: Install the Manjaro configuration and theming for budgie ======
sudo pacman -S manjaro-budgie-settings manjaro-settings-manager papirus-maia-icon-theme
 
To configure LightDM to match the official iso replace the contents of /etc/lightdm/slick-greeter.conf with
[Greeter]
background=/usr/share/backgrounds/manjaro-budgie/manjaro-budgie.jpg
theme-name=Matcha-sea
icon-theme-name=Papirus-Maia
draw-grid=false
 
====== Create a new user for the new desktop environment ======
sudo useradd -mG lp,network,power,sys,wheel <username>
sudo passwd <username>
 
<br clear="all" />
 
== Cinnamon ==
 
[[File: Cinnamon screenshot.jpeg|thumb|left|375px]]
 
 
'''[http://cinnamon.linuxmint.com/ Cinnamon]''' is a desktop environment based on Gnome 3 that utilises a large panel-style menu to access applications. It is not compatible with compiz. Despite being based on Gnome, it has more customisation options and is easier to configure. Users of Windows Vista or Windows 7 may find Cinnamon's interface comfortably familiar. A 64 bit installation of Manjaro running Cinnamon uses about 665MB of memory.
 
====== Install a basic cinnamon environment ======
 
sudo pacman -S cinnamon
 
====== Optional: Install additional commonly used components ======
sudo pacman -S cinnamon-wallpapers cinnamon-sounds gnome-terminal
 
====== Optional: Install and use LightDM, the recommended display manager for cinnamon ======
sudo pacman -S lightdm lightdm-slick-greeter lightdm-settings
sudo systemctl enable lightdm.service --force
edit '''/etc/lightdm/lightdm.conf''', under [Seat:*] replace the greeter-session setting with '''greeter-session=lightdm-slick-greeter'''
 
====== Optional: Install the Manjaro configuration and theming for cinnamon ======
sudo pacman -S manjaro-cinnamon-settings adapta-maia-theme kvantum-manjaro vibrancy-icons-teal
 
To configure LightDM to match the community edition replace the contents of /etc/lightdm/slick-greeter.conf with
[Greeter]
background=/usr/share/backgrounds/greeter_default.jpg
background-color=#263138
draw-grid=false
theme-name=Adapta-Nokto-Eta-Maia
icon-theme-name=Vibrancy-Full-Dark-Teal
font-name='Cantarell 11'
xft-antialias=true
xft-hintstyle=hintfull
enable-hidpi=auto
 
====== Create a new user for the new desktop environment ======
sudo useradd -mG lp,network,power,sys,wheel <username>
sudo passwd <username>
 
<br clear="all" />
 
 
== Deepin ==
 
[[File: deepin.jpg|thumb|left|375px]]
 
 
The '''[https://www.deepin.org/en/dde/ Deepin Desktop]''' is an elegant, easy to use desktop. It is lightly configurable.  A 64 bit installation of Manjaro running deepin uses about 525MB of memory.
 
====== Install a basic deepin environment ======
 
sudo pacman -S deepin
 
====== Optional: Install the deepin applications suite ======
sudo pacman -S deepin-extra
 
====== Optional: Install and use LightDM, the recommended display manager for deepin======
sudo pacman -S lightdm
sudo systemctl enable lightdm.service --force
edit '''/etc/lightdm/lightdm.conf''', under [Seat:*] replace the greeter-session setting with '''greeter-session=lightdm-deepin-greeter'''
 
====== Optional: Install the Manjaro configuration and theming for deepin ======
sudo pacman -S deepin-manjaro
 
====== Create a new user for the new desktop environment ======
sudo useradd -mG lp,network,power,sys,wheel <username>
sudo passwd <username>
 
<br clear="all" />
 
 
== Enlightenment ==
{{note|There is not currently a Manjaro settings package for Enlightenment|}}
 
[[File: E20-Green_Onix_760.png|thumb|left|375px]]
 
'''[http://www.enlightenment.org/ Enlightenment]''', sometimes known simply as E, is a lightweight desktop environment known for its configurability and tools for creating beautiful user interfaces using its Enlightenment Foundation Libraries (EFL). E started in 1997 as a stacking windows manager, emerging as a desktop environment with development release 0.17. E does not come with a broad array of tools by default, which can be an advantage for experienced users who want to customize their installation, and a disadvantage for users with little or no experience of Linux. E uses a few unique terms, for example referring to panels as “shelves”. A 64-bit installation of E uses about 160M of memory.
'''
====== Install a basic E environment ======
sudo pacman -S enlightenment
 
====== Optional: Install and use Entrance, the recommended display manager for E ======
Entrance is available from the AUR in the package '''entrance-git'''.  Information on how to install packages from AUR can be found '''[https://wiki.manjaro.org/index.php/Arch_User_Repository here]'''.  This is an example using yay
sudo pacman -S --asdeps meson && yay -S entrance-git
sudo systemctl enable entrance.service --force
 
====== Optional: Install Manjaro themes for E ======
sudo pacman -S enlightenment-manjaro-themes
 
====== Create a new user for the new desktop environment ======
sudo useradd -mG lp,network,power,sys,wheel <username>
sudo passwd <username>
 
<br clear="all" />
 
 
== LXDE ==
 
{{note|Installing LXDE will also result in installing ''Openbox'' as its default window manager. The LXDM display manager will also be downloaded, although it will be necessary to enable this yourself if you wish to replace your existing display manager.}}
 
[[File: lxde17.1.11.jpg|thumb|left|375px]]
 
 
'''[http://lxde.org/ LXDE]''' is a super-lightweight desktop environment that is very similar to XFCE, with the exception that it is not compatible with Compiz. As with XFCE, LXDE is also a somewhat basic desktop environment, lacking some modern features that would be expected, such as a search-bar to find applications and files. However, it is also an excellent choice for less powerful computers, as a 64 bit installation of Manjaro running LXDE uses only about 320MB of memory.
 
====== Install a basic lxde environment ======
 
sudo pacman -S lxde network-manager-applet
 
====== Optional: Install and use LightDM, the recommended display manager for lxde ======
sudo pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings
sudo systemctl enable lightdm.service --force
 
====== Optional: Install the Manjaro configuration and theming for lxde ======
sudo pacman -S manjaro-lxde-logout-banner manjaro-lxde-xfce4-notifyd manjaro-lxde-xfce4-volumed-pulse manjaro-settings-manager manjaro-settings-manager-notifier manjaro-lxde-settings arc-maia-icon-theme kvantum-manjaro
 
To configure LightDM to match the community edition replace the contents of /etc/lightdm/lightdm-gtk-greeter.conf with
[greeter]
background = /usr/share/backgrounds/lxde-breath.png
font-name = Cantarell 12
xft-antialias = true
icon-theme-name = Arc-Maia
screensaver-timeout = 60
theme-name = Adapta-Eta-Maia
cursor-theme-name = xcursor-breeze
show-clock = false
default-user-image = #avatar-default
xft-hintstyle = hintfull
position = 50%,center 50%,center
clock-format =
panel-position = bottom
 
====== Create a new user for the new desktop environment ======
sudo useradd -mG lp,network,power,sys,wheel <username>
sudo passwd <username>
 
<br clear="all" />
 
 
== LXQt ==
 
[[File: Lxqt-de-18.png|thumb|left|375px]]
 
 
LXQt is the Qt5 port and the upcoming version of LXDE, the Lightweight Desktop Environment. It is the product of the merge between the LXDE-Qt and the Razor-qt projects: A lightweight, modular, blazing-fast and user-friendly desktop environment. '''Use this command to install it:
'''
sudo pacman -S lxqt
 
Additionally, some '''essential''' packages (window manager, terminal, and icon pack) are required in order to get a basic Desktop Environment:
 
sudo pacman -S openbox qterminal oxygen-icons
 
 
LXQt does not install a Display/Login Manager for you. The recommended Display/Login Manager for LXQt is '''[https://wiki.manjaro.org/index.php?title=Install_Display_Managers#SDDM SDDM]'''.
 
 
Intermediate to advanced users can follow (parts of) this guide to a '''[[Minimal LXQt installation]]'''.
 
<br clear="all" />
 
== MATE ==
 
[[File: mate.jpg|thumb|left|375px]]
 
 
The '''[https://mate-desktop.org/ MATE Desktop]''' Environment is the continuation of GNOME 2. It provides an intuitive and attractive desktop environment using traditional metaphors for Linux and other Unix-like operating systems.  MATE is under active development to add support for new technologies while preserving a traditional desktop experience.  A 64 bit installation of Manjaro running MATE uses about 378MB of memory.
 
====== Install a basic mate environment ======
 
sudo pacman -S mate network-manager-applet
 
====== Optional: Install mate applications and configuration tools ======
sudo pacman -S mate-extra dconf-editor
 
====== Optional: Install and use LightDM, the recommended display manager for mate ======
sudo pacman -S lightdm lightdm-slick-greeter lightdm-settings
sudo systemctl enable lightdm.service --force
edit '''/etc/lightdm/lightdm.conf''', under [Seat:*] replace the greeter-session setting with '''greeter-session=lightdm-slick-greeter'''
 
====== Optional: Install the Manjaro configuration and theming for mate ======
sudo pacman -S manjaro-mate-settings arc-maia-icon-theme papirus-maia-icon-theme manjaro-settings-manager manjaro-settings-manager-notifier
 
To configure LightDM to match the community edition replace the contents of /etc/lightdm/slick-greeter.conf with
[Greeter]
background=/usr/share/backgrounds/manjaro-mate/manjaro-mate.jpg
theme-name=Adapta-Nokto-Maia
icon-theme-name=Arc-Maia
draw-grid=false
 
====== Create a new user for the new desktop environment ======
sudo useradd -mG lp,network,power,sys,wheel <username>
sudo passwd <username>
 
<br clear="all" />
 
 
= Window Managers =
 
{{note|By nature, building your own desktop environment from a Window Manager will take substantially more time and effort than simply downloading a pre-defined desktop environment.}}
 
{{warning|The images provided below are purely for illustrative purposes only. You will have you put in the necessary time and effort to configure them.}}




Although Desktop Environments commonly provide a good range of customisation options to suit personal taste and preference, they may still be seen as somewhat restrictive or controlled in the sense that they merely allow for the personalisation of their pre-defined components. However, certain Window Managers empower users to take a 'do it yourself' approach in order to create their own desktop environments. In essence, they may be used as a foundation on which to build upon, as literally every component and every aspect of the desktop is under the direct control and choice of the user. An environment may be as elaborate or as minimalistic as desired, and it is even possible to mix and match various components from other desktop environments.  
Where installing the full version of Manjaro (i.e. complete with a pre-installed desktop environment, codecs, and software applications), the mhwd command will be automatically run by the CLI installer to automatically detect your graphics card and install the most appropriate driver for it. '''Whether free or proprietary drivers are installed will depend on your initial choice of using free or nonfree graphics drivers to boot up'''.  


Therefore extremely powerful and versatile, these window managers also carry the additional benefit of being faster and more resource efficient than pre-defined desktop environments. Interestingly, the super-lightweight LXDE environment is itself built on the Openbox window manager. There are two types of Window Manager: '''Stacking''' and '''Tiling'''. These names denote how application windows will behave on your desktop.
Otherwise, it will be necessary to run the mhwd command manually as part of the post-installation process for the minimalistic '''NET-Edition''' of Manjaro. Of course, it is also possible to use the mhwd command to install, re-install, and remove installed graphics drivers at any time, as illustrated below.


{{warning|For the NET-Edition, ensure that the graphics drivers are installed '''prior''' to installing and configuring your desired desktop and greeter. Without video drivers to show them, you won't get very far!}}


== Stacking Window Managers ==


'''Stacking window managers''' are by far the most popular, and essentially allow application windows to be moved freely around the screen, which may overlap - or 'stack' - upon one another, hence the name. All popular desktop environments (e.g. XFCE, KDE, Gnome, etc.) use stacking window Managers.
== Automated Identification and Installation ==


This is the recommended method for the detection and installation of graphics drivers. The syntax for the automated installation method is:


=== Openbox ===
sudo mhwd -a [pci or usb] [free or nonfree] 0300


[[File: manjarobox.png|thumb|left|375px]]


A breakdown of the command used for the automated method is as follows:


'''[http://openbox.org/ Openbox]''' is by far the most popular Window Manager available. Due to its popularity there is excellent documentation available, as well as a good choice of additional themes that may be downloaded. '''To install Openbox, enter the command:'''
* '''-a''': Automatically detect and install the appropriate driver
* '''[pci or usb]''': Install the appropriate driver for devices connected internally via pci, or externally via usb (again, mhwd currently only supports pci connections at this stage in its development)
* '''[free or nonfree]''': Install either free drivers (e.g. provided by the Linux community), or nonfree drivers (e.g. provided by hardware manufacturers)
* '''0300''': Install drivers for graphics cards (0300 is the class ID for graphics cards. As the mhwd command develops, new ids will be used for other types/classes of device).


sudo pacman -S openbox
For example, the following command would result in the automatic detection and installation of the best available '''proprietary driver''' for a pci-connected graphics card:


To install a logout script, configuration application, menu-editor, and extra themes specifically for Openbox, enter the following command:
sudo mhwd -a pci nonfree 0300


sudo pacman -S oblogout obconf obmenu openbox-themes
<br clear="all" />


Otherwise, the following command would result in the automatic detection and installation of the best available '''free driver''' for a pci-connected graphics card:


=== FluxBox ===
sudo mhwd -a pci free 0300


[[File: fluxbox2.png|thumb|left|375px]]


== Manual Identification and Installation ==


'''[http://fluxbox.org/ FluxBox]''' is another popular Window Manager. It is particularly notable for providing some features not seen in Openbox, such as ''tabbing'', which allows for windows to be grouped together. '''To install FluxBox, enter the command''':
Taking a do-it-yourself approach is itself relatively easy and straightforward using the mhwd command. This should be undertaken in two stages:


sudo pacman -S fluxbox
'''1.''' Identify the appropriate driver to be installed, and then


To install the newsfetcher and workspace pager specifically for fluxbox, enter the command:
'''2.''' Install the driver


sudo pacman -S fbnews fluxter
Just ensure that you have identified and are indeed about to install the correct driver for your particular graphics card!
<br clear="all" />


=== Identifying Available Drivers ===


=== IceWM ===
Prior to manually installing a graphics driver, it will be necessary to identify what drivers are available for your system. To list the appropriate drivers available, the basic syntax is:


[[File: icewm2.jpg|thumb|left|375px]]
mhwd -l [optional: --pci or --usb]




'''[http://www.icewm.org/ IceWM]''' is a Window Manager notable for perhaps being closer to a full desktop environment than Openbox or FluxBox. This includes providing a panel complete with menu, in addition to a workspace switcher. '''To install IceWM, enter the command''':
Using this command without the --pci or --usb filters will list all the available drivers for devices connected to your system. '''All drivers for graphics cards will have the prefix (video-) in their name'''. Otherwise, the following example will list only the drivers available specifically for devices (e.g. graphics cards) using an internal PCI connection:


  sudo pacman -S icewm
  mhwd -l --pci


To install a suite of tools and themes specifically for IceWM, enter the command:


sudo pacman -S icewm-utils icewm-themes
Irrespective of whether the optional filters is used or not, the following information will be displayed for all listed drivers:
<br clear="all" />


* Name
* Version
* Free or proprietary, and
* PCI or USB connection




== Tiling Window Managers ==
=== Installing a Driver ===


'''Tiling window managers''' - as the name would suggest - tile application windows; each will have their own place on the screen, just like conventional tiles do not overlap. However, unlike conventional tiling, these window managers are usually very flexible, and allow for a multitude of different tiling patterns to suit personal taste and preference. Where stacking window managers focus on using the mouse for navigation, tiling window managers focus on the utilisation of the keyboard instead. As such, they can be much faster to use.
To install a driver for a graphics card, the syntax is:


sudo mhwd -i pci [name of driver]


=== Awesome ===


[[File: awesome.png|thumb|left|375px]]
A breakdown of the command used to manually install a driver is as follows:


* '''-i''': Install a driver
* '''[pci]''': Install a driver for a device connected internally via pci (e.g. graphics cards)
* '''[name of driver]''': The name of the driver to be installed


'''[http://awesome.naquadah.org/ Awesome]''' is a popular tiling Window Manager, notable for using the '''Lua''' lagnuage for configuration. '''To install Awesome, enter the command''':
For example, to install the proprietary nvidia graphics card driver, the following command would be used:


  sudo pacman -S awesome
  sudo mhwd -a pci video-nvidia


To install some extra widgets for Awesome, enter the command:


sudo pacman -S vicious
=== Forcing Re-installation of a Driver ===
<br clear="all" />


{{warning|use this command with care!}}


=== i3 ===
To force the re-installation of an existing driver without removing it first, the syntax is:


[[File: i3wm.png|thumb|left|375px]]
sudo mhwd -f -i pci [name of driver]




'''[http://i3wm.org/ i3]''' is arguably the most popular tiling window manager available, and notable for using a single, completely self-contained configuration file. '''To install i3, enter the command''':
For example, to force the re-installation of a previously installed nvidia graphics card driver, the following command would be used:


  sudo pacman -S i3-wm
  sudo mhwd -f -i pci video-nvidia


To install a status bar and screen-locker for i3, enter the command:


sudo pacman -S i3lock i3status
= Removing an Installed Driver =
<br clear="all" />


{{warning|use this command with care!}}


On occasion it may be necessary to remove an installed graphics card driver. To remove an installed driver, the basic syntax is:


= See Also =
sudo mhwd -r [pci or usb] [name of driver]


* '''[[MATE_Desktop_Environment|Install the MATE Desktop Environment]]'''


For example, to remove the installed driver for a nvidia graphics card (connected internally via pci), the following command would be used:


[[Category:Contents Page]]
sudo mhwd -r pci video-nvidia

Revision as of 21:27, 8 October 2012

Overview

Note
The mhwd command is still under development, and at present is only able to install drivers for graphics cards connected internally via pci.


Where installing the full version of Manjaro (i.e. complete with a pre-installed desktop environment, codecs, and software applications), the mhwd command will be automatically run by the CLI installer to automatically detect your graphics card and install the most appropriate driver for it. Whether free or proprietary drivers are installed will depend on your initial choice of using free or nonfree graphics drivers to boot up.

Otherwise, it will be necessary to run the mhwd command manually as part of the post-installation process for the minimalistic NET-Edition of Manjaro. Of course, it is also possible to use the mhwd command to install, re-install, and remove installed graphics drivers at any time, as illustrated below.


Warning
For the NET-Edition, ensure that the graphics drivers are installed prior to installing and configuring your desired desktop and greeter. Without video drivers to show them, you won't get very far!


Automated Identification and Installation

This is the recommended method for the detection and installation of graphics drivers. The syntax for the automated installation method is:

sudo mhwd -a [pci or usb] [free or nonfree] 0300


A breakdown of the command used for the automated method is as follows:

  • -a: Automatically detect and install the appropriate driver
  • [pci or usb]: Install the appropriate driver for devices connected internally via pci, or externally via usb (again, mhwd currently only supports pci connections at this stage in its development)
  • [free or nonfree]: Install either free drivers (e.g. provided by the Linux community), or nonfree drivers (e.g. provided by hardware manufacturers)
  • 0300: Install drivers for graphics cards (0300 is the class ID for graphics cards. As the mhwd command develops, new ids will be used for other types/classes of device).

For example, the following command would result in the automatic detection and installation of the best available proprietary driver for a pci-connected graphics card:

sudo mhwd -a pci nonfree 0300


Otherwise, the following command would result in the automatic detection and installation of the best available free driver for a pci-connected graphics card:

sudo mhwd -a pci free 0300


Manual Identification and Installation

Taking a do-it-yourself approach is itself relatively easy and straightforward using the mhwd command. This should be undertaken in two stages:

1. Identify the appropriate driver to be installed, and then

2. Install the driver

Just ensure that you have identified and are indeed about to install the correct driver for your particular graphics card!

Identifying Available Drivers

Prior to manually installing a graphics driver, it will be necessary to identify what drivers are available for your system. To list the appropriate drivers available, the basic syntax is:

mhwd -l [optional: --pci or --usb]


Using this command without the --pci or --usb filters will list all the available drivers for devices connected to your system. All drivers for graphics cards will have the prefix (video-) in their name. Otherwise, the following example will list only the drivers available specifically for devices (e.g. graphics cards) using an internal PCI connection:

mhwd -l --pci


Irrespective of whether the optional filters is used or not, the following information will be displayed for all listed drivers:

  • Name
  • Version
  • Free or proprietary, and
  • PCI or USB connection


Installing a Driver

To install a driver for a graphics card, the syntax is:

sudo mhwd -i pci [name of driver]


A breakdown of the command used to manually install a driver is as follows:

  • -i: Install a driver
  • [pci]: Install a driver for a device connected internally via pci (e.g. graphics cards)
  • [name of driver]: The name of the driver to be installed

For example, to install the proprietary nvidia graphics card driver, the following command would be used:

sudo mhwd -a pci video-nvidia


Forcing Re-installation of a Driver

Warning
use this command with care!

To force the re-installation of an existing driver without removing it first, the syntax is:

sudo mhwd -f -i pci [name of driver]


For example, to force the re-installation of a previously installed nvidia graphics card driver, the following command would be used:

sudo mhwd -f -i pci video-nvidia


Removing an Installed Driver

Warning
use this command with care!

On occasion it may be necessary to remove an installed graphics card driver. To remove an installed driver, the basic syntax is:

sudo mhwd -r [pci or usb] [name of driver]


For example, to remove the installed driver for a nvidia graphics card (connected internally via pci), the following command would be used:

sudo mhwd -r pci video-nvidia
Cookies help us deliver our services. By using our services, you agree to our use of cookies.