From o1bigtenor at gmail.com Sat Dec 12 20:13:28 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Sat, 12 Dec 2020 20:13:28 -0600 Subject: [tclug-list] Complicated question re: saving files Message-ID: Greetings people Scenario: Wanting to save say a pdf from the web, am using 'save as' - - - - is there a cli command where I can grab that 'address' on my system where that file is being saved? TIA (Merry Christmas and a Blessed New Year to one and all!!!) From ryan.coleman at cwis.biz Sat Dec 12 21:51:32 2020 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Sat, 12 Dec 2020 21:51:32 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: Message-ID: <2FD1BE1D-E029-434F-B4FB-0F9D7148D9BB@cwis.biz> You mean like curl, wget, lynx, or links? > On Dec 12, 2020, at 8:13 PM, o1bigtenor wrote: > > Greetings people > > > Scenario: > > Wanting to save say a pdf from the web, am using 'save as' - - - - is > there a cli command where I can grab that 'address' on my system where > that file is being saved? > > TIA > > (Merry Christmas and a Blessed New Year to one and all!!!) > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From ryan.coleman at cwis.biz Sat Dec 12 21:52:05 2020 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Sat, 12 Dec 2020 21:52:05 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: <2FD1BE1D-E029-434F-B4FB-0F9D7148D9BB@cwis.biz> References: <2FD1BE1D-E029-434F-B4FB-0F9D7148D9BB@cwis.biz> Message-ID: Or do you mean like a command to find where your GUI application is saving files to? > On Dec 12, 2020, at 9:51 PM, Ryan Coleman wrote: > > You mean like curl, wget, lynx, or links? > >> On Dec 12, 2020, at 8:13 PM, o1bigtenor wrote: >> >> Greetings people >> >> >> Scenario: >> >> Wanting to save say a pdf from the web, am using 'save as' - - - - is >> there a cli command where I can grab that 'address' on my system where >> that file is being saved? >> >> TIA >> >> (Merry Christmas and a Blessed New Year to one and all!!!) >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From o1bigtenor at gmail.com Sun Dec 13 05:54:44 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Sun, 13 Dec 2020 05:54:44 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <2FD1BE1D-E029-434F-B4FB-0F9D7148D9BB@cwis.biz> Message-ID: On Sat, Dec 12, 2020 at 9:56 PM Ryan Coleman wrote: > > Or do you mean like a command to find where your GUI application is saving files to? > This one!!!! I am finding that lots of website quite hate wget - - - - they seem to not like me reaching in to grab something. I know it sounds goofy but I'm trying to put something together and this is the thing I can't find anything on - - - anywhere - - - - at least not yet! Regards From ryan.coleman at cwis.biz Sun Dec 13 09:13:17 2020 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Sun, 13 Dec 2020 09:13:17 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <2FD1BE1D-E029-434F-B4FB-0F9D7148D9BB@cwis.biz> Message-ID: Like they reject the user agent? If so try this: > wget --user-agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" Or they are SSL-protected and wget isn’t liking it? If so try the --no-check-certificate switch. Files are almost always saved in your home directory. You will need to find that based on your distribution. If you don’t know where a file is but you know it’s name try… > find / | grep ‘FILEname.ext’ > On Dec 13, 2020, at 5:54 AM, o1bigtenor wrote: > > On Sat, Dec 12, 2020 at 9:56 PM Ryan Coleman wrote: >> >> Or do you mean like a command to find where your GUI application is saving files to? >> > > This one!!!! > > I am finding that lots of website quite hate wget - - - - they seem to > not like me > reaching in to grab something. > > I know it sounds goofy but I'm trying to put something together and this is the > thing I can't find anything on - - - anywhere - - - - at least not yet! > > Regards > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From o1bigtenor at gmail.com Sun Dec 13 10:21:33 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Sun, 13 Dec 2020 10:21:33 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <2FD1BE1D-E029-434F-B4FB-0F9D7148D9BB@cwis.biz> Message-ID: On Sun, Dec 13, 2020 at 9:17 AM Ryan Coleman wrote: > > Like they reject the user agent? If so try this: > > wget --user-agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" > > Or they are SSL-protected and wget isn’t liking it? If so try the --no-check-certificate switch. > > Files are almost always saved in your home directory. You will need to find that based on your distribution. > > If you don’t know where a file is but you know it’s name try… > > find / | grep ‘FILEname.ext’ > Thank you for your suggestion but I do know the name of the file and I'm not really looking for it. What I am trying to do is figure out a way to use 'save as' in something like okular and have some kind of cli command that harvests not only the name of the file but also th location on my system where I saved the file to. Sort of this way - - - - I'm writing notes/ideas stimulated by a pdf in a plain text document. Step 2 - - - I save the document in a folder whose location is something like /media/memyself/raidxxx/somefolder/nextlevelfolder/3rdlevelfolder/4thlevel . . . 10thlevelfolder/somestupidpdf. Step 3 - - - - - I use cli command 'some goofy save command' and the location in step 2 is documented in the doc for step 1 (I have been just recently introduced to parallel and I might want to save some things directly into bibtex or Jabref (whichever is more straightforward). Does this process make sense? What I'm looking for is 'some goofy save command' from step 3. Thanking you for your assistance. Regards From jus at krytosvirus.com Sun Dec 13 10:57:49 2020 From: jus at krytosvirus.com (Justin Krejci) Date: Sun, 13 Dec 2020 10:57:49 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: Message-ID: I'm confused.In your example you have a text document you composed and saved to location you know. Then you want to save your plain text document to another location? I normally just use the the mv or cp commands for that. Is that not sufficient? What am I missing?  -------- Original message --------From: o1bigtenor Date: 12/13/20 10:22 AM (GMT-06:00) To: TCLUG Mailing List Subject: Re: [tclug-list] Complicated question re: saving files On Sun, Dec 13, 2020 at 9:17 AM Ryan Coleman wrote:>> Like they reject the user agent? If so try this:>> wget --user-agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0">> Or they are SSL-protected and wget isn’t liking it? If so try the        --no-check-certificate switch.>> Files are almost always saved in your home directory. You will need to find that based on your distribution.>> If you don’t know where a file is but you know it’s name try…>> find / | grep ‘FILEname.ext’>Thank you for your suggestion but I do know the name of the file andI'm not really looking for it.What I am trying to do is figure out a way to use 'save as' insomething like okular and have somekind of cli command that harvests not only the name of the file butalso th location on my systemwhere I saved the file to.Sort of this way - - - -I'm writing notes/ideas stimulated by a pdf in a plain text document.Step 2 - - - I save the document in a folder whose location is something like     /media/memyself/raidxxx/somefolder/nextlevelfolder/3rdlevelfolder/4thlevel    . . . 10thlevelfolder/somestupidpdf.Step 3 - - - - - I use cli command 'some goofy save command' and the location   in step 2 is documented in the doc for step 1(I have been just recently introduced to parallel and I might want to save somethings directly into bibtex or Jabref (whichever is more straightforward).Does this process make sense?What I'm looking for is 'some goofy save command' from step 3.Thanking you for your assistance.Regards_______________________________________________TCLUG Mailing List - Minneapolis/St. Paul, Minnesotatclug-list at mn-linux.orghttp://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From o1bigtenor at gmail.com Sun Dec 13 11:28:37 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Sun, 13 Dec 2020 11:28:37 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: <20201213165943.DB84311AD9A@shadowknight.real-time.com> References: <20201213165943.DB84311AD9A@shadowknight.real-time.com> Message-ID: On Sun, Dec 13, 2020 at 10:59 AM Justin Krejci wrote: > > I'm confused. > In your example you have a text document you composed and saved to location you know. Then you want to save your plain text document to another location? I normally just use the the mv or cp commands for that. > > Is that not sufficient? What am I missing? > I want to be able to save the file's location which info becomes part of the plain text document. Thanks From iznogoud at nobelware.com Sun Dec 13 13:26:55 2020 From: iznogoud at nobelware.com (Iznogoud) Date: Sun, 13 Dec 2020 19:26:55 +0000 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <20201213165943.DB84311AD9A@shadowknight.real-time.com> Message-ID: <20201213192655.GA24678@nobelware.com> I am also confused. I am pretty positive that you cannot make (very easily) a GUI program give you a string of the filename (with full path) of a file that it has opened. But if you made the program open that file using the command line, you already have that string, and you may have to play some tricks with shell variables, etc, to fully construct it. If your GUI program was launched somehow, say by clicking on a PDF link in the browser, you are most likely out of luck. I think that your question is not well formed/posed. From ryan.coleman at cwis.biz Sun Dec 13 13:56:40 2020 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Sun, 13 Dec 2020 13:56:40 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: <20201213192655.GA24678@nobelware.com> References: <20201213165943.DB84311AD9A@shadowknight.real-time.com> <20201213192655.GA24678@nobelware.com> Message-ID: <77AB8825-5B1B-452C-B488-DAB3F286BDA3@cwis.biz> Iz, There might be a device-level option, to be honest, but I’ve only ever done it based on inserted media. That said - I wouldn’t even try to chase this idea… as you said - if you know the path already and you’re doing a CLI then it’s already in the user's hands. — Ryan > On Dec 13, 2020, at 1:26 PM, Iznogoud wrote: > > I am also confused. > > I am pretty positive that you cannot make (very easily) a GUI program give > you a string of the filename (with full path) of a file that it has opened. > But if you made the program open that file using the command line, you > already have that string, and you may have to play some tricks with shell > variables, etc, to fully construct it. > > If your GUI program was launched somehow, say by clicking on a PDF link in > the browser, you are most likely out of luck. > > I think that your question is not well formed/posed. > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From eng at pinenet.com Mon Dec 14 10:12:17 2020 From: eng at pinenet.com (Rick Engebretson) Date: Mon, 14 Dec 2020 10:12:17 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: Message-ID: <90ce9ac4-ebd7-187d-f611-159e2e08dfd0@pinenet.com> I can't help with your good Linux question. But I can say thanks for your kind post, and reply "Merry Christmas and a Blessed New Year to you, also!!!" o1bigtenor wrote: > > (Merry Christmas and a Blessed New Year to one and all!!!) > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From sraun at fireopal.org Mon Dec 14 09:57:13 2020 From: sraun at fireopal.org (Scott Raun) Date: Mon, 14 Dec 2020 09:57:13 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <2FD1BE1D-E029-434F-B4FB-0F9D7148D9BB@cwis.biz> Message-ID: <20201214155713.GA6564@fireopal.org> I see what he wants. Many word-processors have the option of embedding the filename and location in a header, footer, or other location. When you print a web page, you can usually tell the browser to include the URL. He wants something equivalent to that here. I assume it's so that when he's looking at a print-out, or a copy sent to someone else, he knows where to find the source file. I started with: # find ~/ -name filename -exec echo "{}" and then my shell scripting fails. You want to append the output of the command to the file represented by the output of the command. Conceptually: # find ~/ -name filename -exec echo "{}" >> "{}" ";" but it fails, I think on the append re-direct. Maybe something with? # find ~/ -name filename -ls | xargs On Sun, Dec 13, 2020 at 10:21:33AM -0600, o1bigtenor wrote: > On Sun, Dec 13, 2020 at 9:17 AM Ryan Coleman wrote: > > > > Like they reject the user agent? If so try this: > > > > wget --user-agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" > > > > Or they are SSL-protected and wget isn???t liking it? If so try the --no-check-certificate switch. > > > > Files are almost always saved in your home directory. You will need to find that based on your distribution. > > > > If you don???t know where a file is but you know it???s name try??? > > > > find / | grep ???FILEname.ext??? > > > > Thank you for your suggestion but I do know the name of the file and > I'm not really looking for it. > > What I am trying to do is figure out a way to use 'save as' in > something like okular and have some > kind of cli command that harvests not only the name of the file but > also th location on my system > where I saved the file to. > > Sort of this way - - - - > I'm writing notes/ideas stimulated by a pdf in a plain text document. > Step 2 - - - I save the document in a folder whose location is something like > /media/memyself/raidxxx/somefolder/nextlevelfolder/3rdlevelfolder/4thlevel > . . . 10thlevelfolder/somestupidpdf. > Step 3 - - - - - I use cli command 'some goofy save command' and the location > in step 2 is documented in the doc for step 1 > > (I have been just recently introduced to parallel and I might want to save some > things directly into bibtex or Jabref (whichever is more straightforward). > > Does this process make sense? > > What I'm looking for is 'some goofy save command' from step 3. > > Thanking you for your assistance. > > Regards > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Scott Raun sraun at fireopal.org From eng at pinenet.com Mon Dec 14 15:46:40 2020 From: eng at pinenet.com (Rick Engebretson) Date: Mon, 14 Dec 2020 15:46:40 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: <77AB8825-5B1B-452C-B488-DAB3F286BDA3@cwis.biz> References: <20201213165943.DB84311AD9A@shadowknight.real-time.com> <20201213192655.GA24678@nobelware.com> <77AB8825-5B1B-452C-B488-DAB3F286BDA3@cwis.biz> Message-ID: <2b0d74e2-9221-b4c4-08f6-8d4a1166f044@pinenet.com> As I understand the original question (please re-read it) it is actually an interesting issue for me, too. Whether digging up tractor parts, furnace parts, construction parts, renewable energy info, or Linux programs, etc., it would be nice to know where the documentation was referenced. BTW, your private email remarks; "That’s an off-list reply you made to the group. This is an off-list reply that I’m making directly to you." constitute harassment. Ryan Coleman wrote: > Iz, > > There might be a device-level option, to be honest, but I’ve only ever done it based on inserted media. > > That said - I wouldn’t even try to chase this idea… as you said - if you know the path already and you’re doing a CLI then it’s already in the user's hands. > > — > Ryan > >> On Dec 13, 2020, at 1:26 PM, Iznogoud wrote: >> >> I am also confused. >> >> I am pretty positive that you cannot make (very easily) a GUI program give >> you a string of the filename (with full path) of a file that it has opened. >> But if you made the program open that file using the command line, you >> already have that string, and you may have to play some tricks with shell >> variables, etc, to fully construct it. >> >> If your GUI program was launched somehow, say by clicking on a PDF link in >> the browser, you are most likely out of luck. >> >> I think that your question is not well formed/posed. >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From eng at pinenet.com Mon Dec 14 16:34:04 2020 From: eng at pinenet.com (Rick Engebretson) Date: Mon, 14 Dec 2020 16:34:04 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: Message-ID: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> Just a quick possibility. When your download manager asks what to name the new saved file you might append the browser URL to the suggested name. I don't know how a CLI gets involved. The XWindow selection method works for browser URLs, but the cut and paste buffer does too. o1bigtenor wrote: > Greetings people > > > Scenario: > > Wanting to save say a pdf from the web, am using 'save as' - - - - is > there a cli command where I can grab that 'address' on my system where > that file is being saved? > > TIA > > (Merry Christmas and a Blessed New Year to one and all!!!) > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From ryan.coleman at cwis.biz Mon Dec 14 17:08:47 2020 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Mon, 14 Dec 2020 17:08:47 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: <2b0d74e2-9221-b4c4-08f6-8d4a1166f044@pinenet.com> References: <20201213165943.DB84311AD9A@shadowknight.real-time.com> <20201213192655.GA24678@nobelware.com> <77AB8825-5B1B-452C-B488-DAB3F286BDA3@cwis.biz> <2b0d74e2-9221-b4c4-08f6-8d4a1166f044@pinenet.com> Message-ID: <330239D7-70E8-459B-92DE-950728D7C872@cwis.biz> > On Dec 14, 2020, at 3:46 PM, Rick Engebretson wrote: > > {snip} > "That’s an off-list reply you made to the group. > > This is an off-list reply that I’m making directly to you." > > constitute harassment. You spammed the list with not only an off-subject but off-topic statement that has absolutely nothing to do with the list. I pointed it out off-list. You brought it back into the group. If you are being harassed I suggest you pick the phone up and call your local law enforcement agency and see about pressing charges. > > > > Ryan Coleman wrote: >> Iz, >> >> There might be a device-level option, to be honest, but I’ve only ever done it based on inserted media. >> >> That said - I wouldn’t even try to chase this idea… as you said - if you know the path already and you’re doing a CLI then it’s already in the user's hands. >> >> — >> Ryan >> >>> On Dec 13, 2020, at 1:26 PM, Iznogoud wrote: >>> >>> I am also confused. >>> >>> I am pretty positive that you cannot make (very easily) a GUI program give >>> you a string of the filename (with full path) of a file that it has opened. >>> But if you made the program open that file using the command line, you >>> already have that string, and you may have to play some tricks with shell >>> variables, etc, to fully construct it. >>> >>> If your GUI program was launched somehow, say by clicking on a PDF link in >>> the browser, you are most likely out of luck. >>> >>> I think that your question is not well formed/posed. >>> >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From o1bigtenor at gmail.com Mon Dec 14 17:32:04 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Mon, 14 Dec 2020 17:32:04 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: <2b0d74e2-9221-b4c4-08f6-8d4a1166f044@pinenet.com> References: <20201213165943.DB84311AD9A@shadowknight.real-time.com> <20201213192655.GA24678@nobelware.com> <77AB8825-5B1B-452C-B488-DAB3F286BDA3@cwis.biz> <2b0d74e2-9221-b4c4-08f6-8d4a1166f044@pinenet.com> Message-ID: On Mon, Dec 14, 2020 at 3:48 PM Rick Engebretson wrote: > > As I understand the original question (please re-read it) it is actually > an interesting issue for me, too. > > Whether digging up tractor parts, furnace parts, construction parts, > renewable energy info, or Linux programs, etc., it would be nice to know > where the documentation was referenced. > > BTW, your private email remarks; > > "That’s an off-list reply you made to the group. > > This is an off-list reply that I’m making directly to you." > > constitute harassment. > Left the email complete but am trying to bottom post in the relevant section. Really don't know anything about the previous 7 lines of text. No idea what they're about either. Please advise. > > > Ryan Coleman wrote: > > Iz, > > > > There might be a device-level option, to be honest, but I’ve only ever done it based on inserted media. > > > > That said - I wouldn’t even try to chase this idea… as you said - if you know the path already and you’re doing a CLI then it’s already in the user's hands. > > > > — > > Ryan > > > >> On Dec 13, 2020, at 1:26 PM, Iznogoud wrote: > >> > >> I am also confused. > >> > >> I am pretty positive that you cannot make (very easily) a GUI program give > >> you a string of the filename (with full path) of a file that it has opened. > >> But if you made the program open that file using the command line, you > >> already have that string, and you may have to play some tricks with shell > >> variables, etc, to fully construct it. > >> > >> If your GUI program was launched somehow, say by clicking on a PDF link in > >> the browser, you are most likely out of luck. > >> > >> I think that your question is not well formed/posed. > >> > >> _______________________________________________ > >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > >> tclug-list at mn-linux.org > >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > _______________________________________________ > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > tclug-list at mn-linux.org > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From o1bigtenor at gmail.com Mon Dec 14 17:34:16 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Mon, 14 Dec 2020 17:34:16 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> Message-ID: On Mon, Dec 14, 2020 at 4:34 PM Rick Engebretson wrote: > > Just a quick possibility. When your download manager asks what to name > the new saved file you might append the browser URL to the suggested > name. I don't know how a CLI gets involved. The XWindow selection method > works for browser URLs, but the cut and paste buffer does too. > > If I were wanting the 'name' or the 'name of the file' this would be useful. What I would really like is the location where the 'file' is being 'interred' (grin!). Thanks for the ideas! Regards From ryan.coleman at cwis.biz Mon Dec 14 17:39:36 2020 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Mon, 14 Dec 2020 17:39:36 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> Message-ID: <0FE5FF5C-A2BD-45DF-A945-3EE4F543D6C8@cwis.biz> > On Dec 14, 2020, at 5:34 PM, o1bigtenor wrote: > > On Mon, Dec 14, 2020 at 4:34 PM Rick Engebretson wrote: >> >> Just a quick possibility. When your download manager asks what to name >> the new saved file you might append the browser URL to the suggested >> name. I don't know how a CLI gets involved. The XWindow selection method >> works for browser URLs, but the cut and paste buffer does too. >> >> > > If I were wanting the 'name' or the 'name of the file' this would be useful. > What I would really like is the location where the 'file' is being > 'interred' (grin!). > > Thanks for the ideas! > > Regards Does your browser give you the option when contextually-clicking (right-click, control-click, whatever your system does) and give you a choice of “open file location”? The major browsers for other platforms do this. — Ryan From o1bigtenor at gmail.com Mon Dec 14 18:10:54 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Mon, 14 Dec 2020 18:10:54 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: <0FE5FF5C-A2BD-45DF-A945-3EE4F543D6C8@cwis.biz> References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> <0FE5FF5C-A2BD-45DF-A945-3EE4F543D6C8@cwis.biz> Message-ID: On Mon, Dec 14, 2020 at 5:44 PM Ryan Coleman wrote: > > > Does your browser give you the option when contextually-clicking (right-click, control-click, whatever your system does) and give you a choice of “open file location”? The major browsers for other platforms do this. > You bet it does - - - - but that's the version that gets stored in /tmp . I find, when I'm grabbing lots of research papers anyway, that its easier to just ask for each on to be opened in Okular, my presently preferred pdf environment, and then grab the whole bunch of pdfs and save them using file and directory tools. This means that I can save say 50 files in under a minute. If I save each one the 'save as' mechanism in okular makes me sort through my folder list (think 6 to 12 levels deep) for each save and that's tedious. The address that I want is the address where the file is stored - - - its 'home' per se not the address in /tmp , I've lost too many pdfs/files because they weren't saved permanently (imo /tmp is not permanent storage!). Thanks for the ideas!! Regards From ryan.coleman at cwis.biz Mon Dec 14 18:44:22 2020 From: ryan.coleman at cwis.biz (Ryan Coleman) Date: Mon, 14 Dec 2020 18:44:22 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> <0FE5FF5C-A2BD-45DF-A945-3EE4F543D6C8@cwis.biz> Message-ID: > On Dec 14, 2020, at 6:10 PM, o1bigtenor wrote: > > On Mon, Dec 14, 2020 at 5:44 PM Ryan Coleman wrote: >> > >> >> Does your browser give you the option when contextually-clicking (right-click, control-click, whatever your system does) and give you a choice of “open file location”? The major browsers for other platforms do this. >> > You bet it does - - - - but that's the version that gets stored in /tmp . > > I find, when I'm grabbing lots of research papers anyway, that its > easier to just ask for each on to be opened in Okular, my presently > preferred pdf environment, and then grab the whole bunch of pdfs and > save them using file and directory tools. > This means that I can save say 50 files in under a minute. If I save > each one the 'save as' mechanism in okular makes me sort through my > folder list (think 6 to 12 levels deep) for each save and that's > tedious. > > The address that I want is the address where the file is stored - - - > its 'home' per se not the address in /tmp , > > I've lost too many pdfs/files because they weren't saved permanently > (imo /tmp is not permanent storage!). > > Thanks for the ideas!! > > Regards None of the programs I have used (on other platforms — which, by the way, I don’t think you’ve said what programs you are using, what build, etc.) give me the temp location of a file that is saved. From o1bigtenor at gmail.com Mon Dec 14 20:51:47 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Mon, 14 Dec 2020 20:51:47 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> <0FE5FF5C-A2BD-45DF-A945-3EE4F543D6C8@cwis.biz> Message-ID: On Mon, Dec 14, 2020 at 6:47 PM Ryan Coleman wrote: > > > > > On Dec 14, 2020, at 6:10 PM, o1bigtenor wrote: > > > > On Mon, Dec 14, 2020 at 5:44 PM Ryan Coleman wrote: > >> > > > >> > >> Does your browser give you the option when contextually-clicking (right-click, control-click, whatever your system does) and give you a choice of “open file location”? The major browsers for other platforms do this. > >> > > You bet it does - - - - but that's the version that gets stored in /tmp . > > > > I find, when I'm grabbing lots of research papers anyway, that its > > easier to just ask for each on to be opened in Okular, my presently > > preferred pdf environment, and then grab the whole bunch of pdfs and > > save them using file and directory tools. > > This means that I can save say 50 files in under a minute. If I save > > each one the 'save as' mechanism in okular makes me sort through my > > folder list (think 6 to 12 levels deep) for each save and that's > > tedious. > > > > The address that I want is the address where the file is stored - - - > > its 'home' per se not the address in /tmp , > > > > I've lost too many pdfs/files because they weren't saved permanently > > (imo /tmp is not permanent storage!). > > > > Thanks for the ideas!! > > > > Regards > > > > None of the programs I have used (on other platforms — which, by the way, I don’t think you’ve said what programs you are using, what build, etc.) give me the temp location of a file that is saved. > > Sorry - - - - I'm NOT looking for the temporary storage location. I would like an easy way to grab the 'permanent storage location'. Regards From eng at pinenet.com Mon Dec 14 23:38:26 2020 From: eng at pinenet.com (Rick Engebretson) Date: Mon, 14 Dec 2020 23:38:26 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> Message-ID: IIRC, Firefox browser isn't helpful telling you where your file is being saved, if I understand the issue. I mostly use the browser SeaMonkey, and it allows me to put the download file wherever I choose. Very nice browser. My online bank doesn't like it, but my credit card does, some videos don't do great, but ebay is great. I'm happy with it. o1bigtenor wrote: > On Mon, Dec 14, 2020 at 4:34 PM Rick Engebretson wrote: >> >> Just a quick possibility. When your download manager asks what to name >> the new saved file you might append the browser URL to the suggested >> name. I don't know how a CLI gets involved. The XWindow selection method >> works for browser URLs, but the cut and paste buffer does too. >> >> > > If I were wanting the 'name' or the 'name of the file' this would be useful. > What I would really like is the location where the 'file' is being > 'interred' (grin!). > > Thanks for the ideas! > > Regards > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From eng at pinenet.com Tue Dec 15 00:00:51 2020 From: eng at pinenet.com (Rick Engebretson) Date: Tue, 15 Dec 2020 00:00:51 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> Message-ID: I can also suggest the KDE browser Konqueror. But like all of KDE, a little over-powering. IIRC, it also opens a file browser for saving files to wherever. Sometimes the double mouse click GTK browser Seamonkey just gives me more time to think than the single mouse click KDE. Rick Engebretson wrote: > IIRC, Firefox browser isn't helpful telling you where your file is being > saved, if I understand the issue. > > I mostly use the browser SeaMonkey, and it allows me to put the download > file wherever I choose. Very nice browser. My online bank doesn't like > it, but my credit card does, some videos don't do great, but ebay is > great. I'm happy with it. > > > o1bigtenor wrote: >> On Mon, Dec 14, 2020 at 4:34 PM Rick Engebretson wrote: >>> >>> Just a quick possibility. When your download manager asks what to name >>> the new saved file you might append the browser URL to the suggested >>> name. I don't know how a CLI gets involved. The XWindow selection method >>> works for browser URLs, but the cut and paste buffer does too. >>> >>> >> >> If I were wanting the 'name' or the 'name of the file' this would be >> useful. >> What I would really like is the location where the 'file' is being >> 'interred' (grin!). >> >> Thanks for the ideas! >> >> Regards >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From o1bigtenor at gmail.com Tue Dec 15 06:04:03 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Tue, 15 Dec 2020 06:04:03 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> Message-ID: On Mon, Dec 14, 2020 at 11:38 PM Rick Engebretson wrote: > > IIRC, Firefox browser isn't helpful telling you where your file is being > saved, if I understand the issue. Well - - - the default location is the 'Downloads' folder which isn't usually, for me at least, that useful. I tend to use the option of opening the pdf, which happens in 'okular' and then I can save the file to where I wish. > > I mostly use the browser SeaMonkey, and it allows me to put the download > file wherever I choose. Very nice browser. My online bank doesn't like > it, but my credit card does, some videos don't do great, but ebay is > great. I'm happy with it. > Useful - - - thanks. Regards From o1bigtenor at gmail.com Tue Dec 15 06:06:09 2020 From: o1bigtenor at gmail.com (o1bigtenor) Date: Tue, 15 Dec 2020 06:06:09 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> Message-ID: On Tue, Dec 15, 2020 at 12:01 AM Rick Engebretson wrote: > > I can also suggest the KDE browser Konqueror. But like all of KDE, a > little over-powering. IIRC, it also opens a file browser for saving > files to wherever. Sometimes the double mouse click GTK browser > Seamonkey just gives me more time to think than the single mouse click KDE. > Hmmmmmm - - - - I've already got Firefox, Opera, Vivaldi, Min and Qupzilla - - - not sure I want too many more specimens - - - grin! Regards From eng at pinenet.com Tue Dec 15 08:26:24 2020 From: eng at pinenet.com (Rick Engebretson) Date: Tue, 15 Dec 2020 08:26:24 -0600 Subject: [tclug-list] Complicated question re: saving files In-Reply-To: References: <7988e662-2011-9397-3a4f-2e62ccb29c7e@pinenet.com> Message-ID: Not to belabor the issue, but after checking Konqueror and Seamonkey, yes both open file browsers with "SaveAs." I don't think I've yet trained Seamonkey to directly open pdfs in Okular. One thing I currently like about Seamonkey is the associated email client (with spell checker!!!). My wife and kids all live on their finger computers (smart phones). And when they send me pictures and videos I can easily open them in a browser window and shrink them down from their huge size. Those new finger computers can take good pictures. But they don't come close to capturing a beautiful full moon and stars at night. Today's know it alls think they have it all figured out. o1bigtenor wrote: > On Tue, Dec 15, 2020 at 12:01 AM Rick Engebretson wrote: >> >> I can also suggest the KDE browser Konqueror. But like all of KDE, a >> little over-powering. IIRC, it also opens a file browser for saving >> files to wherever. Sometimes the double mouse click GTK browser >> Seamonkey just gives me more time to think than the single mouse click KDE. >> > > Hmmmmmm - - - - I've already got Firefox, Opera, Vivaldi, Min and Qupzilla > - - - not sure I want too many more specimens - - - grin! > > Regards > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From tclug1 at whitleymott.net Tue Dec 15 18:32:41 2020 From: tclug1 at whitleymott.net (gregrwm) Date: Tue, 15 Dec 2020 18:32:41 -0600 Subject: [tclug-list] - Message-ID: apt-get install accepts a postfixed - meaning remove the package during the same operation while installing others. do yum|dnf have a similar feature? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kc0iog at gmail.com Fri Dec 25 08:16:56 2020 From: kc0iog at gmail.com (Brian Wall) Date: Fri, 25 Dec 2020 08:16:56 -0600 Subject: [tclug-list] Live USB In-Reply-To: References: Message-ID: On Mon, Nov 23, 2020 at 2:34 PM Brian Wood wrote: > Shalom > > I haven't used live USBs much so this may be an > easy question to answer. I've been running Linux Mint > from a USB stick. It works fine, but each time I use it > I have to get some packages (git, C++ compiler, etc.) > again. I get the packages with apt-get install ... > Is there a way to get the packages to last from one boot > to the next? Tia > Brian, I did something like this once with Ubuntu. Instead of using apt (which grabs the latest packages and its dependencies) I just grabbed the .deb files that matched the running version of the live OS. Then I just put together a shell script to install them in the proper order. If you want to update after that you can, but you'll be updating a LOT of packages as a live distro gets quite stale. But... why would you? What's your motivation for running a live system full time? Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From chapinjeff at gmail.com Fri Dec 25 09:14:35 2020 From: chapinjeff at gmail.com (Jeff Chapin) Date: Fri, 25 Dec 2020 09:14:35 -0600 Subject: [tclug-list] Live USB In-Reply-To: References: Message-ID: Many distros also allow persistent overlays on the Live USB images. I know Fedora does, at least. The overlay works as a way to make permanent changes to the Live USB, but is limited by the size of the overlay partition. On Fri, Dec 25, 2020 at 9:10 AM Brian Wall wrote: > On Mon, Nov 23, 2020 at 2:34 PM Brian Wood wrote: > >> Shalom >> >> I haven't used live USBs much so this may be an >> easy question to answer. I've been running Linux Mint >> from a USB stick. It works fine, but each time I use it >> I have to get some packages (git, C++ compiler, etc.) >> again. I get the packages with apt-get install ... >> Is there a way to get the packages to last from one boot >> to the next? Tia >> > > Brian, > > I did something like this once with Ubuntu. Instead of using apt (which > grabs the latest packages and its dependencies) I just grabbed the .deb > files that matched the running version of the live OS. Then I just put > together a shell script to install them in the proper order. If you want > to update after that you can, but you'll be updating a LOT of packages as a > live distro gets quite stale. > > But... why would you? What's your motivation for running a live system > full time? > > Brian > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -- Jeff Chapin President, CedarLug, retired President, UNIPC, "I'll get around to it" President, UNI Scuba Club Senator, NISG, retired -------------- next part -------------- An HTML attachment was scrubbed... URL: From 42dch42 at gmail.com Fri Dec 25 13:18:44 2020 From: 42dch42 at gmail.com (harv) Date: Fri, 25 Dec 2020 13:18:44 -0600 Subject: [tclug-list] Live USB In-Reply-To: References: Message-ID: <5fe63b1a.1c69fb81.a8b97.ccac@mx.google.com> > On Mon, Nov 23, 2020 at 2:34 PM Brian Wood wrote: > > > Shalom > > > > I haven't used live USBs much so this may be an > > easy question to answer. I've been running Linux Mint > > from a USB stick. It works fine, but each time I use it > > I have to get some packages (git, C++ compiler, etc.) > > again. I get the packages with apt-get install ... > > Is there a way to get the packages to last from one boot > > to the next? Tia > > Might want to look into AntiX live-usb as it has custom tools in the original image for dealing with persistence. From here: https://antixlinux.com/the-most-extensive-live-usb-on-the-planet/ /quote/ Customization Instead of packing every conceivable program into the antiX live-usb, we kept it small and lightweight but made it extremely easy to customize. If there are programs you want that are missing from the live system, simply install them via Synaptic or cli-aptiX, do a live-remaster and voilà, it's just like those programs came pre-installed. \quote\ Also, lots of helpful tutorials here https://www.youtube.com/user/runwiththedolphin/videos From tclug1 at whitleymott.net Tue Dec 29 03:11:46 2020 From: tclug1 at whitleymott.net (gregrwm) Date: Tue, 29 Dec 2020 03:11:46 -0600 Subject: [tclug-list] lilo from grub Message-ID: i want to invoke lilo via grub(2). so far all i've found is about replacing one with the other. not what i want. i just want to invoke lilo on rare occasions. on harddisc. not external media. does it have to be chainload? could it be more direct? so as to not even require lilo to be installed into the head of a partition? if it does require lilo to be installed into the head of a partition, does that presume it's an "mbr partition"? will it work on an efi partition? a gpt partition? an lvm partition? -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug1 at whitleymott.net Tue Dec 29 23:17:42 2020 From: tclug1 at whitleymott.net (gregrwm) Date: Tue, 29 Dec 2020 23:17:42 -0600 Subject: [tclug-list] lilo from grub In-Reply-To: References: Message-ID: got what i needed with grub. as for my lilo questions, the way to get good answers is apt-get install lilo-doc. On Tue, Dec 29, 2020, 03:11 gregrwm wrote: > i want to invoke lilo via grub(2). > > so far all i've found is about replacing one with the other. not what i > want. i just want to invoke lilo on rare occasions. on harddisc. not > external media. > > does it have to be chainload? could it be more direct? so as to not even > require lilo to be installed into the head of a partition? > > if it does require lilo to be installed into the head of a partition, does > that presume it's an "mbr partition"? will it work on an efi partition? a > gpt partition? an lvm partition? > -------------- next part -------------- An HTML attachment was scrubbed... URL: