Default Layout
Moderators: fgagnon, nikos, Site Mods
-
- Member
- Posts: 24
- Joined: 2017 Jun 23, 15:43
Default Layout
I'm new to xplorer2 and I created a new layout that's been saved, however, there appears to be no way to set it as the default layout - each time I open, the program, I have to change layout and close the window with the default layout.
- FrizzleFry
- Platinum Member
- Posts: 1241
- Joined: 2005 Oct 16, 19:09
Re: Default Layout
You cannot save alternate layouts as the default but you can load them when you start x2.
Adjust your shortcut for x2 by adding the command line option to load an alternate layout:
<path to x> /S:layoutname
Adjust your shortcut for x2 by adding the command line option to load an alternate layout:
<path to x> /S:layoutname
-
- Member
- Posts: 24
- Joined: 2017 Jun 23, 15:43
Re: Default Layout
I assume I just add the text to the end of the string in the Target box?
- FrizzleFry
- Platinum Member
- Posts: 1241
- Joined: 2005 Oct 16, 19:09
Re: Default Layout
yes, so if your layout is called favorite, just add
/S:favorite
to the command in the target of your x2 shortcut...
/S:favorite
to the command in the target of your x2 shortcut...
-
- Member
- Posts: 24
- Joined: 2017 Jun 23, 15:43
Re: Default Layout
Doesn't seem to work - it opens the window reset to default. Here is the target string before editing:
"C:\Program Files\zabkat\xplorer2_ult\xplorer2_64.exe" /M
after editing (Layout A is the layout name):
"C:\Program Files\zabkat\xplorer2_ult\xplorer2_64.exe" /M /S:Layout A
"C:\Program Files\zabkat\xplorer2_ult\xplorer2_64.exe" /M
after editing (Layout A is the layout name):
"C:\Program Files\zabkat\xplorer2_ult\xplorer2_64.exe" /M /S:Layout A
- FrizzleFry
- Platinum Member
- Posts: 1241
- Joined: 2005 Oct 16, 19:09
Re: Default Layout
since you are using a layout name with a space in it try enclosing the name in quotes otherwise use a layout name with no spaces
-
- Member
- Posts: 24
- Joined: 2017 Jun 23, 15:43
Re: Default Layout
removing the space in the layout name worked. Thanks!
Re: Default Layout
to handle spaces in layout names you need to enclose the lot in quotes:
Code: Select all
"/S:Layout A"
-
- Member
- Posts: 24
- Joined: 2017 Jun 23, 15:43
Re: Default Layout
I just discovered a issue with the saved layout. Now that it's working, every time I open the program, my open tabs are reset to when I first created the layout - unless I save a new layout each time before closing, I lose all my latest tab settings. I have the save program state on exit checkbox checked, but is seems that the command line settings in the shortcut overrides this. Seems my only option is to only use the default layout and modified that to what I want.
- FrizzleFry
- Platinum Member
- Posts: 1241
- Joined: 2005 Oct 16, 19:09
Re: Default Layout
make sure that save program state on exit is enabled for the new layout... there are several settings that are layout specific...
Re: Default Layout
how do you start your custom layout? using Window menu or a separate desktop shortcut? Please show us your command line opitons
-
- Member
- Posts: 24
- Joined: 2017 Jun 23, 15:43
Re: Default Layout
I use a task bar shortcut, no command line modifications.