Ok I figured out a way to do it.
Make a script which opens the files you want for a workspace #:I called that file above workspace2files.sh
Make the script executable:Add the following lines in the keyboard section:All the files will be opened and moved to workspace #2. You can also use:The problem with the above is that with certain programs like LibreOffice a file will open up and the window is titled "LibreOffice 7.4" for two seconds and then the window title changes to the file name. So the windowRule title option will only pick up "LibreOffice 7.4" and you cannot be file specific using that option for certain programs.
Make a script which opens the files you want for a workspace #:
Code:
#! /bin/bashopen /home/user/filename1open /home/user/filename2open /home/user/filename3open /home/user/filename4open /home/user/filename5Make the script executable:
Code:
chmod a+x workspace2files.shCode:
nano .config/labwc/rc.xmlCode:
<keybind key="W-C-2-f"> <action name="Execute" command="/home/user/workspace2files.sh"/> <action name="SendToDesktop" to="Desktop 2" /></keybind>Code:
<windowRule title="Window Title"> <action name="SendToDesktop" to="Desktop 3" />Statistics: Posted by RaspberryPiOSMan — Sun Apr 06, 2025 1:42 am