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.
About this post
- Posted
- Archived
- Score
- 6 · 100% up
- Kind
- Text
- ID
- 30cn75
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
Thanks for the insight. :)
So it sounds like other than converting stuff to mono, the biggest issue would be building and the setup?
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.
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.
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...
I have never used S3, does it support file transfers over ftp or ssh?
Edit: Perhaps you could use s3cmd in a shell script?
KSnapshot+kipi-plugins is very much capable of the same things.
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.
Screenshots only. Not sure about S3 uploading, I mostly use imgur and/or FTP.