Posts Tagged 'howto'

HowTo install ttf-font in Ubuntu

Going to font:/// in Nautilus is obsolte.

You can drag your .ttf-file into .fonts in your home-directory to install that font only for this username:

copy myfont.ttf ~/.fonts

or you can drag it to /usr/share/fonts/truetype to install it for all users:

sudo cp myfont.ttf /usr/share/fonts/truetype

Note: If you have Openoffice opened, it may crash after you installed your font the second way.

You may need to run fc-cache to rebuild the font cache:

fc-cache

HowTo: Print pdf in Ubuntu Intrepid Ibex (8.10)

I don’t know why, but cups-pdf does not work for me any more. There is now an easier way than to set up and print with cups-pdf.

You do not need to configure anything 🙂 Just do as you would had installed a Printer (File -> Print) and select Print to file an as output format: pdf. Press Print and you are done 🙂

bildschirmfoto-drucken

Source: http://wiki.ubuntuusers.de/Druckwerkzeuge

HowTo get ColorZilla Eyedropper working on Ubuntu Feisty

If you want to use ColorZilla on Ubuntu Feisty it may not work out of the box. So here is a little tutorial to get it running. (I am using Firefox 2.0.0.6 on Ubuntu Feisty) -> Should be upgraded to 2.0.0.7 now 🙂

Now the Eyedropper-Tool should work. I waited a long time for such a tool =)

EDIT: Seems that other extensions are too affected such as greasemonkey or firebug. An alternative would be to install firefox the normal way and do not use the ubuntu-firefox version but I heard there are some problems with sound and flash… You can download the current one here: libxpcom* for Firefox ColorZilla (VS von 2.0.0.11), VS 2.0.0.13.

HowTo convert ogg to avi with mencoder

If I screencast something, than most of the time I do it with recordMyDesktop which produces .ogg-Videos. If you need to convert it so you can show it to your friend or upload it to a video hosting page like youtube or so you have to convert it into another format. I chose avi as format.

Simply fire up this command to convert your file:

mencoder out.ogg -o out.avi -oac mp3lame -ovc lavc

  • out.ogg is the .ogg-file you want to convert
  • out.avi is the .avi-file you want to create
  • mp3lame is the used audio-codec (here mp3)
  • lavc is the used video-codec (here libavcodec)

For more information you can look at the MPlayer manual page.

HowTo use Mozilla Thunderbird in Nautilus’ Send To… instead of Evolution (for Attachments)

Menu Screenshot Nautilus Script SendtoIf you want to send an E-Mail quickly per Mozilla Thunderbird in Nautilus like the Send To Feature you have to write a little script. (I found a .deb for replacing Evolution with Thunderbird, but it did not work. Instead it killed the whole feature. At the end you will get a menu like the one in the screenshot on the right.

  1. Because I do not need Evolution in Nautilus I removed the nautilus-sento app. To do this execute the following: sudo apt-get remove nautilus-sendto.
  2. Create a file in ~/.gnome2/nautilus-scripts named sendto.
  3. Make it executable with chmod a+x sendto
  4. Paste the following one-liner into the file and save it
    thunderbird -compose attachment="file://$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"
    Note
    : If you have Thunderbird 1.5 (or minor?) you must replace “thunderbird” with “mozilla-thunderbird”.
  5. Restart Nautilus with killall nautilus

Now you can right click on a file and select Scripts -> sendto to send a file as an attachment in Thunderbird.

For more scripts you can goto Nautilus File Manager Scripts.


May 2024
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Blog Stats

  • 383,755 hits