Re: [PLUG] Replacing github public key

2023-07-31 Thread Ali Corbin
On Mon, Jul 31, 2023 at 7:46 AM Rich Shepard 
wrote:

> Somehow I managed to lose ~/.ssh/id_rsa_github so I just generated a new
> id_rsa key pair. Logged into my github account, deleted the old public key
> and added the new one (github's email shows it to be much shorter than the
> string in ~/.ssh/id_rsa_github.pub).
>
> However, it's not working. When I try to sync my local web site directory
> with its github origin/master directory my attempt fails:
> $ git push origin
> no such identity: /home/rshepard/.ssh/id_rsa_github: No such file or
> directory
> Permission denied (publickey).
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists
>
> Yet, in ~/.ssh/ there are both id_rsa_github and id_rsa_github.pub, both
> freshly generated.
>
> What have I missed?
>
> TIA,
>
> Rich
>

ssh is picky about permissions, and won't work if the keys are too open.
Mine are:
-rw---  1 ali ali  411 Jul 14  2022 id_ed25519
-rw-r--r--  1 ali ali  102 Jul 14  2022 id_ed25519.pub


Re: [PLUG] Nordic, Russian keyboards TAKE TWO

2022-10-28 Thread Ali Corbin
On Thu, Oct 27, 2022 at 11:21 PM Keith Lofstrom  wrote:

> I will clarify a bit -
>
> Lately I've encountered MANY pages of photocopied Russian
> and Cyrillic, some sent by my respondents, some with the
> name Кит Лофстром in them, and I want to suss out roughly
> what they are before I select a few for professional
> translation, the $$$ kind.
>
> Sorry, I didn't realize that you were starting with images.
The quickest way to input the text would probably be to run the image
through tesseract, specifying the language it's in.  I've found it does a
pretty good job.  (You might still have to fix the smudges, but it might
even be able to figure those out from its dictionary.)


Re: [PLUG] Nordic, Russian keyboards

2022-10-24 Thread Ali Corbin
On Mon, Oct 24, 2022 at 8:24 PM Keith Lofstrom  wrote:
.

> Does anyone on the plug list have experience using multiple
> keyboards and alternate character sets?  Suggested vendors
> for those keyboards?  Helpful Linux tools for linguistic
> cripples?
>
> I regularly switch back and forth between Latin, Cyrillic, and (ancient)
Greek.  But I simply switch the layouts, using a single physical keyboard
for each.  Which takes some memorization.  Since I never learned to
touch-type in Russian, I can use a phonetic Cyrillic keyboard and mostly
press the Latin key that sounds like the Cyrillic one.  I do have to
memorize where the extra letters are, or bring up an image of the keyboard
layout, or even bring up the character map and click the letters into the
paste buffer.


Re: [PLUG] Brave browser: clear cache

2022-10-18 Thread Ali Corbin
On Tue, Oct 18, 2022 at 7:22 AM Rich Shepard 
wrote:

> I want to clear the cache in the Brave browser. Web pages tell me to go to
> Settings -> Advanced settings -> Privacy and Security ...
>
> But, there's no Privacy and Security link available in
> brave-browser-1.39.122
> installed here.
>
> Suggestions?
>
> Rich
>

Brave is hopeless for navigating the settings menu.
I always click on the search icon and search for what I want to change.


Re: [PLUG] Brave web browser: sidebar

2022-07-05 Thread Ali Corbin
On Tue, Jul 5, 2022 at 3:08 PM Rich Shepard 
wrote:

> Installed is brave-1.23.71.
>
> I want to use the sidebar which should be available from Settings ->
> Appearance. But it's not there. A web page example shows it between Show
> Bookmarks and Use wide address bar. Here it's not found anywhere.
>
> Is this a version issue or something else?
>
> Rich
>

On mine, 1.40.113, it's on the Appearance page, but closer to the top.

Frankly, I can never find my way around the brave settings.  Whenever I
want to change a setting, I simply use the magnifying glass in the upper
right corner of the settings page and search for it.


Re: [PLUG] Emacs: display only buffer rows beginning in column 1

2022-06-07 Thread Ali Corbin
Or maybe selective display
https://www.gnu.org/software/emacs/manual/html_node/emacs/Selective-Display.html#Selective-Display

Or outline mode, if you happen to have formatted your text that way.

On Tue, Jun 7, 2022 at 10:47 AM Johnathan Mantey  wrote:

> Perhaps this minor mode?
> https://www.emacswiki.org/emacs/HideShow
>
> On Tue, Jun 7, 2022 at 10:33 AM Rich Shepard 
> wrote:
>
> > Perhaps my web search terms ask the wrong questions, but I've not found
> how
> > to 'collapse' an emacs buffer so only those lines beginning in column 1
> are
> > displayed.
> >
> > My use is python coding. A module (*.py file) will have multiple classes
> > defined, each class beginning in column 1 while all following lines are
> > indented (4 spaces here). When I want to see what classes are in a buffer
> > being able to see only class names, then returning to view all lines, is
> > quite useful.
> >
> > In the 1980s I used a DOS programming editor called 'MultiEdit' that had
> > this capability and it was really useful. I'm sure that emacs can do it
> yet
> > I've not found how.
> >
> > Please point me to resources where I can learn how to do this.
> >
> > Rich
> >
> >
>


Re: [PLUG] ABC Plus?

2021-12-12 Thread Ali Corbin
On Sat, Dec 11, 2021 at 1:56 PM Dick Steffens  wrote:

> Is anybody using ABC Plus to typeset music?
>
> http://abcplus.sourceforge.net/
>
> I'm just getting started with it, and some of it works for me, but I'm
> getting Warning messages running abc2midi.
>
> Warning in line-char 16-39 : Track 2 is 20.054167 quarter notes long not
> 40.054165
>
> I don't find anything documenting error or warning messages. I'm trying
> to figure out where in my source file line-char 16:39 : Track 2 is. It's
> not obvious.
>
> --
> Regards,
>
> Dick Steffens
>
> line-char 16:39 means the 39th character of the 16th line.  Whichever
text editor you use should be able to pinpoint it for you.

That's the message that comes up when you have polyphony and the different
tracks aren't the same length.  Usually I get it when I mistype and leave a
note out of one of the voices.  But you've got a giant difference in
length, with one voice nearly twice as long as the other one.  Did you
maybe misplace a repeat sign?  abc2midi usually creates a midi file, even
if it spits out errors.  So you could listen to the file to see where it
goes sideways.  Or use abcm2ps and look at the score, and see where the bar
lines stop lining up.

Also, you might want to know that there's a mailing list for abc.  Which
might get you answers more quickly than this group.  It's at:
  https://groups.io/g/abcusers/


