Go to advanced search

by plumpi
Wed Mar 25, 2020 5:55 pm
Forum: Raspbian
Topic: netbeans not working on full Raspian Buster
Replies: 1
Views: 93

netbeans not working on full Raspian Buster

I have a 3B and I used the Pi Imager to install the latest full Raspbian on a 32G micro SD card. I then refeshed the cache using sudo apt-get update To make sure everything was completely up-to-date I then did the following a couple of times; sudo apt-get uprade Next I installed netbeans; sudo apt-g...
by plumpi
Wed Jul 19, 2017 2:13 pm
Forum: Beginners
Topic: How can I make a GUI program run at startup?
Replies: 2
Views: 1373

Re: How can I make a GUI program run at startup?

As RaTTuS suggested editing /home/pi/.config/lxsession/LXDE-pi/autostart would seem to be the way to do it. I wanted to run vncviewer on startup and ktb suggested I modified the above file as follows; @lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @xscreensaver -no-splash @point-rpi...
by plumpi
Fri Jul 14, 2017 12:30 pm
Forum: Beginners
Topic: Failed to open tty (Permission denied)
Replies: 15
Views: 3599

Re: Failed to open tty (Permission denied)

I am not going to be able to help you, but you should not give up just yet. It seems your application displays correctly using the HDMI interface and the button also works when the HDMI interface is used. On the other hand the LCD displays correctly but the button function does not work properly tho...
by plumpi
Thu Jul 13, 2017 11:01 am
Forum: Beginners
Topic: Failed to open tty (Permission denied)
Replies: 15
Views: 3599

Re: Failed to open tty (Permission denied)

The LCD is a touch screen. Are you "clicking" the button by pressing it with your finger or by using a mouse?
by plumpi
Wed Jul 12, 2017 9:54 am
Forum: Beginners
Topic: Failed to open tty (Permission denied)
Replies: 15
Views: 3599

Re: Failed to open tty (Permission denied)

It does sound as if this LCD http://www.waveshare.com/wiki/3.2inch_RPi_LCD_(B) is an alternative to using the HDMI interface since the documentation says you can "toggle" between the HDMI and the LCD. You are trying to write a GUI application so why not write it so that it runs correctly in Pixel us...
by plumpi
Fri Jul 07, 2017 10:22 am
Forum: Beginners
Topic: What kind of wire should I use
Replies: 2
Views: 1770

Re: What kind of wire should I use

All you need to know about wire;
http://www.dummies.com/programming/elec ... -projects/

Making the wiring neat and tidy and using colour to make the design obvious is very important as it will help you find faults.
by plumpi
Fri Jul 07, 2017 9:40 am
Forum: Beginners
Topic: Is there a way to disable wifi and bluetooth via hardware?
Replies: 11
Views: 4190

Re: Is there a way to disable wifi and bluetooth via hardwar

The reason why i ask about disabling it manually is because i'm worried about getting hacked while connected to the internet thus i'd like to minimize the time connected to the internet. But you are still going to connect to the internet from time to time with a wired connection? You could put your...
by plumpi
Fri Jul 07, 2017 9:21 am
Forum: Beginners
Topic: Failed to open tty (Permission denied)
Replies: 15
Views: 3599

Re: Failed to open tty (Permission denied)

You said that the LCD has an SPI interface but the supplier wrote This LCD reads the frame buffer of Linux for displaying, which may be confict with you application. That seems odd. You should post a link to data sheets for the LCD you are using as, despite what the supplier has said, somebody may b...
by plumpi
Thu Jul 06, 2017 2:16 pm
Forum: Beginners
Topic: Failed to open tty (Permission denied)
Replies: 15
Views: 3599

Re: Failed to open tty (Permission denied)

I am new to Raspian so this might be a red herring but do you need to run your application using sudo?
by plumpi
Thu Jul 06, 2017 2:12 pm
Forum: Beginners
Topic: How to change the Time
Replies: 19
Views: 75811

Re: How to change the Time

Your Pi should set its date and time when you boot if you are using a wired ethernet connection but it will not if you are just using WiFi . Your post has had about 50,000 views so a lot of people must be having issues with date and time, I know I did. @Surfer Tim gave me a solution which worked it ...
by plumpi
Sun Jul 02, 2017 5:19 pm
Forum: Troubleshooting
Topic: How run fsck on boot safely
Replies: 3
Views: 8392

Re: How run fsck on boot safely

You can't check active, mounted filesystems it would destroy your data. sudo touch /forcefsck; sudo reboot https://linux-tips.com/t/how-to-force-fsck-to-run-on-next-boot/256 (thanks Doug) I tried the touch and reboot but when I look in /var/log/fsck both the the files in there, checkfs and checkroo...
by plumpi
Sun Jul 02, 2017 5:00 pm
Forum: Troubleshooting
Topic: date and time not updating on boot
Replies: 3
Views: 1201

Re: date and time not updating on boot

If you are using wifi with no ethernet connection: sudo /sbin/iptables -t mangle -I POSTROUTING 1 -o wlan0 -p udp --dport 123 -j TOS --set-tos 0x00 sudo apt-get install iptables-persistent I am working just with WiFi and no hardwired ethernet connection. It never occurred to me that could be part o...
by plumpi
Sun Jul 02, 2017 4:56 pm
Forum: Raspbian
Topic: Using Adobe Flash Player
Replies: 8
Views: 3410

Re: Using Adobe Flash Player

