Raspberry Pi for single purpose without display - Raspberry Pi Q&A, Help & Troubleshooting

I love raspberry pi and I made many programs in Python. One of them is a cool GPIO robot controlling program. But I want to use my pi without any display and I also want my pi to run that specific program when it is powered.
I mean without booting all that Raspbian os and all that.
Is that possible.
If yes then please let me know
Thanks.

Hi! Yes, you could burn the lite version of raspbian on your sdcard. The lite version just has the basic stuff without "fancy" extras! Once booted up, write or copy your script to your pi, to a location you remember and start it at boot with the correct entry in the rc.local file!
Example line: python /home/pi/example_dir/YOUR_SCRIPT.py
I hope i could help!

Related

[Q] Advice for my project

So i'll be going to pick up my pi from ups tomorrow, and thought i would get somew advice from those wiser then myself.
The main function for my pi will be as a media player, from my external hdd. But i also want it to act as a server for the drive, allowing streaming and file transfers through my lan for both android devices and win vista/7 computers. In addition i would like it to serve as a network bridge for my xbox(i'm too cheap to spring for a wifi reciever) via ethernet. Also some light web broswing/youtubeing.
My big question is: Which OS would be best for these purposes, and what programs/packages would i need. Would i be better off with openelec or raspbmc. Or raspian with xbmc? This is somewhat new territory for me, and i'm anxious to learn. I would love to hear everyone's thoughts on what would work best
As you want to do different tasks I would recommend the standard Debian to you, because it's designed for general tasks. Special distributions like raspmbc are designed for one thing they are good at (my humble point of view )
I would install android on this device, of course with a costum rom spezial for the device... I hope some developers would do it Then I want buy me a Raspberry Pi too
Yeah if you wanted to have the option of downloading applications other than xbmc, like browser, games, etc. then i would suggest installing a Debian based system such as Raspian.
If you want a more automatic install and you are new to linux then use either Debian or Debian-based "Raspian"
Personally i like Arch Linux OS because it is the lightest distro out and most customizable, meaning you choose everything you want to install no bloatware unless you choose to add it. From A to Z you know whats installed. Great documentation out there as far as the fully manual install process.
@akakai, I couldn't disagree more. If you know what you are doing, you can do the same with Debian. I do it myself when I set up servers or desktops.
mihaum said:
@akakai, I couldn't disagree more. If you know what you are doing, you can do the same with Debian. I do it myself when I set up servers or desktops.
Click to expand...
Click to collapse
i didnt say you couldnt do it, but im saying Arch Linux if you have ever used it. Starts you out in a terminal with no gui whatsoever. the only way it comes... yeah in Debian you can do the same thing, but there is a GUI option.
Dont disagree on a non issue. Generally Debian is known for being preconfigured where as Arch linux is not preconfigured for you at all, unless you get a derivative of it.
Dont want to start anything, but add to the post by stating facts or how you can help the guy asking for advice not putting down what i have said that is actually accurate info.
For what 4Gb SD cards cost these days, get two or three and load them up with various distros and try them all out to your heart's content.
If you make a hash of something, reload the image and start again.
Eventually, when you have got it to do what you want, put it on to a bigger, more expensive card, if you need that amount of storage.
All images are for 2Gb SD cards. The Debian release has an option on initial boot up to expand the root partition to the available size of the disk. With Arch you will have to roll your sleeves up, and do it yourself first with Gparted Live or something similar.
Good luck!
Update: The Rasbian build now requires a 4Gb card minimum.
Advice for medium length project.
I am thinking about creating a cluster for scientific high performance computing, but I know close to zero on this hardware. where to begin? Start with creating a PC and expand from there? Any advice would be helpful for a multiyear project.

xbmc and python

Hey,
my raspberry pi is just arrived and setup with pre installed xbmc (openelec)
i was searching the web how about to make my own add-on, python basic
but i am stuck, i know how to make a python script but how do i put it on my raspi to run it?
has some one a good tutorial how to make one, it is a new world for me
my language are only PHP,HTML and some of java, so python is new to me.

Need help for merging python programs

I was doing my first raspberry pi electronic project. I choosed the adafruits Google docs logging project for a start. The project was a success and I obtained a complete output. My problem is , when I looked into the python program provided by adafruit (got it from github) it is calling other small programs. So I looked one of the called programs and it again calls other program.
I want to write a complete program that includes all the necessary things ie a stand alone version.
I want to write it in python 2. Also use a gpio pin 5. My model of pi is raspberry pi 2 model b.
I don't know whether I can include driver in my program. But if it is possible , I also want to include the driver too, please help me.

Problems with crashplan on Raspberry pi 3

I'm trying to get Crashplan to work on a Raspberry Pi 3 to back up some mounted hard drives.
I am currently using http://www.jonrogers.co.uk/2012/05/crashplan-on-the-raspberry-pi/ as my primary guide, as well as trying to put together the Headless Computer setup that's stated on Crashplan's site.
Everything was going great. I got Crashplan running and not crashing on my pi, and it seemed like everything was completely streamlined. Then all of a sudden on the Crashplan's Headless Computer setup manual: http://support.code42.com/CrashPlan..._On_A_Headless_Computer#Locations_Of_.ui_info
it says:
On the remote computer:
Close the CrashPlan app, if necessary.
Navigate to the file .ui_info.
On Linux, .ui_info is located at /var/lib/crashplan/.ui_info.
A list of .ui_info locations by operating system is provided below.
Open .ui_info.
Copy the authentication token from .ui_info for use on the local computer.
The authentication token is the string of alphanumeric characters and dashes that follows the comma.
Close .ui_info
Click to expand...
Click to collapse
.
There isn't a /var/lib/crashplan/ folder. There isn't even a .ui_info file located anywhere on the pi. I attempted to use mlocate, and found nothing anywhere near it.
I want to know where I'm going wrong here, or if I should even follow the advice of the Jon Rogers site and attempt this method and it's Headless Computer model. If anybody knows of a solution for this, it would be deeply appreciated!

Raspberry pi 3 Model B with some apps

Hello, I need some help!
I have a raspberry pi 3 model, with the raspbian OS installed, and i'm trying to make GUI menu with some buttons, and when i click it will start applications installed on the raspbian, like Kodi, Libre Office and others or a page browser.
But the problem is that I can't make it. I already tried the Glade and the Python but that doesn't allow me to do what I really want.
Does anyone know such a program?
Thanks
Maybe you could try with MonoDevelop. It should be easy to start making GUI apps. Install it (look here) and make a new GTK# Application

Categories

Resources