Re: [PLUG] Cropping .pdf using imagemagick's crop

2021-12-01 Thread Ali Corbin
On Wed, Dec 1, 2021 at 9:12 AM Bill Barry  wrote:

> On Wed, Dec 1, 2021 at 11:05 AM Rich Shepard 
> wrote:
>
> > I need to cut out a specific area in a PDF image document. I know the
> crop
> > command and want to learn if there's a way to identify the corners of the
> > cropped image other than by trial-and-error using the original image.
> >
> > Is there a tool that will provide x-y coordinates at the cursor location
> on
> > a PDF page?
> >
> > Rich
> >
>
> When you import a pdf into Gimp the square selection tool will give you
> coordinates of the place you are pointing to.
>
> Bill Barry
>

If you only need to crop a single image, it's simple to do it
with  imagemagick's display command.  In the menu it's under Transform ->
Crop.  That'll let you pick out the area to crop with the mouse.


Re: [PLUG] Crude comparisons of search engines

2021-09-05 Thread Ali Corbin
On Sun, Sep 5, 2021 at 3:22 PM Mike C.  wrote:

> Google:  96 shown, though 9000+ claimed
> Bing:   311 shown, though 6800+ claimed
> Mojeek: 478 shown
> Neeva:  318 shown
> DuckDuckGo: 151 shown
>
> OK, I tried egosurfing myself.  Which usually brings up references to
another younger, prettier person.  I searched for "Ali Corbin" and paged
through the results until I found an entry that was actually for me.

Google: 13th
Bing: 2nd (But only after I insisted that I'd really spelled the query
right.  And even then, it brought the other person up as the first find.)
Mojeek: 7th
DuckDuckGo: 1st!!!  Although the rest of the page is about evenly mixed
between her and me.


Re: [PLUG] Emacs: appending columns

2021-07-01 Thread Ali Corbin
On Thu, Jul 1, 2021 at 2:48 PM Rich Shepard 
wrote:

> I know how to define and manipulate rectangular regions in emacs yet I'm
> not
> getting the results I need appending two columns to build a testing
> database.
>
> Using factory I created lists of SSNs, names, and addreses. Now I want to
> combine the SSNs and names, row-by-row, as they're in the same database
> table.
>
> Here are short versions of the lists
> ssn.dat:
> (155-02-5827,
> (795-61-4130,
> (833-38-7251,
> (302-37-0777,
> (360-19-8292,
>
> names.dat:
> Richard Chen);
> James Peterson);
> Dana Brown);
> Misty Mills);
> James Swanson);
>
> When I select the names and mark the rectangle for copying (C-x r M-w),
> then
> yank them in the ssn.dat file the first name is appended to the first ssn,
> but the rest of the names are placed between the second and last ssns in
> the
> list.
>
> I'm sure there's a way of appending each name to its ssn but I've not found
> it in my web searches.
>
> Help's appreciated,
>
> Rich
>
> Works for me.

You do have to be careful with rectangle cut-n-paste though, to space out
far enough to clear the other columns before doing the paste.  Otherwise it
can get  confused and mess the columns up.

Also, I found when I was looking up this new-fangled rectangular copy
without killing that you're using, there's an even newer rectangle
command.  C-x SPC sets (toggles really) the rectangle mark.  Once you do
that then you can use normal non-rectangular kill and yank commands on the
rectangle.


Re: [PLUG] Sync sucks, downgrading firefox, then alternatives

2021-04-24 Thread Ali Corbin
On Sat, Apr 24, 2021 at 7:02 PM Keith Lofstrom  wrote:

> Best Mozilla alternatives?
>
> Then I will move on to Chromium ... presuming that does
> not use the same insane offsite password storage method.
>
> Any other suggestions?
>

I was using brave for a while,  until an upgrade broke linux-style
copy-n-paste.  When that happened I switched to slimjet.  It occasionally
offers to sync stuff for me.  But doesn't complain when I decline.
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Resolved: Alternatives for Atril?

2021-04-19 Thread Ali Corbin
On Mon, Apr 19, 2021 at 11:41 AM Dick Steffens 
wrote:
...

> Evince looks nice, but if there's a way to print from it, it's not obvious.
>
File->Print, or
Ctrl-P, or
the little printer icon on the menu bar
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Alternatives for Atril?

2021-04-19 Thread Ali Corbin
On Mon, Apr 19, 2021 at 10:04 AM Dick Steffens 
wrote:

> In Xubuntu 20.04, Atril is the default program for handling pdf files.
> There are some nuisances (to me). I'd like to try an alternative. Which
> programs do you all use for reading and printing pdf files?
>
>
> evince
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Slackware 15.0 BETA release

2021-04-16 Thread Ali Corbin
>From what I hear, getting DKIM set up correctly is not, er, intuitively
obvious.  I do know people who have done it, but it took a few tries.  If
you care, I could connect you and let them tell you what settings to
change.

On Thu, Apr 15, 2021 at 9:08 PM Tom  wrote:

