Search found 108 matches

by peyrol
Thu Dec 17, 2020 2:47 pm
Forum: Scripts & Bash
Topic: [SOLVED] pipeline compare stdin parameter to a string?
Replies: 11
Views: 565

Re: [SOLVED] pipeline compare stdin parameter to a string?

I believe you have solved my problem already, but I can attach some simple demo that shows you are right by next week.
by peyrol
Wed Dec 16, 2020 6:52 pm
Forum: Scripts & Bash
Topic: [SOLVED] pipeline compare stdin parameter to a string?
Replies: 11
Views: 565

Re: [SOLVED] pipeline compare stdin parameter to a string?

Do you mean, an example to post for one of the POVray newsgroups? I plan to post the resulting video on You Tube. I could send the developers the source files in the hope they will include it as an example "animation" in their next release. No harm in trying. It shows a way to create a pre...
by peyrol
Wed Dec 16, 2020 3:45 am
Forum: Scripts & Bash
Topic: [SOLVED] pipeline compare stdin parameter to a string?
Replies: 11
Views: 565

Re: pipeline compare stdin parameter to a string?

Thank you for your help. I need to clarify what the povray.ini file is for. It provides a way to set up the environment and the parameters when running the image generating application POVray on some source code file written in the POVray scripting language. For example if I have written a file anim...
by peyrol
Tue Dec 15, 2020 9:07 pm
Forum: Scripts & Bash
Topic: [SOLVED] pipeline compare stdin parameter to a string?
Replies: 11
Views: 565

Re: pipeline compare stdin parameter to a string?

I am grateful for your help. Of course you are right, a correct solution is much more important than doing it in some specific way. Within the povray.ini file, the identifier %o is replaced with the complete pathname of the specific frame just generated, including the frame number. I can use %o with...
by peyrol
Tue Dec 15, 2020 11:07 am
Forum: Scripts & Bash
Topic: [SOLVED] pipeline compare stdin parameter to a string?
Replies: 11
Views: 565

Re: pipeline compare stdin parameter to a string?

Yes, the output of Identify is a bit bizarre. There is an option -unique which is supposed to pertain to the number of unique colors in the image, but I cannot get that to work. As things stand, here is a section of the -verbose output when I use it on a completely black frame: Image statistics: Ove...
by peyrol
Mon Dec 14, 2020 9:02 pm
Forum: Scripts & Bash
Topic: [SOLVED] pipeline compare stdin parameter to a string?
Replies: 11
Views: 565

[SOLVED] pipeline compare stdin parameter to a string?

I use LM20 with Mate. What is my default shell? I see commands to SET my shell, but none to QUERY what shell I am using. Is there some file in /etc somewhere that tells me? Chances are it doesn't really matter if it's bash or dash or whatever, but I would like to know. My main question requires some...
by peyrol
Mon Dec 14, 2020 6:14 pm
Forum: Newbie Questions
Topic: TOPIC MOVED to BASh & scripts Shell pipeline: compare $2 to a numeric value?
Replies: 7
Views: 208

Re: Shell pipeline: compare $2 to a numeric value?

Well thanks but the value of $2 might be a string, not just a single character. I don't think == is even possible to use as an operator here. Something like strcmp to compare two strings might work, but I don't know what to use as a shell command. When I run the code you suggest, I wind up in an int...
by peyrol
Mon Dec 14, 2020 4:09 pm
Forum: Newbie Questions
Topic: TOPIC MOVED to BASh & scripts Shell pipeline: compare $2 to a numeric value?
Replies: 7
Views: 208

TOPIC MOVED to BASh & scripts Shell pipeline: compare $2 to a numeric value?

I use LM20 with Mate. What is my default shell? I see commands to SET my shell, but none to QUERY what shell I am using. Is there some file in /etc somewhere that tells me? Chances are it doesn't really matter if it's bash or dash or whatever, but I would like to know. My main question requires some...
by peyrol
Fri Jul 10, 2020 11:12 pm
Forum: Installation & Boot
Topic: Upgraded LM20 boots into text mode & beware libllvm9
Replies: 0
Views: 126

Upgraded LM20 boots into text mode & beware libllvm9

While removing the "cruft," or packages no longer needed, during preparation for the upgrade, I noticed that although libllvm9 was listed as such a package, removing it also removed the mintupgrade package because of an indirect dependency by way of the package default-jre I believe. So I ...
by peyrol
Mon Nov 11, 2019 1:23 pm
Forum: Tutorials
Topic: How to verify the ISO image on Windows
Replies: 186
Views: 283509

