Default Layout

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Post Reply
push2flush
Member
Member
Posts: 24
Joined: 2017 Jun 23, 15:43

Default Layout

Post by push2flush »

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.
User avatar
FrizzleFry
Platinum Member
Platinum Member
Posts: 1241
Joined: 2005 Oct 16, 19:09

Re: Default Layout

Post by FrizzleFry »

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
push2flush
Member
Member
Posts: 24
Joined: 2017 Jun 23, 15:43

Re: Default Layout

Post by push2flush »

I assume I just add the text to the end of the string in the Target box?
User avatar
FrizzleFry
Platinum Member
Platinum Member
Posts: 1241
Joined: 2005 Oct 16, 19:09

Re: Default Layout

Post by FrizzleFry »

yes, so if your layout is called favorite, just add

/S:favorite

to the command in the target of your x2 shortcut...
push2flush
Member
Member
Posts: 24
Joined: 2017 Jun 23, 15:43

Re: Default Layout

Post by push2flush »

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
User avatar
FrizzleFry
Platinum Member
Platinum Member
Posts: 1241
Joined: 2005 Oct 16, 19:09

Re: Default Layout

Post by FrizzleFry »

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
push2flush
Member
Member
Posts: 24
Joined: 2017 Jun 23, 15:43

Re: Default Layout

Post by push2flush »

removing the space in the layout name worked. Thanks!
User avatar
nikos
Site Admin
Site Admin
Posts: 15802
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: Default Layout

Post by nikos »

to handle spaces in layout names you need to enclose the lot in quotes:

Code: Select all

"/S:Layout A"
push2flush
Member
Member
Posts: 24
Joined: 2017 Jun 23, 15:43

Re: Default Layout

Post by push2flush »

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.
User avatar
FrizzleFry
Platinum Member
Platinum Member
Posts: 1241
Joined: 2005 Oct 16, 19:09

Re: Default Layout

Post by FrizzleFry »

make sure that save program state on exit is enabled for the new layout... there are several settings that are layout specific...
User avatar
nikos
Site Admin
Site Admin
Posts: 15802
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: Default Layout

Post by nikos »

how do you start your custom layout? using Window menu or a separate desktop shortcut? Please show us your command line opitons
push2flush
Member
Member
Posts: 24
Joined: 2017 Jun 23, 15:43

Re: Default Layout

Post by push2flush »

I use a task bar shortcut, no command line modifications.
Post Reply