Posts Tagged With: Terminal

How to Lock and Unlock the Dock

Recently, I set up a Mac for my grandmother (yes, my grandmother, who is almost 90, has been gently coerced into using OS X and is doing better than a lot of much younger people I know). However, she had a few problems with what she called “programs disappearing from the side bit”. What was happening was that she was dragging icons out of the Dock by mistake, inevitably removing them from the Dock. So I locked the Dock to stop this happening.  And because it’s quite a handy thing to know, I thought I’d write a quick post about it.

The easiest way to do this is using the Terminal. For those who are unfamiliar with the Terminal there are really only 2 things I would mention about it.

1.) It is very powerful (it can destroy things if you are not careful) so make sure you are very clear about the commands you are using.

2.) It is very often the quickest and easiest way to execute a command cleanly.

So having said that, to work.

o

To Lock the Dock:

o
1.) Open Finder and go to Go > Utilities

o

2.) From the Utilities list choose Terminal

3.) In the Terminal type (or just copy and paste):

defaults write com.apple.dock contents-immutable -bool true

4.) Then restart the Dock with the new settings by typing:

killall Dock

The Dock is now locked.

o

To Unlock the Dock

o

You may find that from time to time you want to add/remove programs from the Dock. To do this simply repeat steps 1 and 2 above, then

3.) In the Terminal type the command above with “false” instead of “true”

defaults write com.apple.dock contents-immutable -bool false

4.) Restart the Dock (as above) using:

killall Dock

Now the Dock is unlocked.

[NOTE: If this doesn’t work for you try logging out and logging in again as Admin.]

Categories: Mac & OS X | Tags: , , , , , , , , , , , , , , , | 4 Comments

Ubuntu 10.10 – General Software

Depending on whether you do a custom or a default install you may or may not have the following programs.  After using Ubuntu for the last 6 months I recommend the following programs.  Remember, these are all FREE so if you don’t use them you can just uninstall them and it hasn’t cost you anything.  I actually think a lot of these are better than the programs you pay for.  Especially Video LAN Player.  I haven’t yet found a single video file type it can’t open.

To install these programs I usually use Synaptic Package Manager.  If you prefer to use the Terminal or the Ubuntu Software Centre that’s fine too.  I like using Synaptic Package Manager because it recommends you all the extra bits you might need for compatibility and such.  However, the Terminal is the quickest way so I will give the Terminal command for each one, and a detailed Ubuntu Software Centre/Synaptic Package Manager example at the end.

NOTE:  To install a program using the Terminal, open a Terminal window, copy and paste the command line into your window and hit enter.  Enter your Administrator password when asked and it should install it for you.

*********************

  • Firefox – a really good web browser and far more secure than IE (and apparently Safari at the moment).  To install using the Terminal use the command

sudo apt-get install firefox

  • Open Office – similar to Microsoft Office except it’s completely FREE!  This should be included by default but if it isn’t install it using Synaptic Package Manager or Ubuntu Software Centre.

o

  • VLC Player – a really good multimedia player which can handle most file formats.  AVI, WMV, DIVX, OGM, FLV, etc.  To install using the Terminal use the command

sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc

*********************

After that there are several optional odds and ends I recommend:

  • Audacity – a good sound file recorder and editor.  To install using the Terminal use the command

sudo apt-get install audacity

  • GIMP – the GNU Image Manipulation Program.  Similar to Adobe Photoshop… WAIT!  No…  GIMP is FREE not £650 which is the current price of Photoshop!  Seriously, who would pay that?  There are probably a few things it can’t do that Photoshop can but it’s a decent program that can do most things, and yes, it does them for free.  To install using the Terminal use the command

sudo apt-get install gimp

(if you like GIMP you can install some extras for it using sudo apt-get install gimp-data-extras)

  • Five or More – this used to be called Glines and is a bit like connect 4 but oh so much better.  Install this game at your peril, it is very addictive.  Install this using Synaptic Package Manager or Ubuntu Software Centre.

  • Inkscape – a vector graphics editor.  It’s good for people who would like to play around with Adobe Illustrator but refuse to pay the price tag.  To install using the Terminal use the command

