Posts from 2010-02
To warn unauthorized users logging in via ssh, you can add a ssh banner.
echo "Banner /etc/issue.net" | sudo tee -a /etc/ssh/sshd_config > /dev/null cat << EOF | sudo tee /etc/issue.net *************************************************************************** ...
AqBanking is used as a backend for gnucash and therefore very mature. It features a CLI to query CSV files of transactions and more.
To delete a launcher for an installed Windows program via Wine just remove it from the directory
The tablet works well with Ubuntu karmic, this blog post describes my settings.
- Aiptek HyperPen 12000 U
- Dimensions 38.5 x 34.7 x 1.2 cm
- Work Area 304 x 228 mm
- Maximum Resolution 3048 lines/inch - 120 lines/mm
- Accuracy 0.2 mm (or 0.422 mm ?)
- Detection Distance maximum 8 mm
- Pressure Sensitivity 512 stages
- Number of Macro Keys...
sudo apt-get install noteedit
commercial Windows software
good supplement: halion player with complete halion 3 sound database...
echo "Hello world!" | festival --tts
better than recite but not excellent
may need libxine1-ffmpeg and/or libavcodec-unstripped-52 to work:
sudo aptitude install libxine1-ffmpeg libavcodec-unstripped-52
Also check out my older blog post on the Nova-T USB2....
All of the following Firefox addons can be found directly on the Mozilla Addons Site.
Extremely useful, improving your browsing experience
- Adblock Plus This a great plugin to get rid of annoying ads of any kind on the web. It works against popups, flash banners, animated gifs any other text ads...
cd ~/Downloads wget http://www.gnome.org/~carlosg/stuff/evolution/remove-duplicates-plugin-0.0.4.tar.gz tar -xf remove-duplicates-plugin-0.0.4.tar.gz cd remove-duplicates-plugin-0.0.4 ./configure make sudo make install
Could not successfully run the ./configure script. :(...
A link collection for howtos to convert mail stored in the mbox format to the Maildir format:
- mb2md.pl v 3.20 (requires the perl library
TimeDate) by Juri Haberland found on http://batleth.sapienti-sat.org/projects/mb2md/ (2006-05-07)
- Usage example: http://www.akadia.com/services/converting_mbox_mdir.html
- Re published on github (in a gist): https://gist.github.com/962261
Combinations of Scripts
- Perl Script convert-and-create by...
To enter a unicode character directly on your Ubuntu system do the following:
- Enter the unicode hex code of the character you want to type
[Enter]to confirm your input.
To be able to do so is great because I often used the ASCII character combination -> to mean...
It may happen that your system is slow for some reason, it may fail completely, be under an attack, it can even have a troyan and you do not even know. I found a script recently which integrates into your system via a daily cronjob. It uses logrotate. So it...
Filter the authentication log file for failed authentications and count the attempts (lines in the log file):
grep -i fail /var/log/auth.log | wc -l
Check for all attacks with non existing usernames:
grep -i "Failed password for invalid user" /var/log/auth.log | cut -d " "...
With two little tools (
hexdump) you can use your command line to inspect / investigate the master boot record of a hard disk.
The command is
sudo dd if=/dev/sda bs=512 count=1 | hexdump -C
/dev/sda is the hard disk you want to inspect.
So here I provide an example...
Easily create an iso image using mkisofs from command line.
To produce an ISO image of a directory (with -J Joliet extensions; with -r Rockridge extensions; with -R Rockridge extensions preserving rights and ownerships; with -V to set the Volume-ID) run:
mkisofs -J -R -o image.iso -V "Data Backup" folder/data
While it is very convenient to have all mail available online and it is cheap (Google Mail offers a lot of storage for free), you might sleep better at night if you were sure to have a copy of you mail on your own hard disk drive at home. offlineimap...
impressive was formerly known as KeyJnote.
Impressive is a great tool to present PDF presentations to an audience using nice transition effects. It is ideal for everyone who creates a good looking presentation using advanced techniques like LaTeX (beamer class) as it combines good looking PDFs with the refreshing transitions of...
To dump / backup your IMAP Mail Folder to a local directory, there are some projects in the Ubuntu repositories:
looked for last changes on 2010-01-10
- imapcopy - pascal http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html last change: 2006-04
- imapsync - perl http://www.linux-france.org/prj/imapsync/ last change: v1.286 2009-07
- offlineimap - python http://software.complete.org/software/projects/show/offlineimap last change in git repo: 2009-08
Read Local Emails Using Evolution
- Start Evolution
- Edit → Preferences → Add
(replace "USERNAME" with your login user name):
- Name: USERNAME@localhost
- Fullname: USERNAME
- Server type: Local Delivery
- Sending Mail: sendmail
Read Local Emails Using mutt
start Mutt using
you will end in the mbox dir
/var/mail/USERNAME. After reading the messages, they are...
The Medibuntu repository offers you a coolection of software that is not free and can therefore not be shipped with the standard distribution of Ubuntu linux. This example shows you how you can use Medibuntu to install google earth.
Add Medibuntu to your repositories (this is just one line!):
Unison is a great tool to keep directories and files synchronized. It is extremely simple to use once you figure out how to do the setup and it can be done automatically (via a cronjob).
I show you here how to do it:
If you are not sure if used Unison before,...
Series60 Remote nice GUI software to send SMS and edit contacts of Nokia S60 phones via Bluetooth.
So here is how you install it (you might look for a newer version on Lukas' site):
sudo aptitude install python python-obexftp python-matplotlib python-bluez python-qt4 python-qt4-sql sqlite3 libqt4-sql-sqlite cd ~/Downloads wget http://downloads.sourceforge.net/project/series60-remote/series60-remote/0.3.90/series60-remote-0.3.90.tar.gz?use_mirror=ovh tar -xf series60-remote-0.3.90.tar.gz cd series60-remote-0.3.90/ ./setup.py...
When you want to annotate PDFs using Ubuntu linux you've got the following possibilities:
- PDFXChange under WINE product page PDF XChange Viewer
- xournal user manual wikipedia entry
- evince - not yet having the needed capabilities (but they are planned for the future)
Ubuntu 9.10 has a bug that lets the gnome printer dialog wait for several seconds when opened: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/475845/comments/29
sudo gedit /etc/cups/cupsd.conf
then comment out the line including
/var/run/cups/cups.sock and leave this line untouched:
Works flawlessly. The delay is gone and I can print as before....
Tips found on: http://www.n00bsonubuntu.com/tips/improvebootinternetkarmic
If you want to know how those tricks work, have a look at the link above!
- enable preload:
sudo apt-get install -y preload
Find detailed information on preload here.
- disable Pango smoothing on Firefox
export MOZ_DISABLE_PANGO=1. Put this in your
- start Firefox and...
Options to repair broken zip files on Ubuntu Linux include the following:
- Winrar runs perfectly with WINE
- ZIP Repair runs with WINE
zip -F [or -FF, depending on how broken it is] broken.zip --out repaired.zip
gscan2pdf(needs the package
djvulibre-binto create DjVu files)
- JPEGs: convert them to separate pages in DjVu format using an encoder like cjb2 or cpaldjvu
- use pdf2djvu to convert PDFs:
pdf2djvu mypdf.pdf -o mydjvu.djvu
djvused(multi-purpose DjVu document editor) man page
Git might be used as a back up system. There used to be an article on this topic on http://www.bytetrap.com/blog/2008/11/24/backup-and-synchronization-git/. Unfortunately it is not available any more. Here are the main headlines:
- Why git, not rsync
- What folders / files to exclude ( to be set in
- How to do it
When you want to use a software to keep track of your personal household income and expenses, eqonomize is a good software to go. To me, gnucash seems to be too complex for that purpose.
sudo aptitude install eqonomize