How do you define the location for new tabs?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

How do you define the location for new tabs?

Post by aliteralmind »

I'm looking through help and configuration, and the ini, and I don't see it.
Windows 8.1, 64-bit

klownboy
Posts: 4459
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440

Re: How do you define the location for new tabs?

Post by klownboy »

The easiest way in my opinion to create a new tab where you want it, is to right click on the folder in the tree and select "Open in new Tab". You can also shift normal (left) click to simply create a new tab. If you already created a new tab, using Ctrl-T or by right clicking on a tab or in the tab area, then you should right click on the tab and select "Relocate Tab...". In the box type in the new folder location.

Look for "Tabbed Browsing" under "Main Topics" in Help for more info.

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: How do you define the location for new tabs?

Post by aliteralmind »

I create new tabs by clicking on the + button, to the right of the currently-open tabs, or with ctrl+T. Whenever I do, it always opens in C:\data.

I opened a new tab, "Right-click > Relocate"-ed it to where I want the default new tab to be, then when opening a second new tab, it's still C:\data.

I don't see anything in that help section that applies.
Windows 8.1, 64-bit

Filehero
Posts: 2731
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: How do you define the location for new tabs?

Post by Filehero »

Hi,
  • <STRG>+<T>: if there's a left-sibling it's similar to duplicate tab
  • Like Klownboy but using the <SHIFT>+<LMD> (aka left-click) approach
  • Simple relocating with <CTRL>+<L> (assigned to #1014) and manually entering the new path (using 6 Key Navigation) or pasting a path, snippet copied anywhere. In the meantime I have reassigned <CTRL>+<L> to a little UDC helper
FH

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: How do you define the location for new tabs?

Post by bdeshi »

aliteralmind wrote:I create new tabs by clicking on the + button, to the right of the currently-open tabs, or with ctrl+T. Whenever I do, it always opens in C:\data.

I opened a new tab, "Right-click > Relocate"-ed it to where I want the default new tab to be, then when opening a second new tab, it's still C:\data.

I don't see anything in that help section that applies.
This should help. Enter this in the addressbar:

Code: Select all

::if (confirm("XY will restart to fix the issue.<crlf 2>saves settings beforehand?")==1){savesettings;} $k='StartPathNewTab';$s='Settings';setkey input('New Tab Path','Enter default path for new tabs<crlf>Keep empty to open new tabs in active paths',getkey($k,$s),s),$k,$s;exit 'nr';
[/size]ed: explanation: the script just modifies the value value of an ini tweak key, `StartPathNewTab`.

[ed2:betterment]
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: How do you define the location for new tabs?

Post by aliteralmind »

SammaySarkar wrote:ed: explanation: the script just modifies the value value of an ini tweak key, `StartPathNewTab`.
That's it! I just went into the ini and changed it! A tweak :)
Windows 8.1, 64-bit

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: How do you define the location for new tabs?

Post by bdeshi »

Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply