Jump to content

Welcome, Guest!

Mr Mark

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mr Mark

  • Rank
    Advanced Member

Contact Methods

  • Location
  1. You will have a file called "rc.local" located at "/etc/rc.local", edit the file and add "/usr/bin/sudo -u <insert your RPi user here> vncserver" (for example, mine reads: /usr/bin/sudo -u pi vncserver). This should start TightVNC Server. This file will end with the line "exit 0", so anything you add needs to go before this line or it won't run. Mark
  2. I installed a heatsink on each of my pi's in FNQ as the ambient temperature is reasonably high. I got them from Jaycar (Australia) for a few bucks each and my 2 pi's at home run about 5 degree C cooler. They were these ones: http://www.jaycar.com.au/productView.asp?ID=HH8580 Mark
  3. Thanks for the link 1pi2many. I've made one of my pi's into a lighting control server and use cron for scheduling a number of things - lights on/off, subwoofer off, sending 'go to bed' reminders to WMC etc. One of the features used on the front end (iPad) is an icon to display whether it is day or night and some of our customers want astronomical timing rather than simple schedules to change over. Personally, I think they need a hobby . Also, another product we use has this functionality so I am trying to match feature for feature. Will post here how I go. Mark
  4. Hello all. I recently discovered CRON to schedule events on my pi but want to take this one step further and use sunrise and sunset times to trigger events. Can anyone point me in the right direction? Regards, Mark PS: learning more every day but nowhere near fluent with Linux.
  5. Excellent! I had tried: own_window_type normal; own_window_type override; own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager and more without success. Many thanks, Mark
  6. Not quite there. Conky displays all the info as expected, and I've used the same conf file as enix316 posted above (changed the text). Problem is, when I click on any icon or anywhere on the desktop, all the info disappears. Is there a way to keep this data on screen?
  7. Note: to autostart this one, edit the 'autostart' file in '/etc/xdg/lxsession/LXDE' and add '@conky' to the bottom of the file.
  8. enix316 - love your work! I changed your line sourcing the external IP address to: ${color red} IP: $color $addr and it now displays the local IP address. Looking at it now, I wonder why I shelved this project... Definately learning something new everyday with Linux and RPi. Thanks again, Mark
  9. Hello enix316. I started to look into Conky and decided to put it off until I have some more spare time as Pi has been my first venture into Linux. Will let you know if I make any progress in the near future.
  10. Thanks for the replies, but not quite what I'm after. By default I set all my RPi's with static IP's as I have a few here for testing and am about to deploy some to remote sites. What I'm aiming for is to have the IP displayed automatically as part of the background, similar to BGinfo for Windows or Conky for Ubuntu so when I access them remotely there is no chance of mixing them up. I know I could set the desktop image with the site name and IP address as part of the image. Maybe I'm lazy, but I don't want to change the background each time I have to change addressing (ie: install on another site). I hope that makes sense?
  11. XBMC? I've been using the OpenELEC version for a month now, with positive results.
  12. Is there a simple way to display the current IP address on the desktop? Something similar to http://technet.microsoft.com/en-us/sysinternals/bb897557.aspx in the world of Windows.
  13. It's probably bad form to keep replying to my own posts, but my problem has come down to not installing in the correct directory - PEBCAK (Problem Exists Between Chair And Keyboard). Was trying to use command 'tar xvzf......' and not being too sure where this was extracted to. Learning more about Linux every day...
  14. Still struggling with Linux.... I installed the version of Java as above and it works great, fixing another issue I had interfacing with my lighting control (the server application on my RPi is Java based) which now raises another challenge. Previously to have c-gate (lighting server program) auto start at boot time, I edited the rc.local file in /etc like so: #! /bin/sh –e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will “exit 0” on success or other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address _IP=$(hostname –I) || true if [ “$IP” ]; then Printf “My IP address is %s\n” “$IP” fi # Start C-Gate server cd /home/pi/C-Gate2 java –jar –noverify cgate.jar exit 0 and the world was good. Note: it was a different version of Java, if relevant I can dig out the details. Even though manually entering cd /home/pi/C-Gate2 java –jar –noverify cgate.jar works, it no longer auto starts at boot. Any advice??
  15. Haven't had a chance to try this yet, but his link: http://javafx.steveonjava.com/javafx-on-raspberry-pi-3-easy-steps/ looks promising for those looking to run Java.

About Us

Bringing you the latest Raspberry Pi news, tutorials and user forum.

The Fruity Computer

  • Create New...