Elive/elive-upgrader

No GUI response when using .desktop

Closed this issue · 18 comments

There is no response or action visible when starting from the .desktop.
It does open a terminal but doesn't echo anything on it.

Maybe a slider or spinner with the last "Your system is up to date." message in a dialog at the end?

How do you run it? for me it does:

image

I pressed "ctrl + space", typed upgrade, and run it

Then to me the issue is in elive-toolcenter, but more exactly it sounds like is an issue with YAD launching the .desktop files, these launchers has multiple categories important to know like Exec, TryExec, NoDisplay, etc... but for me YAD doesn't know how to launch terminal-based .desktop files, also, just verified:

~ ❯❯❯ grep -i terminal /usr/share/applications/elive-upgrader.desktop
Terminal=true

This means that any application requiring terminal will not work, like:

~ ❯❯❯ grep -i terminal=true /usr/share/**/*desktop | wc -l
23

@triantares :

apui xterm-compat-notinstalled

see if works now

Make sure your are using the last version of the package xterm-compat-notinstalled, for me it works from elive-toolcenter

Mmmh... looks like your system is different than mine, but in the case of elive-toolcenter, which uses that YAD way to launch .desktop files, reading the help page it does by default xterm -e something, which the previous package support is improved and working now. On the other hand, different applications can want to launch .desktop files terminal's definition differently, so is good to betatest all those apps (for example btop as your screenshot) from all the launchers (ulauncher, rofi, cairo-dock, e16 menus, etc), they should be all correctly configured for it

Now, in the case of YAD, it launches "xterm -e something", it is not the cause in your system? why? you need to check that...

I just updated again the previous package, now you can "export EL_DEBUG=3" to show a debug message of what is trying to run (in the case it is going to run xterm)

example:
image

That's an E16 or Enlightenment thingy.

no, each application that manages .desktop files has its own way to call terminals

The screenshot was from 'thunar' not 'yad' BTW.

not thunar nor yad, but elive-toolcenter (which uses yad)

Might be but I'm testing simultaneously on a Vbox instance running vanilla RetroWave with the same results.

Mmmh, the screenshot you mentioned shows a terminal that I never seen before, which application is exactly that? trying to launch the terminal this way, it is elive-toolcenter? (note that this issue in the end has no relation with elive-upgrader, the issue is elsewhere)

yes but this is from thunar, im running the launchers from elive-toolcenter and for me it works now (it is not your case?), thunar is another issue, let me see what says on google about this common error...

Yeah, so it works on elive-toolcenter :) you just found a bug in thunar which im already fixing, you can do it in your system too as:

$ cat .config/xfce4/helpers.rc
WebBrowser=web-launcher
TerminalEmulator=xterm
FileManager=thunar

can you verify that it works in all other type of launchers? (rofi, cairo-dock, etc)

btw your image pastebins looks strange on the web interface 🤔

what I do in github web interface which is very handy is to press ImpPt key, select the range of the screenshot I want to include, and then just pressing control+v on the web, it directly renders on the page (not as an external link), so unlike the forum these images are hosted on github side which is no problem