Bug 33136

Summary: tuncel fails to open terminal at rpm file location
Product: Mageia Reporter: Aurelian R <arusanu>
Component: RPM PackagesAssignee: David GEIGER <geiger.david68210>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA9TOO
Source RPM: tuncel-2.1-2.mga10.src.rpm CVE:
Status comment:
Attachments: patch to fix read-in path

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