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

XDM should daemonize itselft to run background #149

Open
3 tasks done
souravdas142 opened this issue May 3, 2020 · 7 comments
Open
3 tasks done

XDM should daemonize itselft to run background #149

souravdas142 opened this issue May 3, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@souravdas142
Copy link

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running xdm latest version
  • I've searched the bugtracker for similar feature requests including closed ones

Description

Extreme download manager should run daemonizing mode. I want to start xdm on startu up without being pop up the main window. You have done a very good job but without cli options this tools lacks of tons of feature. It also can't pass download url from terminal. The best thing would be make this client server mode

@subhra74
Copy link
Owner

subhra74 commented May 3, 2020

That feature is already there. You can open terminal and type xdman -u <download_url>
Also XDM runs on system startup by default, unless it is disabled explicitly in configuration.

@souravdas142
Copy link
Author

souravdas142 commented May 7, 2020

I am using Arch + i3 . Xdm is not run on system startup. Is there any config file i have to copy? does have any command line inter inface(not only for -u option. is there any other option also)? if I start xdman with i3, xdman gui also shows. I want not to show xdman gui on start up. Is there any command to hide xdman gui on startup? @subhra74

@subhra74
Copy link
Owner

I do not have much experience with i3 but if below option is selected, a desktop file will be create in ~/.config/autostart folder, which should be launched as loon as user logs in to DE.
You can check if XDM is already running or not by using ps -ef|grep xdman
If you want to manually launch XDM in background then use xdman -m
I will create a list of command line option that XDM supports but not getting enough time.

image

@souravdas142
Copy link
Author

Thanks a lot for your reply @subhra74 . Definately you should create a man page for cli usage or list them as you mention. It helps a lot. Take your time.

One more objection. Give some convient name for WINDOW_{CLASS,TITLE,STATE,INSTANCE}. This make window controlling from i3 more convient. When I check them from xprop it shows nothing appropriate and it's difficult to set it up in i3 config.

@subhra74 subhra74 added the enhancement New feature or request label May 14, 2020
@subhra74
Copy link
Owner

As off now the window is created in Java and it wraps all platform specific properties, so there is no easy way to do this. Will implement this feature using JNA but it will take more time to implement. So adding to backlog.

@souravdas142
Copy link
Author

souravdas142 commented May 18, 2020

ok, I understand. Thanks for adding this in "To do" list. Thanks a lot @subhra74

@fivestones
Copy link

That feature is already there. You can open terminal and type xdman -u <download_url>
Also XDM runs on system startup by default, unless it is disabled explicitly in configuration.

How can you do this when running the java version from the command line? (e.g., I start XDM with java -jar xdman.jar but putting in java -jar xdman.jar -u <url> doesn't seem to do anything other than opening XDM.)

I'm wondering if this would be usable on a headless server.

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

No branches or pull requests

3 participants