Xtreme Download Manager Bug : Not Opening on Ubuntu 22.04 LTS
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:
- Ubuntu
- 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 $@
I got the same problem on Fedora 40. Is there any fix ??
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.
I think this is because of the need to display a system tray icon and that has conflicts with wayland, but Im not sure
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 $@
I got same problem on Fedora 40. I kill
xdm-appbackground 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
Until someone fixes the problem in wayland, use this trick.
- 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
- Make it executable
chmod xdm.sh
- Change the
Execproperty ofxdm-app.desktopto the following.
The
.desktopfile 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!
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