Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kb:setup_ideal_env [2025/12/15 09:59] – yehuda | kb:setup_ideal_env [2026/01/13 10:16] (current) – [Reminders] yehuda | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| * `uv` and `poetry` | * `uv` and `poetry` | ||
| + | |||
| + | |||
| + | ====== Reminders ====== | ||
| + | |||
| + | ===== Configure shell env ===== | ||
| + | * install tmux | ||
| + | * install `zsh` and `oh-my-zsh` | ||
| + | * install `kitty` | ||
| + | |||
| + | ==== Configure tmux ==== | ||
| + | |||
| + | <code bash> | ||
| + | #Enable Mouse Mode, Open your tmux configuration file: | ||
| + | echo "set -g mouse on" >> ~/ | ||
| + | |||
| + | # 2. Reload Configuration | ||
| + | tmux source-file ~/ | ||
| + | </ | ||
| + | ===== Interesting things for Dev IDE ===== | ||
| + | * OpenCode | ||
| + | * Portal plugin - https:// | ||
| + | * Desktop and web interfce - https:// | ||
| + | * Vibekanban - https:// | ||
| + | |||
| + | |||
| + | * VSCode | ||
| + | * vscode Extension alternative repository: https:// | ||
| + | |||
| + | ===== 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 " | ||
| + | |||
| + | 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, | ||
| + | |||
| + | 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: | ||
| + | |||
| + | 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" | ||
| + | ===== 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. | 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. | ||
| Line 47: | Line 157: | ||
| libinput-gestures-setup restart | libinput-gestures-setup restart | ||
| </ | </ | ||
| + | |||
| + | |||
| + | Note: | ||
| + | <code bash> | ||
| + | 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 | ||
| + | |||
| + | </ | ||
| + | |||