Pages

Showing posts with label line. Show all posts
Showing posts with label line. Show all posts

Wednesday, October 26, 2016

Running omxplayer from the command line easily using alias

Although I have previously written about running omxplayer via GUI, sometimes I like to control it via command line.
However, since I have my raspberry pi hooked up via HDMI and I like the show to be fullscreened, this requires typing:
omxplayer -r -o hdmi FILE
each time.
In order to make this easier we can use aliases. An alias lets you run a command with a shorter command. For instance:
ll is really an alias of ls - l

You can see what aliases you have by typing alias in the command line.
To temporarily add an alias you can use the command:
alias play=omxplayer -r -o hdmi

However, I want to permanently add this. To do that, Ill edit /home/pi/.bash_aliases
you can do this using vim or nano. Simply add the line alias play=omxplayer -r -o hdmi to this file.

Make sure you log out and log back in for this change to be made. Now we can just type: 

play FILE

To be able to easily find and intelligently play videos automatically, see this page:
http://stevenhickson.blogspot.com/2013/03/playing-videos-intelligently-with.html

Consider donating to further my tinkering.


Places you can find me
Read More..

Wednesday, July 23, 2014

Crucial Expands Gaming Line w Ballistix Sport Memory Series

Lexar Media recently introduced the Crucial Ballistix Sport memory series designed to provide mainstream users, gamers, and general PC enthusiasts with a reliable, no-hassle gaming experience. The new Crucial Ballistix Sport memory supports today’s latest AMD and Intel platforms, including 2nd Generation Intel Core processor (formerly codenamed Sandy Bridge) technology. It also features a stylish new heat spreader design, along with standard timings and voltages, providing maximum memory stability and system compatibility. The Ballistix Sport line is available in both DDR2 & DDR3 standards and come back with a lifetime warranty. Memory timings range between CL9 to CL10 for DDR3 with 1.5V and CL5 to CL7 for DDR2 with 1.8V.

Crucial Ballistix Sport memory

“Over the years, Crucial Ballistix memory has earned a reputation amongst gamers and enthusiasts as high-quality, high-performance, reliable memory,” said Jeremy Mortenson, senior product manager. “The Crucial Ballistix Sport series offers casual gamers an accessible, easy-to-use Ballistix memory product at an affordable price. This new Ballistix offering is part of our broader product strategy and a commitment to satisfy the needs of our customers.”

Read More..