Bug 24317

Summary: lftp (Mate DE) when invoked from application launcher menu does nothing
Product: Mageia Reporter: Ben McMonagle <westel>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: lists.jjorge, marja11
Version: CauldronKeywords: 7beta2
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: lftp CVE:
Status comment:

Description Ben McMonagle 2019-02-06 01:54:56 CET
Description of problem: invoking lftp from Mate DE application launcher menu does nothing. in other DE it opens a terminal window with this prompt: lftp :~>

invoking lftp from a terminal (mate terminal) results  in a prompt: lftp :~> 


Version-Release number of selected component (if applicable):

Mageia-7-beta2-i586.iso
DATE.txt: Wed Jan 30 22:29:58 CET 2019


How reproducible: every time


Steps to Reproduce:
1.install mate de from above .iso
2.attempt to launch lftp from application launcher menu 
3.
Ben McMonagle 2019-02-06 01:55:17 CET

Keywords: (none) => 7beta2

Comment 1 Marja Van Waes 2019-02-07 08:14:56 CET
Assinging to the registered lftp maintainer.

CC: (none) => marja11
Assignee: bugsquad => lists.jjorge
Source RPM: (none) => lftp

Comment 2 José Jorge 2019-02-07 10:59:33 CET
This seems a Mate bug : lftp binary asks for a terminal if no one is set. Seems that Mate exposes a terminal where the is no one. You can probably see it if you cathc the xsession errors.

I think this deserves an upstream bug report against Mate.
José Jorge 2019-02-07 11:00:07 CET

CC: (none) => lists.jjorge
Assignee: lists.jjorge => pkg-bugs

Comment 3 Jani Välimaa 2019-02-07 18:26:51 CET
I think lftp uses glib to get terminal. In glib terminals are searched by the following order:
1. gnome-terminal
2. xfce4-terminal
3. nxterm
4. color-xterm
5. rxvt
6. dtterm
7. xterm

So, if any of mentioned terminals are installed, launching from app menu should work.
Comment 4 José Jorge 2019-02-07 18:50:25 CET
(In reply to Jani Välimaa from comment #3)
> So, if any of mentioned terminals are installed, launching from app menu
> should work.

It must be clever than that, it opens konsole under Plasma desktop...
Comment 5 Ben McMonagle 2019-02-07 19:48:36 CET
(In reply to Jani Välimaa from comment #3)
> I think lftp uses glib to get terminal. In glib terminals are searched by
> the following order:
> 1. gnome-terminal
> 2. xfce4-terminal
> 3. nxterm
> 4. color-xterm
> 5. rxvt
> 6. dtterm
> 7. xterm
> 
> So, if any of mentioned terminals are installed, launching from app menu
> should work.

If installation is multi DE, i.e, all DE from .iso, still does nothing.
this is where I discovered issue.
I then installed just Mate DE to see if it was specific to Mate, and it is.
Comment 6 Ben McMonagle 2019-02-07 19:52:29 CET
qualifying above statement

If installation is multi DE, i.e, all DE from .iso, only in Mate LFTP does nothing.
Comment 7 Jani Välimaa 2019-02-07 20:44:29 CET
Added mate-terminal to supported terminals in GIO (glib2.0-2.58.3-2.mga7). Please test when the build finishes.
Comment 8 Ben McMonagle 2019-02-12 09:04:16 CET
fixed

thanks

Status: NEW => RESOLVED
Resolution: (none) => FIXED