Bug 33136 - tuncel fails to open terminal at rpm file location
Summary: tuncel fails to open terminal at rpm file location
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL:
Whiteboard: MGA9TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-23 19:13 CEST by Aurelian R
Modified: 2024-04-24 21:52 CEST (History)
0 users

See Also:
Source RPM: tuncel-2.1-2.mga10.src.rpm
CVE:
Status comment:


Attachments
patch to fix read-in path (1.62 KB, patch)
2024-04-23 19:13 CEST, Aurelian R
Details | Diff

Description Aurelian R 2024-04-23 19:13:11 CEST
Created attachment 14512 [details]
patch to fix read-in path

tuncel menu option to open a terminal at a selected rpm file location fails with an error message: "no file @PATH@"

Attached is a patch to remedy that.

Steps to reproduce:

Environment for test case: KDE plasma, dolphin, bash shell and tuncel installed.
Configure "tuncel" to use "konsole" as terminal:
Copy generic system tuncel.conf into your local .config dir 

cp /etc/tuncel.conf ~/.config/

edit terminal options TERMINAL_APPLICATION="konsole" and TERMINAL_OPTS="--workdir"

sed -i -e 's/TERMINAL_APPLICATION=.*/TERMINAL_APPLICATION=\"konsole\"/g' \
       -e 's/TERMINAL_OPTS=.*/TERMINAL_OPTS=\"--workdir\"/g' ~/.config/tuncel.conf

Open "dolphin" and navigate to the location of a rpm file, right click on the rpm file and then select menu option "RPM Operation > Open a shell" to try to open a terminal. The "no file" error should pop up.

Regards
Comment 1 Lewis Smith 2024-04-24 21:51:48 CEST
Thank you for your report - and the remedy!

For those who wonder:
Summary     : Service menu or Actions for various desktops
Description :
KDE4/Plasma Dolphin, Trinity Konqueror, Nautilus, Caja and Nemo service menus for RPM
   1. Show RPM Main Info
   2. Show Package Content
   3. Unpack RPM
   4. Unpack RPM to Directory
   5. Open RPM Url from Package in Web Browser
   6. Make Test Install
   7. Force Upgrade Test Install
   8. Install Source package in Local RPM Build Environment

Note: the "RPM Operation > Open a shell" option is not in this description.

Do you know whether this applies also to Mageia 9?
 tuncel-2.1-1.mga9.src.rpm
Probably yes, as the base version is the same.

Another one for DavidG, who is the principle maintainer of this.

Assignee: bugsquad => geiger.david68210

Lewis Smith 2024-04-24 21:52:14 CEST

Whiteboard: (none) => MGA9TOO


Note You need to log in before you can comment on or make changes to this bug.