Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Thursday, 10 March 2011

Upgrade to Ubuntu 10.10 leaves some pictures in Firefox with a strange green hue

Version of Firefox is 3.6.15. After an upgrade, some, but not all, pictures have a greenish color to them. We're talking things like jpg, not flash or anything like that.

Fix:

In the Firefox address bar, type:
about:config

Yeah, yeah, you'll be careful. Set:
gfx.color_management.mode

to 0 (zero, if you can't decide whether that's "oh" or "zero"). My setting that had not been working was 2.

Monday, 25 January 2010

Combine multiple images or multiple single-page PDFs into a multipage PDF

This method requires installing a (great) image-manipulation package, and using the command line, but it's very simple - suitable for someone new to using a command line.

If you do a lot of work with images, or have to do a lot of repetitive work or batch processing, I really recommend looking into ImageMagick. You can do things like make thumbnails of a certain size out of a directory, with just a few words.

Get Imagemagick if you don't have it already.
Open a commmand prompt and install ImageMagick:
apt-get install imagemagick
Now to combine your images into a multi-page PDF:
Go to the directory where are your images are.
cd /home/computername/pics
Convert the JPG files to PDF:
convert *.jpg foo.pdf
It will create a multi-page PDF, named foo.pdf in the directory you're in. Just make up whatever name you like for "foo". The pages will be arranged by alphabetical order (the filename). This method will use ALL of the jpg's in the directory. If you aren't familiar with using wildcards (*, ?) or are unfamiliar with command line, I recommend making a directory that only has the files you want to use, and put it in your /home directory so it's easy to find. If you want to only include files that differ by a letter, you can use something like
convert sample?.jpg samplepkg.pdf
...which will only place files like sample1.jpg, sample2.jpg, sample3.jpg in the pdf.

I have noticed the file size gets pretty large using this method. There are probably some command line options to set to manipulate this. Something that does make it smaller is using a graphics program like Gimp, and using the "print" option to "print to" a pdf. Then you can use the command line to combine the single page pdf's into a multipage single pdf.
convert *.pdf multi.pdf
"*" means everything, so keep in mind it will use every pdf in that directory to make a new one... even if it's multipage!

Thursday, 7 January 2010

Common Ubuntu Keyboard Shortcuts

I've finally started on my Network Technology course, where I will be doing and MCSE, CCNA, and possibly prepping for a Linux+, all in the next eight months. Stay tuned for some more interesting tidbits on the blog as I have time.

On another note, I am aware of some OS keystroke shortcuts, but had the urge to use more. Why don't I know the one for Show Desktop, for instance (it's Ctrl-Alt-D). You can also map keyboard shortcuts, which is really handy if you want to use something like the Windows key.

  • Win+E - Shows all workspaces in a nifty way and lets you switch between workspaces easily.
  • Alt+Ctrl+Left/Right Arrow – Move to Workspace on Left/Right
  • Alt+Ctrl+Shift+Left/Right Arrow – Move current window to another workspace
  • Alt + Shift+ Up Arrow – This initiates a cool looking window switcher interface with which you can switch between windows using Arrow keys while holding Alt + Shift
  • Alt+F9/F10 – Minimize/ Maximize current window
  • Alt+F5 – UnMaximizes Current Window
  • Alt+F7 – This shortcut activates the move window option that lets you move current window using arrow keys. You can even move window to other workspace, try moving it to extreme right.
  • Alt+F8 – Resize current window with arrow keys
  • Ctrl + Alt + D – Show Desktop/ Restore open windows if show desktop used earlier
  • Alt+Shift+Tab – Switch Windows in Reverse Direction as done using Alt+Tab
  • Shift+Ctrl+N – Create New Folder, Very useful shortcut
  • Alt + Enter – Show properties of a selected file/folder without requiring to right click on it and select Properties.
  • Ctrl + 1/2 – Change folder view to icon/list.
  • Ctrl + W – close current Nautilus Window
  • Ctrl + Shift + W – close all open Nautilus Windows
  • Ctrl+T – Open a new tab in Nautilus
  • Alt + Up/Down Arrow – Move to Parent Folder/ Selected folder
  • Alt + Left/Right Arrow – Move Back/forward in Nautilus
  • Alt + Home – Move directly to your Home Folder
  • F9 – Toggle display of Nautilus Sidepane
  • Ctrl + H – Toggle Display of hidden files and folders
  • Ctrl + Alt + L - Quick shortcut to Lock Screen if you need to be away from your desktop for few moments and don’t want others to see your desktop.
  • Alt + F1 – Open Applications Menu
  • Alt + F2 – Open the Run Application dialog Box
  • Win + Mousewheel – Zoom in / Zoom out Desktop. This one’s pretty useful if you are having a wireless keyboard/mouse.
(shamelessly stolen from TechnoTraits... if you found these of use, be a sport and visit them!)

Friday, 24 April 2009

How to (Quickly) Check What Version of Ubuntu You Have

Applications --> Accessories --> Terminal. In the box type the following command:-

lsb_release -a

Monday, 5 January 2009

The Command Command

man -k list directory
Lists commands and a very brief description of each. Lots of enlightening stuff here.

Tuesday, 23 October 2007

Installing and Switching Between Extra Desktops / Window Managers

You don't have to commit to one Desktop style. You can install GNOME, KDE, XFCE (among others), and just switch between them.

  • GNOME is the desktop used in Ubuntu.
  • KDE is the desktop used in Kubuntu.
  • Xfce is the desktop used in Xubuntu.

To switch between the desktops, log out. When you log back in, click the "session" button and select which window manager you want to use. Easy as pie.

To install, you can use Synaptic Package manager, or apt-get (on the command line). However, these methods don't keep track of dependencies, so it's recommended you use aptitude (on the command line) instead:

sudo aptitude update
sudo aptitude install kubuntu-desktop
sudo aptitude install xubuntu-desktop
Link in title as always, or here.

Sunday, 29 July 2007

Installing Microsoft Truetype fonts on Ubuntu

"You can install the MS core fonts by installing the msttcorefonts package. To do this, enable the “Universe” component of the repositories. This is done by default in Feisty. After you do that, use the following command from the command line:
$sudo apt-get install msttcorefonts
This will give you the core fonts, but if there are other TrueType fonts that you want installed, it is as easy as copying the font files to the ~/.fonts/ directory.

After installing new fonts, you will have to log out and log in again to be able to see and use the new fonts. If you want to avoid this, you can regenerate the fonts cache by issuing the following command:"
$sudo fc-cache -fv

Thanks to Carthik's Ubuntu blog.

Wednesday, 22 November 2006

Kopete problems

Well, hold on.

We've got some problems with Kopete.
  1. The settings are a little squirrely. It's a little mental workout to find the settings you need to change. Sounds don't automatically seem to be set up. (They are, but you just have to activate them in the right spot.)
  2. Apparently there is no logging of conversations. Wait, no, there are, if you have a Kopete extension installed. Well it is installed, but I still can't find where my conversations logs are kept. All I want to do is see what some guy said to me the other day. Where do I find that?
  3. Despite my installing Firefox and setting it as my default browser, links sent in a chat window in Kopete get sent to Konqueror.