Go to advanced search

by bjtheone
Mon Jun 15, 2020 8:44 pm
Forum: Troubleshooting
Topic: Removed Sudo Directory
Replies: 13
Views: 479

Re: Removed Sudo Directory

It depends on the knowledge, resources and level of desperation. I have participated in the making of disasters (everyone has a -r story) and in the fixing of other folks disasters. When you have no good backup (assigning backups to the FNG and not checking up on them is not a good plan) , and it re...
by bjtheone
Mon Jun 15, 2020 8:32 pm
Forum: Other programming languages
Topic: I get an error when using brackets in JAVASCRIPT
Replies: 15
Views: 700

Re: I get an error when using brackets

PeterO wrote:
Mon Jun 15, 2020 6:57 pm
In my world .....

() are round brackets
[] are square brackets
{} are curly brackets

PeterO
I live in Peter's world...
by bjtheone
Mon Jun 15, 2020 8:17 pm
Forum: Beginners
Topic: Autostart program by cli command
Replies: 15
Views: 353

Re: Autostart program by cli command

Yes it is, but work by command line too. In fact my focus is to execute same command(twinkle -c) that work by terminal. Do u think can i solve using longer "sleep" in crontab? I don't understand by default which user run o raspi. Because i need just to execute Twinkle, can u give mi other info abou...
by bjtheone
Mon Jun 15, 2020 8:12 pm
Forum: Beginners
Topic: New to the Raspberry Pi
Replies: 83
Views: 2292

Re: New to the Raspberry Pi

Keeping in mind that it was not designed with battery powered applications in mind and is rather power hungry, you certainly can run one off of battery power. Once you define your desired run time and what peripherals you also want along for the ride it is fairly simple to figure out how big a batte...
by bjtheone
Mon Jun 15, 2020 8:03 pm
Forum: General discussion
Topic: Raspberry Pi OS flavor comparison
Replies: 5
Views: 280

Re: Raspberry Pi OS flavor comparison

I believe that is because Kodi does something cute with the frame buffer to improve performance and then the window system (typically X11) has to get restarted and/or take it over.
by bjtheone
Mon Jun 15, 2020 5:30 pm
Forum: Beginners
Topic: New to the Raspberry Pi
Replies: 83
Views: 2292

Re: New to the Raspberry Pi

I'm more than likely to go for the Pi4 8GB model, what else would I need to buy apart from a keyboard, mouse wireless adapter, and HDMI lead which I already have, what be the best type of case to put the Pi4 in and anything else that I may need. Pi 4B uses a micro HDMI cable, which is not super pop...
by bjtheone
Mon Jun 15, 2020 5:18 pm
Forum: General discussion
Topic: Is this just a name change to Raspberry Pi OS ?
Replies: 10
Views: 440

Re: Is this just a name change to Raspberry Pi OS ?

Debian indeed does Toy Story characters, Ubuntu does descriptive animal, by alphabetical order. Personally I think it is easier to remember than redhat's numbering.
by bjtheone
Mon Jun 15, 2020 2:42 pm
Forum: Beginners
Topic: Post a Summary of BEGINNER Commands?
Replies: 21
Views: 630

Re: Post a Summary of BEGINNER Commands?

I suspect a simple list of BEGINNER commands is not going to change much from release to release. Presumably the OP is referring to the command line. of refer to something like https://www.howtogeek.com/412055/37-important-linux-commands-you-should-know/ The problem is that presumably the beginner ...
by bjtheone
Mon Jun 15, 2020 2:36 pm
Forum: Beginners
Topic: Post a Summary of BEGINNER Commands?
Replies: 21
Views: 630

Re: Post a Summary of BEGINNER Commands?

Was trying to figure out if you could build a pipeline with alien to do it. I suspect that you would just end up with a very broken system. You could define rpm as an alias to dpkg... :-)
by bjtheone
Mon Jun 15, 2020 2:30 pm
Forum: Beginners
Topic: New to the Raspberry Pi
Replies: 83
Views: 2292

Re: New to the Raspberry Pi

I have both and agree with James, the only task that annoyed the 4GB model was opening way too many browser windows. With the 8 GB model I can be even more entitled with my browsing and research habits. The 4GB is a huge step up from a 3B+. For general desktop stuff, going from 1 GB to 4 GB makes a ...
by bjtheone
Mon Jun 15, 2020 2:19 pm
Forum: General discussion
Topic: Raspberry Pi OS flavor comparison
Replies: 5
Views: 280

Re: Raspberry Pi OS flavor comparison

Lite == just the OS, no windowing system - suitable for building servers, or as a baseline for building your own setup, with a different window system, window manager, etc With Desktop == OS + Window Manager + some programs - suitable for use as a general desktop, has X11 + LXDE Window Manager + the...
by bjtheone
Mon Jun 15, 2020 2:11 pm
Forum: General discussion
Topic: Is this just a name change to Raspberry Pi OS ?
Replies: 10
Views: 440

Re: Is this just a name change to Raspberry Pi OS ?

It is the same as Raspbian-Buster, with the standard proviso that a newly built release will be slightly different than an older release that has been fully updated, for the 32 bit version. Likely the Lite verisons will be closer to identical, since there is less "stuff" in them. Obviously the 64 bi...
by bjtheone
Mon Jun 15, 2020 11:36 am
Forum: Beginners
Topic: automatically remember running apps when logging out
Replies: 11
Views: 441

Re: automatically remember running apps when logging out

