Japanese, like many other Asian languages, is written using a variety of symbols which are not found in the standard ASCII table. Fortunately, you can include these symbols in LaTeX documents using the CJK package. In ubuntu this can be installed via the sudo apt-get install latex-cjk-japanese command. I’m not sure about Windows, Mac or [...]
Posts Tagged ‘Ubuntu’
Japanese characters in LaTeX documents
Posted: 8th January 2012 by Tim in Japanese, LaTeX, UbuntuTags: document, English, hiragana, Japanese, kana, kanji, katakana, language, LaTeX, Ubuntu
Using Amazon’s Kindle with Ubuntu
Posted: 19th November 2011 by Tim in Debian, UbuntuTags: amazon, book, connect, e-book, ebook, ereader, kindle, mount, mtp, protocol, Ubuntu, usb
The Amazon Kindle is a great little device which stores it’s documents unencrypted and unhidden on it’s hard drive, just like you would on your PC. This means you can add and remove documents as though it was a USB drive. It’s that easy. But on Ubuntu when you plug it in, nothing happens. The [...]
Ignoring the first line of output in a unix terminal
Posted: 31st January 2011 by Tim in Bash, Software Development, UbuntuTags: first line, ignore, linux, sed, sh, shell, terminal, Ubuntu, unix
Sometimes in a terminal you want to strip out the first line of output from a command. For example, you may want to generate a list of users which have tasks running using the ps command. This command puts a header at the top of the output. You can remove this header by piping the [...]
Using the Tesco VGA Webcam in Skype with Ubuntu 10.04
Posted: 4th October 2010 by Tim in UbuntuTags: Bash, camera, driver, skype, tesco, Ubuntu, vga, webcam
This is a very specific post about using the £8.97 VGA webcam from Tesco with Ubuntu 10.04, namely with Skype. These instructions might work with other webcams and/or other linux distros, but I have not tested this personally. If this does/doesn’t work for your webcam/distro combination then please leave a comment describing your experiences. Okay, [...]
Converting CDs to MP3s in Ubuntu
Posted: 25th July 2010 by Tim in Debian, UbuntuTags: 320kbps, bitrate, CD, linux, mp3, sound juicer, Ubuntu
There are a number of ways to convert CDs into MP3s in Ubuntu. For me, the best choice is Sound Juicer because of it’s filename flexibility and ability to deal with compilations. Setting it all up is also very simple. Only two packages are required from the repository. They can be installed with the following [...]
Checking the Ubuntu version number
Posted: 13th June 2010 by Tim in UbuntuTags: Bash, check, number, release, shell, term, terminal, Ubuntu, version
Ever jumped onto an Ubuntu server somewhere without knowing which operating system version it’s running? You can find this out with one simple command: lsb_release -a This will provide output like: Distributor ID: Ubuntu Description: Ubuntu 9.10 Release: 9.10 Codename: karmic
Pausing processes in ubuntu
Posted: 6th June 2010 by Tim in UbuntuTags: continue, linux, pause, pid, process, stop, Ubuntu
There are times when you want to pause a process and continue it later. For example, when a process is using all the computer’s resources and you need to access something or execute something else. This can all be done via the kill -STOP and kill -CONT commands. First you need to grap the pid [...]
Setting the SMTP port number in Evolution
Posted: 3rd May 2010 by Tim in UbuntuTags: client, email, evolution, form, gnome, linux, mail, port, setting, Ubuntu
Some mail servers require you to connect on a certain port. Evolution (the default mail client for the gnome desktop environment) doesn’t have a setting for the server port number. You can set this by adding :[port_no] to the end of the server address. For example, to use the mail server mail.example.com on port 587, [...]
Mounting ISO files in Linux
Posted: 24th April 2010 by Tim in UbuntuTags: CD, disk, DVD, image, iso, linux, mount, Ubuntu, umount
One of the niceties of linux distros like Ubuntu is that you can ‘mount’ ISO files. An ISO file, or ISO image, is an archive of a CD or DVD. By mounting an ISO file, you can read the data as though you inserted the CD into your computer. Ubuntu will even regard it as [...]
My first LaTeX document
Posted: 28th February 2010 by Tim in LaTeX, UbuntuTags: command, command line, compile, document, LaTeX, linux, mac, PDF, set up, setup, Ubuntu, windows
The learning curve for LaTeX documents can be a steep one. This step-by-step guide covers installing and setting up the LaTeX environment, and creating and compiling your first document so that you can read and distribute it. Setting up the LaTeX environment A few things need to be installed before we can start creating documents. [...]
Playing DVDs in Ubuntu
Posted: 31st December 2009 by Tim in UbuntuTags: medibuntu, movie, MRL, Ubuntu, video, vlc
Unfortunately, you cannot play all DVDs in Ubuntu out of the box. Some packages need to be installed manually due to legal issues in some countries. If you find yourself getting errors like VLC is unable to open the MRL, chances are this is your problem. It’s a simple fix (paste this into a terminal/console): [...]
Connecting to MySQL in C
Posted: 20th August 2009 by Tim in C, MySQL, UbuntuTags: C, coding, compile, connectivity, database, development, gcc, MySQL, sockets, sql, Ubuntu
MySQL comes with a library to make talking to MySQL with C easyish. There are a few things you have to install first, though. I’m using Ubuntu 8.04 for this walkthrough, but things should be similar for other flavours of Linux. Before we start, we have to download the development files required: sudo apt-get install [...]
Getting MP3s working on Amarok
Posted: 26th July 2009 by Tim in UbuntuTags: amarok, linux, mp3, music, Ubuntu
Amarok, by default, does not come with the MP3 codecs installed. This is for a variety of reasons that I’m not going to go in to here. To get MP3s working in amarok, or to listen to internet radio, you need to install the libxine1-ffmpeg package. In ubuntu, that means doing the following: sudo apt-get [...]
Installing Ubuntu on Asus eee PC 701
Posted: 11th July 2009 by Tim in UbuntuTags: boot, boot from CD, CD, eee, eeebuntu, install, laptop, Ubuntu
Let’s be honest – the operating system provided by Asus on the eee PC 701 is a bit rubbish. Sure, the games are fun, but for people like me who like to do ‘advanced’ stuff like using a terminal it just doesn’t cut it. Solution: eeebuntu. Eeebuntu is basically ubuntu (with gnome) which has been [...]