Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • thunar thunar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 327
    • Issues 327
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • XfceXfce
  • thunarthunar
  • Issues
  • #889
Closed
Open
Issue created Sep 06, 2022 by Filip Danilović@CofiContributor

Option to always start/open new windows with split view enabled

First of all, huge thanks to the devs that implemented the split view. Was a sorely missed feature to the otherwise great file manager!!!

Now, using split view much more often than not (read: almost always), hitting F3 every time Thunar is opened gets a bit annoying after a while.
So having an option/preference to always enable it would be great.

Meanwhile, if somebody needs it, as a partial workaround the following command can be used for panel launcher (or in the .desktop file):

# Bash:
bash -c 'thunar & disown %1 && until wmctrl -a "Thunar"; do sleep 0.3s; done && xdotool key F3'

# Or if regular shell is preferred:  
sh -c 'nohup thunar >/dev/null 2>&1 & until wmctrl -a "Thunar"; do sleep 0.3s; done && xdotool key F3' 

wctrl and xdtool need to be installed, and it works only for the first window opened or if no other apps/windows have "Thunar" in their title.
If it doesn't work at all, sleep 0.3s is probably too short.

Cheers 🍻

Edited Sep 06, 2022 by Filip Danilović
Assignee
Assign to
Time tracking