Go to advanced search

by Pilosopong Tasyo
Tue Apr 18, 2017 8:34 am
Forum: General discussion
Topic: How to view IP cameras on tv screen?
Replies: 5
Views: 2181

Re: How to view IP cameras on tv screen?

smousie wrote:...but how do you show your feed through the Pi to the tv?

I can access the interface from another computer and it works great but I still need the feed to display through the Pi too.
Ok, in that case you'll need the other variant, MotionEye -- https://github.com/ccrisan/motioneye/wiki
by Pilosopong Tasyo
Fri Apr 14, 2017 2:57 pm
Forum: General discussion
Topic: How to view IP cameras on tv screen?
Replies: 5
Views: 2181

Re: How to view IP cameras on tv screen?

MotionEyeOS
by Pilosopong Tasyo
Fri Apr 07, 2017 1:08 pm
Forum: General discussion
Topic: How quit fullscreen application?
Replies: 16
Views: 20692

Re: How quit fullscreen application?

...as not one person seems to know to connect a hotkey to a shellscript
SkyRise gave you a pointer to the right direction. Have you tried the link suggested in his/her post?
by Pilosopong Tasyo
Thu Apr 06, 2017 1:49 pm
Forum: General discussion
Topic: How quit fullscreen application?
Replies: 16
Views: 20692

Re: How quit fullscreen application?

Ctrl+Alt+F1 will transfer you to a virtual terminal. From there, use the usual means to terminate the process (pkill, killall, et al.). Once done, Ctrl+Alt+F7 will bring up the GUI.
by Pilosopong Tasyo
Sun Mar 26, 2017 3:17 am
Forum: General programming discussion
Topic: Check whether sudo will work in bash script
Replies: 6
Views: 1455

Re: Check whether sudo will work in bash script

- request that the user runs the script itself as root, e.g. sudo ./my_script As an option you could just direct the script to run a second instance of itself as root once it determines it's not running with elevated privileges from the get-go. This further adds convenience to your user. No more pr...
by Pilosopong Tasyo
Sat Nov 12, 2016 2:52 pm
Forum: Troubleshooting
Topic: Bandwidth control on a Pi used as a babycam
Replies: 5
Views: 1169

Re: Bandwidth control on a Pi used as a babycam

Try wondershaper . There's also trickle . Both tools allow you to limit bandwidth easily from the CLI. Caveat lector! If you haven't realize it already, reducing the (upstream) bandwidth will most likely affect the framerate of the live feed as well. Expect your in-laws to watch a jerky video. You m...
by Pilosopong Tasyo
Sun Oct 09, 2016 12:30 pm
Forum: Advanced users
Topic: Need help executing a script!
Replies: 5
Views: 1653

Re: Need help executing a script!

mattomatto wrote:I think the solution might be running it in the foreground somehow - i.e. with the terminal window open. I have tried using lxterminal in a bash script to do that, but I couldn't get it working. Any suggestions?
https://forums.linuxmint.com/viewtopic. ... 23#p470422
by Pilosopong Tasyo
Thu Oct 06, 2016 1:53 pm
Forum: Troubleshooting
Topic: Bash script not running continuously
Replies: 8
Views: 1325

Re: Bash script not running continuously

Any particular reason not to run the python scripts directly in cron? Creating a launcher that runs two [sub-]launchers that ultimately runs 3 python scripts is superfluous, IMHO. You could just: @reboot /usr/bin/python /path/to/python1.py @reboot /usr/bin/python /path/to/python2.py @reboot /usr/bin...
by Pilosopong Tasyo
Thu Oct 06, 2016 4:16 am
Forum: Beginners
Topic: if - then in script
Replies: 14
Views: 2123

Re: if - then in script

wonderingwalker wrote:Simplicity is a virtue. ... I do thank you. I will apply it directly.
You're welcome. :)
wonderingwalker wrote:Just like Egg_of_Columbus
Learned something new today as well. Thanks.
by Pilosopong Tasyo
Wed Oct 05, 2016 1:46 pm
Forum: Beginners
Topic: if - then in script
Replies: 14
Views: 2123

Re: if - then in script

Cron table alternative - gets rid of the additional logic in computing what date to run which script. Just specify exactly what time and date the scripts will run. E.g. 00 06 10-23 10 * /path/to/script01.sh # Run script01.sh every 6:00am Oct. 10 - 23 00 06 24-31 10 * /path/to/script02.sh # script02....
by Pilosopong Tasyo
Sat Oct 01, 2016 1:51 pm
Forum: General discussion
Topic: Guide: Chromium 51 on Raspbian Jessie
Replies: 951
Views: 661816

Re: Guide: Chromium 51 on Raspbian Jessie

jakky567 wrote:Has anyone gotten sync working yet?
PSA/FYI - RPF Chromium Browser "sign into chromium" not working thread:
viewtopic.php?f=63&t=161275
by Pilosopong Tasyo
Thu Sep 29, 2016 1:43 pm
Forum: Troubleshooting
Topic: [fixed] PIXEL new window decoration
Replies: 2
Views: 588

Re: PIXEL new window decoration

In Chromium's address bar, enter:

Code: Select all

chrome://settings/
Under Appearance, [Use GTK+ theme] and enable system title bar and borders.
by Pilosopong Tasyo
Wed Sep 28, 2016 1:58 pm
Forum: General discussion
Topic: Guide: Chromium 51 on Raspbian Jessie
Replies: 951
Views: 661816

Re: Guide: Chromium 51 on Raspbian Jessie

