Go to advanced search

by klricks
Fri Jul 10, 2020 12:53 am
Forum: Beginners
Topic: How do I print a Python Program
Replies: 33
Views: 832

Re: How do I print a Python Program

@DougieLawson Thank you. That sudo command has worked and now it will print using the Print option in the File Tab. It only printed in Monochrome though and completely ignored the colour which is present in the IDLE program listing. I will try pasting the Program into Libre Office to see if that re...
by klricks
Thu Jul 09, 2020 6:55 pm
Forum: Beginners
Topic: How do I print a Python Program
Replies: 33
Views: 832

Re: How do I print a Python Program

I don't know how to fix your issue but a workaround might be easier...
- Copy & Paste the scrirpt into LibreOffice doc.
- Save to a USB stick and move to a different computer
- Email the file to yourself with a web based email then retrieve on a different computer.
etc
by klricks
Thu Jul 09, 2020 5:53 pm
Forum: Other projects
Topic: Motorcycle Speedometer
Replies: 11
Views: 436

Re: Motorcycle Speedometer

Can your screen be seen in bright daylight/sunlight?
by klricks
Thu Jul 09, 2020 1:38 am
Forum: Troubleshooting
Topic: [Solved] 2x Text Editors
Replies: 4
Views: 127

Re: 2x Text Editors

Looks like you upgraded from an older install.
The default text editor for new installations is now Mousepad. Old installations used Leafpad.
You can use [Menu] --> [Preferences] --> [Main Menu Editor] to disable the one you don't want or change the names if you want to have both.
by klricks
Tue Jul 07, 2020 1:46 am
Forum: Troubleshooting
Topic: blinking red light.....not the power supply
Replies: 3
Views: 135

Re: blinking red light.....not the power supply

Most power supplies have an over-current and/or thermal protection circuit which will automatically shut itself down when an over-current condition such as a short is detected. The PS will then attempt to auto restart but if the fault still exists it will shut down again. This power cycling will cau...
by klricks
Mon Jul 06, 2020 10:48 pm
Forum: Raspberry Pi OS
Topic: How to automate a command?
Replies: 30
Views: 1063

Re: How to automate a command?

.......... Nope this is what I meant nothing more, don't read any deeper just instruct me step by step how to achieve the below. Can someone walk me through the steps to automate the command sudo apt-get update using python I want to run the python script by double clicking on a file or icon on the...
by klricks
Mon Jul 06, 2020 5:13 pm
Forum: Official Foundation Display
Topic: How do I turn on the display when it's off?
Replies: 4
Views: 454

Re: How do I turn on the display when it's off?

I'm using a Raspberry Pi 4B and the official 7" touch display. Both are powered independently. Scenario 1: I plug-in the screen, then I plug-in the Pi. Outcome: Everything works great! Scenario 2: I plug-in the Pi, then I plug-in the screen. Outcome: The screen does NOT come on. In scenario 2, how ...
by klricks
Sat Jul 04, 2020 1:25 am
Forum: Troubleshooting
Topic: Official Raspberry Pi Keyboard - Shift Key Malfunction
Replies: 1
Views: 88

Re: Official Raspberry Pi Keyboard - Shift Key Malfunction

There have been several posts here about faulty RPi keyboards with various problems. Wrong characters appearing........ double characters etc.
Generic 105 is the correct setting.
I think you need to contact the reseller for a replacement.
by klricks
Fri Jul 03, 2020 11:49 pm
Forum: General discussion
Topic: Raspberry Pi 4 8GB GPU Memory Split
Replies: 21
Views: 1100

Re: Raspberry Pi 4 8GB GPU Memory Split

The GPU does not run general applications or processes. Allocating too much to the GPU will hurt more than help.
See: https://www.raspberrypi.org/documentati ... /memory.md
by klricks
Fri Jul 03, 2020 9:59 pm
Forum: General discussion
Topic: Raspberry PI OS Lite keyboard localization??
Replies: 4
Views: 175

