Skip to content

How difficult would it be getting something like ShareX ported for Linux/Arch?

First, I apologize if this isn't the proper place to discuss this. I have no idea where else I would go.

This is ShareX. The dev has been asked a few times whether or not Linux support would be possible and has never given a very in-depth reply other than "it relies too heavily on Windows calls." I don't know the first thing about actual code (I don't think PHP, MySQL, JS, HTML, or CSS are going to help me here) and was wondering how difficult something like ShareX would be to make for Linux or to port for Linux.

I wouldn't undertake such a task myself, but you know. Just curious. I know there are people out there who would be willing and capable as long as such a thing is possible. The only reason I ask is because screenshot utilities on Arch (and Linux in general) are kinda shitty comparatively. ShareX is lightyears beyond pretty much any other screenshot utility and I'd love to have something like it so my life on Linux is not as much of an annoyance. ^I ^take ^like ^150+ ^screenshots ^a ^month. ^Key ^part ^of ^my ^online ^communication.

6 points13 comments
Open on Reddit
About this post
Posted
Archived
Score
6 · 100% up
Kind
Text
ID
30cn75

Author

14
posts
190
comments
2
media
View profile

13 comments

Alright, let's boil the components of the program down and see.

Language: C#, can be run by mono on linux

GUI: dotnet 4.0, could be written to support mono on linux

Video encoding: FFmpeg, very compatible

Setup: InnoSetup, windows only

Building: Heavily based on Visual Studio, but it's easily importable if you use the monodevelop IDE.

I'm sure that there's a lot of stuff that i'm missing here, but this is what i found after looking at the code a little.

TL;DL It's alot of work, but it's not impossible

4 points

Thanks for the insight. :)

So it sounds like other than converting stuff to mono, the biggest issue would be building and the setup?

1 points

Have you looked for existing Linux alternatives? I think I saw a program like this before.

Otherwise, I'm guessing that writing a script to take a screenshot and upload it would be easier than porting this.

2 points

Have you looked for existing Linux alternatives? I think I saw a program like this before.

Yes. Extensively. The one you're probably thinking of is called Shutter. Again. Light years behind though. I tried it and it just comes nowhere near ShareX.

Otherwise, I'm guessing that writing a script to take a screenshot and upload it would be easier than porting this.

Wouldn't be as feature-rich and awesome, but I might just have to cut my losses and end up settling for that. I'd have to find a way to be able to upload to my Amazon S3 cloud storage with it though. That requires keys and stuff...

2 points

KSnapshot+kipi-plugins is very much capable of the same things.

1 points

Does it support, say, uploading straight to my Amazon S3 cloud storage (which requires two separate keys to do)? And can I also upload things other than screenshots with it? Can I have different types of files go to different uploaders based on filetype?

Genuinely asking these questions, btw. Not trying to be a douchebag.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.