cytopia / thunar-custom-actions Goto Github PK
View Code? Open in Web Editor NEWCustom actions for Thunar (or Nautilus) File manager
License: MIT License
Custom actions for Thunar (or Nautilus) File manager
License: MIT License
»»»» ./Scripts/thunar-upload-to-imgur.sh /home/lozenge/Wallpaper/paper1.png 0|05:06:30
Failed to execute process './Scripts/thunar-upload-to-imgur.sh'. Reason:
exec: Exec format error
The file './Scripts/thunar-upload-to-imgur.sh' is marked as an executable but could not be run by the operating system.
Also, how do i use it in Nemo or nautilus? Also, when i drag & drop multiple photos into my terminal, it wont convert in bulk, how do i do that? it only converts the 1st photo.
Is it possible to get the postimage URL after upload?
Hi, I ran across your scripts and gave them a try in a (fresh) Debian stretch install and only had one problem with it.
For some reason the bits and key columns used in the chooseRecipient
and chooseSecret
were reversed (maybe gpg's version? mine is 1.4.20) and zenity was trying to use the bits instead of the key name for encryption resulting in an error. So after a apt-get install pinentry-gtk2
:
gpg: skipped "2048R": secret key not available
Setting the collumn to --print-column=2
and swapping places for
--column=\"Bit\" --column=\"Key\" --column=\"Recipient\" ${pubkeys}"
instead of
--column=\"Key\" --column=\"Bit\" --column=\"Recipient\" ${pubkeys}"
That fixed it for me.
It's come to my attention that uploading an image through the imgur script displays a zenity window with no URL. Also spits out a 'no such option' for -f.
kevin@volt-Thinkpad-T42 ~/Pictures $ thunar-upload-to-imgur.sh -f starwars.png
This option is not available. Please see --help for all possible usages.
Linux Mint 17.3, screenie: http://i.imgur.com/mV0kmVv.png
Hi
In my case Thunar encrypt is not working because is not able to detect my public and private keys
I think the error is in the sed parameter of this fileds
pubkeys="$(gpg --list-public-keys \ | grep -A 1 "^pub" \ | sed -n -e "s:^pub *\([A-Za-z0-9]\+\)/\([A-F0-9]\+\) .*$:\1 \2:p" -e "s:^uid *\(.*\)$:\"\1\":p" \ | tr '\n' ' ')"
seckeys="$(gpg --list-secret-keys \ | grep -A 1 "^sec" \ | sed -n -e "s:^sec *\([A-Za-z0-9]\+\)/\([A-F0-9]\+\) .*$:\1 \2:p" -e "s:^uid *\(.*\)$:\"\1\":p" \ | tr '\n' ' ')"
IS it possible to upload to pastebin as a user?
The thunar-upload-to-postimage.sh script does not work for me (anymore?). After the "upload", the zenity popup just displays
https?://([^/
When I try to display the curl output file, it seems to be just the postimage front page.
It might be because they changed the website recently, there is even a "Return to the old site" link at the bottom of the page.
As a temporary hack, it is still possible to use the old interface. (I don't want to submit this as a pull request, because it is too nasty)
ZTEXT="$(echo "${TEXT}" | grep -E -o '\w*.postimg.org/[[:alnum:]]+/[[:graph:]]+.(jpg|gif|png)' | awk 'NR==2')"
$ openssl-encrypt-decrypt.sh -f file
openssl-encrypt-decrypt.sh: Syntax error: redirection unexpected
thunar-openssl-encrypt-decrypt.sh
seems to be broken. There something wrong on Line 82.
$ sh thunar-openssl-encrypt-decrypt.sh -f /path/to/some/file.ext
thunar-openssl-encrypt-decrypt.sh: 82: thunar-openssl-encrypt-decrypt.sh: Syntax error: "&" unexpected
Right know it's only possible to encrypt single files. For convenience it would be nice to check if the selected file is a folder and if so wrap it inside a archive. Something like ...
$ tar -c foldername | gpg2 -e > folder.tar.gpg
thunar-gpg-info.sh
only show the identity of the sender not of the recipient.
How is to supposed to get the identity of the recipient if you query gpg with gpg --list-secret-keys
shouldnt it be gpg --list-public-keys,
. Otherwise gpg only prints your own identity (sender) not the recipient.
zenity --info --no-markup --text="Encrypted for: ${recipientKey} ${recipient}"
Or did you mean Encrypted from:
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.