Re: Raspberry PI OS Lite keyboard localization??

I just created a new Buster lite image with the new RaspberryPI imager and I've gone through the initial setup including the localization for USA, English, and EDT timezone. However the keyboard section just returns without any of the usually setup options. As a result when I use the keyboard, a Sh...
by klricks
Fri Jul 03, 2020 6:21 pm
Forum: Beginners
Topic: RPiOS Screensaver
Replies: 3
Views: 143

Re: RPiOS Screensaver

If I leave my Pi 3 idle for approx 5 mins the screen goes black but if I move the mouse then it's back to normal, where are the settings to change or stop this in RPiOS. Documentation lacking clarity ?? https://www.raspberrypi.org/documentation/configuration/screensaver.md The documentation is out ...
by klricks
Fri Jul 03, 2020 2:19 pm
Forum: Beginners
Topic: Selected Keyboard - Pi 3 B+
Replies: 2
Views: 109

Re: Selected Keyboard - Pi 3 B+

I have a Penixx Wireless 2.4G optical Desktop Set Keyboard connected to my Pi 3+ Model No. PERIDUO-712 When I look at the Mouse and Keyboard Settings, it shows that I have Keyboard Model: Generic 105-key PC (intl.) selected, should I leave this as it is or should I change it. For example, as I'm cu...
by klricks
Thu Jul 02, 2020 10:11 pm
Forum: General discussion
Topic: Problem - RCA Cable for Raspberry Pi3 B
Replies: 7
Views: 362

Re: Problem - RCA Cable for Raspberry Pi3 B

Do not use code tags on your links. They are not 'clickable'. You can edit your original post and remove the [code.] and [/code.]. The RPi defaults to NTSC (US). ( sdtv_mode=0 ) If your CRT is Brazilian PAL then you have to make a change to /boot/config.txt and add sdtv_mode=3 See: https://www.raspb...
by klricks
Thu Jul 02, 2020 3:16 pm
Forum: Beginners
Topic: Run Script at Startup
Replies: 3
Views: 1315

Re: Run Script at Startup

You just have to edit this file sudo nano .config/lxsession/LXDE-pi/autostart Add this command to run a script (in this example is called shboot.sh) @lxterminal -e /home/pi/shboot.sh Inside that script(shboot.sh) put what you want and make it executable with "sudo chmod 755 filename" I put those ki...
by klricks
Tue Jun 30, 2020 9:07 pm
Forum: Beginners
Topic: Python on RPiOS
Replies: 15
Views: 522

Re: Python on RPiOS

Raspberry Pi Micro wrote:
Tue Jun 30, 2020 7:41 pm
klricks wrote:
Tue Jun 30, 2020 7:07 pm
For me I connect remotely with VNC and do the [Alt] [Print Screen] from Windows 10. You should be able to do something similar with the MAC.
How do you connect remotely with VNC.
Documented on RPi website:
https://www.raspberrypi.org/documentati ... /README.md
by klricks
Tue Jun 30, 2020 7:07 pm
Forum: Beginners
Topic: Python on RPiOS
Replies: 15
Views: 522

Re: Python on RPiOS

What options are there for taking a screenshot on RPiOS, if it's the whole screen or just an active window. On Mac OS it's CMD + SHIFT + 3 and CMD + SHIFT + 4 Pressing the [Print Screen] key will capture the entire screen and save a .png image in the current directory. For more options you can run ...
by klricks
Tue Jun 30, 2020 5:01 pm
Forum: Beginners
Topic: Power-On/Switch-On via Ethernet
Replies: 2
Views: 154

Re: Power-On/Switch-On via Ethernet

You mean Wake On LAN or WOL
No the RPi does not support WOL without additional add on(s).
by klricks
Tue Jun 30, 2020 3:33 pm
Forum: Beginners
Topic: Python on RPiOS
Replies: 15
Views: 522

