This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Launch dolphin with tabs pointing to predefined directories

Tags: dolphin dolphin dolphin
(comma "," separated)
forevernoob
Registered Member
Posts
15
Karma
0
Hello,

I need to create a .desktop file that will launch a new instance of dolphin with tabs opened on a list of predefined directories, and only on them (w/o directories saved from last session). Is there a way?

TIA
dzon
Registered Member
Posts
493
Karma
3
[Desktop Entry]
Comment[nl_BE]=
Comment=
Exec=dolphin (for example) ~ ~/Documents ~/Downloads
GenericName[nl_BE]=
GenericName=
Icon=folder
MimeType=
Name[nl_BE]=Whatever
Name=Whatever
NoDisplay=true
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=


This realm's name is Maya. And she speaks Hertz. But Ahamkara makes a fuzz about it.
forevernoob
Registered Member
Posts
15
Karma
0
dzon wrote:[Desktop Entry]
Comment[nl_BE]=
Comment=
Exec=dolphin (for example) ~ ~/Documents ~/Downloads
GenericName[nl_BE]=
GenericName=
Icon=folder
MimeType=
Name[nl_BE]=Whatever
Name=Whatever
NoDisplay=true
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=


It works almost perfectly, except that directories from previous session are opened too, but I can live with that. Thanks.

Edit: Adding the --new-window argument does the trick.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]