Minimalist XFCE ricing

This guide is targeted for users who want to do a minalmalistic archlinux installation - USB liveboot, memory constraint or zen users. So we’ll keep it simple

Prerequisites

  1. Archlinux installtion with XFCE DE
  2. An archiever
    • XArchiever would do good, since its bundled in the DE. Here is how you install it if it’s not already bundled.
      1
      
      sudo pacman -Syu xarchiver
      
    • You’ll also need to have zip compatiblity. Here is how you do it
      1
      
      sudo pacman -Syu zip unzip p7zip
      

Modifying the DE

Installing a theme

  • Downloading a theme
    We are going to install Darcula for this one. Just search for XFCE-look on any search engine and open. Now click on GTK3/4 themes, and search for Darcule. Click on download.

  • Making the themes folder
    Open a file explorer. Ensure that hidden files are visible and check if .themes files are present. If not present, create a folder called .themes.

  • Installing the theme

    • Open settings > appearance > themes and click on the theme to extract.
    • If that didn’t work then extract the folder zip into the .themes folder and try it that way.

Installing icons

  • Downloading the icons
    Search for Dracula icons on XFCE-look and download it. During the time of typing we have the round and circle icons.

  • Making the icons folder
    Similar to theme folder, create an icons folder in home if existing folder is not present. Folder name .icons

  • Installing the icons
    Extract the icon pack into the .icons folder and then go the the settings menu and enable it

Using an app launcher

The existing XFCE setup contains an old fashioned app menu, to open apps faster installing an app launcher is better. So for the setup we are going to install Rofi.

  • Installation

    1
    
    sudo pacman -Syu rofi
    
  • Creating a dracula theme

    • Creating the themes folder
      1
      
      mkdir -p ~/.local/share/rofi/themes
      
    • Creating the theme
      • Create a dracula theme file
        1
        
        nano ~/.local/share/rofi/themes/darcula.rasi
        
      • Writing this into the themes file
         1
         2
         3
         4
         5
         6
         7
         8
         9
        10
        11
        12
        13
        14
        15
        16
        17
        18
        19
        20
        21
        22
        23
        24
        25
        26
        27
        28
        29
        30
        31
        32
        33
        34
        35
        36
        37
        38
        39
        40
        41
        42
        43
        44
        45
        46
        47
        48
        49
        50
        51
        52
        53
        54
        55
        56
        57
        58
        59
        60
        61
        62
        63
        64
        65
        66
        67
        68
        69
        70
        71
        72
        73
        74
        
        * {
            bg:          #282a36;
            current-line:#44475a;
            fg:          #f8f8f2;
            comment:     #6272a4;
            cyan:        #8be9fd;
            green:       #50fa7b;
            orange:      #ffb86c;
            pink:        #ff79c6;
            purple:      #bd93f9;
            red:         #ff5555;
            yellow:      #f1fa8c;
        
            background-color:   transparent;
            text-color:         @fg;
        
            margin:     0;
            padding:    0;
            spacing:    0;
        }
        
        window {
            background-color:   @bg;
            border:             2px;
            border-color:       @purple;
            border-radius:      6px;
            width:              600px;
            padding:            12px;
        }
        
        inputbar {
            spacing:    8px;
            padding:    8px;
            background-color: @current-line;
            border-radius:   4px;
            children:   [ prompt, entry ];
        }
        
        prompt {
            text-color: @green;
        }
        
        entry {
            text-color: @fg;
            placeholder: "Search...";
            placeholder-color: @comment;
        }
        
        mainbox {
            children: [ inputbar, listview ];
            spacing: 12px;
        }
        
        listview {
            lines:        8;
            columns:      1;
            fixed-height: 0;
            spacing:      4px;
        }
        
        element {
            padding:       8px;
            border-radius: 4px;
        }
        
        element normal.normal {
            background-color: transparent;
            text-color:       @fg;
        }
        
        element selected.normal {
            background-color: @current-line;
            text-color:       @cyan;
        }
        
      • Test the theme
        1
        
        rofi -show drun -theme darcula
        
        If it works out well you can set the theme using the interactive theme selector
      • Setting up the theme
        1
        
        rofi-theme-selector
        
    • Assigning a shortcut
      • Open Settings → Keyboard → Application Shortcuts
      • Click Add
      • Set Command to rofi -show drun
      • Press Alt + Space when prompted for the shortcut combination.