Closed tokenwizard closed 5 months ago
default is current working directory
so try
pushd ~/Pictures
yad --file
popd
On Tue, 11 Jun 2024 11:31:02 -0700 tokenwizard @.***> wrote:
I'm trying to figure out if there is a way to launch with the
--file
mode but start in a specific directory. It seems by default it starts with the "Home" folder:I was hoping for a way to pass a folder as an argument, something like below, and have the file/directory selection dialog box open to that location:
yad --file ~/Pictures
-- wbr
Victor Ananjevsky, @.***>
Ok, that seems to work. Thanks!
pushd ~/Documents
yad --file
works just fine.
Unfortunately pushd ~/Documents | yad --file
does not, but that's not a big deal.
Closing with above solution.
I'm trying to figure out if there is a way to launch with the
--file
mode but start in a specific directory. It seems by default it starts with the "Home" folder:I was hoping for a way to pass a folder as an argument, something like below, and have the file/directory selection dialog box open to that location:
yad --file ~/Pictures