Re: How to verify the ISO image on Windows

It might be worth noting, for the benefit of those like me who are not very familiar with Windows, that Notepad does not interpret the carriage return character by itself as a new line. It expects both CR and LF. So, the md checksum text file in Notepad will display as a single line. If your iso is ...
by peyrol
Sat Aug 03, 2019 7:40 pm
Forum: Newbie Questions
Topic: updating through my local public library
Replies: 3
Views: 230

updating through my local public library

I just upgraded to 19.2 with Mate, but now I am about to lose direct Internet access for a while. Is there a way I can take a USB drive to my library which contains information about my PC and what packages I have installed, and carry back home the updated versions or even new packages, which I coul...
by peyrol
Sat Jul 13, 2019 11:37 pm
Forum: Newbie Questions
Topic: [SOLVED] batch processing for a "slide show" video
Replies: 1
Views: 106

Re: batch processing for a "slide show" video

I can make shell calls from within my POVray script, to make as many copies as I want, even of images not created by POVray. POVray uses a variable "clock" which can be used to determine what frame number applies. So using my example above, if the frame is foo21.png then that frame has not...
by peyrol
Sat Jul 13, 2019 6:00 pm
Forum: Newbie Questions
Topic: [SOLVED] batch processing for a "slide show" video
Replies: 1
Views: 106

[SOLVED] batch processing for a "slide show" video

I'm making an animated video, many sections of which are more like a slide show, with identical sequential frames. I thought to write a script to copy one file (which is an image file) to mulitple image files which have sequential names. For example, I pass in the three parameters foo021.png, 22, 38...
by peyrol
Sat Aug 25, 2018 12:25 am
Forum: Software & Applications
Topic: [SOLVED] openjdk packages got upgraded, now my java applets don't work
Replies: 6
Views: 803

Re: [SOLVED] openjdk packages got upgraded, now my java applets don't work

Thanks for your advice! Glad I won't have to run a Virtual Box :-) I am contacting the author of the applet also.
by peyrol
Fri Aug 24, 2018 8:23 pm
Forum: Software & Applications
Topic: [SOLVED] openjdk packages got upgraded, now my java applets don't work
Replies: 6
Views: 803

[SOLVED] openjdk packages got upgraded, now my java applets don't work

My OS is LM 19 with MATE 64 bit. Earlier on Wednesday evening the 23rd, I know at least one of my applets was working correctly. I notice in my history of updates the following two packages got upgraded: openjdk-11-jre-headless upgraded FROM 10.0.1+10-3ubuntu1 TO 10.0.2+13-1ubuntu0.18.04.1 openjdk-1...
by peyrol
Thu Aug 16, 2018 2:21 am
Forum: Software & Applications
Topic: [SOLVED] how to make a sandbox?
Replies: 2
Views: 263

Re: [SOLVED] how to make a sandbox?

Thanks.
by peyrol
Thu Aug 16, 2018 1:25 am
Forum: Software & Applications
Topic: [SOLVED] how to make a sandbox?
Replies: 2
Views: 263

[SOLVED] how to make a sandbox?

In the Linux Games Database is the game Unreal World, which is not in any repository that I know of, but is available as a .deb file. (It's also available as a binary in a tarball but that has the same basic problem.) My OS is LM 19 with Mate 64-bit. When I ran gdebi to install it, it messed with my...
by peyrol
Mon Aug 13, 2018 2:38 pm
Forum: Newbie Questions
Topic: [SOLVED] difficulty adding an additional repository
Replies: 4
Views: 650

Re: difficulty adding an additional repository

Okay, thanks for the info.

In more general terms, is there some hub site or resource for exploring other repositories? A web page for specific software may tell you about what repository it uses, but is there a place that keeps track of current repos, not necessarily just for Linux Mint?
by peyrol
Mon Aug 13, 2018 10:50 am
Forum: Newbie Questions
Topic: [SOLVED] difficulty adding an additional repository
Replies: 4
Views: 650

[SOLVED] difficulty adding an additional repository

My OS is LM 19 with MATE 64-bit. Following the instructions as best I could from this (5 years old) page: http://ubuntuhandbook.org/index.php/2013/07/enable-removed-removed-repository-in-linux-mint/ In the Software Sources app, I clicked on Additional Repositories, then I clicked Add a new repositor...

Go to advanced search