4/19/2020

Starting a GUI app on startup with a RaspberryPi

I got a new Raspberry PI4 and I set it up to record some over the air TV and the app I was using allowed to set a schedule much like old school VHS recorders would. BUT you have to have the application running all the time so if you forget to start it the recording is missed. Most all the search results for Raspbery Pi or Linux about autostart a program just would not work.

Finally I found somebody who said if it had a GUI it would not load under traditional methods since the came into play before the Graphical Interface. Anyway I was having no luck. And finally under some lucky combination of search words I found this site.

https://www.instructables.com/id/Autostart-a-Program-When-Raspberry-Pi-Boots-Newbie/

Here is the gist with a few changes for my situation

You only need to do this part once, but you need to do it first. Click on Applications -> Preferences -> Main Menu Editor on your Pi desktop.

In the Main Menu Editor window click on Preferences in the first column. Check the box for Default applications for LXSession in the second column. Click Okay.
Now when you click on your Applications -> Preferences menu you should see Default applications for LXSession listed. You don't need to click on it yet, but you'll need it after the next step.

Find out the command to start the GUI program which for me was the path to the program and supposedly by adding -m afterwards would start it minimized (it didn't). But anyway /usr/bin/Kaffeine -m

Now that you have the command syntax you need to add it to the autostart sequence. Choose Applications -> Preferences -> Default applications for LXSession from your Pi desktop. Select the Autostart tab.
In the Manual autostarted applications section enter the text of your command in the box next to the Add button. Then click the Add button and your new command should be added to the list. When your Pi boots (or reboots) these commands should run.
You can temporarily disable a command by unchecking the box in front of it. This will add # in front of the command and it will be ignored until you go back and check it. And obviously you can remove a command from the sequence completely by clicking the Remove button beside it. (There is no undo for this)

4/17/2020

Posting just to Post



I think I posted it years ago and for some reason thought of it again today. Google tells me it is from the webcomic Slow Wave

https://en.wikipedia.org/wiki/Slow_Wave

Interesting interview here : http://www.tcj.com/the-jesse-reklaw-interview/

1/25/2020

A New find of an Early Cartoonist - Cliff Sterret

I happened up a book of this guy's cartoons and to conserve money I will just make not of him here rather than buy the book



He has such and interesting look

https://animationresources.org/category/cliff-sterrett/

12/31/2019

I just want to remember this...

"We’ll have an economy based on wind. I never understood wind. You know, I know windmills very much. I’ve studied it better than anybody. I know it’s very expensive. They’re made in China and Germany mostly — very few made here, almost none. But they’re manufactured tremendous — if you’re into this — tremendous fumes. Gases are spewing into the atmosphere. You know we have a world, right? So the world is tiny compared to the universe. So tremendous, tremendous amount of fumes and everything. You talk about the carbon footprint — fumes are spewing into the air. Right? Spewing. Whether it’s in China, Germany, it’s going into the air. It’s our air, their air, everything — right? So they make these things and then they put them up." - Donald Trump , December 2019

Carzy Trump Rant

There is a bunch of wacky stuff this guy says but this must be at the top of the crazy pile

I assume a trump supporter would would ignore the incoherence and try and distract with Solyndra or imply I hate birds, but keep the eye on the prize, this one is crazy

And to answer his question, yes, I know we have a world.

12/15/2019

Why are evangelicals so in the tank for Trump?

I just wanted to get this insight down on virtual paper and for the record I will be painting with broad strokes.

Why are evangelicals so in the tank for Trump? I’ve seen some discussion online about how he fulfills their goals or how he is a “Cyrus”, or just an imperfect politician used by a God for godly purposes. And while some of that is what evangelicals will say, I am really intrigued that the craziness and cruelty of Trump seems to focus the evangelical enthusiasm from a practical allegiance to him for their political purposes to a white hot devotion.

The insight springs from an article linked to below, but my re-working of it is that central to the evangelical worldview is a STRONG authoritarian God, and with Trump their psyche is in love with him subconsciously because Trump's erratic behavior is on the same wavelength as their conception of God.

The more I thought of it the clearer it became. If you actually read the Old Testament, God is a really messed up deity. He is viciously cruel, unfair, and mercurial in judgments. And that is SO Trump! The whole thing falls into place with amazing clarity.

Of course there is the "Jesus" thing that is supposedly the Christian reason for the season, but when you can only hold one idea in your head at a time, cruelty generally wins out. And that is another amazing thing about evangelicals, they seem to somehow never notice any of the liberal and compassionate stuff in the Gospel and by some religious alchemy they filter away anything that an authoritarian sees as weakness.

So while I might see the Beatitudes as a temptation to join a Christian cult where there are irrational ideas like,
  • Blessed are the poor in spirit
  • Blessed are the meek
  • Blessed are they who hunger
  • Blessed are the merciful
  • Blessed are the peacemakers
These thoughts are ignored by any notable evangelical and in the age of Trump such revolutionary thoughts are actually anathema to the Trump/Republican way of life. Trump is always about being “strong”, being “really wealthy”, being bellicose, belligerent, and always threatening. Basically modern evangelicals have adopted Trump and anti-Beatitude framework.

The short version is evangelicals worship a cruel, confusing, mercurial God and Tump is a cruel, confusing, mercurial president. The connections make themselves.

the article is not perfect but still worth reading

https://evonomics.com/lakoff-no-one-knows-why-trump-is-winning/

11/23/2019

There is no "I" there is only NOW!

From Nathan Gill's "Clarity"

“There does not need to be any kind of ‘event’ associated with the recognition of our true nature. Well, as it happened, in September 1998 an event arose. I was gardening and the rain was drizzling down. I looked up, and there was a subtle sense of ‘me’ not being there. I got on my bike and cycled around the lanes and it seemed as though there was a movie going on, without any effort necessary on my part to be taking part in it. With this sudden dropping of the ‘I’, all need for understanding fell away as knowing was revealed.”

First a confession. I became irritated and upset the other day at work when someone purposely or purposely on accident, would not respond to my questions. I think I was justifiably upset because of the inconvenience, But something about that just "pushed my buttons".

Well we got over it, but it took a while to figure out why I was REALLY so upset. I think it was my ego. By not paying attention to me they were diminishing "my" worth and and ego HATES that kind of stuff. Most work conflicts I immediately recognize as of little real importance and can keep my perspective. But this one seemed worse.

As I stewed about the disrespect to me and my surprising internal sensitivity, I finally realized I was dragging this act with me all the time. I couldn't let go of the past.

Then I remember Nathan Gill's story about how with "dropping of the ‘I’, all need for understanding fell away as knowing was revealed."

Last year my thought was that there is only NOW, and we are all living in the NOW and the constant worry about the past and the future was just stuff we keep projecting in our brains during the NOW. And that is what I was doing. My ego was constantly replying this disrespect and it take on a life of its own.

Just remembering that story a bit of the ego, the "I" dropped away and my muscles relaxed. Not dramatically like Gill, but still it was something I could feel.

And I think most of society is like that. We are all a bunch of wounded egos running around upset because somebody disrespected us or our team, be that a political team, sports team, or religious team. So to drop the "I" you drop ego, and without ego there is nothing to offend.

So to calm down, my mantra is : There is no "I" there is only NOW!

10/10/2019

Tapleyism

Tapleyism
PRONUNCIATION: (TAP-lee-i-zuhm)

MEANING: noun: Extreme optimism, even under most hopeless circumstances.

ETYMOLOGY:After Mark Tapley, a character in Charles Dickens’s Martin Chuzzlewit (1843-44). Earliest documented use: 1857.