Showing posts with label Software. Show all posts
Showing posts with label Software. Show all posts

2008-09-17

MPD: Music Player Daemon

About:

Music Player Daemon (MPD) allows remote access for playing music (MP3, Ogg Vorbis, FLAC, AAC, Mod, and wave files) and managing playlists. MPD is designed for integrating a computer into a stereo system that provides control for music playback over a local network. It also makes a great desktop music player, especially if you are a console junkie, like frontend options, or restart X often.

@ MPD homepage

Overview:

I wont explain what it is - everyone knows it's a media player - ops i just did it.
I'm here to show you how to install it. It can be a little bit confusing.

Installation/Configuration:

# apt-get install mpd sonata
Now, the hard tash. It's necessary to configure mpd before any use of it. To start, edit the file /etc/mpd.conf. I recomend to make a backup copy just in case.
# cp /etc/mpd.conf /etc/mpd.conf.backup
# nano /etc/mpd.conf

  1. REQUIRED PATHS & OPTIONAL PATHS
    In this step it's necessary to configure the respective directories where are locatedyour music files. In the field music_directory add your music's directorie (it's only to possible to add one) and in the rest cpy the exemple.
    ######################## REQUIRED PATHS ########################
    # You can put symlinks in here, if you like. Make sure that
    # the user that mpd runs as (see the 'user' config parameter)
    # can read the files in this directory.
    music_directory “/home/os.meus.documentos/music”
    playlist_directory “~/.mpd/playlists”
    db_file “~/.mpd/tag_cache”
    log_file “~/.mpd/mpd.log”
    error_file “~/.mpd/errors.log”
    pid_file “~/.mpd/pid”

    ################################################################
    #
    ######################## OPTIONAL PATHS ########################
    #
    # If specified, MPD will save its current state (playlist,
    # current song, playing/paused, etc.) at exit. This will be
    # used to restore the session the next time it is run.
    #
    state_file “~/.mpd/state”
    #
    ################################################################
  2. DAEMON OPTIONS
    Add you user(in my case it's qaz) in the field user. Uncomment the rest.
    ######################## DAEMON OPTIONS ########################
    #
    # If started as root, MPD will drop root privileges and run as
    # this user instead. Otherwise, MPD will run as the user it was
    # started by. If left unspecified, MPD will not drop root
    # privileges at all (not recommended).
    #
    user “qaz”
    #
    # The address and port to listen on.
    #
    bind_to_address “localhost”
    port “6600″

    #
    # Controls the amount of information that is logged. Can be
    # “default”, “secure”, or “verbose”.
    #
    log_level “default”
    #
    ################################################################
  3. AUDIO OUTPUTS & MIXER
    Uncomment the the text lines wich represent your audio output. Im my case it's alsa.
    ########################## AUDIO OUTPUT ########################
    #
    # MPD supports many audio output types, as well as playing
    # through multiple audio outputs at the same time. You can
    # specify one or more here. If you don't specify any, MPD will
    # automatically scan for a usable audio output.
    #
    # See
    # for examples of other audio outputs.
    #
    # An example of an ALSA output:
    #
    audio_output {
    type “alsa”
    name “My ALSA Device”

    # device “hw:0,0″ # optional
    # format “44100:16:2″ # optional
    }
    #
    # An example of an OSS output:
    #
    #audio_output {
    # type “oss”
    # name “My OSS Device”
    # device “/dev/dsp” # optional
    # format “44100:16:2″ # optional
    #}
    #
    # An example of a shout output (for streaming to Icecast):
    #
    #audio_output {
    # type “shout”
    # name “My Shout Stream”
    # host “localhost”
    # port “8000″
    # mount “/mpd.ogg”
    # password “hackme”
    # quality “5.0″
    # bitrate “128″
    # format “44100:16:1″
    # user “source” # optional
    # description “My Stream Description” # optional
    # genre “jazz” # optional
    # public “no” # optional
    #}
    #
    # Force all decoded audio to be converted to this format before
    # being passed to the audio outputs.
    #
    #audio_output_format “44100:16:2″
    #
    ################################################################
    #
    ############################# MIXER ############################
    #
    # MPD needs to know what mixer settings to change when you
    # adjust the volume. If you don’t specify one here, MPD will
    # pick one based on which ones it was compiled with support for.
    #
    # An example for controlling an ALSA mixer:
    #
    mixer_type “alsa”
    mixer_device “default”
    mixer_control “PCM”

    #
    # An example for controlling an OSS mixer:
    #
    #mixer_type “oss”
    #mixer_device “/dev/mixer”
    #mixer_control “PCM”
    #
    # If you want MPD to adjust the volume of audio sent to the
    # audio outputs, you can tell it to use the software mixer:
    #
    #mixer_type “software”
    #
    ################################################################
  4. OTHER OPTIONS
    Uncomment this two lines:
    ######################### OTHER OPTIONS ########################
    #
    # The metadata types MPD will recognize.
    #
    metadata_to_use “artist,album,title,track,name,genre,date,composer,performer,disc”
    #
    # Enable this if you wish to use your MPD created playlists in
    # other music players.
    #
    save_absolute_paths_in_playlists “no”
    #
    ################################################################
  5. Outher configurations
    Stay as they are. To avoid any doubts,here is my final result.

Now, add your user( mine is qaz) at mpd group (can't explain why this step).

# groupadd mpd
# gpasswd -a qaz mpd

Make sure the folder ~/.mpd doesn't need root privileges.

To create data base (this can take a while):
$ mpd --create-db
In this moment we have mpd completed instaled and configurated.
$ mpd

Frontend:

We still need a frontend. I choose Sonata.

Sonata is an elegant GTK+ music client for the Music Player Daemon (MPD).

@ Sonata Homepage

Sonata's Screenshot. Click in the image to see more pics.

Sonata also needs some configuration. But first let us open it:
$ sonata
Go to Preferences, in the tab MPD add you datasi. My case:

  • Name: qaz
  • Host: localhost
  • Port: 6600
  • Password: (em branco)
  • Music dir: /home/os.meus.documentos/music/

If necessary kill both process (killall) e start mpd & sonata again.

References:
» Techzone/Zwame
» ArchLinux Wiki
» MPD homepage

My files:
» http://dotfiles.org/~uterrorista/%2Fetc%2Fmpd.conf

FeedBack:
Have a question? Please submit a comment :P

2008-04-12

Pytube - download videos from Youtube

PyTubes is a multimedia converter program.

Features:

  • Downloads videos from Youtube, GoogleVideos, Metacafe, MySpaceTV... And converts them to ogm, mpg, avi, flv, gif, mp4, 3gp, amv, mp3, ogg and wav files.
  • Encode Videos to formats previously mentioned.
  • Search Youtube's videos.
  • Multimedia Tools - Apply audio track to video files, Generate ringtones, Merge videos, Resize videos, Rotate videos.

Screenshot:

Links:
»Homepage: http://bashterritory.com/pytube
»Download page: http://bashterritory.com/

2008-02-16

Yaourt

What is it?
"A pacman frontend for Archlinux"
Yaourt is a command line interface program which complete pacman for installing software on Archlinux. Written by Julien Mischkowitz.

Screenshots:



Installation:
  • Edit:
    # nano /etc/pacman.conf
  • And add:
    [archlinuxfr]
    Server = http://repo.archlinux.fr/i686

    Or
    [archlinuxfr]
    Server = http://repo.archlinux.fr/x86_64
  • Update & install:
    # pacman -Sy yaourt
Yaourt + sudo:
  • Edit:
    # nano /etc/sudoers
  • Edit it to something like this:
    # User alias specification
    User_Alias POWERUSER=user

    # Cmnd alias specification
    Cmnd_Alias YAOURT=/usr/bin/pacman, /usr/bin/pacdiffviewer

    # User privilege specification
    root ALL=(ALL) ALL
    POWERUSER ALL=(ALL) YAOURT
Utilization:
  • Search and install
    yaourt [keywords]: quick search + install
    yaourt -S [packages] : install package, Compile it from AUR if needed
    yaourt -Ss [keywords] : search on repos and on AUR (with notice for already installed packages)
    yaourt -Sb [packages] : install a packages by compilation from sources (abs)
    yaourt -Sl [repos] : prompt for packages of the selected repos (emphasize those already installed)
    yaourt -Qs [keywords] : colorized ouput of installed packages and the repos where they come from
    yaourt -Qo [progname] or [filename] : shows the package which provides the program or the file
  • Updgrade:
    yaourt -Syu : complete update and upgrade of the system (onlys from repos)
    yaourt -Syu --aur : complete update and upgrade, even for packages coming from AUR
    yaourt -Sybu --aur : complete update and upgrade by compilation of all packages (repos and AUR)
    yaourt -Su --devel : update and upgrade of cvs/svn/mercurial/git packages
  • Cleaning:
    yaourt -C : editing and merging of .pacnew/.pacsave
    yaourt -Cc : removal of all .pacnew/.pacsave
    yaourt -Qt : search for orphaned packages
    yaourt -Cd : search for obsolete repos
  • Other options:
    --export [directory] : exports compiled packages for gensync
    yaourt -S --aur [packages] : forces compilation from AUR for a packages which is also in repos
    yaourt -G [packages] : retrive PKGBUILD and local sources in current directory.
    yaourt -B : backup the pacman database
Read more at:
» http://archlinux.fr/yaourt-en/
» http://wiki.archlinux.fr/howto:archlinux:yaourt

2007-12-08

Bluetooth @ ubuntu - kdebluetooth/kbluetooth

I've some difficulties connecting my Nokia 6820 to the Laptop (maybe it was just my ignorance...)
And know i've a band new Sony Ericsson M600i.

The question survived : How to send files to my phone?

I was using the default gnome bluetooth manager... That was not enough..
I did some research and found out that Kde bluetooth manager was (much) better.

Screenshots



How to use

  • Launch kbluetooh
    An icon will appear at Notification area.
  • Click and you'll get the window previously showed..
    Then the Computer will automatically scan for bluetooth devices(e.g: M600i.box). Remember to turn on your bluetooth's phone.
  • Click on M600i.box icon, then File transfer/Obex File Transfer.
  • Now check your mobile phone. A message asking permission to pair the phone with computer should pop up. Accept it. And enter 'pair code'. At your computer will pop up a window asking the same 'pair code'.
Now you have the two devices are paired. You can explore your mobile content. Copy/Drag files wherever you want to.
Note: depending your mobile phone model you'll still need to check your phone to accept the connection everytime you explore a different folder at your computer.


Install
  • Direct link:
install
  • or console:
sudo apt-get install kdebluetooth

  • Note: you will need to install konqueror and obexftp at least..
    Don't know if any more dependences are necessary because I've KDE installed on my computer.

2007-11-07

Netspeed & GFreqlet (applets)

These are the two Gnome applets i can't live without:


Netspeed


Netspeed is just a little GNOME-applet that shows how much traffic occurs on a specified network device (for example eth0). You get the best impression of it, if you look at the screenshots below.


some screenshots:




installation:
  • apt-get install netspeed
link:



GFreqlet

GFreqlet is a GNOME applet for Linux that not only monitors CPU frequency scaling, but also allows the end user to change the frequency or governor with just a click. It automatically detects which frequencies and governors your processor supports, so there is no configuration required. The applet itself is not run as root, nor required to modify to run with root ownership, but password prompts with gksudo if a super user action is required. GFreqlet is very straight forward and minimal.
some screenshots:

installation:
link:

2007-07-13

UbuntuGames.org


  • English:

Ubuntu Games is the result of efforts to create a place to gather articles, tutorials, screen pictures, and tips about games on Ubuntu. The Games are not necessarily free (as in beer nor as in speech); they can be closed source or proprietary. They may not be specifically for Ubuntu. If it works (even if emulated) on Ubuntu Linux, it's welcome!

Some people won't migrate to Linux from other OSs because they think Linux doesn't have good games. For the good of home desktop users, I'll try to convince you that there are many good games on Linux, and in Ubuntu, their installation is fairly simple.

Link: ubuntugames.org

  • Português:

O Ubuntu Games é fruto do esforço para criação de um lugar que contenha artigos, tutoriais, fotos de tela e dicas sobre jogos no Ubuntu. Eles não são necessariamente gratuitos ou de fonte livre (opensource), podendo ser proprietários, de código fechado, ou até mesmo não específicos para o Ubuntu. Nosso critério é: se roda (mesmo que emulado) no Ubuntu Linux, é bem-vindo!

Há quem não migrou de sistema operacional por causa de jogos que imaginam não haver para o Linux. Pelo bem dos usuários domésticos, tentarei convencer vocês de que existem muitos jogos bons no Linux, e que no Ubuntu, a instalação de jogos é simples.

Link: ubuntugames.org

2007-06-27

Games 4 Linux

Here i will post some cool games for Linux.
Note: this topic will be updated with more games.

  • Pang Zero

Download:
pangzero.deb | official page



i will update this post soon ;)

2007-06-10

TLS problems

TLS does not seem to work and I have tcl/tk 8.5. How can I fix it ?
  • Open Terminal and type:
$ sudo gedit /usr/lib/tls1.50/pkgIndex.tcl
  • and change the line :
"package ifneeded tls 1.5"
  • to
"package ifneeded tls 1.50"

2007-05-26

The goodies of Firefox's Add-ons

Mozilla Firefox is a wonderful browser, and one of the most values are the Add-ons.
There are Add-ons that goes from radio to download manager.
So, I'm gonna introduce you to some of the best and needed Add-ons:

  1. Foxmarks - The Bookmark Synchronizer - Saves your bookmarks online and allow to synchronize them with another computers..
  2. Adblock Plus - Add and banner blocker - Blocks adds and banner by filter subscription or user request
  3. FlashGot - Download Manager - "Download one link, selected links or all the links of a page together at the maximum speed with a single click.."
  4. Download Statusbar - Download statusbar info - "View and manage downloads from a tidy statusbar.."
  5. NoScript - Script Enable/Disable - "It allows JavaScript, Java and other executable content to run only from trusted domains of your choice.."
  6. VideoDownloader - Saves *.vlc, etc videos - "Download videos from Youtube, Google, Metacafe, iFilm, Dailymotion, Pornotube..."
  7. Forecastfox - Weather report - "Get international weather forecasts from AccuWeather.com"
  8. PDF Download - PDF downloader helper - "Allows to choose if you want to view a PDF file inside the browser (as PDF or HTML)..."
  9. Fasterfox -Maximize you Firefox's speed - "Performance and network tweaks for Firefox."
  10. RefControl - HPPT referer controller - "Control what gets sent as the HTTP Referer on a per-site basis."
  11. You you have/know another great add-on please submit a comment..

2007-05-12

Gaim is now Pidgin


"We've got a new name, a new look, and a ton of new features, but we're still the same old instant messaging client you know and love. We've changed our name as part of a trademark settlement with AOL, and have finally released our long-awaited version 2.0.0. Read all about it on the News page."

Homepage: Pidgin


Remove Gaim and install Pidgin:
$ sudo apt-get remove gaim

Download the .deb of Pidgin here
Plugins : Guifications Or LibNotify
Source: § formatds

2007-05-01

Alltray

Some applications have the functionality of minimizing to "icon tray" directly. Others don't.

We present: ALLTRAY

to install:
$ sudo apt-get install alltray
to configure programs to minimize to icon tray, just add «alltray» before the text presented in command:

(right click » Properties - to show this windows)

Notes:
to minimize to icon tray just double click on the icon in icon tray;
to minimize as usual just click on the minimize button in the respective window.

Glipper [clipboard manager]

The default clipboard manager of Microsoft Windows operating system enables pasting after closing host application of the copied data, but doesn't have the copy history feature. Users needing this functionality often run a more powerful clipboard manager in parallel with the default one.

The UNIX desktop environment KDE ships with Klipper. GNOME doesn't ship with a clipboard manager by default but
Glipper (text only) or Desktop Data Manager (text and images) can be used. Both enable pasting after closing the host application and both also have a copy history feature.

It is really annoying when you make [Ctrl]+[C] in any application and when you close that application that information is lost.. the solution is Glipper:

to install Glipper
$ sudo apt-get install glipper
Glipper can be found at: Applications » Acessories » Glipper

2007-04-29

Kiba-Dock

Treviño ( an older post talks about Treviño ) manages a repo with kiba-dock, These can be accessed by adding the following to your sources.list file: Note: Currently, there are only 32 bit (x86) deb packages available, 64 bit users can use SVN.
  1. Open a Terminal Window
  2. Type the following

$ sudo gedit /etc/apt/sources.list

  1. Add the following lines to the end of the file:

deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy

  1. Save and Exit Gedit
  2. Run from the terminal window

$ wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install kiba-dock
$ sudo apt-get install kiba-dock-dev
$ sudo apt-get install kiba-plugins


PLEASE NOTE: this is a daily svn repo, which means you're dealing with snapshots of the latest and greatest, but not always the most stable!

Homepage: Kiba-Dock

2007-04-18

Tunning LG P1 (OpenSuse 10.2)

wide Resolution [Intel 945GM]

download 915resolution rpm and install
$ su
$ 915resolution -l
$ 915resolution 38 1280 800
$ gedit /etc/init.d/boot.local

add:
/sbin/915resolution 38 1280 800
close, reboot GDM.


...in development...
*these are my personal notes

2007-03-05

Read/Write Ext3 partitions in Windows

What's unique about this software?
It provides Windows NT4.0/2000/XP/2003 with full access to Linux Ext2/Ext3 volumes (read access and write access). This may be useful if you have installed both Windows and Linux as a dual boot environment on your computer.
The "Ext2 Installable File System for Windows" software is freeware.

Homepage: Fs-driver
Download: Fs-driver/download

Songbird

Songbird™ is a desktop Web player, a digital jukebox and Web browser mash-up. Like Winamp, it supports extensions and skins feathers. Like Firefox®, it is built from Mozilla®, cross-platform and open source.

Now SongBird is in Automatix.

Hompage: SongBird