Again ill be writing about yet another TUI application, which will run with or without an X server. Those who know me are aware i prefer to use the console where possible, not because i wanna be l33t but merely because i find it does things better, faster and in many cases opens up moar options/preferences than you get with the GUI counterparts. My latest find started life in or around December of 1994 as a DOS binary-only freeware. Thankfully at the tail end of 2003 someone took the time and effort to port it to Linux, and other 'Unix like' Operating systems. <p style="text-align:center;">Open Cubic Player as mentioned will run in a TTY as well as in a graphical environment, here's a few scrot's of OCP</p> <p style="text-align:center;"><a href="http://cirrusuk.files.wordpress.com/2014/03/2014-03-22-174907_476x182_scrot.png"><img class="size-medium wp-image-1534 alignleft" src="http://cirrusuk.files.wordpress.com/2014/03/2014-03-22-174907_476x182_scrot.png?w=300" alt="2014-03-22-174907_476x182_scrot" width="300" height="114" /></a> <a href="http://cirrusuk.files.wordpress.com/2014/03/2014-03-22-174127_644x418_scrot.png?w=300"><img class="aligncenter size-medium wp-image-1532" src="http://cirrusuk.files.wordpress.com/2014/03/2014-03-22-174127_644x418_scrot.png?w=300" alt="2014-03-22-174127_644x418_scrot" width="300" height="194" /></a></p> <p style="text-align:center;">Both images above are from the ocp-X11 ( the graphical environment) now it's only fair i show you some scrots of OCP running in a non graphical environment.</p> <p style="text-align:center;"><a href="http://cirrusuk.files.wordpress.com/2014/03/2014-03-22-175327_954x515_scrot.png"><img class="size-medium wp-image-1533 alignright" src="http://cirrusuk.files.wordpress.com/2014/03/2014-03-22-175327_954x515_scrot.png?w=300" alt="2014-03-22-175327_954x515_scrot" width="300" height="161" /></a><a href="http://cirrusuk.files.wordpress.com/2014/03/2014-03-22-174541_644x421_scrot.png"><img class="aligncenter size-medium wp-image-1531" src="http://cirrusuk.files.wordpress.com/2014/03/2014-03-22-174541_644x421_scrot.png?w=300" alt="2014-03-22-174541_644x421_scrot" width="300" height="196" /></a></p> <p style="text-align:center;">Using ocp-curses we dont get the same visualisations, only the spectrum analyzer, whereas in the X version we have choice ofaround 4 visualisations</p> <p style="text-align:center;">Video of <a title="ocp-curses" href="https://asciinema.org/a/8403">ocp-curses</a></p> <p style="text-align:center;"><!--more--></p> <p style="text-align:justify;"> Ok if you are still reading im guessing you too must be in the TUI advocacy minority, im proud of you. To show how proud im going to give a step by step tutorial on how to install this on any linux boxxen, so much so that even the novice will be able to follow the steps. I would call myself an intermediate Linux user and i found OCP to have a wee learning curve so ill share some of my findings too that will maybe save you some time and effort, one hopes. I am a big fan of MPD/ncmpccpp for my music player on linux, but OCP comes a close second, for me, only place if falls short is that im not able to stream http audio ( not that ive discovered as yet ). Firstly go and have a a read <a title="HERE" href="http://www.cubic.org/player/doc/">Here</a> ,it will also be wise to bookmark that page.</p> <p style="text-align:justify;"> Now let's get down to pimping our consoles, I tried a few OCP packages and only <a title="THIS" href="http://sourceforge.net/projects/opencubicplayer/">THIS</a> one built without issue on 3 linux boxxen, both i686 & x86_64, so go right ahead and download the compressed .tar.bz2. Once downloaded extract the contents ( only 1 folder named ocp-0.1.21) extract that folder to somewhere in your home directory, for the purpose of this <em>tutorial </em>i'd recomnend creating a new folder in your home directory and name it ' build ' and extract ocp-0.1.21 to there.</p> <p style="text-align:center;"> Next go ahead and open up a terminal ( new user's dont be scared it's not only leet haxxors who use a terminal) </p> <p style="text-align:center;">Assuming you followed above steps by creating a folder named 'build ' in your home directory and extracted the tarball therein then run this command in terminal</p> <code>cd ~/build/ocp-0.1.21</code>
cd = change directory, so you have just moved into the ocp-0.1.21 folder by issuing that command. Next up run this command <code>./configure</code> <p style="text-align:center;">you will see text scrolling past, once it's done and you are returned to your PS1 (command prompt) do this command</p> <code>make</code> <p style="text-align:center;">again you will see text scrolling past, once finished the final step is to issue this command</p> <code>su</code> <code> enter password when prompted </code> (su= super user, linux requires elevated priviliges to install software or to change system settings, this is a factor as to why we don't see <em>that</em> many viruses & malware on Linux and other ' Unix like' systems. Once you have given the su command you will be prompted for password, enter it ( you wont see it on the screen as you type) now the final command is <code>make install</code> <p style="text-align:center;">and once that's finished installing type <code>exit</code> to leave super user, now you have just installed the application from source, ( well done to any new users who are still with me here) you can type <code>ocp</code> in a terminal or launcher to run the graphical version of the application, typing <code>ocp-curses</code> in a terminal or tty will launch the non graphical version.</p> <p style="text-align:center;"> Config file is stored in ~/.ocp/ocp.ini <a href="https://gist.github.com/cirrusUK/9668515">HERE</a> is mine, line 65 should be edited to point to your music directory. Editing line 28 or ; commenting it out will change colours.</p> <p style="text-align:center;">To have playlist play continiously press the insert key when chosen directory is highlighted in the ocp file manager</p> <p style="text-align:center;">In the graphical ocp the keys a,o,b will change visualisations, pressing shift & a is my prefered vizualsation ( spectrum analyzer )</p> <p style="text-align:center;">I use i3 tiling Window Manager and i find adding this line to ~/.i3/config makes the X version better</p> [code]for_window [title="Open Cubic Player"] floating enable; border 1pixel; [/code] <p style="text-align:center;">If you have any questions or get stuck feel free to leave a comment and ill respond ASAP</p> <p style="text-align:center;">That's all folks.</p> <p style="text-align:center;">cirrus</p> -- -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf) --- You received this message because you are subscribed to the Google Groups "Linux Users Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