Odd, it should not do that. Normal behaviour is to default to whatever the last selected Window Manager was. How did you build it? Starting from Raspbian Lite (now Raspberry Pi OS Lite) and adding MATE works as you would expect. Mate-tweak is a addon utility that allows you set set a bunch of Mate s...
by bjtheone
Mon Jun 15, 2020 11:25 am
Forum: Beginners
Topic: Post a Summary of BEGINNER Commands?
Replies: 21
Views: 630

Re: Post a Summary of BEGINNER Commands?

Would it be presumptuous to post a summary of commands, in one place, that could be useful to other beginners as they are/were to me? I have prepared the list from the answers to my questions and requests for assistance. It seems this would be rather useful if this is something suitable to share in...
by bjtheone
Mon Jun 15, 2020 11:17 am
Forum: Beginners
Topic: Post a Summary of BEGINNER Commands?
Replies: 21
Views: 630

Re: Post a Summary of BEGINNER Commands?

The biggest problem with this is what level are you aiming at? Do you try and explain the shell or the GUI, do you assume folks know Windows and are looking for a mapping of functionality? Beyond that there are tons of resources aimed at all levels from beginner to expert. As Dougie mentioned, many ...
by bjtheone
Sun Jun 14, 2020 1:55 am
Forum: Troubleshooting
Topic: Removed Sudo Directory
Replies: 13
Views: 479

Re: Removed Sudo Directory

I've been having some issues with my raspberry pi 3, and somehow ended up running: sudo rm * In the directory /usr/bin Now that I have done that and try updating using: Classic example of why you should avoid using sudo. sudo and "rm *" should ring alarm bells! If you desperately need to run "sudo ...
by bjtheone
Sat Jun 13, 2020 9:51 pm
Forum: Beginners
Topic: setting up a new pi4
Replies: 4
Views: 268

Re: setting up a new pi4

With a fan you do not need the heatsinks. I am a big fan of the Pimoroni Fan Shim. Honestly with a open style case the fan (which is temperature controlled) runs very infrequently (comes on at 65, shuts off at 55) unless I am watching Netflix. One concern with cheap heatsink kits, the double sided t...
by bjtheone
Sat Jun 13, 2020 2:23 am
Forum: General discussion
Topic: Compiling a C program on Windows for the Pi 4b?
Replies: 5
Views: 224

Re: Compiling a C program on Windows for the Pi 4b?

"uname" is a Linux command. If the makefile is not working, your build environment is not setup correctly. This would be easier if you were trying to do it on a x86 PC running Linux, but is possible on a Windows machine with the right toolchain setup. If you do not understand the suggestions in the ...
by bjtheone
Sat Jun 13, 2020 2:13 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 extremely slow boot >5
Replies: 4
Views: 192

Re: Raspberry Pi 4 extremely slow boot >5

A couple of obvious questions, did it boot normally before you put it in the case? Did it boot normally before you installed the Argon script? If the answer is yes to either of those, I suggest to start there. It certainly should not take that long to boot. Potentially the script is doing something ...
by bjtheone
Sat Jun 13, 2020 1:57 am
Forum: Beginners
Topic: Delete pi user in Raspbian
Replies: 16
Views: 24687

Re: Delete pi user in Raspbian

Easiest is just renaming user pi to whatever you want, via "usermod" command. The trick is to be running at the console. Assuming nothing else is running with your username other then the shell on the console - no X session, no ssh login, etc, the following works: exec sudo -s cd / usermod -l newnam...
by bjtheone
Sat Jun 13, 2020 1:44 am
Forum: General discussion
Topic: Raspberry vs Arduino industrial aplication
Replies: 19
Views: 723

Re: Raspberry vs Arduino industrial aplication

I suspect that it depends on where you live. When we commission new equipment in the plant we have to get it certified as to its compliance. Given that most of the equipment I care about is sourced from Germany, it tends to have German power setups. Said equipment is UL/CSA certified. In some cases ...
by bjtheone
Fri Jun 12, 2020 5:36 pm
Forum: Beginners
Topic: Increase the wifi range
Replies: 15
Views: 9863

Re: Increase the wifi range

Fortunately, with us being users and not manufacturers, we're not required to seek regulatory approval. Change "not required to seek regulatory approval" to "not able to seek..." Beyond that, I suspect that messing about with WiFi is forboten in most parts of the world, especially if you are muckin...
by bjtheone
Fri Jun 12, 2020 5:00 pm
Forum: Troubleshooting
Topic: @reboot in crontab
Replies: 6
Views: 190

Re: @reboot in crontab

Think what you need to have available to successfully run chromium (OS up, networking up, windowing system up with a DISPLAY defined, potentially internet connection depending on what page you are trying to display). I suspect that you do not have all of these "resources" available when @reboot runs...
by bjtheone
Fri Jun 12, 2020 4:24 pm
Forum: Troubleshooting
Topic: python file won't run on boot from crontab
Replies: 13
Views: 479

Re: python file won't run on boot from crontab

Note: I think (but am not certain, that is why I say "think") that fonts are looked up via a PATH sort of mechanism that, like the executable PATH mechanism, doesn't look in the current directory by default. Unikely, there's no font path related environment variable set in any shell I'm using. I su...
by bjtheone
Fri Jun 12, 2020 2:00 pm
Forum: Advanced users
Topic: Viewing both HDMI outputs remotely
Replies: 4
Views: 334

Re: Viewing both HDMI outputs remotely

Other than I think you have a bunch of typos in your "1" and "2"s which makes your question slightly confusing, you should be able to specify the display # when you initiate the VNC connection. The exact syntax will vary but it will be something like: vncviewer [options] [host][:display#] You may ha...

Go to advanced search