Go to advanced search

by penguinmanraspberry
Mon May 01, 2017 4:39 am
Forum: Beginners
Topic: Running Idle as root from desktop
Replies: 8
Views: 21938

Re: Running Idle as root from desktop

Both 'Solutions' in this thread do not work. The first solution 'create a text file link on the desktop' won't execute anything it will just open the text file with an editor. The second solution recommends editing a file in ~/Desktop that doesn;t exist. We require a right-click context menu that sa...
by penguinmanraspberry
Mon Oct 26, 2015 4:49 am
Forum: Python
Topic: New pigpio Python module
Replies: 204
Views: 81315

Re: New pigpio Python module

I would like to use pigpio.

However when trying to run any example or code snippet (using idle) I get

Can't connect to pigpio on localhost(8888)
and various other messages that make no sense to me.
etc

Are there instructions for setting up and using pigpio on the raspberry pi ?
by penguinmanraspberry
Mon Oct 26, 2015 12:55 am
Forum: General discussion
Topic: GPIO
Replies: 6
Views: 1257

Re: GPIO

Hi, I was born after 1970, so I often use a mouse to click on the Blue Cog icon. How do we configure SPE to execute as super user when we click on the Blue Cog icon ? Also, how do we make every command and every application automatically run with super user privileges. i.e disable this continuous an...
by penguinmanraspberry
Thu Oct 02, 2014 10:34 am
Forum: General discussion
Topic: please help
Replies: 40
Views: 11922

Re: please help

Is there an example of using C/C++ to talk to a socket.io server anywhere here ?.. I see various arguments and gobbledygook about java and node.js etc. I'm happy to use java if I was writing a web page. Unfortunately I need to use a proper language (C) to do everything else in my application; file i...
by penguinmanraspberry
Tue Jul 15, 2014 9:40 am
Forum: Beginners
Topic: Downloading with Midori
Replies: 7
Views: 4116

Re: Downloading with Midori

We need to click on things and download them Things like text documents, and python script examples. We need to be super user by default. Copy over things, move things, wreck things , whatever. If it breaks I will put a new SD card in. (Low cost SD card; invented a while back shortly after the mouse...
by penguinmanraspberry
Sun Jul 21, 2013 9:42 am
Forum: Beginners
Topic: Programming in C
Replies: 21
Views: 5619

Re: Programming in C

I conclude that your experience is worth more or less than this value, as the problem is not trivial for me to solve.
by penguinmanraspberry
Tue Jul 09, 2013 10:39 am
Forum: Beginners
Topic: Programming in C
Replies: 21
Views: 5619

Re: Programming in C

You appear to have set the permissions of /home/pi to 0777. This breaks ssh keys. There is no possible benefit, either. There are no other users in the image who you might want to write to ~pi. Mostly, this demonstrates a fundamental lack of understanding of the Unix permissions model. World write ...
by penguinmanraspberry
Mon Jul 08, 2013 9:40 pm
Forum: Beginners
Topic: Programming in C
Replies: 21
Views: 5619

Re: Programming in C

Raspberry PI setup with qt creator all working, ready to go. On google drive https://docs.google.com/file/d/0BzlzkYnikK1LbGdZbXRtZDF6TVU/edit?usp=sharing "I would be suspicious of anyone claiming to be a programmer who can't use cc/gcc", I was editing make files in Microware OS9 when you were still ...
by penguinmanraspberry
Sun Jul 07, 2013 10:07 pm
Forum: Beginners
Topic: Programming in C
Replies: 21
Views: 5619

Re: Programming in C

SD card image: https://skydrive.live.com/embed?cid=CF9BE91B1285C9F8&resid=CF9BE91B1285C9F8%21153&authkey=AGPjefF6cikSccw <iframe src="https://skydrive.live.com/embed?cid=CF9BE91B1285C9F8&resid=CF9BE91B1285C9F8%21153&authkey=AGPjefF6cikSccw" width="98" height="120" frameborder="0" scrolling="no"></if...
by penguinmanraspberry
Sun Jul 07, 2013 12:18 pm
Forum: Beginners
Topic: Programming in C
Replies: 21
Views: 5619

Re: Programming in C

Wohaa ! It seems that the Back-to-the-future car has appeared from 1984 and a linux admin stepped out with a text book of cc command line parameters, printed on a bunch of that dot-matrix paper with the tear-off holes on the sides. Thanks for the % cc -> etc whatever . for all the C developers, post...
by penguinmanraspberry
Sat Jul 06, 2013 3:23 am
Forum: Beginners
Topic: Programming in C
Replies: 21
Views: 5619

Programming in C

Hi, You, like me, want to write a program in C on the raspberry pi. You want to download an image to an SD card, boot it up and start developing. Unfortunately you can't do that at the moment..writing a simple C application (like you can do on every computer since 1982, as well as on most embedded m...
by penguinmanraspberry
Fri Jul 05, 2013 10:42 am
Forum: Beginners
Topic: StartX won't run under sudo
Replies: 7
Views: 7415

Re: StartX won't run under sudo

running startx under sudo is not recommended. I believe if you were to do it it would be sudo -H startx would need to look it up under the man sudo unless things have changed. What are you needing to do as root in X. I want to run everything as Super user, I want X to be root, and to have complete ...

Go to advanced search