|
Post by thewaiter on Sept 25, 2022 17:37:20 GMT
Hi guys I always missed "copy to clipboard" feature in default Moksha screenshot module. It is not in screenshot extra module also. Sure, installing flameshot will solve this problem but for those of you who prefer minimalism I can share a little trick I found yesterday. We have xclip app installed by default in moksha used in Clipboard module. Why not to use it? Open screenshot settings and in application entry type: "xclip -selection primary -t image/png -i " Bear in mind there is a space char after -i switch. Also put slider to best quality (100). We need a png file for this purpose.  I wanted to add this feature to Moksha code but I came across 2 troubles: 1. it is not universal, as xclip does not support jpeg files for 50-90 quality level 2. I can see some weird chars in Clipboard history I hope I will find a solution for copying picture into clipboard by native EFL way in the future... Enjoy, Stefan EDIT: It looks I made some progress today in the evening. Feature in Moksha looks real now 
|
|
|
Post by thewaiter on Sept 26, 2022 16:58:27 GMT
OK, let me introduce new feature to Moksha's Screenshot module Now users can copy screenshot to clipboard and paste to applications they need. Option is added to Screenshot settings and enabled by default. In case of no "Launch app after screenhot" or no app defined in app entry, the screenshot file (jpg or png) will be erased from target folder and be in clipboard only.  OK, if you are able to compile moksha from source or later install a deb package, I expect your feedback or ideas for enhancements. Stefan
|
|