Xfce - pierregermain/MyTux GitHub Wiki

Advanced tiling in xfce

HAY QUE USAR [QUICKTILE]. Luego los comandos son tipo quicktile move-to-right o desde config jumpapp quicktile left y jumpapp quicktile right. Para ver los comando usar quicktile --show-actions. Tambien se puede definir los comandos en un config file (no lo he probado aun).

Mission Control

https://docs.xfce.org/apps/xfdashboard/start

Otros

MR Window Fences

All Tiling Issues

Intentar hacerlo con xdotool: Tendre que ver en que monitor estoy, ver que tantos pixeles hay, y luego ejecutar https://eckyputrady.medium.com/using-xdotool-as-a-tiling-window-solution-fea360a16c85

Issue Fill vertical y horizontal not working

Quicktile

Alternative

https://github.com/blrsn/zentile

keyboard shortcuts

f1 - 
f2 - 
f3 - make smaller
f4 - fill or max
Shift F3 - jumpapp quicktile trigger-rezize
Shift F4 - jumpapp quicktile trigger-move

f5 - tile left 
f6 - tile left
Shift F5 - jumpapp quicktile left
Shift F6 - jumpapp quicktile right
f7 - move to left monitor 
f8 - move to right monitor
Shift F7 - jumpapp quicktile move-to-top && jumpapp quicktile horizontal-maximize
Shift F8 - jumpapp quicktile move-to-center && jumpapp quicktile horizontal-maximize
Shift F9 - jumpapp quicktile move-to-bottom && jumpapp quicktile horizontal-maximize

f9 - 
f10 - 
f11 - 
f12 - mission control /usr/local/bin/xfdashboard

1 jumpapp chrome
2 /usr/bin/open-teams.sh
3 jumpapp obsidian
4 jumpapp terminator
5 jumpapp "/home/<link-to>/phpstorm.sh"
6 
7 /usr/bin/ctrc.sh
8 /usr/bin/ctrv.sh
9
0
Calculator - /usr/bin/slock
Print - xfce4-screenshooter

Some scripts used

/usr/bin$ cat open-teams.sh                                                                                                                                         
#!/bin/bash

# Check if a window with the class WebApp-TeamsEdge4218 already exists
# wmctrl -lx list all the windows
if wmctrl -lx | grep -q "WebApp-TeamsChromeDecember1920"; then
  # If the window exists, bring it to the front
  wmctrl -x -a WebApp-TeamsChromeDecember1920
else
  # If the window does not exist, launch a new instance
  google-chrome-stable --app="http://teams.microsoft.com" --class=WebApp-TeamsChromeDecember1920 --user-data-dir=/home/pierre/.local/share/ice/profiles/TeamsChromeDecember1920
fi




/usr/bin$ cat ctrc.sh                                                                                                                                               
#!/bin/bash
# Get the window ID of the currently focused window
WINDOW_ID=$(xdotool getwindowfocus)

# Get the class of the currently focused window
WINDOW_CLASS=$(xprop -id $WINDOW_ID WM_CLASS)

# Check if the window class matches specific terminal classes
if echo "$WINDOW_CLASS" | grep -qE '("gnome-terminal"|"x-terminal-emulator"|"xfce4-terminal"|"konsole"|"xterm"|"lxterminal"|"mate-terminal"|"terminator")'; then
  # Simulate pressing Ctrl+C
  echo 'terminal'
  sleep 0.2;
  xdotool key key ctrl+shift+c;
else
  echo 'no terminal'
  sleep 0.2;
  xdotool key getactivewindow key ctrl+c;
fi



cat ctrv.sh                                                                                                                                               
#!/bin/bash
# Get the window ID of the currently focused window
WINDOW_ID=$(xdotool getwindowfocus)

# Get the class of the currently focused window
WINDOW_CLASS=$(xprop -id $WINDOW_ID WM_CLASS)

# Check if the window class matches specific terminal classes
if echo "$WINDOW_CLASS" | grep -qE '("gnome-terminal"|"x-terminal-emulator"|"xfce4-terminal"|"konsole"|"xterm"|"lxterminal"|"mate-terminal"|"terminator")'; then
  # Simulate pressing Ctrl+v
  echo 'terminal'
  sleep 0.2;
  xdotool key key ctrl+shift+v;
else
  echo 'no terminal'
  sleep 0.2;
  xdotool key getactivewindow key ctrl+v;
fi

⚠️ **GitHub.com Fallback** ⚠️