Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xtreme Download Manager Bug : Not Opening on Ubuntu 22.04 LTS #1237

Open
alizaincodes opened this issue Jun 28, 2024 · 6 comments
Open

Xtreme Download Manager Bug : Not Opening on Ubuntu 22.04 LTS #1237

alizaincodes opened this issue Jun 28, 2024 · 6 comments

Comments

@alizaincodes
Copy link

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 $@
@dagimg-dot
Copy link

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

@choc1024
Copy link

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
Copy link

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

@Yekong995
Copy link

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 $@

@dagimg-dot
Copy link

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
Copy link

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 #1237 (comment) said

I am using v8.029 btw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants