Linux, programming, computers and life

September 9, 2007

smplayer - great mplayer GUI

Filed under: GUI, linux

mplayer is very nice audio, video and generally all-you-name-it player. The one aspect i did not like about it was it’s UI, it’s pretty minimal and you have a lot of keyboard shortcuts to remember. I had to do “man mplayer” from time to time to remind myself of those.
smplayer is a great discovery. It’s great looking and very powerful GUI. I do not know whether all the aspects of mplayer can be controlled… but a LOT can. Currently, it’s (more than) enough for me. If you are looking for media player for linux - i’d suggest trying smplayer

Technorati Tags: , , ,

more awk examples

Filed under: CLI, programming, awk

As i already mentioned, awk is great. More examples in this post.
Print every n’th line (n=15):
seq 1 100 | awk 'NR%15==0 {print $0}'
Print only n’th line (n = 10):
seq 1 100 | awk 'NR==10 {print $0}'
Print average value:
seq 1 10 | awk '{sum+=$1} END {print sum/NR}'

Feel free to try this at ~ :)

Technorati Tags: , , ,

Get free blog up and running in minutes with Blogsome
Theme designed by Gary Rogers