Showing posts with label linux-tips. Show all posts
Showing posts with label linux-tips. Show all posts

Monday, October 27, 2008

xwget-my-script#.sh

#!/bin/bash ############ ## what does this script do? ## It downloads files with wget..... ## to my video storage directory ## "$ xwget-my-script#.sh type-the-url-to-download" ############# # video POD CAST downloader # # dest /mnt/hda3/rss/test/ # from bash ##################### echo " downloading is to start now " for url in "$@" do cd /mnt/hda3/rss/dest-video-rss/ \ wget -c $url done

Saturday, July 26, 2008

changes to my .gtkrc file settings

Setting .gtkrc fonts // edit with nano or gedit.
# include "/usr/share/themes/Default/gtk/gtkrc"
style "default"
{
font = "-*-lucida-bold-r-*-*-18-*-*-*-*-*-*-*"
}

class "*" style "default"
style  "-*-lucida-bold-r-*-*-18-*-*-*-*-*-*-*"
{
}

//----------------- and changes to my .gtkrc-2.0 file setting below ----------------// style "default" { font_name = "Sans Serif 15" } class "*" style "default" gtk-font-name = "Sans Serif 15" ############# # ( ok ) the above works with gimp2.0 # ( ok ) firefox2 looks ok. gtk1 and gtk2 settings are unique. I use icewm for my desktop. I'm not a big fan of desktop environments like KDE and GNOME. I spent all day googleing gtk fonts size before findind a couple of forums that pointed me in right direction to ajust my gtk1 and gtk2 fonts because my fonts on aps like firefox2 looked to small when my display was set to 1024x768. When my desktop 800x600 the font size looked normal size but the 800x600 display was killing my eyes. so i had to make the change to 1024x768 to kepp my eyes from falling out of my head. now if only i can fix my QT aps because they still have small fonts. i have QT3 on my system so far i have only found tips for QT4 aps damn google has failed me . ( -QT4) search still fails me. ############ //---------------- Now i have to fix my custom icewm theme to display larger menu fonts. ---------------------// /usr/share/icewm/themes/my-(XP-new)-rollup-AxA-BIG-FONTS/default.theme ( default.theme.BAK ) (( my old font setting for icewm menu )) # Menu font MenuFontName= "-adobe-helvetica-medium-r-normal-*-*-100-*-*-p-*-iso8859-1" #---------------------- # new settings #----------------------- ( my new menu font theme ) # Menu font MenuFontName="-*-sans-medium-r-normal-*-*-100-*-*-p-*--*-*" MenuFontNameXft="sans:size=24:medium" //----------------- cool now I have real big menu fonts and my eyes wont fall out of my head now. I don't have to strain my eyes any more trying to read small menu fonts any more. ------------------// I still need to fix my QT fonts . maybe net time i will figure that one out if google doesn't fail me.

Saturday, April 5, 2008

coast to coast am radio, play mp3 strem from your pc ( radio stream ) @ 11pm pacific time.

disclamer

I believe in cake???????????????????????
~ start time ~~~~~~~~~~~~~~~~~~~~

START TIME

coast to coast am ( radio stream ) 11pm pacific time

~ how to play mp3 feed ~~~~~~~~~~~

HOW TO LISTEN

if mplayerplug-in keeps buffering. make a m3u play list from the url below.
and then use a stand alone mp3 media player not your browser plugin.
for linux xmms , mplayer and xine work for me.

~ player script REMOVED ~~~~~~~~~~~~~~~

save link as .m3u


Browser test section ~~~~~~~~~~~~

Streem for MP3 test player NOTES :
firefox and opera : ...
I need to play the streem with a stand alone media player .

~ URL section ~~~~~~~~~~~~~~~~~~~~~~

URL

@ http://eldorado-ice.streamguys.us:80/KBLU
~ mplayer command section ~~~~~~~~~~~~

MPLAYER

for LINUX.

CODE:

$ mplayer -cache 24 http://eldorado-ice.streamguys.us:80/KBLU
-------------------------------

first draft posted on -- 2008/april/5TH

revised post rewrite -- 2008/MAY/31ST * URL for KBLU still works. -- 2008/MAY/31ST. * revised post as m3u playlist notes : --2009june 9TH.

Wednesday, March 19, 2008

Linux history command ((( example )))

((( top ten linux commands i've used recently revield by history command )))

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
((( works for me )))
((( --2008march 10TH ))

((( i used recently )))
     1  28  21.875%   cut
     2  28  21.875%   awk
     3  22  17.1875%  strings
     4  15  11.7188%  grep
     5  5   3.90625%  whereis
     6  5   3.90625%  paste
     7  5   3.90625%  ls
     8  3   2.34375%  nano
     9  3   2.34375%  cat
    10  2   1.5625%   clear
*((( stuff posted @ linux. by examples .com )))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

MORE TIPS.
CODE:
$ history
That will display your terminal history. TO CLEAR yor history file.

$ history -c
MOE TIPS TO FOLLOW

how to use the ps command to probe application processes running on your pc and memory usage.
2008march