Re: Python on RPiOS

As mentioned use Thonny. Ok thank you, is this the same or slightly different version of python. From the Thorny View menu, what should I have selected or shown. The Thonny IDE is not itself Python.....It is a tool to help you write and debug your Python code. As mentioned any text editor such as n...
by klricks
Tue Jun 30, 2020 2:23 pm
Forum: General discussion
Topic: Getting shock from micro hdmi port when connected to tv hdmi port
Replies: 66
Views: 2545

Re: Getting shock from micro hdmi port when connected to tv hdmi port

Most (all?) 240V countries have keyed plugs. 120V countries' standards are -- pun only semi-intentional -- shocking. And amazingly dangerous. Someone here (I forget who, sorry) posted a photo of a 6-way US-style extension lead. That's *90A* total potential current draw, and was, AFAICT, unfused. It...
by klricks
Tue Jun 30, 2020 1:39 pm
Forum: General discussion
Topic: Raspbian Buster no screens found at startx
Replies: 5
Views: 215

Re: Raspbian Buster no screens found at startx

Ayvn wrote:
Tue Jun 30, 2020 1:31 pm
So there is no way to use VNC Viewer if PI4 is unplugged to HDMI and forced the resolution?
No.... as I said to fix the issue you need to use sudo raspi-config to set a forced screen resolution of your choice. (Choose anything other than default monitor).
by klricks
Mon Jun 29, 2020 3:26 pm
Forum: Troubleshooting
Topic: Main menu removing Run and Shutdown item
Replies: 4
Views: 558

Re: Main menu removing Run and Shutdown item

This does not work. What would be another way to take it away? This does work if you properly edit the correct file: ~/.config/lxpanel/LXDE-pi/panels/panel Remove the following lines: item { name=Run... image=system-run command=run } separator { } item { name=Shutdown... image=system-shutdown comma...
by klricks
Sat Jun 27, 2020 6:59 pm
Forum: Off topic discussion
Topic: Window bug on Pi 2b-3b+-4
Replies: 6
Views: 931

Re: Window bug on Pi 2b-3b+-4

So. Do you know how you can move a window by dragging the title bar? How you can click on the X, -, and box in the top corner? How you can change the window size? Well that doesn't work on my pi This has happened consistently to my pi2b, 3b+, and pi4 after adding the Desktop Pager to the taskbar vi...
by klricks
Sat Jun 27, 2020 5:20 pm
Forum: Beginners
Topic: Raspberry Pi shows a colorful screen when booting raspberry pi os desktop
Replies: 5
Views: 176

Re: Raspberry Pi shows a colorful screen when booting raspberry pi os desktop

Last week I bought a RaspberryPi 4 with 8 GB ram. When I wanted to boot the raspberry pi os via the raspberry pi imager just a colorful screen appeared briefly, but quickly disappeared again. In the internet I read that a colorful screen means that you have to use another system but I used the offi...
by klricks
Fri Jun 26, 2020 5:14 pm
Forum: HATs and other add-ons
Topic: Connecting a rocker switch to the PowerBlock
Replies: 1
Views: 171

Re: Connecting a rocker switch to the PowerBlock

Your switch appears to be a DPST type: http://www.learningaboutelectronics.com/Articles/What-is-a-double-pole-single-throw-switch-DPST so there are actually 2 switches. You only need to connect to the 2 contacts on one side of the switch. If in doubt use an ohm meter or continuity checker to figure ...
by klricks
Thu Jun 25, 2020 11:11 pm
Forum: General discussion
Topic: Raspbian Buster no screens found at startx
Replies: 5
Views: 215

Re: Raspbian Buster no screens found at startx

On RPi4 If you don't have a HDMI monitor attached then by default no frame buffer is created so nothing that requires desktop GUI will work.
Use sudo raspi-config to set a forced screen resolution of your choice. (Choose anything other than default monitor).

Go to advanced search