sudo apt-get install inkscape

  • SM Player – another media player.  I find this player gets on better with some DVDs than VLC.  It’s a good alternative if you find you have problems.  To install using the Terminal use the command

sudo apt-get install smplayer

***************

o

You can install any of these programs using Synaptic Package Manager or Ubuntu Software Centre.  I will give an example for each method using VLC media player.

Using Synaptic Package Manager:

1.)  Make sure you have administrative privileges and your password.

2.)  Go to System > Administration > Synaptic Package Manager

3.)  Enter your password when asked.

4.) When looking for a program you have to options – you can either browse the list or use the Quick Search.  Either is fine.

5.)  So if I wanted to install VLC Media Player I would search for it in the Quick Search and then right click and choose Mark for Installation.

Of course as I already have it installed it already has a green mark next to it.

6.)  Click Apply and it should be installed.  If it asks whether you want to install the recommended extras, choose yes.  VLC should now be successfully installed.

**********************

Using Ubuntu Software Centre:

1.)  Go to Applications > Ubuntu Software Centre

2.)  In the search type VLC media player and select it from the list.   You can click on more info if you would like to read about it before installing.

3.)  When you are ready click the install button.  The installation may take a little while but at the end VLC should be successfully installed.

Categories: Free Software, Linux and Ubuntu, Ubuntu 10.10 - Maveric Meerkat | Tags: , , , , , , , , , , , , , , , | Leave a comment

Ubuntu 10.10 – Plug-ins, Codecs and all that Jazz… (Part One)

Ubuntu is open source, which on a basic level means pretty much free and unrestricted.  You can read about it here:

http://www.ubuntu.com/project/open-source

Anyway, this means that restricted third party software is not included by default.

***************

Installing Plug-ins, Codecs, etc.

Most of these are pretty straightforward to install once you have the basic settings in place.  These are all settings for the main methods of installing software in Ubuntu which are Synaptic Package Manager, the Terminal, and Ubuntu Software Centre.

o

Synaptic Package Manager

The first thing to do is to check Synaptic Package Manager and make sure your repositories are in good working order.

System > Administration > Synaptic Package Manager

To access this Ubuntu will ask for your Administrator password.  It may take a few seconds to load.

Now go to

Settings > Repositories

which will open a window called Software Sources.


Make sure you have all the boxes ticked.  It is extremely important to have the fourth box, Software restricted by copyright or legal issues (multiverse), ticked.

We won’t be using the other tabs but just so you know.  As you add packages they will appear in the Other Software tab.  In the Updates tab you can configure the system, security and software updates for your Ubuntu system.

o

The Terminal

Applications > Accessories > Terminal

The Terminal is the quickest way to do anything in Linux.  It is extremely fast and efficient.  On the downside, typing the wrong thing can create a lot of problems.  So some people feel safer avoiding it, which is fine as you can get by without using the Terminal at all.

o

Ubuntu Software Centre

Applications > Ubuntu Software Centre

If you go to Applications and can’t find Ubuntu Software Centre don’t worry.  Sometimes it is not included on the menu by default.  Just right click on Applications in your panel and choose Edit MenusUbuntu Software Centre should be at the bottom of the main Applications list.  Tick the box to ensure it appears on your Applications menu.

If you are uncomfortable using the Synaptic Package Manager or the Terminal this is a good option.  Most basic software can be installed from here.

****************

Ubuntu Restricted Extras

The first useful thing to have is the Ubuntu Restricted Extras package.  This will install basic things like JAVA, Firefox plugins, Adobe Flash Player etc.  The recommended way to install is via the Terminal.  If you install it another way your installation may not be properly completed.  You can read about that here.

To install this package using the Terminal go to

Applications > Accessories > Terminal

Then copy and paste the command

sudo apt-get install ubuntu-restricted-extras

Enter your Administrator password when asked and wait for it to finish.  Now your basic media extras should be installed.

Categories: Linux and Ubuntu, Ubuntu 10.10 - Maveric Meerkat | Tags: , , , , , , , , , , , , , | Leave a comment

Create a free website or blog at WordPress.com.