Crates.io | sharexin |
lib.rs | sharexin |
version | 0.7.2 |
source | src |
created_at | 2017-07-19 22:56:54.395956 |
updated_at | 2018-12-17 04:39:44.62084 |
description | ShareX for Linux and BSD |
homepage | https://sharexin.github.io |
repository | https://github.com/ShareXin/ShareXin |
max_upload_size | |
id | 24186 |
size | 72,830 |
rustc
1.31.0 (Rust 2018)feh
(only need if spectacle
is not installed or using GNOME)gnome-screenshot
)spectacle
)scrot
)This is a temporary measure for connecting to Twitter and will be changed in the future
ShareXin uses the Ruby Twitter tool t
for sending Tweets.
For non-Flatpak users, you will need to manually install the tool.
You don't need to directly interface with t
in either Flatpak or Native, as ShareXin can call the tool directly for authenticating and tweeting.
To authenticate to Twitter:
$ sharexin tweet auth
And on Flatpak:
$ flatpak run io.github.ShareXin tweet auth
This is a temporary measure for connecting to Mastodon and will be changed in the future
ShareXin uses the Python Mastodon tool toot
for sending Toots.
For non-Flatpak users, you will need to manually install the tool.
You don't need to directly interface with toot
in either Flatpak or Native, as ShareXin can call the tool directly for logging in and tooting.
To login to your Mastodon instance:
$ sharexin toot auth
And on Flatpak:
$ flatpak run io.github.ShareXin toot auth
ShareXin uses its own API and App to upload to Imgur, so no external tool is necessary, and you do not need to setup your own API with Imgur to use it. (if you do wish to change it, change this line)
Flatpak is currently limited to only GNOME
For users of the GNOME Desktop (X11/Wayland), you should already have GNOME Screenshot
installed by default, so you do not need to worry.
Unity, Budgie, and Cinnamon Desktop users are recommended to use GNOME Screenshot
for the best experience, however none of these desktops have Wayland support, so any other tool mentioned can be used, such as Spectacle
or scrot
For users of the Plasma (X11/Wayland) Desktop, you should have Spectacle
installed in order to have the best experience with ShareXin.
For users of any X11 desktop, you must use scrot
for screenshotting with ShareXin.
For GNOME Users, setup a custom keyboard shortcut in Settings, and if you want a custom keybinding (say to replace Print Screen), navigate to this Dconf setting to change a binding. /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/
For Plasma Users, you do you.
For any other desktop, you do you.
Ubuntu: Tested for 17.04/17.10/18.04/18.10
Debian: Tested for 9.5.0 and GNU/kFreeBSD
$ sudo apt install libgtk-3-dev libcairo2-dev libpango1.0-dev libgdk-pixbuf2.0-dev libatk1.0-dev libssl-dev libcurl4-openssl-dev libclang-dev build-essential
$ sudo pacman -S curl gtk3 gdk-pixbuf2 cairo glib2 openssl dbus xcb-util base-devel clang
Tested for F28/F29/F30
$ sudo dnf install gtk3-devel cairo-devel pango-devel gdk-pixbuf2-devel atk-devel openssl-devel libcurl-devel clang-devel
Tested for 11/TrueOS/GhostBSD 18.10
$ sudo pkg install security/openssl-devel gmake gcc dbus-glib devel/dbus gtk3 devel/glib20 devel/pkgconf python3 cairo pango gdk-pixbuf2 atk curl
Tested for 6.4
$ sudo pkg_add glib-openssl gmake gcc dbus-glib dbus gtk3 glib2 python cairo pango gdk-pixbuf2 atk curl pkgconfig/pkgconf
NONE, works out of the box.
Only Tested on Fedora 29 using GNOME Wayland
Use io.github.ShareXin.json
$ git clone https://github.com/ShareXin/ShareXin/
$ cargo install --path .
OR
$ cargo install sharexin
README.md
README.md
/tmp
under Flatpak (using wrapper script)cmd.rs
to main.rs
(main only called cmd anyways)save.rs
to image.rs
error.rs
is now text.rs
, also merged with language.rs
error.rs
now contains some planned enums for future rewritten error handlingShareXin
folder in pictures was already created, it attempted to display an error, which crashed for some reasonunreachable!("")
was a thing, replaced some instances of panic!()
with iterror::fatal()
message--upgrade
removed due to issues with opensslerror.rs
actually readabledialog.rs
t
and toot
are still required for use with Twitter and Mastodon, but this WILL be addressed in 0.6.6