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/16 08:56] – yehuda | kb:setup_ideal_env [2026/01/13 10:16] (current) – [Reminders] yehuda | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ====== Reminders ====== | ====== 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 ===== | ===== Network ===== | ||
| Line 16: | Line 40: | ||
| * Snap arrange windows side to side | * 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 ===== | ===== Mouse / Tauchpad ===== | ||
| Line 59: | Line 158: | ||
| </ | </ | ||
| + | |||
| + | 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 | ||
| + | |||
| + | </ | ||