Table of Contents
Setup ideal env
- `tmux`
- `kitty`
- `opencode`
- `sudo apt install pipx`
- `uv` and `poetry`
Reminders
Configure shell env
- install tmux
- install `zsh` and `oh-my-zsh`
- install `kitty`
Configure tmux
#Enable Mouse Mode, Open your tmux configuration file: echo "set -g mouse on" >> ~/.tmux.conf # 2. Reload Configuration tmux source-file ~/.tmux.conf
Interesting things for Dev IDE
- OpenCode
- Portal plugin - https://github.com/hosenur/portal
- Desktop and web interfce - https://github.com/btriapitsyn/openchamber
- Vibekanban - https://www.vibekanban.com/
- VSCode
- vscode Extension alternative repository: https://open-vsx.org/
Network
- Use `nmtui`
UI
- Snap arrange windows side to side
First, you need to install Compiz and its configuration manager. Open your terminal and run the following commands: Bash
sudo apt update sudo apt install compiz compiz-plugins compizconfig-settings-manager
You might also consider installing fusion-icon and emerald for easier management and window decoration: Bash
sudo apt install fusion-icon emerald
2. Disable XFCE's Compositor
Before launching Compiz, you should disable XFCE's default compositor to avoid conflicts:
Go to Settings (or XFCE Menu) → Window Manager Tweaks.
Click on the Compositor tab.
Untick the option "Enable display compositing".
3. Initial Configuration using CompizConfig Settings Manager (CCSM)
Compiz needs certain plugins enabled to function correctly, like handling window borders and movement.
Open CompizConfig Settings Manager (CCSM) from your XFCE settings menu (it may be under Settings or Accessories).
Crucially, activate the following essential plugins:
Composite
OpenGL
Window Decoration (to get window borders and title bars)
Move Window
Resize Window
Place Windows
Application Switcher (to manage Alt+Tab functionality)
Enable any other desired effects and features, like Desktop Cube, Wobbly Windows, etc.
4. Running Compiz
Once the essential plugins are activated, you can replace Xfwm with Compiz:
Open a terminal or press Alt+F2 to open the Run dialog.
Execute the command: Bash
compiz --replace
If you installed fusion-icon, you can start it by running fusion-icon. It will provide a tray icon to easily enable/disable/restart Compiz and change the window decorator (e.g., to Emerald).
5. Setting Compiz to Autostart
To ensure Compiz starts automatically after you log in, you need to add it to XFCE's startup applications:
Go to Settings → Session and Startup.
Click the Application Autostart tab.
Click Add and fill in the details:
Name: Compiz (or anything you prefer)
Description: Compiz Window Manager
Command: compiz --replace
You may also need to add a small delay to ensure everything else loads first. A command like bash -c "sleep 2; compiz --replace" is often recommended.
Mouse / Tauchpad
This is a great question\! Xfce does not support multi-finger touchpad gestures for switching workspaces natively, but you can achieve this functionality by using a third-party utility that can interpret the gestures and map them to the correct keyboard shortcuts.
The recommended and most widely used tool for this purpose is `libinput-gestures`.
Here is a general outline of the steps you would take to set this up.
sudo apt install xdotool wmctrl libinput-tools sudo usermod -aG input $USER newgrp input git clone https://github.com/bulletmark/libinput-gestures.git cd libinput-gestures sudo ./libinput-gestures-setup install cp /etc/libinput-gestures.conf ~/.config/libinput-gestures.conf # By default, the keyboard shortcuts in Xfce to switch workspaces are usually **`Control + Alt + Left/Right Arrow`**. # **Edit the configuration file** (`~/.config/libinput-gestures.conf`) using your preferred text editor (e.g., `nano`, `vi`, `gedit`, `mousepad`): vi ~/.config/libinput-gestures.conf # **Find or add the following lines** to map the 3-finger swipes to the Xfce workspace shortcuts: # ```conf # # Swipe left with 3 fingers to move to the next workspace (Control+Alt+Right) # gesture swipe left 3 xdotool key Control+Alt+Right # # # Swipe right with 3 fingers to move to the previous workspace (Control+Alt+Left) # gesture swipe right 3 xdotool key Control+Alt+Left # ``` ### 4\. Enable Autostart and Restart # 1. **Enable the utility to start automatically** when you log in: libinput-gestures-setup autostart # 2. **Restart the gesture utility** to load the new configuration: libinput-gestures-setup restart
Note:
xinput list # relevant id for example = 10 # #❯ xinput get-button-map 10 #1 2 3 4 5 6 7 8 9 10 11 12 xinput set-button-map 10 1 1 3