
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Super simple context menu to download a URL in the current folder using wget. The download will start in a new konsole window so that you can monitor its progress.
Works with KDE4 or KDE5 (need to download the corresponding file).
The script can either download the last URL you copied in the clipboard, or an input kdialog window will open up for you to paste the URL (1 URL at a time is supported).
Use cases:
It's often that I have a few dolphin windows opened in different directories, and I need to download a file I found online into them (clipart for example).
When I click the "Save as" context menu on my web browser and the browse window pops up, I feel so iritated that I need to browse for the correct path (sometimes might be long nested). Usually I just download everything on my desktop, then I cut the file and paste it in one of the already opened dolphin windows.
Not anymore :D
With this context menu, I just copy the link, right click in/on the dir where I want it to be downloaded and it's there :)
Dependencies for the KDE 5 version: konsole, wget, xclip
Dependencies for the KDE 4 version: konsole, wget
How to install:
1. Download the file
2. In KDE4: cp wget.desktop $(kde4-config --localprefix)/share/kde4/services/ServiceMenus/
In KDE5: cp wget.desktop ~/.local/share/kservices5/ServiceMenus/
3. In KDE4: kbuildsycoca4
In KDE5: kbuildsycoca5
Enjoy you new context menu when right clicking on any folder.
Bug fix... 4 years ago
Forgot to fix the Exec commands for translations for the wgetAskForLink action in v0.1.0.
Bug fix... 4 years ago
Forgot to fix the Exec commands for translations for the wgetAskForLink action in v0.1.0.
Updated the service menu to make it work with KDE 5 4 years ago
* In KDE 5 klipper is not started by default so the qdbus commands were not working.
I changed the script to use xclip instead of the qdbus commands. That means that the script now has three prerequisites: konsole, wget and xclip.
* Added TryExec entries to avoid showing the context menu if the prerequired commands (konsole, wget and xclip) are not available in $PATH
6 years ago
0.0.4
Added translations for action wgetAskForLink Exec
Added Spanish translation (yomelallevealrio)
0.0.3:
Added Russian translation.
0.0.2:
Added German translation.
0.0.1:
Just uploaded.
Supports to download the last copied URL from Klipper, or open up a dialog that you can paste/edit the URL to be downloaded.
Cherkah
1 year ago
cf https://gitlab.com/gnuwget/wget2
Report
yomelallevealrio
6 years ago
Name[es]=Descargar el último LRU copiado de Klipper
Open a dialog and paste the URL to be downloaded
Name[es]=Abrir diálogo y pegar el LRU a descargar
Paste your URL to download (wget)
Pegar LRU a descargar (wget)
Report
yomelallevealrio
6 years ago
Anyway, the last sntence «Paste your URL to download (wget)», I think is better translated as «Pegar LRU para descargar (wget)».
Report
CyberAng3l
6 years ago
Just added the Spanish translation.
Report
Omega9
6 years ago
->
Name[ru]=Загрузить по последней скопированной в Klipper ссылке
Name=Open a dialog and paste the URL to be downloaded
->
Name[ru]=Открыть диалог и вставить ссылку для загрузки
Report
CyberAng3l
6 years ago
> Paste your URL to download (wget)
Report
Omega9
6 years ago
Report
Omega9
6 years ago
->
Name[ru]=Загрузить по последней скопированной в Klipper ссылке
Name=Open a dialog and paste the URL to be downloaded
->
Name[ru]=Открыть диалог и вставить ссылку для загрузки
Report
Omega9
6 years ago
->
Name[ru]=Загрузить по последней скопированной в Klipper ссылке
Name=Open a dialog and paste the URL to be downloaded
->
Name[ru]=Открыть диалог и вставить ссылку для загрузки
Report
Strek
6 years ago
Report
CyberAng3l
6 years ago
This .desktop file is very simple anyway. Are you sure the error you get is generated by this script? Try to remove "wget.desktop" file and re-run kbuildsycoca4.
I created this based on the tutorial here:
https://techbase.kde.org/Development/Tutorials/Desktop_File#Menus
Report
Strek
6 years ago
I verified, Script work normal.
Report
CyberAng3l
6 years ago
As the man page of kbuildsycoca4 says:
http://linux.die.net/man/8/kbuildsycoca4
> kbuildsycoca4, as part of the KDE command line tools ensures the proper operation of KDE by reading in all the .desktop, .directory, .kimgio and .protocol files to construct a binary database.
> KDE itself accesses this database during operation to provide configuration information a program needs to run.
> This tool is part of ksycoca4, which stands for KDE System Configuration Cache
Report
CyberAng3l
6 years ago
As the man page of kbuildsycoca4 says:
http://linux.die.net/man/8/kbuildsycoca4
> kbuildsycoca4, as part of the KDE command line tools ensures the proper operation of KDE by reading in all the .desktop, .directory, .kimgio and .protocol files to construct a binary database.
> KDE itself accesses this database during operation to provide configuration information a program needs to run.
> This tool is part of ksycoca4, which stands for KDE System Configuration Cache
Report
frag
6 years ago
Report
CyberAng3l
6 years ago
Report
roctheme
6 years ago
->
Name[de]=Lade die zuletzt kopierte URL herunter
Name=Open a dialog and paste the URL to be downloaded
->
Name[de]=Herunterzuladende URL eingeben
Report
CyberAng3l
6 years ago
> Paste your URL to download (wget)
Report
roctheme
6 years ago
> Paste your URL to download (wget)
You can also use this set:
Herunterzuladende URL eingeben (wget)
Report
roctheme
6 years ago
> Paste your URL to download (wget)
You can also use this set:
Herunterzuladende URL eingeben (wget)
Report