You are not logged in.

#1 2016-04-18 08:59:55

Thorned_Rose
Member
From: New Zealand
Registered: 2015-12-30
Posts: 40

[SOLVED] Change Dolphin FM's default terminal

I'm using Dolphin File Manager from Deepin DE (not in KDE). I don't want to use Konsole. Is there a way I can get Dolphin to use my terminal of choice (qTerminal) instead of Konsole? i.e. if I go to Tools > Open Terminal (Shift+F4) or right click "Open in terminal" it will use qTerminal instead of Konsole.

Without Konsole installed, currently using those does nothing and starting Dolphin from a terminal and then using those results in

(Could not launch Terminal Client)ERROR: Could not launch the terminal client:

KDEInit could not launch 'konsole':
Could not open library 'libkdeinit5_konsole'.
Cannot load library libkdeinit5_konsole: (libkdeinit5_konsole: cannot open shared object file: No such file or directory)

The only other thread I could find was this but it's three years old and I don't know if it's still the case or if some other solution/workaround can be found.

Last edited by Thorned_Rose (2016-04-19 03:10:06)

Offline

#2 2016-04-18 10:01:03

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,098

Re: [SOLVED] Change Dolphin FM's default terminal

Dolphin will get the terminal application to use from ~/.config/kdeglobals. You can change it in systemsettings -> default applications

Offline

#3 2016-04-18 21:55:00

Thorned_Rose
Member
From: New Zealand
Registered: 2015-12-30
Posts: 40

Re: [SOLVED] Change Dolphin FM's default terminal

arojas wrote:

Dolphin will get the terminal application to use from ~/.config/kdeglobals. You can change it in systemsettings -> default applications

My kdeglobals file only contains the following:

[KDE]
ShowDeleteCommand=false

[KFileDialog Settings]
Automatically select filename extension=true
Breadcrumb Navigation=true
Decoration position=0
LocationCombo Completionmode=5
PathCombo Completionmode=5
Previews=false
Show Bookmarks=false
Show Full Path=false
Show Preview=false
Show Speedbar=true
Show hidden files=false
Sort by=Name
Sort directories first=true
Sort reversed=false
Speedbar Width=185
View Style=Simple
listViewIconSize=0

[KShortcutsDialog Settings]
Dialog Size=600,480

[PreviewSettings]
MaximumRemoteSize=0

So I added (based on this):

[General]
TerminalApplication=qterminal

Adding that now means using Tools > Open Terminal in Dolphin opens the terminal of my choice (instead of trying to open Konsole) YAY.
BUT, the right click "Open in Terminal" option has disappeared.

The console spits out this when using the menu:

Could not open qterminal using a library: Cannot load library libkdeinit5_qterminal: (libkdeinit5_qterminal: cannot open shared object file: No such file or directory)

It still works though, just missing the right click menu option now.

By the way, if I install systemsettings, I don't have all the options I would in KDE. My systemsettings looks like this and there is no "Default Applications" option:
th_DeepinScreenshot20160419094140_zpstahnaiqw.png

Offline

#4 2016-04-18 22:46:05

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,098

Re: [SOLVED] Change Dolphin FM's default terminal

Thorned_Rose wrote:

By the way, if I install systemsettings, I don't have all the options I would in KDE. My systemsettings looks like this and there is no "Default Applications" option:
http://i290.photobucket.com/albums/ll251/reassertion/th_DeepinScreenshot20160419094140_zpstahnaiqw.png

systemsettings is just the container application. The modules themselves are spread out in other packages (mostly in plasma-desktop and plasma-workspace)

Offline

#5 2016-04-19 00:19:08

cyberphiliac
Member
From: Golgafrincham
Registered: 2004-08-20
Posts: 9

Re: [SOLVED] Change Dolphin FM's default terminal

Thorned_Rose wrote:

BUT, the right click "Open in Terminal" option has disappeared.

Give this a try:

1. Go to (or create) this directory: ~/.local/share/kservices5/ServiceMenus

2. Create a new desktop configuration file in that directory. Call it "qterminalhere.desktop" (or something similar).

3. Add the following content to the new file:

[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory
Actions=openQTerminalHere;
X-KDE-AuthorizeAction=shell_access

[Desktop Action openQTerminalHere]
Name=Open QTerminal here
Icon=utilities-terminal
Exec=/usr/bin/qterminal --workdir %f

If this doesn't work, it should at least get you closer ...

ETA: If you go to Settings > Configure Dolphin from the Dolphin main menu, and then go the "Services" entry in the Dolphin Preferences sidebar, you should find a new "Open QTerminal here" item in the services checklist, allowing you to enable or disable its appearance in Dolphin's right-click menu.

Last edited by cyberphiliac (2016-04-19 00:42:11)

Offline

#6 2016-04-19 03:08:27

Thorned_Rose
Member
From: New Zealand
Registered: 2015-12-30
Posts: 40

Re: [SOLVED] Change Dolphin FM's default terminal

cyberphiliac wrote:
Thorned_Rose wrote:

BUT, the right click "Open in Terminal" option has disappeared.

Give this a try:

1. Go to (or create) this directory: ~/.local/share/kservices5/ServiceMenus

2. Create a new desktop configuration file in that directory. Call it "qterminalhere.desktop" (or something similar).

3. Add the following content to the new file:<SNIP>

Thanks cyberphiliac!! That worked a treat! smile And thanks arojas for your help too!

Last edited by Thorned_Rose (2016-04-19 03:09:19)

Offline

Board footer

Powered by FluxBB