How do I uninstall the Chromium that was installed with this guide? Reverse order from page 1, step 2: sudo apt-get remove chromium-browser rpi-youtube sudo apt-get autoremove sudo apt-key del Bintray Edit the sources list and remove (or comment out) the bintray repository: sudo nano /etc/apt/sourc...
by Pilosopong Tasyo
Fri Sep 23, 2016 7:48 am
Forum: Troubleshooting
Topic: Default desktop changed - how to restore original?
Replies: 3
Views: 3017

Re: Default desktop changed - how to restore original?

...the desktop came back after reboot with a black background and a giant stretched Raspberry icon... Sounds like you got logged in under LXDE session in lieu of the normal Default Xsession. Try this: Log out. At the login screen, click the session icon (it's the icon beside the power button at the...
by Pilosopong Tasyo
Fri Aug 26, 2016 6:45 am
Forum: Advanced users
Topic: How to force different programs to run on certain pixels
Replies: 4
Views: 916

Re: How to force different programs to run on certain pixels

Do a search for the following terms in your favorite search site:

Code: Select all

linux how to set window size and location
You'll get recommendations for devilspie, xdotool, and wmctrl. One of these utilities should do the job.
by Pilosopong Tasyo
Mon Aug 22, 2016 2:15 pm
Forum: Beginners
Topic: Noob-Understanding the 'big picture'
Replies: 6
Views: 1375

Re: Noob-Understanding the 'big picture'

steve57atretired wrote:I'd like to mark this as solved, but I don't know how yet. Yet.
You mark the thread manually. Click the [EDIT] button in your first post and add [SOLVED] (or whatever notation you're using) in the Subject field.
by Pilosopong Tasyo
Mon Aug 22, 2016 9:30 am
Forum: Automation, sensing and robotics
Topic: Controlling a network of surveillance cameras with a Pi
Replies: 3
Views: 1509

Re: Controlling a network of surveillance cameras with a Pi

I intend to purchase cameras, and I want to control them with the Pi. The Pi should serve the purpose of the DVR/NVR in a LaView or similar system. Ideally, the software would be able to integrate IP cameras, wired or wireless, from multiple manufacturers; configure recording schedules; configure t...
by Pilosopong Tasyo
Wed Aug 10, 2016 12:29 am
Forum: Beginners
Topic: How to stream video from IP Camera
Replies: 8
Views: 11471

Re: How to stream video from IP Camera

RpiNoob83 wrote:However, I could not play the streamed video if I were to access from the internet.
You didn't mention it explicitly in your original post, so I'm taking a wild guess: have you set up port forwarding on your router?
by Pilosopong Tasyo
Sun Aug 07, 2016 9:07 am
Forum: General programming discussion
Topic: Read file in Bash
Replies: 16
Views: 2695

Re: Read file in Bash

For now, the paste and join commands raise another question. I need to study more bash, after which I need to study the 'make' command, after which I need to study c, after which, I thought I would need to study SQLite. Do you know if these commands that I'm studying can be used from a c program? M...
by Pilosopong Tasyo
Sat Aug 06, 2016 11:35 am
Forum: General programming discussion
Topic: Read file in Bash
Replies: 16
Views: 2695

Re: Read file in Bash

Nonetheless, it would be nice to know how to "read" only a selected record from a file.... Well, you did use grep, which read, selected and outputted a record (on screen) based on a search criteria you specified. There's also a bunch of text processing commands . Command substitution will assign ("...
by Pilosopong Tasyo
Sat Aug 06, 2016 8:14 am
Forum: General programming discussion
Topic: Read file in Bash
Replies: 16
Views: 2695

Re: Read file in Bash

But then I want to pipe that one record into the read command, but read keeps coming to the terminal for direct input, having put nothing in the receiving fields. Guessing here, if you're trying to put the result of the grep command in a variable (for further processing) in lieu of having it output...
by Pilosopong Tasyo
Thu Aug 04, 2016 5:52 am
Forum: Troubleshooting
Topic: Pi as a motion detecting camera
Replies: 1
Views: 2083

Re: Pi as a motion detecting camera

Not an answer to your question. However, considering you're a newbie to the Pi and have no programming experience, have you considered looking into MotionEyeOS instead? It's a standalone and complete surveillance system you install on your Pi.

https://github.com/ccrisan/motioneyeos/wiki
by Pilosopong Tasyo
Mon Aug 01, 2016 8:49 am
Forum: General discussion
Topic: Can we use windows Os and software in Raspberry Pi ?
Replies: 11
Views: 3766

Re: Can we use windows Os and software in Raspberry Pi ?

Windows Desktop-free zone, at least for now. Personally, I hope it stays that way. :)
by Pilosopong Tasyo
Mon Aug 01, 2016 3:57 am
Forum: Python
Topic: List Index out Of Range[SOLVED]
Replies: 7
Views: 2179

Re: List Index out Of Range

Douglas6 wrote:It's generally considered good etiquette to state your error, for the benefit of the rest of us.
Error? Or did you mean solution. :)

Anyway, relevant xkcd.
by Pilosopong Tasyo
Fri Jul 29, 2016 7:12 am
Forum: Beginners
Topic: Start script after booting up
Replies: 2
Views: 635

Re: Start script after booting up

I have googled this for HOURS and tried everything but nothing works. There are a lot of threads that discuss this kind of topic. Use the following terms in your favorite search site to narrow it down: automatically run a script on startup site:raspberrypi.org/forums See if any of them applies. If ...

Go to advanced search