Monday, August 12, 2013

Managing your e-books

[CONTEXT]
You have a collection of e-books and you want organize them, make conversion between file types, read them, or even synchronize them with your e-reader.
[HOW]
Calibre is a Software to manage you e-book collection. You can use it as a reader, converter, news reader, among other features.
To install it, we can use the package in Debian's repository
# aptitude install calibre
[SOURCE]
http://calibre-ebook.com/

Managing your latex bib files in linux

[CONTEXT]
You want a program to manage your Latex bibliography file.
[HOW]
Kbibtex  is a really good program to organize and modify your bib files in Latex using a very friendly GUI.


To install it, we can use the package in Debian's repository
# aptitude install kbibtex

[SOURCE]
http://home.gna.org/kbibtex/

Wednesday, August 7, 2013

Digital TV and Radio in Linux

[CONTEXT]
You are looking for a program to play webTV and WebRadio on Linux
[HOW]
One of the options to watch webTV and listen WebRadio is Freetuxtv.
You can also record the channels in different formats.
To install it, we can use the package in Debian's repository
# aptitude install freetuxtv
[LINKS]
http://code.google.com/p/freetuxtv/
http://database.freetuxtv.net/site/index

Sunday, July 28, 2013

How to synchronize Multiple Dropbox Accounts in your computer

[CONTEXT]
You have multiple accounts in dropbox. (Assume that you have alredy install dropbox on your computer).

[WHEN]  
You want to synchronize all your dropbox account files in your computer at the same time.

[HOW]
  • Create the alternative folders for your additional account, for example
         $ mkdir ~/.dropbox-mte
           $ mkdir ~/dropbox-mte
  • Run from a terminal the following command
        $ HOME=$HOME/.dropbox-mte /usr/bin/dropbox start -i
  • Configure your account and make as default directory ~/dropbox-mte
  • Create a file to launch the new instance of the dropbox deamon for example,

            DropboxAltStarter.sh
           #!/bin/bash
           HOME=$HOME/.dropbox-mte /usr/bin/dropbox start
  
  • Executable permissions 
           $chmod 755 ~/DropboxAltStarter.sh
  • Include DropboxAltStarter.sh in your starter.
"Go to System -> Preferences -> Startup Applications. Click Add and          include the following:
Name: 2nd instance of Dropbox
Command: /home/Username/DropboxAltStarter.sh
Click Ok."

  
[SOURCE]
http://www.maketecheasier.com/run-multiple-dropbox-accounts-in-mac-and-linux/2010/05/24

Monday, June 17, 2013

Fixing the warning: W: Possible missing firmware /lib/firmware/rtl_nic/....

When I had upgraded some programs, I got the following warning:

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169

To fix it you only have to install the firmware-realtek

# aptitude install firmware-realtek

Source
http://forums.debian.net/viewtopic.php?f=7&t=82716 

Sunday, April 21, 2013

Play encrypted DVD

[CONTEXT]
Playing encrypted DVD, sometimes you can recieved a error message like
 libdvdread: Encrypted DVD support unavailable.

[WHEN] 
You want to play encrypted DVDs with Linux.

[HOW]
As root
Edit your /etc/apt/source.list, adding this line

 deb http://www.deb-multimedia.org wheezy main non-free

The first package to install is deb-multimedia-keyring.

# apt-get install deb-multimedia-keyring
Install the library  libdvdcss2
# apt-get install libdvdcss2

After this steps, your dvd's player will be able to play DVD

[SOURCE]
http://www.cyberciti.biz/faq/debian-linux-squeeze-installing-libdvdcss2-command/ 
http://www.deb-multimedia.org/ 

[OTHERS ALTERNATIVES]
http://theos.in/desktop-linux/linux-playing-encrypted-dvd/
http://www.cyberciti.biz/faq/howto-ubuntu-linux-playback-dvd/

Mount a remote file system using ssh

[CONTEXT]
Access a remote file system  
[WHEN] 
You want to transfer files from/to a server which you have a ssh access
[HOW]   
As root:
install fuse
#apt-get install fuse-utils sshfs ssh
and load its kernel module
#modprobe fuse
add your regular user to fuse's group
#adduser [your-user] fuse
(reboot the machine)
Now using your regular user:
Mount your remote directory:
$ sshfs [user@]host:[dir] mountpoint [options]
e.g.
$sshfs remote-user@remote.server:/remote/directory /home/user/remote/
(If you only put  ':' is going to be your default directory)
Then, you can manipulate your remote folder as a regular local folder.
Unmount your remote directory
$fusermount -u mountpoint
e.g.
$fusermount -u  /home/user/remote/


[SOURCE]
http://www.debianadmin.com/mount-a-remote-file-system-through-ssh-using-sshfs.html