- This topic has 12 replies, 6 voices, and was last updated Apr 25-1:06 pm by Robin.
-
AuthorPosts
-
April 17, 2023 at 1:14 pm #104873Member
Robin
antixscreenshot2 has been updated to version 1.08e
What is new?
– Nothing.
Really. Everything works just as before. But the helper tool gdrive had to be updated from gdrive2 to gdrive3, since google drive has changed its oauth2 mechanism in the last months. The two gdrive versions by P. Rasmussen are not compatible to each other, so the antiXscreenshot2 script had to be adapted to the new gdrive3 version.
Additionally the antiXscreenshot2 installer package was unified to a single package for 32bit and 64bit both, suitable for all recent antiX versions (17.5, 19.3. 21, 22, 23).
Here are the downloadlinks from gitlab:
– debian installer package: antixscreenshot2.deb
– checksum file: antixscreenshot2.sha512.sumWhen installing the new antiXscreenhshot2 package, make sure beforehand to delete the outdated gdrive executable from your /usr/local/bin folder if you happen to have had gdrive2 installed. In case you have already version gdrive3 you can leave it in place. The new installer package will install gdrive3 if no gdrive was found, and ask you to set it up. If you don’t want to use the personal cloud space upload function in antiXscreenshot2, just answer “n” when asked to set up gdrive. You can even safely delete the gdrive executable completely if you don’t like it to live in your /usr/local/bin folder for some reason. If you want to use it, learn how to set it up properly by answering “h” first, and then enter “y” to initiate the setup process in a new window.
In antiXscreenshot2 main dialog advanced settings tab you’ll no longer have to enter the path to your token file. Instead just select the account you want to use from the new oauth2 pulldown menu. (The pulldown will only be available when you have set up at least one account with gdrive3 before.)
Please let me know any issues with either installing, uninstalling or running antiXscreenshot2. Many thanks!
32bit users:
Please be aware there is right now no gdrive3 version available for 32 bit, so on 32 bit systems you can’t use the upload to personal cloud space function of antixscreenshot2 recently: The gdrive2 used in antiXscreenshot2 v.1.08d has ceased working on google drive, while gdrive3 as present in antiXscreenshot2 v.1.08e still can’t be installed on 32bit. So it doesn’t make much sense right now to update to 1.08e version on 32 bit, while it is possible and recommended.Translators:
The home of translations has moved from antix-contribs to antix-development at transifex. Please refer to this posting to learn how to move your translations for your language easily to the new version and place. Actually only a few strings have had to be modified/removed/added, so you can simply donwload the .po file for use for your language from the antix-contribs space and upload it to the antix-development space. Then check for the new strings listed in the beforementioned posting.——————-
P.S.:
A tiny difference is actually present in 1.08e version: It comes with two additional command line options:-f or --window -g or --fullscreenThese two options will override the default rubberband region mode on starup, and as well override any region mode stored in the saved settings. This allows to select a specific region explicitly when calling the script with its -s or –skip-dialog option.
Please check out antixscreenshot2 -h to see all available command line options.
Windows is like a submarine. Open a window and serious problems will start.
April 23, 2023 at 8:16 am #105278Memberverdy
::Hello Robin,
Q1.
About two deb files of antixscreenshot2 ver1.08e.Are antixscreenshot2.deb introduced in here https://www.antixforum.com/forums/topic/antixscreenshot2-updated-version-1-08e-available/#post-104873” and antixscreenshot2.deb of gitlab.com “https://gitlab.com/Robin-antiX/antixscreenshot2/-/blob/main/debian-installer-packages/1.08e-antiX-community/antixscreenshot2.deb” defferent ?
Deb file of gitlab.com is failed to install in both apt install on terminal and Deb installer on zzzFM..
demo@antix1:~/Downloads/screenshot2/1.08e $ ls -l antixscreenshot2*.* -rw-r--r-- 1 demo demo 57664 Apr 23 14:58 antixscreenshot2.deb -rw-r--r-- 1 demo demo 151 Apr 23 15:28 antixscreenshot2.sha512.sumin [Terminal]
demo@antix1:~/Downloads/screenshot2/1.08e $ sudo apt install ./antixscreenshot2.deb [sudo] password for demo: Reading package lists... Error! E: Invalid archive signature E: Internal error, could not locate member control.tar{.zst,.lz4,.gz,.xz,.bz2,.lzma,} E: Could not read meta data from /home/demo/Downloads/screenshot2/1.08e/antixscreenshot2.deb E: The package lists or status file could not be parsed or opened.use [Deb installer]
The following packages will be installed. Click 'Show Details...' for information about the packages. File: "/home/demo/Downloads/screenshot2/1.08e/antixscreenshot2.deb" dpkg-deb: error: '/home/demo/Downloads/screenshot2/1.08e/antixscreenshot2.deb' is not a Debian format archiveQ2.
Can’t antixscreenshot2 and gdrive be separated from each other, not removing /usr/local/bin/gdrive ?Setup gdive for your drivespace now? [y]es, [n]o, [h]elp n You may setup gdrive later by calling gdrive account add from within a terminal window and follow the instructions found on console. You'll find instructions for the prerequisites needed at https://github.com/glotlabs/gdrive/blob/main/docs/create_google_api_credentials.md page. In case you don't want to use gdrive at all, just don’t configure it, the respective option in antiXscenshot2 will stay greyed out then. In this case you may even remove the ’gdrive binary’ from your /usr/local/bin folder completely.On terminal, error massege show everytime.
$ antixscreenshot2 antiXscreenshot — a screenshot tool by antiX community Error: No accounts found Use <code>gdrive account add</code> to add an account. Mischief managed. Leaving...Q3.
Can keep antixscreenshot and antixscreenshot2 in menu?After installing antixscreenshot2, aplications->Graphics->Screenshot repalaced antixscreenshot2.But Menu name remains Screenshot.
Previous antixscreenshot is fade away from menu.[Apart from the question]
In terminal, “–window” option seem not work.demo@antix1:~ $ antixscreenshot2 --window antixscreenshot2: unrecognized option '--window' Abortingmany thanks.
- This reply was modified 2 weeks, 1 day ago by verdy.
April 23, 2023 at 9:38 am #105281MemberRobin
::Hello Verdy,
Are antixscreenshot2.deb introduced in here […] and antixscreenshot2.deb of gitlab.com […] defferent ?
A1:
No, the posting above links directly and precisely to the very files at gitlab from within the directory you refer to. But probably you have downloaded the html files from gitlab they send instead of the true files always (using the very filename) when not clicking first on the directory entry. This is a common issue with gitlab. Everybody (including myself and many others) think when first time downloading something from gitlab you could simply rightclick the files from the file list in https://gitlab.com/Robin-antiX/antixscreenshot2/-/tree/main/debian-installer-packages/1.08e-antiX-community which is a wrong assumption. You need to click open the file first on their site, which will show you another subdirectory. Only then gilab will present you the true download link, which is the one from my above posting. You need to walk through both subdirectories of the two files (.deb archive and checksum file) separately. To avoid this trouble I’ve posted the direct download links.Deb file of gitlab.com is failed to install in both apt install on terminal and Deb installer on zzzFM..
The shasum file is provided for exactly the reason to make sure the file wasn’t damaged accidentally on transport. First step after downloading something is always: Please first check the files you’ve downloaded:
shasum -c antixscreenshot2.sha512.sumIf this command doesn’t give back a clean “OK” for the .deb file, don’t use it and don’t try it to install. Then it was damaged. That’s the idea of providing a checksum. I’m pretty sure the files which have produced the error when installing will fail this test.
You should make it your habit to check all downloaded installer files (and antiX ISOs) this way.
Can’t antixscreenshot2 and gdrive be separated from each other, not removing /usr/local/bin/gdrive ?
A2:
This is by now not possible. The gdrive program is a dependency for antiXscreenshot2. If there was a .deb package for this program, I’d set it as a recommendation, not a hard dependency. But unfortunately there is no .deb package, so we need the workaround to download it on package installation of antiXscreenshot2. It is tricky enough to retrieve the current version and package from the gdrive download space. In the former antiXscreenshot2 the gdrive executable was included in the installer packages, which rendered them pretty huge. The download method is an improvement already, allowing to have a single antiXscreenshot2 package for all antiX versions and all architectures, 32 bit and 64 bit. If somebody experienced with packaging would care for providing a gdrive3 package, this could be separated from the antiX installer, I’m pretty sure.On terminal, error massege show everytime.
Don’t worry about this message. It’s not a real error. antiXscreenshot2 checks on startup simply for the presence of gdrive and if so, it tries to get the account name information needed to display in the respective pulldown menu on the advanced settings tab in main dialog by asking gdrive for it. If this fails, since no account was set up, gdrive itself generates the error message, complaining about this very fact that no account was set up.
As the installer on console reads: You may safely remove the gdrive file from the /usr/local/bin directory if you don’t like to have it on your PC at all. antiXscreenshot2 won’t complain, but simply grey out the fields for personal cloud space upload completely. As well you may leave it in place. As long no google drive oauth2 account was set on your PC up with this program, no upload nor download is possible. It’s actually that simple.On the other hand: If you want to use the cloud space upload in antiXscreenshot, you need simply to follow what the error message reads and set up oauth2 access for one or more goggle drives. Then antiXscreenshot2 will automatically recognise them and the respective fields in the main dialog are no longer greyed out.
Can keep antixscreenshot and antixscreenshot2 in menu?
A3:
This was not designed this way. You can switch between antiXscreenshot2 and classic antiXscreenshot in antiX control center → System → Configure alternatives → Screenshot.
But you could create your personal .desktop files for antiXscreenshot and antiXscreenshot2 and put them both in the /usr/share/applications folder. Then run desktop-menu –write-out-global and you’ll have both entries present. This allows you also to add all specific command line options you like to the Exec= line calling antiXscreenshot2.
In terminal, “–window” option seem not work.
Many many thanks, Verdy! You’ve caught the first bug, and I’ll fix this as soon as possible. Sorry for the inconvenience. Please use the equivalent short form -f of this command line option for now.
Kind regards
RobinWindows is like a submarine. Open a window and serious problems will start.
April 23, 2023 at 12:54 pm #105288Memberverdy
::You need to click open the file first on their site, which will show you another subdirectory. Only then gilab will present you the true download link, which is the one from my above posting.
Sorry,I used “Save Link as” on right click menu, not “click open the file”.
Open wrong file with Leafpad and i realize it’s only html file.You should make it your habit to check all downloaded installer files (and antiX ISOs) this way.
I shall remain it in me.
Don’t worry about this message. It’s not a real error.
I understand.Usualy i don’t exceute antiXscreenshot2 in terminal.
It just happened to be necessary.This was not designed this way.
I understand.I created screenshot.desktop and screenshot2.desktop.
it’s well for me.Please use the equivalent short form -f of this command line option for now.
I’m alright, thanks.
It all started when I saw this ‘windows’ in Transifex’s untranslated strings.
I thought it was a translation target, but I noticed that it was a command line option. In that case, the English should be placed in the translated language as it is.
Others include ‘no-tooltips’, ‘reduce’, etc.
Just to see it in action, I ran screenshot2 multiple times in the terminal.Thank you again for knowledge and time of you.
- This reply was modified 2 weeks, 1 day ago by verdy.
April 24, 2023 at 1:26 am #105308Member
ile
::Hello BobC and Robin
– – window
designation minusminuswindow
In scrot 1.9 there is an Option of –window
xwininfoid.
This will sensitize to the word window, any script containing a scrot command.April 24, 2023 at 6:09 am #105314Member
Wallon
::Dear developers,
As my screenshots of several screens are blurred, I tried to save a capture directly with the “png” format (with antiX 23).
This does not work.
Look at my printscreen, the message is in English.
It starts with “scrot: Saving to file…”Best regards,
Wallon- This reply was modified 2 weeks, 1 day ago by Wallon.
Attachments:
April 24, 2023 at 12:20 pm #105334Memberverdy
::Hello Wallon,
I don’t know if it will be helpful for you. . .
I tried it with fr_BE and didn’t have the same problem.demo@antix1:~ $locale LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= demo@antix1:~ $LANG=fr_BE.UTF8 antixscreenshot2 antiXscreenshot — un outil de capture d’écran de la communauté antiX Error: No accounts found Use <code>gdrive account add</code> to add an account. Méfait géré. Quitter ... demo@antix1:~ $ cd /home/demo/Captures d'écran bash: cd: too many arguments demo@antix1:~ $ cd "/home/demo/Captures d'écran" demo@antix1:~/Captures d’écran $ls -l total 1604 -rw-r--r-- 1 demo demo 1640342 Apr 24 21:05 'capture d'écran-2023avr24_210422.png'Here’s a screenshot of “screenshot2” when I tried this. Are there any differences?
Attachments:
April 24, 2023 at 1:29 pm #105340Member
Wallon
::It is with the free form (rubberband) that I have problems.
Attachments:
April 24, 2023 at 2:00 pm #105344MemberPPC
::I just did a simple test, and it worked flawlessly.
One question – any idea if this will come as default screenshot tool in antiX 23? considering the small size, amount of features and the fact that it’s localization is in the official antiX Transifex folder, I hope so!
The only “critic” I can possible make is that probably this app’s manual is more extensive than antiX’s own Help files 🙂
P.
April 24, 2023 at 7:40 pm #105372MemberRobin
::Hello BobC and Robin
– – window
designation minusminuswindow
In scrot 1.9 there is an Option of –window
xwininfoid.
This will sensitize to the word window, any script containing a scrot command.So what?
The bug Verdy has spotted referring to the –window command line option of antiXsxcreenshot2 turned out to be simply a double quoting in the wrong position in the script, I placed it erroneously after a comma, when it should have been before.
Fixed in 1.08f.What do you mean with „This will sensitize to the word window, any script containing a scrot command.” ? I don’t get the meaning of this English sentence, sorry, I’m not a native speaker.
I tried to save a capture directly with the “png” format (with antiX 23).
This does not work.@Wallon : Please recheck on a virgin antiX 23 Live USB without any personal modifications of the system, and let me know whether the issue of not having png file type available then still shows up. You can use either version 1.08e or version 1.08f for this testing. I guess you have something messed up on your system, since png file type processing is present on antiX 23 (as on all former antiX versions also) by default. Not sure what you did to make it fail.
Maybe the blurring you describe is somehow connected with this error your system produces for png file types, since all internal processing in antiXscreenshot2 is done based on this very file format. If this fails, some fallback (probably to lossy jpg) might take place, causing the blurry results you have seen. This is not the normal behaviour of antiXscreenshot2, and you should fix your system to enable processing of .png files properly again. Again, my suggestion: Please compare to what you get from a virgin antiX Live USB freshly created from native antiX ISO.
I just did a simple test, and it worked flawlessly.
Many thanks for the confirmation.
Windows is like a submarine. Open a window and serious problems will start.
April 24, 2023 at 9:27 pm #105383Member
ile
::Hello Robin.
“So What?”
Appropriate.Thank you for the intricate work of antiXscreenshot2.
April 25, 2023 at 9:18 am #105392MemberXunzi_23
::Hi Robin, BobC,
Nice work, only issue for me is google cloud. do you think it would be feasible to setup an upload to
a Nextcloud instance such as run by disroot.org. Free is 2GB, enough for swapping files etc. Privacy respecting
and within EU.
Privacy is though pretty much a dead duck these days. Including in Netherlands.I think while convenient google does not fit my views nor is it really fitting to antiX.
decentralized cloud-based service that allows you to store your files and communicate with one another.
Established by a privacy-focused organization of volunteers.Disroot as an email provider stands out thanks to its emphasis on security with a completely free open-source approach.
Email has a free base account, more can be obtained by donating, same as cloud space.
Disclaimer: I am a disroot supporter and donor.
- This reply was modified 1 week, 6 days ago by Xunzi_23.
- This reply was modified 1 week, 6 days ago by Xunzi_23.
April 25, 2023 at 1:06 pm #105400MemberRobin
::Hello Xunzi_23
I think while convenient google does not fit my views nor is it really fitting to antiX.
Perfectly true. I’m also not happy with this data kraken. Google drive was pragmatically chosen simply for the single reason it was the single personal cloud space service I could spot a scriptable command line uploader for, and I do know many people actively use this provider despite of all the known data protection issues.
As you can read in the help window of antiXscreenshot2, google drive merely is the single personal cloud space supported by now. It reads: „Currently only google drive is supported” and this means: It is possible and was intended from the beginning when designing antiXscreenshot2 to add other personal cloud space services later on.
If you look into the code of antiXscreenshot2 script, you’ll notice everything is modularised to functions, so it is possible to add an upload routine for any scriptable personal cloud space uploader program installable on antiX and executable as well as manageable on bash console (like gdrive2 or gdrive3 works). So the first question is:
→ Does there exist a scriptable cli uploader you can install on antiX for disroot.org? If so, please feel to add a function for upload to disroot.org personal cloud space to the antiXscreenshot2 code. It was planned to move the detailed settings for personal cloud services then from the second to a third tab in it’s GUI to keep the general layout, not breaking any existing translations.
As another goal for antiXscreenshot2 the ability to encrypt the screenshots with a personal gpg certificate of the user before uploading the files to the personal cloud space was/is planned. This feature will enhance the data protection level provided by antiXscreenshot2 significantly, whatever personal cloud upload service is used: Neither man-in-the-middle on transport via internet nor the storage provider then can easily abuse your personal content for tracking your habits. People need to understand transferring something to internet without encryption means to put it on a Litfaßsäule advertising column. So this is what I’m up to add next.
Kind regards
RobinWindows is like a submarine. Open a window and serious problems will start.
-
AuthorPosts
- You must be logged in to reply to this topic.