This site seems to suggest Adobe Reader can be run on the Pi by somehow adding 386 architecture; http://okomestudio.net/biboroku/?p=2536 and I have seen other similar posts. What part of that page do you think is suggesting that it has anything to do with a Raspberry Pi? I had been searching for in...
by plumpi
Sun Jul 02, 2017 1:53 pm
Forum: Raspbian
Topic: Using Adobe Flash Player
Replies: 8
Views: 3410

Re: Using Adobe Flash Player

There are posts that say you can run x86 code on the ARM, you have to install something which sounds a bit messy. Chromium does not come with Raspbian by default, I have to install it is that correct? You response is gibberish. Download Raspbian Jessie with Desktop Operating System, create SD Card,...
by plumpi
Sun Jul 02, 2017 1:33 pm
Forum: Troubleshooting
Topic: How run fsck on boot safely
Replies: 3
Views: 8392

How run fsck on boot safely

I would like to run fsck when Rasbian on my Pi3 boots. How do I do this? I have seen comments that you can shutdown -F but it does not work and is I type man shutdown then -F is not displayed as an option. If I run fsck on boot will it damage my file system? Trying to run it from a booted system dis...
by plumpi
Sun Jul 02, 2017 1:26 pm
Forum: Troubleshooting
Topic: date and time not updating on boot
Replies: 3
Views: 1201

date and time not updating on boot

My Pi3 running Raspbian is not updating the date and time when it boots. Presently it shows the date as 28/May/2016.

I have changed the my timezone and rebooted but no joy.

How do I fix this or troubleshoot it further to find out what is going wrong.
by plumpi
Sat Jul 01, 2017 8:04 pm
Forum: Troubleshooting
Topic: Browser losing disk space
Replies: 4
Views: 569

Re: Browser losing disk space

DougieLawson wrote:At a rough guess it'll be filling some sub-directory under /home/pi/.cache/
If I go into /home.pi and type du I see
57320 ./.cache
so it has not gone there. It worries me that the GUI file system and the df command show different totals, it is as if disk space is leaking away somewhere.
by plumpi
Sat Jul 01, 2017 7:53 pm
Forum: Raspbian
Topic: Using Adobe Flash Player
Replies: 8
Views: 3410

Re: Using Adobe Flash Player

I have seen posts saying that Adobe Flash Player is not supported for Raspbian. However this website https://get.adobe.com/flashplayer/otherversions/ includes an options for 32 and 64 bit Linux. Is there some reason this cannot be downloaded and used? Should I use the 32 or 64 bit download, I know ...
by plumpi
Sat Jul 01, 2017 7:38 pm
Forum: Troubleshooting
Topic: Browser losing disk space
Replies: 4
Views: 569

Browser losing disk space

I was viewing a lot of YouTube ivideos in the browser, and the browser began to completely shut down unexpectedly. I cleared everything in the browser, cookies, passwords, temporary files and history and I emptied my trash but my folders show there is only 1Gb of freespace from 6Gb. Using the df com...
by plumpi
Sat Jul 01, 2017 3:44 pm
Forum: Raspbian
Topic: Using Adobe Flash Player
Replies: 8
Views: 3410

Using Adobe Flash Player

I have seen posts saying that Adobe Flash Player is not supported for Raspbian. However this website https://get.adobe.com/flashplayer/otherversions/ includes an options for 32 and 64 bit Linux. Is there some reason this cannot be downloaded and used? Should I use the 32 or 64 bit download, I know t...
by plumpi
Tue Jun 27, 2017 1:41 pm
Forum: Beginners
Topic: RealVNC viewer file transfer
Replies: 2
Views: 2223

Re: RealVNC viewer file transfer

The only way I know is to run RealVNC in the default service mode on the RPi and run the official viewer software on the PC. Get the viewer from here only: https://www.realvnc.com/download/viewer/ Files can be transferred either direction. I am running the RealVNC Viewer on the Pi3, the Server is U...
by plumpi
Tue Jun 27, 2017 8:39 am
Forum: Beginners
Topic: RealVNC viewer file transfer
Replies: 2
Views: 2223

RealVNC viewer file transfer

I am using the RealVNC viewer included in Raspbian to access an UltraVNC server running on NT. The viewer appears to work fine except that the link for file transfer is grayed out and mouse-over displays the text VNC Server does not support file transfer The UltraVNC server does support file transfe...
by plumpi
Sat Jun 24, 2017 5:39 pm
Forum: C/C++
Topic: Undefined reference
Replies: 18
Views: 3653

Re: Undefined reference

So it is using the library functions now. Yes it must be, but perhaps the compiler still optimises some calls to use instructions. Maybe one day I'll dig deeper and look at the assembler but that is going to far for me just now. The main thing is that the program now links and I have a fair underst...
by plumpi
Fri Jun 23, 2017 1:24 pm
Forum: C/C++
Topic: Undefined reference
Replies: 18
Views: 3653

Re: Undefined reference

What hardware platform (FPU) was that? And what compiler options?
I compiled on my Pi3. I ran the compiler from the command line and to get the errors used

Code: Select all

gcc -o main main.c
Adding a -lm to the options removes the errors.
by plumpi
Fri Jun 23, 2017 12:27 pm
Forum: C/C++
Topic: Undefined reference
Replies: 18
Views: 3653

Re: Undefined reference

For interest, some machines have instructions for transcendental functions such as sin() etc (Intel x87). But these instructions perform poorly compared to the library functions (limited range and less accurate), so even though they are a tempting two bytes, they are not used. On the other hand, sq...

Go to advanced search