DownloadM - GTK2 download manager/accelerator using aria2 as a backend

EDIT: Now on AUR (http://aur.archlinux.org/packages.php?ID=41384)
Hello friends.
Since I couldn't find any good GUI download accelerators for Linux I thought that many people could benefit from aria2 if it had a nice GUI.
I started developing DownloadM for that purpose.
My brother (nick vbCrLf) helps me with it.
I use C++, gtkmm, xmlrpc-c, and the IDE is qtcreator hence the project uses qmake.
It is currently functional but not complete at all. Here is a screenshot:
Current limitations:
1) No way to configure almost anything.
2) Always downloads to $HOME/Downloads
many more...
It has at least one nice feature. If you close it before a download is finished, the download will be resumed the next time you open DownloadM.
Here is the project page: https://sourceforge.net/p/downloadm/. You can download a tarball from there.
The git repo is there also.
git clone git://git.code.sf.net/p/downloadm/git.git
To build the project, one needs to run "make" in each directory. The build order is:
1) Entities
2) aria2c_com
3) DownloadM
4) GUI
The executable's name is "downloadm".
I'm not sure what the dependencies are . I guess it's something like:
aria2 xmlrpc-c gtkmm
Note: The program creates the folder $XDG_CONFIG_HOME/DownloadM
I know there is still a long way to go but since it's already functional I thought I would share it with you.
It is also my first real-world project so feel free to share from your experience.
Any thoughts are welcome.
Thanks.
A PKGBUILD is in the making (below). My first try. I need help
EDIT: It works now. I'm pretty sure I did things in a weird way but it works.
# Maintainer: SoleSoul <j.lahav ta gmail tod com>
pkgname=downloadm
pkgver=0.1.1
pkgrel=1
pkgdesc="A download accelerator/manager which uses aria2c as a backend."
arch=('i686' 'x86_64')
url="http://sourceforge.net/p/downloadm/"
license=('GPL')
depends=('gtkmm' 'xmlrpc-c' 'aria2' 'libsigc++')
makedepends=('qt')
source=(http://downloads.sourceforge.net/project/downloadm/DownloadM-$pkgver.tar.gz)
md5sums=('cd9dc47c2095c1df2f4bf9ee9052145e')
build() {
cd DownloadM
cd Entities
qmake && make
cd ../aria2c_com
qmake && make
cd ../DownloadM
qmake && make
cd ../GUI
qmake && make
package() {
mkdir -p $pkgdir/usr/bin/
cp $srcdir/DownloadM/GUI/downloadm $pkgdir/usr/bin/
mkdir -p $pkgdir/usr/share/downloadm/
cp $srcdir/DownloadM/GUI/downloadm.glade $pkgdir/usr/share/downloadm/
Last edited by SoleSoul (2010-10-03 10:57:08)

In order to make DownloadM easier to test I want to make a PKGBUILD for it and upload it to the AUR. I am starting to write one on the first post. Any help is welcome.
I think I need to sort out a few things before it would be possible to write a proper PKGBUILD. Lets do it one by one.
Is it a good practice to hard-code the location of the .glade file to "/usr/share/downloadm/downloadm.glade" ? If not, how should I specify it's location?
Right now the steps necessary to prepare a package are to compile it by running "make" in each directory by the order specified in the first post. Maybe qmake has to be invoked also to create a correct release makefile?
Then we need to move the executable to somewhere (/usr/bin/downloadm?) and the glade file also (/usr/share/downloadm/downloadm.glade?)
I think that's it. Am I right?

Similar Messages

  • Secure Download Manager not starting download? (Dreamspark)

    Hello,
    for the past days I've been trying to download Windows 7 64bit (German) from Dreamspark. The download worked fine until it hit 45% and just stopped. No error messages or similar appeared. ( I've downloaded Windows 8 with no problem a couple of weeks ago,
    so the problem is not my firewall / antivirus / settings..; tried different Systems.)
    I've deleted the already downloaded files and restarted it, tried to download different files and even asked two friends to try to download something, unsuccessfully.
    The problem is obviously on there end, not mine. Any ideas? I've been waiting for support for about 2 days..
    Thank you

    I have very same problem with Secure Download Manager:
    - Download stucks on 0%, there is data transfer but there is no progress
    - Download starts, then after while of downloading ( about 30 minutes) it stops (complete lack of any data transfer) and then starts again or not. If it finishes downloading i get CRC error and SDM ask to download file again
    - Download starts (or is stuck at 0%) and i get error:
    "The download cannot be completed. If a location selection is available for this  product, select another location. If no location selection is available, the download may fail to complete because no Internet connection was found, the  Internet connection
    was lost or a firewall or proxy server exists between the client station and hosting location. Please try again later."
    From SecureDownloadManager.log [Download] [Error] OnErrorMessage FileKey 1 http://software.dreamspark.com/dreamspark/POLISH/pl_windows_7_professional_x64_dvd_x15-65829.01.sdc 503
    The error repeats when i try again, but if it eventually starts to download i get CRC error at 100% and SDM ask me to download file again.
    Notes:
    - It happens both with my antivirus and firewall enabled and disabled (Microsoft Firewall is disabled)
    - I have Internet Explorer 9.0.8112.16421, 9.0.11
    - I have fully enabled javascript and activeX
    - My Java and Flash plugins are up to date
    - I tried to use diffrent internet, errors happens both at my home and at university campus internet
    - I already tried to download sdx file again, delete previously downloaded files and start again, reinstall SDM and reconnect internet, reboot my computer, clear cookies and browser cache.
    - Of course my internet connection is fully working, all other programs are downloading and uploading data flawlessly, only SDM that im forced to use is having problems.
    Im from Poland and since few days (i wanted to download something again) it completly is not working. Its great to have access to so many programs but its sad i cant download anything because of that Secure Download Manager
    I used "contact" form on onthehub site (that i use to order and download SDX files) but no response, today i send mail to
    [email protected] and waiting for response. Is there any other mail i can send my problem to? Its getting really annoying i have access to so much programs but cant download any because of this Secure Download Manager :(

  • Admiral: Aria2 Download Manager for Midori

    I recently started using Midori on this computer, and wrote my own download manager for it. It's really simple. It depends on aria2, zenity, and notify-send, which aren't hard to get at all. Its advantages over the wget.sh in the Midori FAQ is that (a) it uses aria2, which is apparently faster, (b) it lets you choose the download directory (which I like), and (c) it saves a log and notifies you in case things mess up.
    #!/bin/sh
    # Admiral
    # Aria2 Download Manager
    # USAGE: 'admiral $FILE'
    test -z "$1" && exit 1
    URL="$@"
    FNAME=$(basename "$URL" | cut -d '?' -f 1)
    echo $FNAME
    LOGFILE="$HOME/.admiral-log-$$"
    SAVE=$(zenity --title="Admiral: Save to:" --file-selection --filename="$FNAME" --save)
    test $? -gt 0 && exit 3
    asplode() {
    notify-send -u critical -t 5000 -i gtk-no "Admiral Asplode!" "Download of $URL failed
    Check the logfile at $LOGFILE"
    exit 2
    notify-send -u low -t 1500 -i gtk-save "Admiral" "Began downloading $URL"
    touch $LOGFILE
    aria2c -d "$(dirname $SAVE)" -o "$(basename $SAVE)" -l $LOGFILE "$URL" || asplode
    notify-send -u normal -t 2000 -i gtk-ok "Admiral" "Download of $URL complete
    Saved to $SAVE"
    rm $LOGFILE

    Good idea.  Using the 'External Download Manager - CommandlLine'  plugin, I set it to:
    /usr/bin/my-dl {URL}
    Then I created /usr/bin/my-dl which contains:
    #!/bin/bash
    dl_path="/media/data/inbox" # edit to match your download path and it cannot contain spaces
    /usr/bin/lxterminal --title="$1" --working-directory="dl_path" --command="/usr/bin/aria2c --dir=$dl_path --file-allocation=none --continue=true $1"
    Now when I click on 'save' it runs that script.  Kinda lame but it works ;p
    Last edited by graysky (2012-11-20 18:51:30)

  • How do I disable Firefox's Download functionality, I would like to use another download manager with Firefox...many thanks Bruce

    Hi I am using version 3.6.15 with Windows 7, I would like to use another download program in place of Firefox's default option, how can I disable this in Firefox
    Many thanks
    Bruce Baxter

    Use this extension to integrate an external download manager with Firefox. <br />
    https://addons.mozilla.org/firefox/220/<br />
    http://www.flashgot.net/whats

  • Need to disable download in firefox, so i can use my download manager

    i want to save download links to my download manager, but firefox downloader is the only option i get

    You can use the FlashGot extension to integrate an external Download Manager in Firefox.
    * FlashGot: https://addons.mozilla.org/firefox/addon/flashgot/

  • I have downloaded an album from itunes using HughesNet Download Manager scheduled to download during the 2 am to 8 am download period.  The album seems to have downloaded to my computer.  I found the file in c:\downloads\.   I cannot get it into itunes.

    I have downloaded an album from itunes using HughesNet Download Manager scheduled to download during the 2 am to 8 am download period.  The album seems to have downloaded to my computer.  I found the file in c:\downloads\.   I cannot get it into itunes.   Can anyone please give me step-by-step instructions on how to use the downloaded file?   I have tried to import it and drag and drop.   PLEASE HELP.   Thank you.

    See my response to your other post.

  • How I can use free download manager in forefox

    Instead of firefox downloader I want to use free download manager with firefox, as it is much faster.

    I'm assuming that you have Free Download Manager installed on your computer and you want Firefox to use Free Download Manager for downloads? The addon FlashGot should be able to accomplish this please see this page https://addons.mozilla.org/en-US/firefox/addon/flashgot/ .

  • Unable to download using download manager

    i want to know how to download oracle 10g r2(10.2.0.1.0) using download manager.i have used getright and flashget but no use.in getright i am getting a error message and in flashget i got a downloaded file of only 4kb.can please anyone help me.. i am using latest versions of both getright and flashget..i am from india...

    If I am not wrong then your browser needs to support cookies. Download managers pick up the username/password information from the cookies that are saved by the browsers (whether IE/firefox or whatever).

  • How I use aria2 to download torrent files

    I was reading topics' titles, and then I saw this one:
    https://bbs.archlinux.org/viewtopic.php?id=154476
    At first, he wanted to use aria2, but then he switched to rtorrent. rtorrent is great, but It's not good for scripting, so I don't use it. aria2 is the best way to download torrent files, within command line. But how?
    I use this script, because sometimes aria2 stops downloading, but doesn't exit! It's not a big deal when you're near the computer, but when you go somewhere else, you can't check if it's downloading. So I wrote this little script:
    #! /bin/bash
    if [ ! -x /usr/bin/aria2c ]; then
    echo "aria2c is not installed"
    exit 1
    fi
    if [ ! -d ~/.torrentdl ]; then
    mkdir ~/.torrentdl
    fi
    while :; do
    for i in $@; do
    MAGNET=false
    if [[ "$i" = magnet* ]]; then
    MAGNET=true
    elif [ ! -f "$i" ]; then
    echo "The file ('$i') is not given or does not exist"
    exit 1
    fi
    if ! aria2c --hash-check-only=true "$i" &> /dev/null; then
    aria2c "$i"
    sleep 30m && kill -9 `pidof aria2c`
    else
    echo "Torrent is downloaded!"
    fi
    done
    done
    Simply, it starts downloading and restarts it every 30 minutes.
    There are some arguments that will help you with aria2:
    -S, --show-files[=true|false]:
    Print file listing of ".torrent", ".meta4" and ".metalink" file and exit.  In case of ".torrent" file, additional information (infohash, piece length, etc) is also printed.
    --hash-check-only[=true|false]:
    If true is given, after hash check using --check-integrity option, abort download whether or not download is complete.

    Maybe this belongs in the wiki, specifically the "Useful Tips and Tricks" section.  It is not vital to usage of aria2, but I am sure there are others that might find this useful, and the wiki seems like a much more logical place to go searching for something like this.

  • I want to use Internet Download Manager NO MATTER WHATTTT! How to!?????????

    I want to use Internet Download Manager NO MATTER WHATTTT! Disabling IDM and enabling other stupid download program is the stupidest thing!

    Make sure you have the latest version of IDM installed, available from http://www.internetdownloadmanager.com
    Use the IDM options window to set up the integration options with Firefox as shown here - http://www.internetdownloadmanager.com/support/using_idm/options.html

  • How do I shutoff FF download manager so I can use another or run files that I download?

    I am not given the option of running a download or saving a file in the place of my chosing, I would like to use a download manager with which I am more familiar and that does give me those options.

    Re: I need to create 4 A2 boards that print adjacent to one another with a photo image running across all 4 boards.How do I set up the pages so I can see the whole composition together , then print the seperate A2 boards.Do I use illustrator (C3) or Indesign
    If possible, please try Indesign CS 4.

  • Downloading using download manager

    Hi I recently got an IPad Air as a birthday present. It's my first time using an apple product and I'm having difficulty downloading and playing music on it. I downloaded some music as a test using Download Manager. Now how do I get it to show up on the music app? Any help would be appreciated! Thanks a million

    On the iPad you can purchase music using the iTunes app.
    on your computer, install iTunes (it's free) and load your music into iTunes on the computer. Then connect your iPad to your computer and run iTunes on the computer. Select the iPad in iTunes, select the Music tab in iTunes and select to either sync all music or select just the playlists your want on the iPad. Finally click on Sync or Apply to copy the selected music to your iPad. It will then be found in the Music app on the iPad.

  • Error while using SAP download manager

    Hi,
    When we try to download patches using SAP download manager to download patches, I get the error below:
    The basket content could not be read. The following exception occured:
    Unable to read data form teh SAP Service Marketplace. Check your settings and try again.
    I have entered all the required information i.e. s-user id, password, proxy details etc in the 'download manager configuration.'
    Kindly let me know how to proceed forward.
    Thanks & Regards,
    Kunal Patel

    Hi Kunal,
    I think, by now your DM must be working, but just for info.
    Please check SAP Service Marketplace Address , it should be , http://service.sap.com/ and not https:.
    574885  Download Manager: Generate trace file for analysis
    401196  Download Manager: Proxy configuration problems.
    The above given SAP notes are very useful , which can be used to analyze the issue and also gives steps to generate the trace of the Download Manager which points to the issue. I resolved my DM issue with the above SAP notes.
    Steps mentioned in the SAP note 401196 - Download Manager: Proxy configuration problems to trace out the issue:
    Open a command prompt.
    CD to the directory where you installed the Download Manager.
    At the prompt, type "java -Djavax.net.debug=all -jar DLManager.jar dlmanager.Application".
    The Download Manager will be started. You are able to see detailed debugging information in the command prompt window. Note that it is also possible to write this output to a file.
    Do let the forum know if your issue is resolved or not.
    Regards,
    Anuj
    Edited by: Anuj Nigam on Oct 25, 2010 1:00 PM

  • Problems using download manager

    I am having a problem using the download manager, it is giving me an error downloading some items while others download successfully. The error it gives me is "request failed 401". This looks to me like a permission error, but without changing my configuration other items downloaded fine. I have also taken my OSS ID and password in the configuration screen and pasted them into the login fields for service maketplace and I was able to logon. Does anyone have any ideas?
    Thanks,
    Dave

    this is a really funny stuff.
    i also having the same problem.
    but i solved it.
    it because i've been download on download basket using other SAP-ID.
    And when i'm login using my own id, when i try, it result the error 401.
    I'm frustated, because at download manager, my dowload basket has been successfully appear. So, i assumed that the logon is successfull.
    And then because the long long long error...i tried inserting the other logon (the SAP ID that i've been using for download basket before)...and it works!
    maybe SAP should work on this problem immediately.
    note: i've been try on different browser, re-install download basket, and clearing the cookies and cache.

  • Can Acrobat XI trials be downloaded directly, instead of using Akamai Download Manager?

    If you are having issues downloading Adobe Acrobat XI trials using Akamai Download Manager, you can download directly in a browser. Follow the instructions here:
    Download Acrobat XI trials directly

    Thank you for the link, and for going to the trouble of making it available.
    Please don't think that I'm intentionally making things more difficult than they have to be.  But as someone who recently passed his Security+ test, I cannot accept.  Even if scanned by AV software, I cannot run the risk of there being anything malicious in the file.
    NOT THAT I THINK YOU WOULD!!!  I don't! Mind you, I just cannot take that risk, especially since this is for work (I'm a federal contractor.)
    V/r,
    ^_^

Maybe you are looking for

  • Error while using ALV component

    Hi , I am using a ALV reuse component for the result view. I am getting Window SALV_WD_TABLE does not exist within component SALV_WD_TABLE error. I have done the mapping . I have reffered to this document which is very useful /people/thomas.jung3/blo

  • Every time I attempt to render video Premiere crashes

    I'm working on a pretty big project (for me at least) but when I was going to render a sample to send for feedback premiere simply refused and crashed. It kept doing this every time I attempted to render an output file including ANY of the video trac

  • Cracks and popping sound: A never ending sto

    A few years ago i had few cumputers (always custom made) in which i always used the same SB Li've! 3.0 card (Windows 98 SE). Worked like a charm without any problem. Then i upgraded to Windows XP and the problems started. I still kept using that SB L

  • How can I instal fonts on the user's machine?

    Hello My application uses a font that probably most of the users don't have. Can I install it on the user's computer? How? Thank you! Alexandra.

  • Upgrade iphoto 2.0.1 ????

    I'm running OS X 10.2.8 and iphoto 2.0.1, and currently running around in circles on the apple support pages. I want to know if I can upgrade to a more recent free iphoto version..does anyone know please ?? I've tried the free iphoto 4.0.3 download,