xdm icon indicating copy to clipboard operation
xdm copied to clipboard

Xtreme Download Manager Bug : Not Opening on Ubuntu 22.04 LTS

Open alizaincodes opened this issue 1 year ago • 7 comments

Xtreme Download Manager : Not Opening

Hi there! I reinstalled Xtreme Download Manager Latest today but it is not opening on my Ubuntu 22.04 LTS . See the full log below.

When I clicked the button(the button on bottom left corner) on login screen it shows me two options: gdm-login-screen-gradient-png

  1. Ubuntu
  2. Ubuntu on X.org I clicked the second one and logged in and Xtreme download manager was working fine. But when I relogged in with first option it doesn't start and show any gui.

It shows the following log after run.

$ xdman 
[xdm-13:53:17] Loading config...
[xdm-13:53:17] Application_Startup
[xdm-13:53:18] Loading languages...
[xdm-13:53:18] Language loading ...
[xdm-13:53:18] Loading lang files from: /opt/xdman/Lang/English.txt
[xdm-13:53:18] Loading lang files from: /opt/xdman/Lang/English.txt
[xdm-13:53:18] Language loaded.

(xdm-app:7574): Gtk-CRITICAL **: 13:53:18.698: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
/usr/bin/xdman: line 3:  7574 Segmentation fault      (core dumped) /opt/xdman/xdm-app $@

alizaincodes avatar Jun 28 '24 09:06 alizaincodes

I got the same problem on Fedora 40. Is there any fix ??

dagimg-dot avatar Jul 17 '24 16:07 dagimg-dot

the fix for this problem (currently) is to use a X11 session instead of wayland. Most systems should come with X11 by default, so log out, and see if there is any place with the option to choose either X11 (or Xorg) or Wayland.

choc1024 avatar Jul 23 '24 18:07 choc1024

I think this is because of the need to display a system tray icon and that has conflicts with wayland, but Im not sure

choc1024 avatar Jul 23 '24 18:07 choc1024

I got same problem on Fedora 40. I kill xdm-app background task and re-open it then it works. I think it need a tray icon.

[xdm-15:57:26] Loading config...
[xdm-15:57:26] Application_Startup
[xdm-15:57:26] Loading languages...
[xdm-15:57:26] Language loading ...
[xdm-15:57:26] Loading lang files from: /opt/xdman/Lang/English.txt
[xdm-15:57:26] Loading lang files from: /opt/xdman/Lang/English.txt
[xdm-15:57:26] Language loaded.

(xdm-app:9954): Gtk-CRITICAL **: 15:57:26.908: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
/usr/bin/xdman: line 3:  9954 Segmentation fault      (core dumped) /opt/xdman/xdm-app $@

Yekong995 avatar Aug 11 '24 08:08 Yekong995

I got same problem on Fedora 40. I kill xdm-app background task and re-open it then it works. I think it need a tray icon.

[xdm-15:57:26] Loading config...
[xdm-15:57:26] Application_Startup
[xdm-15:57:26] Loading languages...
[xdm-15:57:26] Language loading ...
[xdm-15:57:26] Loading lang files from: /opt/xdman/Lang/English.txt
[xdm-15:57:26] Loading lang files from: /opt/xdman/Lang/English.txt
[xdm-15:57:26] Language loaded.

(xdm-app:9954): Gtk-CRITICAL **: 15:57:26.908: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
/usr/bin/xdman: line 3:  9954 Segmentation fault      (core dumped) /opt/xdman/xdm-app $@

Thank you. now it works

dagimg-dot avatar Aug 12 '24 09:08 dagimg-dot

Until someone fixes the problem in wayland, use this trick.

  1. Save the script below with the name of your choice. I went with xdm.sh
#!/bin/bash

xdman

sleep 1

pid=$(pgrep -f "xdm-app")

if [ "$pid" != "" ]; then
    kill -9 "$pid"
    xdman
fi
  1. Make it executable
chmod xdm.sh
  1. Change the Exec property of xdm-app.desktop to the following.

The .desktop file is usually found in /usr/share/applications

Exec=env GTK_USE_PORTAL=1 "/path/to/the/script/xdm.sh" %U

I just automated what https://github.com/subhra74/xdm/issues/1237#issuecomment-2282665652 said

I am using v8.029 btw!

dagimg-dot avatar Aug 12 '24 11:08 dagimg-dot

On OpenSUSE Tumbleweed with wayland and KDE Plasma 6.3.5 it does not work with this patch.

I just needed to add the environmental variable GDK_BACKEND=x11 to the shortcut and it is now working and the system tray icon is also working

AshkanV avatar Jul 22 '25 03:07 AshkanV