XFCE Installation on Arch Linux


Attention!: Before installing XFCE, you must install the Basic Graphic Environment (Xorg) and video driver, if you don't have it installed, go to the following guide:

Installation of Basic Graphic Environment and Video Driver.

-11c XFCE Installation

To install XFCE with its appropriate plugins:

$ sudo pacman -S xfce4 xfce4-goodies

-12d Plugin Installation

-a    Gamin, is a file and directory monitoring system, which will run automatically when necessary, recommended:

$ sudo pacman -S game

-a    Notification support:

$ sudo pacman -S xfce4-notifyd

-a    Networkmanager support:

$ sudo pacman -S network-manager-applet

-a    Audio volume applet:

$ sudo pacman -S volume icon

-a    Startup manager:

$ sudo pacman -S thin

-13d Activate login manager

Slim reads local settings from ~ / .xinitrc and then start the desktop according to what is in this file, in the guide: Arch Linux Basic Configuration There is a base file for .xinitrc, in case you don't have it, perform the following command:

$ cp /etc/skel/.xinitrc ~

We open our ~ / .xinitrc file:

$ dwarf .xinitrc

We add our environment at the end:

exec startxfce4

We activate Slim:

$ sudo systemctl enable slim.service

we restart:

$ sudo reboot

Once our system is restarted, we can enjoy XFCE.

Please! send your problems / doubts in my email: arch-blog@riseup.net

ff Help us with one click!, share the guide with your friends.

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

22 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   EDU said

    I understand that Slim currently generates problems with systemd, does that have any implications?

    1.    diazepam said


      Affected DMs: Entrance, MDM, SDDM, SLiM
      Some display managers are not fully compatible with systemd, because they reuse the PAM session process. It causes various problems on second login, eg:
      NetworkManager applet does not work,
      PulseAudio volume cannot be adjusted,
      login failed into GNOME with another user.

      1.    EDU said

        … Therefore it would be best to install another manager?

        1.    kik1n said

          I recommend lightdm for xfce 😀

          1.    diazepam said

            That or LXDM

          2.    EDU said

            Can you explain how to do it?

      2.    Alexander ponce said

        Personally, I have always used Slim and have never had problems, however I will add more screen managers so that users have options to install.

        Thanks for your feedback.

        1.    edu said

          Excellent, it would be appreciated. 🙂

  2.   x11tete11x said

    You have a copy paste error xD:
    «Attention !: Before installing KDE, you must install the Basic Graphical Environment (Xorg) and Video Driver, if you don't have it installed, go to the following guide:»

    I should say:
    Attention !: Before installing XFCE, you must install the Basic Graphical Environment (Xorg) and video Driver, if you don't have it installed, go to the following guide:


    1.    Alexander ponce said

      Hahahaha thanks for the tip.

  3.   ----- said

    Important data for laptops:
    [code] sudo pacman -S xf86-input-synaptics [/ code]

    1.    Alexander ponce said

      This command is found in the Arch installation guide.

    2.    eliotime3000 said

      Oh sure, so you can work with the touchpad on laptops.

  4.   andres said

    Hello! I just installed Arch with your guide and xfce and it fits perfectly, it is a super old but slim pc it works, and I can log in perfectly with my user, I have only one problem, I have a PS / 2 mouse and the system does not detect it, which I have what to do?? Thanks a lot!

  5.   kzxm300 said

    How about, first thanks for the tutorial to install Archlinux,

    I have a small problem when restarting the computer, when it enters the login screen I enter the username and password, but then it restarts and returns to the login screen again.

    1.    Nahuel said


      What content does the .xinitrc have located in your home?

      Press Alt + F2 and enter your username and password. and you look at the content of .xinitrc with cat .xinitrc.

      And so, I can help you.

      Thank you

  6.   EDU said

    Every time I restart the computer, the volume is silent, and it is not enough to turn up the volume on the main fader, I have to open the mixer and turn up all the volumes. why is this ???

  7.   ramiri said

    On my computer, for some reason, the xinitrc file was created in / etc / X11 / xinit / xinitrc

  8.   Gian said

    I have this error: failed to execute login command when I obviously get the login screen and want to enter my credentials. How do I call a terminal to solve the problem from there? I already tried with Alt + F2 and it has not worked for me

  9.   E said

    Hi. I followed the gia from the beginning. For some time I had Arch gauze (I come from Debian) and the thing is that I cannot connect via network to a printer installed and shared at W $ 7. Any suggestion?
    Thank you

  10.   John Ignatius Retta said

    Excellent tutorial, a doubt, is not that if you install a login manager or display manager (in this case slim) it is not necessary .xinitrc?

  11.   tenshalite said

    Hello good day.
    I followed your tutorials to install arch + xcfe4 and I had a problem when I wanted to turn off my pc.
    When trying to turn it off from the graphical environment or from the console it never turns off ... my monitor just goes black and the cpu seems to be in some kind of loop when receiving the order to turn off. To turn off my pc I need to use the power button.
    The funny thing is that it does allow me to turn off the pc when I log in from a tty (I don't use any login screen).
    Previously, this problem had happened to me in another arch + openbox installation and I solved it with the following command:
    sudo sysctl -p
    After entering the command I get this:
    kernel.shmmax = 128000000
    kernel.sysrq = 1
    The problem is that I do not remember how I did it because I did not document the solution and what I have searched for on systemd is not very clear to me.