> On Thu, 15 Apr 2021 20:11:14 -0700
> Ben Koenig  wrote:
>
> > Sorry Tom, Google says you aren't trustworthyI just found a nice
> > big stack of your emails in the automated spam folder.  The Great
> > Cancellation is upon us!
> >
> > The error said your identity could not be verified
>
> If Goolag Korporation says they can't verify my identity than
> I'm doing something very right.
>
> I guess I haven't thought of that. Google censors users of this list
> from recipient's mailboxes. And It's not like my mail server is
> misconfigured. not listed on any public RBLs, SPF, DKIM, DMARC
> enforcing the whole 9 yards.
>
>
> --
>  _
> / If the meanings of "true" and "false"   \
> | were switched, then this sentence would |
> \ not be false.   /
>  -
> \
>  \
>/\   /\
>   //\\_//\\ 
>   \_ _//   /
>/ * * \/^^^]
>\_\O/_/[   ]
> /   \_[   /
> \ \_  /  /
>  [ [ /  \/ _/
> _[ [ \  /_/
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Large Print Text

2021-02-03 Thread Ali Corbin
On Wed, Feb 3, 2021 at 4:21 PM Michael Barnes  wrote:

> I have a couple short text files of quick reference info with links on the
> desktop of a Raspberry Pi. When I need my memory refreshed, I just double
> click the icon and it opens the file in the text editor. Since it is a
> small 7" screen, I'd like this to open in a large font making it easier to
> see. I don't know if there is a setting someplace or a switch I can add to
> the launcher to do this.
>
> Ideas appreciated.
>
Look at the args that your text editor uses (use man or --help, maybe).
There may be an option for --font or -fn or some such.  If there is, find a
bigly font and launch it from the command line to check it out.  When you
find a font that works for you, edit the launcher to include that option.

Alternatively, if you want the larger font _every_  time you launcher that
editor, you could try setting a font in X, however your distro likes to do
that.  (/etc/X11/app-defaults for me.)
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Testing Zoom-linux

2021-01-27 Thread Ali Corbin
On Wed, Jan 27, 2021 at 2:39 PM Rich Shepard 
wrote:

> I'll be presenting at a Zoom meeting in a couple of months and want to
> ensure that my webcam and it's microphone (or an external mic) work well. I
> know that pavucontrol recognizes the camera and external mic (I assume the
> webcam mic, too, but haven't looked for it on pavucontrols input tab).
>
> Are there ways I can run tests here to ensure it all works properly?
>
>
https://zoom.us/test

It'll show you your video, so that'll prove that your camera is working.
The microphone is harder.  You can change it and test it, and see the bars
moving to prove that it's getting input.  But I haven't found a way to play
back the sound to make sure that it's not garbled.
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] 2021 Speakers Wanted

2021-01-27 Thread Ali Corbin
On Wed, Jan 27, 2021 at 10:35 AM Michael Dexter  wrote:

> Hello all,
>
> A previous speaker has reached out with two topics but they prefer
> target the March meeting/call/thing.
>
> I will be giving a talk on https://github.com/michaeldexter/occambsd the
> day before the First Thursday PLUG slot and statistically, you do not
> want to hear this talk. That said, who has a talk they would like to

present? A series of short UnPLUG talks is also appropriate.
>

I've spent this isolation in working on an art project, using perl and
imagemagick.  Would that make a good talk?
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Execute Script Via Email

2021-01-21 Thread Ali Corbin
On Thu, Jan 21, 2021 at 8:11 AM Michael Barnes 
wrote:

> Is there a way to execute a script via email? I have a machine that does
> several monitoring tasks of equipment. When certain conditions are detected
> and at scheduled times, the machine sends status emails to me. I would like
> to send an email back to execute a script to perform tasks.
>
> Is there an easy way to do this?
>
I  suspect that it's not easy, but I'm sure it's possible, because you can
set up blogger.com to create a post from an email sent to som...@blogger.com
. Unfortunately, the mechanism that actually does it will be on their
servers in a place that's not visible.  Perhaps a google search might
explain how they do this.
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Minimal GUI Bible study(reading) software

2021-01-14 Thread Ali Corbin
On Thu, Jan 14, 2021 at 3:31 AM Richard Owlett  wrote:

> On 01/13/2021 09:24 PM, Chuck Hast wrote:
> > I use Xiphos
> > https://xiphos.org/
>
> It was Xiphos was the program prompting my description of "cluttered".
> It has all the tools one could wish for detailed study.
>
> However, I just want to read unannotated text. It defaults to displaying
> Strong's numbers and color highlighting some of the text. There seems to
> be no intuitive way to disable either.
>
> Have you tried the bible-kjv-text and bible-kjv packages?   It runs on
the command line, which is about as uncluttered as you can get.
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Script Help

2020-12-20 Thread Ali Corbin
On Sun, Dec 20, 2020 at 6:38 PM Michael Barnes 
wrote:

> Sad thing about getting old. Memory ain't what it used to be.
>
> About 15 years or so ago, I wrote a script to trim filenames. What I did
> with the script  was to download a group of files from an ftp site to a
> folder. The files were named something like
>
> ABC 12-12-20 TodayShow.mp3
>
> The "TodayShow" was different for each file. I needed to remove everything
> after the date, rename the file and move it to another folder.
>
> The trimming portion of the script was
> cd /home/Xfer/downloads
> for FILE in *.mp3; do mv "$FILE" "$(echo "$FILE"|tr ' ' '_')"; done
> for FILE in *.mp3; do mv "$FILE" ${FILE%%???.mp3}.mp3; done
>
> I need to update this script for a similar purpose. I just can't remember
> exactly how this works. Would someone mind please translating or explaining
> this to me so I can modify it?
>
>
> The first line renames every file to the same name, but with all of its
spaces translated into underbars.
The second one strips off the .mp3 and the six characters before it, and
replaced it with a bare .mp3.
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Points on a map

2020-07-12 Thread Ali Corbin
On Sun, Jul 12, 2020 at 7:57 PM Michael Barnes 
wrote:

> Here's an interesting challenge. First, I am not a programmer, but I can
> sometimes piece stuff together and modify to make it work.
>
> I have seen these on other web pages and they seem like they should be
> simple enough. I have a document file with about 200 locations nationwide.
> Each location has s site number and an address and description of the
> location. What I would like to do is have a web page with a map I can zoom
> in on with a dot for each location. Clicking on the dot brings up a small
> box with the site number, name, and a link to the description. Clicking on
> the link brings up a new window with the paragraph describing the site
> details.
>
> Maybe there is some kind of service I can incorporate for this? It will be
> very low volume and out of my pocket, so Open Source or otherwise free is
> nice.
>
> I did something similar to this a few years back, using google's map api.

At the time it was a free service.  Now I believe they charge for it, but
give you a credit of so many visits per month.  Which makes it effectively
free for low volume sites.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Zoom "app" won't start

2020-06-27 Thread Ali Corbin
On Sat, Jun 27, 2020 at 11:55 AM Dick Steffens 
wrote:

> OS is Xubuntu 18.04
>
> Zoom client is deb(for Ubuntu14.04+) version5.1.412382.0614, installed
> today.
>
> When I try to start Zoom from the Internet start menu, an empty window
> with the title "Zoom Cloud Meetings" appears for a second or two, then
> disappears. If I do the same thing with top running, I see an entry for
> zoom, but it goes away as soon as the empty window goes away.
>
> Any ideas on what to do?
>

I've never gotten the zoom client working on my linux box.  But then, I
quickly found that I didn't need it.  If I bring up the zoom meeting url in
a browser and click the 'join' button once (sometimes twice), a link
appears in the browser window that lets me join the meeting from my
browser.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Lineage of early programmers

2020-06-07 Thread Ali Corbin
On Sun, Jun 7, 2020 at 2:21 PM Richard Owlett  wrote:

> I've been retired for over a decade.
> Back in mid-60's to early 70's I read an article on where potential
> programmers were found in 40's and 50's. *BEFORE* Comp Sci degrees ;}.
>
> Evidently classically trained musicians were one good source as as part
> of their heritage was compositions that, though original, relied on a
> formal structure.
>
> Anyone here old enough to have come across such a reference.
>
> No reference, but a personal anecdote.   In my first job, back in the
late 70's, the company was having problems finding people with CS degrees.
They ended up going to colleges and recruiting language majors.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Online reading ... Re: Ripping audio cds

2020-04-06 Thread Ali Corbin
On Mon, Apr 6, 2020 at 7:17 PM John Sechrest  wrote:

> There are plenty of open source channels besides the phone system where you
> could do this.
>
> Jami, any web RTC based video system would work.
>
> But at some point this becomes a public meeting. As a public meeting,
> copywritten material has some obligations. Like stores that play
> copywritten music in the store
>
> If we're still talking about reading to blind listeners, then there's no
problem.  Converting a printed work into a medium that a blind person can
read (electronic, recorded, or even spoken aloud) falls under fair use.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Ripping audio cds and creating duplicates

2020-04-06 Thread Ali Corbin
Go to :

https://www.library.ca.gov/btbl/

They'll be able to provide her with downloadable audio books.


On Mon, Apr 6, 2020 at 10:58 AM Rich Shepard 
wrote:

> My sister's in an independent living facility in the Bay Area and has been
> in her apartment for the past 3 weeks as the facility is locked down both
> externally and internally. Not being able to read (she's legally blind) nor
> able to get audio books because the California library is closed means that
> there's little to do but watch TV which is quite depressing. So I offered
> to
> copy some of my music cds for her.
>
> Since I'm not dealing with digital audio files as source I need to rip the
> audio cds to a digital format (does it matter which one?), then create an
> audio disk image that I can write to a blank cd disk.
>
> I've not seen a suitable package in SBo's audio repo and have not before
> done anything like this so I ask for advice and recommendations for
> software
> for the two steps: ripping from disk to digital then writing digital tracks
> to a cd-rw disk.
>
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] What wget options to clone a repo?

2019-11-06 Thread Ali Corbin
On Wed, Nov 6, 2019 at 9:01 AM Galen Seitz  wrote:

> On 11/6/19 8:40 AM, Rich Shepard wrote:
> > I want to clone this directory tree:
> > https://slackware.osuosl.org/slackware64-14.2/
> >
> > I've used wget very infrequently and reading the man page I've no idea
> > which
> > options I need. Passing that URL to wget produced only an index file.
>
> rsync is probably a better option.
>
> https://rsync.osuosl.org/pub/slackware/
>
>
> galen
>
> Or use 'wget --mirror'
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] View thumbnails of many images

2019-10-04 Thread Ali Corbin
On Fri, Oct 4, 2019 at 2:42 PM Rich Shepard 
wrote:

> When I write a report that includes photographs I'd like to see a display
> of
> many images at once so I can select the one I want to use. I installed gliv
> but it has no docs. The help screen said that the -a option would load all
> files in a directory. But when I tried that it told me the .jpg files were
> not in gliv format. Sigh.
>
> Any suggestions for a tool that actually works?
>
> I've used gthumb to do this.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Play Android App on Linux?

2019-10-01 Thread Ali Corbin
On Tue, Oct 1, 2019 at 3:39 PM Dick Steffens  wrote:

> On 10/1/19 3:35 PM, Ali Corbin wrote:
> > On Tue, Oct 1, 2019 at 2:46 PM Dick Steffens 
> wrote:
> >
> >> I've found an Android app to scan music (PlayScore). It's available for
> >> IOS and Android. I've also found that there are several tools to run
> >> Android apps on Linux. Has anyone used any of these? Are there any
> gotchas?
> >>
> >> I tried it some years ago on an android phone, and it absolutely did not
> > work for me.
> >
> > It may have improved with time.  You could always get the free version to
> > try out.  I wouldn't even think about springing for the paid version
> > without doing that.
>
> What? Pay for software? :-) I'm hoping the free version will be adequate
> for my needs.
>
> Did you run it on Linux in some way?
>
> No, on android.

As I remember, you're supposed to snap a photo of a sheet of music, and it
magically decodes it and produces... something.  I forget what the output
was supposed to be.  But I never got any output whatsoever.

If the music that you're trying to read happens to be a pdf that was
produced by a music setting program, then you're in pretty good shape.
I've heard of software that can decode the pdf and translate it into other
forms of music.  But if all you've got is a sheet of paper, or a photo of a
sheet of paper, then the problem gets much harder.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Play Android App on Linux?

2019-10-01 Thread Ali Corbin
On Tue, Oct 1, 2019 at 2:46 PM Dick Steffens  wrote:

> I've found an Android app to scan music (PlayScore). It's available for
> IOS and Android. I've also found that there are several tools to run
> Android apps on Linux. Has anyone used any of these? Are there any gotchas?
>
> I tried it some years ago on an android phone, and it absolutely did not
work for me.

It may have improved with time.  You could always get the free version to
try out.  I wouldn't even think about springing for the paid version
without doing that.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Setting initinal/default emacs frame size

2019-08-13 Thread Ali Corbin
On Tue, Aug 13, 2019 at 9:31 AM Rich Shepard 
wrote:

> I'm running emacs-26.2. My web searches for setting the initial/default
> frame size find elisp solutions for ~/.emacs, but so far all of them are
> apparently for earlier versions and use deprecated syntax. So far I've
> tried
> a half-dozen solutions and they do either nothing or emacs tells me there's
> an initiation error.
> For the 19" square HP monitor I want the emacs frame to be 95px wide and
> 50px tall.
>

Have you tried using X to accomplish this?
Putting:
 emacs*geometry: widthxheight[+/-off+/-off]
into ~/.Xresources or ~/.Xdefaults or where such things are read on your
computer.

One caveat is that, seeing that emacs is a text application, X will
probably assume that the width and height are in characters instead of
pixels.  And you'll have to translate your desired pixel dimensions.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] web search post filtering

2019-07-10 Thread Ali Corbin
On Tue, Jul 9, 2019 at 11:22 PM Keith Lofstrom  wrote:

> Perhaps I'm losing my ability to write useful search engine
> queries, but I suspect the "free" search engines are
> evolving to deliver sponsored search results that only
> vaguely resemble my request.
>
> For example, get many many results to a "+word" inquiry
> with no instances of the word I want.  There might be a
> pony under all those horses**t results, but I don't have
> the time or stamina to dig.
>

On google at least, the +whatsit syntax was deprecated some time back.
(Although the -whatsit syntax still works, I think, to filter out sites
that contain that word.)
Now, to set a mandatory search term, you have to enclose it in double
quotes.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] xubuntu version ?

2019-07-08 Thread Ali Corbin
On Mon, Jul 8, 2019 at 1:42 PM Dick Steffens  wrote:

> What do I type to see which version of xubuntu I have loaded?
>
> When I type cat /etc/issue I get Ubuntu 18.04.2 LTS \n \l
>
> I know xubuntu is based on Ubuntu, but how can I confirm I have xubuntu
> installed? I'm pretty sure that's what I installed, but how can I verify
> that?
>

What do you have in the way of /etc/*release ?
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Distro suggestions

2019-06-29 Thread Ali Corbin
On Sat, Jun 29, 2019 at 9:21 AM David Fleck  wrote:

> For reasons not necessary to go into here, this long-time FreeBSD/OpenSUSE
> user needs to move to a new laptop* Linux distribution, and I have the
> following choices:
> CentOS
> Fedora
> Mint
> Ubuntu


Of these, CentOS is the most stable.  Which means that each release will
get security updates for years.   The downside is that your kernel and
libraries can fall behind the curve after a while.

Fedora is more bleeding edge.  It's got all the newest drivers for all the
newest hardware.  And possibly all the newest bugs.  As I recall, each
release is only supported for 6 months, so you have to do regular major
upgrades.

Both CentOS and Fedora only provide pure open source packages.  You can
install proprietary packages (like codecs) but you have to jump through
some hoops to do it.

I've never used Ubuntu, except for an unfortunate experience with Unity.

Mint is based on Ubuntu, but unhooks their unfortunate choice of window
managers and provides a choice of different ones.  You can install a long
term release, which will be supported for years.  And they make it easy to
install proprietary packages.

I used to use CentOS at work, and now use Linux Mint at home.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Nokia 6.1 Plus turns off quickly

2019-06-11 Thread Ali Corbin
On Tue, Jun 11, 2019 at 1:40 PM wes  wrote:

> On Tue, Jun 11, 2019 at 1:28 PM Rich Shepard 
> wrote:
>
> > Ben,
> >
> > Nokia 6.1 Plus question.
> >
> > When I've unlocked the phone and looking at a text message, or just
> holding
> > the phone, it darkens the screen then shuts off quickly; perhaps 30
> seconds
> > at most.
> >
> > I've looked for a setting to keep the display active longer and haven't
> > found it. Web searches for this issue finds a number of 6.1 Plus issues
> and
> > solutions, but this isn't covered in any of those web pages.
> >
> > Have you found how to keep the phone alive until manually shut off?
> >
> >
> >
> I'm not Ben but I may be able to offer some small insight. The feature that
> controls this is called "screen lock" (or "auto lock" on some devices).
> Searching up this term yielded this result:
>
>
> https://www.nokia.com/phones/en_us/support/nokia-6-user-guide/protect-your-phone-with-a-screen-lock/
>
> which suggests to look under Security in the settings area.
>

Or possibly:
Settings > Display > Advanced > Sleep
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Can geeks defeat scammers? IOT solution needed?

2019-05-24 Thread Ali Corbin
On Fri, May 24, 2019 at 12:42 PM Rich Shepard 
wrote:

> On Fri, 24 May 2019, Richard Owlett wrote:
>
> > I b way far from "escatada"[sp?]
>
> In Oregon it's spelled Estacada.
>
> > In the last hour I've received 3 calls from/to myself [snicker]
>
> When you answer do you have an intelligent conversation?
>
> > I suspect an IOT Answering Machine may be goal. I think what I want is
> > something that replaces my desk-set, records *everything* and can quizzed
> > by local computer.
>
> Does your TelCo provide voice mail? That works for many.
>
> Rich
>
> Google Voice has worked well for me.  It does a good job of screening out
the scam calls.  I have its voicemail set up to transcribe any messages and
email them to me.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Firefox add-ons dropped, can't re-install

2019-05-04 Thread Ali Corbin
On Sat, May 4, 2019 at 10:42 AM Rich Shepard 
wrote:

> Running firefox-60.6esr here. Since yesterday I've lost ad-block plus,
> ghostery, and a download manager with firefox telling me they're not
> supported in firefox. Yet, when I select the Add-ons item from the Tools
> menu and click the link for more add-ons -> ad blockers both show up.
>
> Trying to install them fails.
>
> In all the years I've used firefox this has not happened. Has anyone else
> experienced this?
>
> Someone screwed up and let a certificate expire.
I've seen workarounds posted for some versions of firefox.
Or you could just wait until they fix it.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Resizing images with imagemagick

2019-04-23 Thread Ali Corbin
On Tue, Apr 23, 2019 at 11:09 AM Rich Shepard 
wrote:

> I have several hundred .jpg images that are all saved at the camera's
> maximum resolution. I can use imagemagick's convert tool with the -resize
> option because I want the reduced images to be 768px high x 576px wide.
>
> However, without looking at each image in The GIMP I've no way of knowing
> which need rotating so they are all in the same orientation. I'm not
> familiar enough with imagemagic to know if there's another option that will
> rotate as necessary. Anyone here know this?
>
> It'll take human intervention, to look at each individual image and decide
whether to rotate it.  Happily, it's not too onerous to do this in
imagemagick, using the 'display' command.

# This will bring up the first jpg in the directory as the start of a
slideshow.
display *.jpg &

Then you can hit the space bar to cycle through the images.
'/' or '\' will rotate the image that you're looking at, and Ctrl-S will
save it.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Need New Computer

2019-02-21 Thread Ali Corbin
On Thu, Feb 21, 2019 at 6:27 PM Michael Barnes 
wrote:

> I came home from work today to find my 12 year old Dell Optiplex bit the
> dust. ...


> Thanks for any suggestions.
>
> Michael
>

Me, whenever I need a new computer, I just go to Free Geek and pick out
something out off their shelves.  True, the hardware will always be at
least a few years old, but, as I'm not a gamer, it's plenty good enough for
me.  And it'll come preloaded with Ubuntu.  Or maybe Mint.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] KDE (?) Middle Button with Trackpoint

2018-12-04 Thread Ali Corbin
On Tue, Dec 4, 2018 at 5:13 PM Dick Steffens  wrote:

> On 12/4/18 3:24 PM, Ali Corbin wrote:
> >
> >> I did something similar recently, using xinput.
> > # get the list of your X input devices
> >
> > xinput --list
> >
> > # get info on whichever one is your pointing device, including button
> labels
> >
> > xinput --list [id]
> >
> > # get the available properties
> >
> > xinput --list-props [id]
> >
> > # set the property for the device, property and button
> >
> > xinput set-prop [id] [prop] [button]
>
> Thanks for the reply.
>
> I tried those as root, but got an error:
> # xinput --list
> No protcol specified
> Unable to connect to X server
>
> So I tried again as a normal user and got results:
> bash-4.3$ xinput --list
> <--->
> â   â³ TPPS/2 IBM TrackPointid=12   [slave pointer
> (2)]
> <--->
> bash-4.3$ xinput --list 12
> TPPS/2 IBM TrackPoint   id=12   [slave pointer
> (2)]
>  Reporting 3 classes:
>  Class originated from: 12. Type: XIButtonClass
>  Buttons supported: 5
>  Button labels: "Button Left" "Button Middle" "Button
> Right" "Button Wheel Up" "Button Wheel Down"
>  Button state:
>  Class originated from: 12. Type: XIValuatorClass
>  Detail for Valuator 0:
>Label: Rel X
>Range: -1.00 - -1.00
>Resolution: 1 units/m
>Mode: relative
>  Class originated from: 12. Type: XIValuatorClass
>  Detail for Valuator 1:
>Label: Rel Y
>Range: -1.00 - -1.00
>Resolution: 1 units/m
>Mode: relative
>
> bash-4.3$ xinput --list-props 12
> Device 'TPPS/2 IBM TrackPoint':
>  Device Enabled (136):   1
>  Coordinate Transformation Matrix (138): 1.00, 0.00,
> 0.00, 0.00, 1.00, 0.00, 0.00, 0.00, 1.00
>  Device Accel Profile (262): 0
>  Device Accel Constant Deceleration (263):   1.00
>  Device Accel Adaptive Deceleration (264):   1.00
>  Device Accel Velocity Scaling (265):10.00
>  Device Product ID (257):2, 10
>  Device Node (258):  "/dev/input/event11"
>  Evdev Axis Inversion (266): 0, 0
>  Evdev Axes Swap (268):  0
>  Axis Labels (269):  "Rel X" (146), "Rel Y" (147)
>  Button Labels (270):"Button Left" (139), "Button Middle"
> (140), "Button Right" (141), "Button Wheel Up" (142), "Button Wheel
> Down" (143)
>  Evdev Scrolling Distance (271): 0, 0, 0
>  Evdev Middle Button Emulation (272):0
>  Evdev Middle Button Timeout (273):  50
>  Evdev Third Button Emulation (274): 0
>  Evdev Third Button Emulation Timeout (275): 1000
>  Evdev Third Button Emulation Button (276):  3
>  Evdev Third Button Emulation Threshold (277):   20
>  Evdev Wheel Emulation (278):0
>  Evdev Wheel Emulation Axes (279):   0, 0, 4, 5
>  Evdev Wheel Emulation Inertia (280):10
>  Evdev Wheel Emulation Timeout (281):200
>  Evdev Wheel Emulation Button (282): 4
>  Evdev Drag Lock Buttons (283):  0
> bash-4.3$
>
> It looks like I'd want to do something with "Button Wheel Up" (142),
> "Button Wheel Down" (143) but it's not clear what I should do. Any ideas?
>
> My system is using libinput, and has a bunch of properties having to do
with Scroll Method, and Scrolling Button.  While your evdev system is
talking about Wheel Emulation.

But then, google is your friend.  See if this helps at all:

https://wiki.archlinux.org/index.php/TrackPoint#Middle_button_scroll

And I suspect that your wheel-up and -down buttons don't really exist, and
you want to set up button 2, which is your middle button.  To verify that
it is, you can run xev, move your cursor into the xev window, and click it.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] KDE (?) Middle Button with Trackpoint

2018-12-04 Thread Ali Corbin
On Mon, Dec 3, 2018 at 2:19 PM Dick Steffens  wrote:

> On 12/3/18 12:25 AM, Ben Koenig wrote:
> > mouse/keyboard settings are part of the "Input Devices" Settings module.
> >
> > So K Menu -> System Settings -> Input devices. There's a tab for mouse
> > settings on the left.
>
> Mouse Settings does not appear to have a setting covering my need. In
> the General tab, here is Button Order -- right handed or left handed,
> Reverse scroll direction, and Icons. But nothing about a third button.
> The Advanced tab doesn't address a third button, either. And the Mouse
> Navigation tab only offers Move pointer with keyboard (using the num pad).
>
> It's a minor annoyance I can live with for the most part, but it would
> be nice to have that functionality back. When I plug in a mouse with a
> wheel, it performs as expected, but in the living room there isn't a
> place to use a mouse.
>
> --
> Regards,
>
> Dick Steffens
>
> I did something similar recently, using xinput.

# get the list of your X input devices

xinput --list

# get info on whichever one is your pointing device, including button labels

xinput --list [id]

# get the available properties

xinput --list-props [id]

# set the property for the device, property and button

xinput set-prop [id] [prop] [button]


In my case I wanted to make the red button on the side of my trackball
be a drag-lock button, so my command was:

xinput set-prop 'PS2++ Logitech TrackMan' 'libinput Drag Lock Buttons' 8 1

I put this in my .bash_aliases file, which (on my system) is called from
.bashrc on startup.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Rainloop not liked by gmail...

2018-10-21 Thread Ali Corbin
On Sun, Oct 21, 2018 at 6:18 PM  wrote:

> I'm running my own server, the one this email is coming from. I have DKIM
> and SPF implemented and they seem to be working.
>
> Seems gmail is not satisfied that my email is "secure" until I pgp encrypt
> it. Really? My mail client is the PHP based Rainloop.
> I'm trying to figure out how to pgp encrypt all emails that I write in the
> hope of satisfying Google's draconian ideas about security.
>
> I suspect that this isn't the case, and that simply DKIM is enough.
A friend of mine went through this recently, and found that google's
documentation is obsolete - he needed to create a stronger key than it said
to get his emails to be accepted.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] MIDI on Ubuntu 18.04

2018-10-13 Thread Ali Corbin
On Sat, Oct 13, 2018 at 3:38 PM Dick Steffens  wrote:

>
> I tried timidity:
>
> $ timidity 1.midi Requested buffer size 32768, fragment size 8192 ALSA
> pcm 'default' set buffer size 32768, period size 8192 bytes Playing
> 1.midi MIDI file: 1.midi Format: 1 Tracks: 3 Divisions: 384 Sequence:
> control track Text: creator: Text: GNU LilyPond 2.18.2 Track name:
> :soprano Instrument: choir aahs Track name: :tenor Instrument: choir
> aahs No instrument mapped to tone bank 0, program 52 - this instrument
> will not be heard No pre-resampling cache hit Last 3 MIDI events are
> ignored Playing time: ~31 seconds Notes cut: 0 Notes lost totally: 0
>
> This leads me to believe that there's more to configure somewhere in
> order to get the "Instrument: choir aahs" but I don't know where to do
> that.


You usually have to install instrument patches (AKA sound-fonts) to go with
timidity.  On my system, I have a choice in the repo, either freepats,
or fluid-soundfont.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Firefox is a pig

2018-09-01 Thread Ali Corbin
On Sat, Sep 1, 2018 at 10:07 AM, John Jason Jordan  wrote:

> Firefox 61.0.1 on Xubuntu 16.04.
>
> I have tried Chrome, Midori, and lots of other browsers, but they all
> fail to provide all the functionality that I need. And they tend to be
> just as gluttonous as Firefox anyway.
>
> The big problem is CPU usage. The computer has 16GB of RAM, and I never
> come close to using all of it. But Firefox usually takes most of the
> CPU. This leaves me little for ripping and encoding movies, which is
> also very CPU intensive.
>
> I found a little program called cpulimit, which doesn't quite work. I
> launched Firefox yesterday with 'cpulimit -l 20 firefox' and right now
> Firefox itself is taking a mere 3% of the CPU, but there are currently
> four Firefox child processes ('contentproc') and one of them is taking
> 80%. This wouldn't be annoying if it was just a temporary usage while
> it was loading a web page or something, but it has been stuck at 80%
> for the past hour, even though all Firefox windows are minimized.
>
> The only way to get Firefox to behave is to kill it completely. And if
> I then re-launch it, even though I have it restore the previous
> session, it initially takes little of the CPU, but by a couple hours
> later it is back to taking almost all of it.
>
> Any suggestions?
>
> In the past I've used 'nice' to invoke nasty batch processes, to keep them
from totally taking over the cpu.  I've never tried it with a browser, but
it might be interesting to see if it helps any.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Some how my system boots into text mode

2018-05-30 Thread Ali Corbin
On Wed, May 30, 2018 at 10:22 AM, Ken Stephens 
wrote:

> I am puzzled.  Ages ago I did something to stop my Fedora 26 system from
> booting into graphical login mode.  I wish I could remember or identify
> what I did, but age and time have intervened.
>
> #systemctl status default.target
> ● graphical.target - Graphical Interface
>Loaded: loaded (/usr/lib/systemd/system/graphical.target; enabled;
> vendor preset: disabled)
>Active: active since Wed 2018-05-30 09:40:11 PDT; 30min ago
>  Docs: man:systemd.special(7)
>
> May 30 09:40:11 neptune systemd[1]: Reached target Graphical Interface.
>
> But the system presents a text login.
>
> #systemctl status multi-user.target
> ● multi-user.target - Multi-User System
>Loaded: loaded (/usr/lib/systemd/system/multi-user.target; static;
> vendor preset: disabled)
>Active: active since Wed 2018-05-30 09:40:11 PDT; 36min ago
>  Docs: man:systemd.special(7)
>
> May 30 09:40:11 neptune systemd[1]: Reached target Multi-User System.
>
> Before I disable multi-user I want your opinions on whether this is the way
> to regain my graphical login.  The graphical login has a dependency on the
> multi-user target.
>
> Regards to all,
> Ken
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>

I'd start out by looking at /var/log/Xorg*, to see if X didn't come up
because of an error.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Non-gmail users: any issues sending to gmail recipients?

2018-04-23 Thread Ali Corbin
On Mon, Apr 23, 2018 at 2:24 PM, Rich Shepard 
wrote:

>   I've sent messages to someone with a gmail account and he has not
> received
> them. My mail log shows them being delivered; e.g., from this past
> Saturday:
>
> Apr 21 12:21:35 salmo postfix/smtp[11368]: 41D019927A:
> to=,
> relay=gmail-smtp-in.l.google.com[74.125.197.27]:25, delay=2.1,
> delays=0.2/0.08/0.38/1.5, dsn=2.0.0, status=sent (250 2.0.0 OK 1524338495
> y6si6675205pgv.520 - gsmtp)
>
>   Has anyone else had difficulties getting messages through to gmail
> account
> users?
>
>   I don't know there's anything I can do on my end about this.
>
> Rich
>

First off, have them check their spam folder.  If the messages are in
there, have them 'show original message' and send you back the header
section.  That might tell you why gmail refused delivery.

A friend had the same problem.  I set up a gmail filter, just so that his
mail would get through, until he had time to troubleshoot the issue.  As I
remember it, his problem was that he needed a longer DKIM key.  What used
to work a few years back is no longer acceptable.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Setting up git for multi-subdirectory projec

2018-04-06 Thread Ali Corbin
On Fri, Apr 6, 2018 at 3:25 PM, Rich Shepard 
wrote:

>   I'm writing a database application using the MVC design pattern so there
> are three subdirectories: model/; view/; and controller/. Each
> subdirectory has multiple files.
>
>   In the project root directory I set up the repository with 'git init'.
> Reading pro-git (2nd ed) I don't see how to set up each subdirectory within
> the repository. Are they branches, submodules, slaves or is there another
> way to define them in the root directory?
>
>   Cluesticks desired.
>

They're just subdirectories.

Create a subdirectory under your root and start putting files into it, then
type 'git status'.  You should see the new directory as an untracked
'file'.  'git add' it, and you'll see the files in it as new files.  Keep
adding and committing any directories and files that you create.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Library ebook access with virtual OS?

2018-04-01 Thread Ali Corbin
On Sun, Apr 1, 2018 at 7:33 AM, Dick Steffens  wrote:

> On 03/31/2018 09:48 PM, Keith Lofstrom wrote:
>
>> Multnomah County (and other) libraries offer ebooks that
>> are readable only with Windoze or MacOS client software.
>> Some linux books are only available in this form.  :-(
>>
>> Has anyone read library ebooks with this client software
>> running in a Virtualbox or Vmware virtual machine?
>> How well does it work?  Tips and suggestions?
>>
>
> Clackamas County uses Library2Go:
>
> https://library2go.overdrive.com/
>
> While they offer various e-book formats, they also offer "Read now in
> browser." I tried figuring out how to get one of the other formats to work
> without success, but I have no problem with the browser version. I'd be
> surprised if Washington and Multnomah counties didn't have something
> similar.
>
> I'm in Multnomah County, and have never had a problem with reading library
e-books in my browser.  Or on an android tablet.  I remember trying to get
calibre to decode an epub for me, but failing.  As I remember, you have to
give it the key that overdrive installed for you.  I obviously didn't have
that on my linux box, and I couldn't find it on my tablet.  I wonder if it
would work to install overdrive on a vm just to get the key and use that
with calibre under linux to decode the books.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Command to find applications dependent on named library

2018-03-21 Thread Ali Corbin
On Wed, Mar 21, 2018 at 5:54 PM, Rich Shepard 
wrote:

>   The ldd command lists the libraryies required by a named application. I
> want to know the command that lists installed applications dependent on a
> named library.
>
>   I think this thread appeared on this mail list a while ago but my web
> searches fail to find it or other resources with the answer.
>
>   Specifically, I want to determine which applications installed on this
> host require wxGTK+2 and which require wxGTK+3. I know that audacity
> requires wxGTK+3, but not what other applications do. And I've no idea
> which
> applications are dependent upon wxGTK+2.
>
>   A clue stick or two will be quite helpful.
>
> TIA,
>
> Rich
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>

It depends on your package manager.

Maybe:

rpm -q --whatrequires dependency

or (yuck!):

dpkg-query -W -f='${Package}: ${Depends}\n' '*' | grep ': .*package'

or:

aptitude why package
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] bash; anacron; wmctrl question

2018-02-06 Thread Ali Corbin
Another thing to try is to use the full path, in case the cron environment
doesn't include $PATH

On Tue, Feb 6, 2018 at 1:39 PM, wes  wrote:

> try sudo wmctrl, the same way you're doing sudo zenity.
>
> -wes
>
> On Tue, Feb 6, 2018 at 1:27 PM, Denis Heidtmann  >
> wrote:
>
> > I have a script which runs daily via anacron.  I want the script to
> launch
> > a zenity window to notify the user, so I issue the command wmctrl -k on
> > before zenity and wmctrl - off after.  This  is supposed to minimize all
> > open windows to ensure that the zenity window will be visible.  I  have a
> > test script to show that it works.  Both scripts are owned by root, but
> > editable by me.  I  have run the test script from a command  line login
> > using sudo, as well as from a Gnome terminal.  The test script behaves as
> > intended--the desktop is cleared of all open windows.   I inserted a test
> > zenity window at the beginning of the real script to verity that when
> > launched by anacron it would behave the same way.  It does not!  It does
> > not minimize open windows, but the zenity window does appear on top of
> the
> > open windows.
> >
> > What is different about the anacron launch?  I have been monkeying with
> > this thing for quite a while.  I tried wmctrl -R but that did not behave
> as
> > I had hoped.  wmctrl -k does what I want except when anacron is doing the
> > launching.
> >
> > Ideas?
> >
> > -Denis
> >
> > Test script:
> >
> > #!/bin/bash
> > # test to get zenity to work when script is not called from an X window
> > # change to a non-X login (^ alt F2), call this w/sudo, then go back to X
> > (^ alt F7)
> > # to see if a zenity window shows up.
> > # feb 5 2018 the above worked--all open windows minimized.
> >
> >
> > Notification () {
> > # pass title, text of notice, and timeout as 3 parameters
> > TITLE=$1; MSG=$2; TIMOUT=$3
> > wmctrl -k on
> > sudo -u household zenity --question --title="$TITLE" --text="$MSG"
> > --timeout="$TIMOUT"
> > RETRNCODE=$?
> > wmctrl -k off
> > return $RETRNCODE  # return codes: 0 = YES, 1 = cancel, 5 = timeout
> > }
> >
> > sleep 30
> >
> > export DISPLAY=:0
> > # test of launch of zenity
> > Notification "Test of zenity (backup_checksh)" "This should minimize all
> > open windows." 20
> > # remove when satisfied that launch works.
> >
> > Top of real script:
> >
> > #!/bin/bash
> >
> > Notification () {
> > # pass title, text of notice, and timeout as 3 parameters
> > TITLE=$1; MSG=$2; TIMOUT=$3
> > wmctrl -k on
> > sudo -u household zenity --question --title="$TITLE" --text="$MSG"
> > --timeout="$TIMOUT"
> > RETRNCODE=$?
> > wmctrl -k off
> > return $RETRNCODE  # return codes: 0 = YES, 1 = cancel, 5 = timeout
> > }
> > export DISPLAY=:0
> > # test of launch of zenity
> > Notification "Test of zenity (backup_checksh)" "This should minimize all
> > open windows." 5
> > # remove when satisfied that launch works.
> > MAX_TIME=$((7 * 24 * 3600))
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Another SpiritOne Question

2017-12-11 Thread Ali Corbin
On Mon, Dec 11, 2017 at 7:45 AM, Ken Stephens 
wrote:

> Be warned that when you switch to fiber and have phone service through
> Centurylink, your "land" line will be powered off your house power.  One of
> the reasons they want you to switch to fiber is that they no longer have to
> power your phone.  Saves them money in the long run.
>
> Ken


That's good to know.  It means that, if I made the switch, I'd have to use
my cell phone to call about either a power or internet outage.  Or to call
911 if the power was out.  But then, when my tree went down in the January
storm, I automatically reached for my cellphone to report it, assuming that
the phone lines had gone down as well.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Another SpiritOne Question

2017-12-10 Thread Ali Corbin
On Sun, Dec 10, 2017 at 7:56 PM, John Jason Jordan  wrote:

>
> 6) If you get fiber be advised that fiber is not as forgiving as
> copper. A kink in the line and you are dead. I learned this the hard
> way. But the installer guy who came out to fix it did not put it down
> as a repair, so it didn't cost me anything. Did I mention that their
> installers are cool people?


The major problem I had with Centurylink was convincing the office that I
had a problem, and that it was in their wiring on the outside of my house.
But once I got them convinced they practically threw service people at me.

Well, really, it was one service person who spent multiple hours fiddling
with the wiring and the box.  And then came back, with a crew, the next
day, ostensibly to verify that everything was still working.  But I suspect
that the real reason was to show a bunch of new guys what had gone wrong
with the old wiring, and what not to do themselves.

And in the process, at least two of them practically begged me to switch to
fiber, so that they wouldn't have to maintain the old copper.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] MPI for C.

2017-11-24 Thread Ali Corbin
On Fri, Nov 24, 2017 at 9:04 AM, michael  wrote:

> http://condor.cc.ku.edu/~grobe/docs/intro-MPI-C.shtml
>
> I want to use message passing interface in C programs running on Raspberry
> Pi 3's running Raspbian Stretch, but I don't know which package to install
> via apt for mpi.h.


Figuring out which package provides a needed file is harder to do in apt
than in rpm, but it's still possible.

First install apt-file
Then run
apt-file update
and
apt-file search /some/file

When I do this on my system, it tells me that I needed linux-headers.

Ali
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Firefox crash when visiting aliexpress

2017-11-16 Thread Ali Corbin
On Thu, Nov 16, 2017 at 12:49 PM, Dick Steffens 
wrote:

> On 11/16/2017 12:26 PM, Galen Seitz wrote:
>
>> Hi,
>>
>> Firefox ESR 52.4.0 (64-bit) crashes every time I attempt to go to
>> aliexpress.  CentOS 6.9 on x86_64 is the host.
>>
>> 
>>
>> I'm curious whether others have similar results.
>>
>
> No problem when I go there with:
>
> Firefox 57.0 (64-bit) Mozilla Firefox for Ubuntu Canonical - 1.0
>

 56.0 (64-bit) on Mint also works.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug