Forum › Forums › New users › New Users and General Questions › Screenshot Application and Clipboard
- This topic has 52 replies, 11 voices, and was last updated Jun 23-4:23 pm by BobC.
-
AuthorPosts
-
June 12, 2022 at 8:38 pm #84485Moderator
BobC
::Hmmm, neither of the solutions I provided above added any additional requirements at all. I don’t have Discord myself, so don’t have a way to test them, but they work to directly insert pictures inline for Yahoo mail and AOL mail, without needing to save an attach files.
PS: I also thought some more about it and on the the enhanced screenshot utility I’m going to try and just add a “Copy to Clipboard” checkbox on the first screen to make it effortless, since that could also be the default setting.
- This reply was modified 11 months ago by BobC.
June 12, 2022 at 11:40 pm #84491ModeratorBobC
::I was able to build the “Copy to clipboard” option in and further streamline the enhanced screenshot utility.
June 12, 2022 at 11:57 pm #84498Memberolsztyn
::I was able to build the “Copy to clipboard” option in and further streamline the enhanced screenshot utility.
Thank you @BobC for such quick development turnaround!…
Greatly appreciated…Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersJune 13, 2022 at 6:08 pm #84528Memberolsztyn
::I was able to build the “Copy to clipboard” option in and further streamline the enhanced screenshot utility.
Hi @BobC…
Just for me to be sure which exactly tool you just enhanced, which will be updated in repository: This is screenshot-antix, I will need to look for, correct?
Thanks again…Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersJune 13, 2022 at 8:34 pm #84537ModeratorBobC
::It was originally intended to replace the basic antixscreenshot.sh, but the Devs thought the original program was sufficient for antiX, so my enhanced version never made it to the repos. Also the additional texts used were never translated.
If people want to use it, and the Devs still want the basic utility left as is, I could go through my enhanced version and rename everything so it could go into a separate package.
I’m open to any other suggestions from the devs where the result would be that it would be either included in the distro or available from the repos.
June 13, 2022 at 9:10 pm #84540Memberolsztyn
::I’m open to any other suggestions from the devs where the result would be that it would be either included in the distro or available from the repos.
I am not a dev to decide which way to go but from user perspective every such utility should be able to snapshot to clipboard, so it can be pasted when needed.
My conjecture was that antixscreenshot.sh and your utility are one and the same, and you are making an enhancement to add screenshot to clipboard capability.
If they are separate utilities then it would be great if yours could be available too. Users could chose at least, if the basic one is to be kept intact.
As a result of this thread (thanks to the originator) the missing capability to snapshot to clipboard has been highlighted. I never knew it was missing, the same as in scrot, which is just blindly snaps into a file.As I mentioned before Flameshot, published last year. It is a nice utility to do such thing and fits antiX spirit, not requiring many dependencies or other bloat. It requires just one lib on top of what is already in antiX.
However, having performed system resources testing on Flameshot I found that it does not properly release allocated memory after being closed, resulting in apparent memory leak.
This may not be important to most users as ‘memory is cheap’, but I am trying to stick to the spirit of antiX being ‘lean and mean’ and such memory leak is not acceptable.
Such testing further emphasizes to me the importance of good screenshot utility for antiX, whatever such enhanced screenshot for antiX might be…
Thanks again…Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersJune 14, 2022 at 12:15 am #84548ModeratorBobC
::I was frustrated that the standard antiX screenshot utility was missing many features other screenshot utilities have. Flameshot was one I liked, but I didn’t like that it required other code dependencies and a lot more code.
I’d been trying to learn the scripting language, and I started experimenting with finding a way to add the features I wanted to the antiX program’s script. The things I added are all setup to work with antiX’s Desktop Defaults and Preferred Applications systems. But as time went by, people kept asking for more and more features and the list got pretty lengthy, but it worked. Admittedly, it was pretty bloated at that point, and the antiX devs didn’t want to replace their code with it. I was pretty disheartened with that, but still wanted the missing features especially editing/annotating capability, and it wasn’t hard to remove some of the less necessary features, resulting in a script under 30k (vs under 6k for the standard one), and have been running it myself that way for the past year or so.
Anyway, it had been pretty stable till the Copy to Clipboard problem/request came up, and having Dave’s way to solve it, and being a person that uses Yahoo webmail myself, it made sense to add the feature, so I did.
I’m happy to put a bit more effort to help integrate it if people would use it.
June 14, 2022 at 1:05 am #84550Memberolsztyn
::I’m happy to put a bit more effort to help integrate it if people would use it.
Thank you @BobC!
From my point of view such screenshot utility does not need to contain a lot of functions but screenshot to clipboard is really essential to have. This is i think the point the originator of this thread has raised…
Thanks very much for your willingness to pursue this…Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersJune 14, 2022 at 3:05 am #84556Member
marcelocripe
::It was originally intended to replace the basic antixscreenshot.sh, but the Devs thought the original program was sufficient for antiX, so my enhanced version never made it to the repos. Also the additional texts used were never translated.
BobC, thank you so much for this fantastic version of antixscreenshot.sh. I think it covers several possibilities of taking screenshots. For example, I miss being able to take a custom screenshot (of a part of the screen) and send it to the clipboard for later pasting into a text file or an image file. When the program code is fully finalized, I can try to apply Robin’s teachings to prepare it to receive the translations. If I am unable to prepare the program to receive the translations, we can ask Robin for help and in the future the program may be available to be translated into several languages on Transifex. This program, so rich in options, could be standard in antiX, but if this program doesn’t become standard in antiX, at least it could be available in the repositories. We will ensure that the program is fully tested and finalized in your programming code so that we can implement the translation features in the program code.
I have just one doubt: IMGUR “is an image hosting server founded in 2009 by Alan Schaaf”?
– – – – –
It was originally intended to replace the basic antixscreenshot.sh, but the Devs thought the original program was sufficient for antiX, so my enhanced version never made it to the repos. Also the additional texts used were never translated.
BobC, muito obrigado por esta versão fantástica do antixscreenshot.sh. Eu acho que ela cobre várias possibilidades de se fazer capturas de telas. Por exemplo, eu sinto falta de poder fazer uma captura de tela personalizada (de uma parte da tela) e enviar para a área de transferência para posteriormente colar em um arquivo de texto ou em um arquivo de imagem. Quando o código do programa estiver totalmente finalizado, eu posso tentar aplicar os ensinamentos do Robin para prepará-lo para receber as traduções. Caso eu não consiga preparar o programa para receber as traduções, nós podemos pedir ajuda ao Robin e no futuro o programa poderá estar disponível para ser traduzido para vários idiomas no Transifex. Este programa tão rico de opções, poderia ser padrão do antiX, mas, se este programa não se tornar padrão do antiX, ao menos poderia estar disponível nos repositórios. Vamos garantir que o programa esteja totalmente testado e finalizado no seu código de programação para implementarmos os recursos de tradução no código do programa.
Eu tenho apenas uma dúvida: o IMGUR “é um servidor de hospedagem de imagem fundado em 2009 por Alan Schaaf”?
June 14, 2022 at 5:06 am #84557ModeratorBobC
::Marcelo, thanks for the nice review. Yes, the options match the programs that come with antiX full, plus the IMGUR upload, and the Copy to Clipboard.
The reason I added the IMGUR upload was because its a free image hosting site that has an option for people to sign up for a free API license of their own, and its been around quite a while, so I built in an option to override the default API with your own. You could give it a try if you wanted.
Let me know if anything is unclear on how to use it. I had originally built in a Help button option, but the Yad display for it stopped working, and I decided it would be simpler to just provide a text file. Maybe I could convert it to man format and have the Help button just display the man page with your default terminal? I’m open to simple suggestions that use programs that are already installed.
June 14, 2022 at 2:02 pm #84579Member
marcelocripe
::Maybe I could convert it to man format and have the Help button just display the man page with your default terminal?
If this is an easier way to make the help text available, then it might be a good option.
I noticed that in the options menu it displays the “Full Screen” option twice, is this correct?
I tried to create the .pot file from the antixscreenshot.sh program (antixscreenshot-20220612a.zip), but the texts inside the <label>”`gettext $”</em> were not exported to the .pot file. The .pot file is the template file to generate the .po files for each language, where each .po file receives the translation for each language. We’ll need Robin’s help. My knowledge is still too little to make the necessary adaptations in the program, if it is necessary to adapt the program to generate the .pot file.
– – – – –
<blockquote>Maybe I could convert it to man format and have the Help button just display the man page with your default terminal?</blockquote>
Se esta é uma forma mais fácil de disponibilizar o texto de ajuda, então ela pode ser uma boa opção.Eu percebi que no menu de opções exibe duas vezes a opção “Full Screen”, isto está correto?
Eu tentei criar o arquivo .pot a partir do programa antixscreenshot.sh (antixscreenshot-20220612a.zip), mas os textos que estão dentro dos marcadores <em><label>”`gettext $” não foram exportados para o arquivo .pot. O arquivo .pot é o arquivo de modelo para gerar os arquivos .po para cada idioma, onde cada arquivo .po recebe as tradução de cada idioma. Nós precisaremos da ajuda do Robin. O meu conhecimento ainda é muito pequeno para fazer as adaptações necessárias no programa, se é que é preciso adaptar o programa para gerar o arquivo .pot.
June 14, 2022 at 2:40 pm #84580Memberolsztyn
::Yes, the options match the programs that come with antiX full, plus the IMGUR upload, and the Copy to Clipboard.
Just to keep in mind, as part of implementation of ‘Copy to clipboard’ one challenge might be how to delete content from clipboard after it is pasted somewhere. Otherwise I think it stays in memory forever until reboot, if I am not mistaken… Particularly for antiX principle of minimal memory usage this might be quite important to take into account so memory usage does not grow out of control…
Thanks again.Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersJune 14, 2022 at 5:38 pm #84584ModeratorBobC
::Marcelo, it displays the current value and list of choices underneath. Since the current value is also a choice, it gets shown twice. If I remove the first one it will no longer remember your most recent selection.
Since its a fork of anti’s original program, I think all of the screen fields are setup for translation.
I think I will try to convert the help screen to HTML and use Dillo to display it. Would that work?
June 14, 2022 at 5:41 pm #84585ModeratorBobC
::Olsztyn, If the user copies something to the clipboard, they do. I wouldn’t know when they are done with it. Theoretically, If they copy something else, like a word, to the clipboard it should replace the picture in memory, and give back what was used, I would think.
June 14, 2022 at 6:32 pm #84589Memberolsztyn
::Olsztyn, If the user copies something to the clipboard, they do. I wouldn’t know when they are done with it. Theoretically, If they copy something else, like a word, to the clipboard it should replace the picture in memory,
Thanks @BobC for clarification. Indeed, if the new copy to clipboard does replace the previous content then it seems correct and satisfactory behavior.
Looking forward to enhanced screenshot…
Thanks again.Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters -
AuthorPosts
- You must be logged in to reply to this topic.


