Benaiah\’s Computer Experiences

April 19, 2009

Enabling Compositing in Ubuntu

Filed under: graphics, Linux, ubuntu — Benaiah @ 9:37 pm

After installing the latest version of Gnome-Do a few days ago I found that I had to enable compositing to be able to use the latest themes.  Here how I did it.

Press Alt-F2 to open the “Run Application” box.

Type “gconf-editor” and press Enter.

Navigate to apps  >> metacity >> general

Select the checkbox next to “compositing_manager”

Thats it!

January 22, 2009

Splitting and Merging PDF Files

Filed under: Linux, Mac, ubuntu — Tags: , , — Benaiah @ 9:54 pm

Today I had a situation where I needed to combine two PDF files into one.  PDF Split and Merge is a free excellent program for both splitting and merging PDF files.  This program allows you to split a PDF files according to a large number of criteria (see screen shot for all options) , as well as merge several PDF files into a single file.

PDF Split and Merge is available for download here.   For use on Linux systems download the Zip archive.  Though this post focuses on the Linux version, PDF Split and Merge is also available for windows and mac as well.

Once you’ve downloaded the program extract the contents of the zip file, by double clicking the Zip file and selecting “Extract.”

Once the files have been extracted there are two different ways to run the program.  The first is to right click the pdfsam-1.1.0.jar file and select “Open with Sun Java 6 Runtime.”  If you do not have that option in your right-click menu follow the steps below.

Open a terminal and change to the directory containing the extracted files and run:

java -jar pdfsam-1.1.0.jar

The program will open and you will be ready to split/merge your PDFs!

November 1, 2008

Ubuntu 8.10 Freezes After Login Screen

Filed under: Linux, ubuntu — Tags: , , , , , — Benaiah @ 12:13 pm

Some integrated Intel graphics cards are having a hard time with the new Ubuntu 8.10 release.  The symtom is that after the install you can’t get past the login screen.  It accepts your login but instead of loading the desktop all you see is a black or tan screen (sometimes my mouse would move and other times it wouldn’t).  This happens because the graphics card cannot handle the compiz special effects. To fix the problem you need to remove compiz.  Here’s how:

1. From the Grub boot menu slect the “recovery mode” option.

2. Select “root       Drop to root shell prompt”

Type the following at the prompt:

3. sudo apt-get remove compiz

4. sudo apt-get remove compiz-core

5. exit

6. Select “resume      Resume normal boot”

You should now be up and running!  If you want to try to use compiz later install it through the Synaptic Package Manager.

August 15, 2008

Add User to “sudoers” File

Filed under: Linux, ubuntu — Tags: , — Benaiah @ 10:17 am

To give a user the ability to use the “sudo” command you must add them to the “sudoers” file.  Here’s how.

Thanks to ubuntucat (see comment below) for the following suggestion!  The easiest way to allow a user to sudo is to simply run the following command from the Terminal:

To open the Terminal:

Applications >> Accessories >> Terminal

Once the Terminal is open type:

sudo adduser username admin

This must be done from an account that already has sudo abilities or else from the root account.

If for some reason you have to manually edit the “sudoers” file keep reading!

Open the file “sudoers” located at /etc/sudoers using your favorite text editor.  You must have root permissions to be able to edit this file so you will want to open your editor from the command line.

To use gedit you would do the following:

Open the Terminal and type:

sudo gedit /etc/sudoers

If you want to use vim you can simply enter the following into the Terminal:

sudo visudo

Once you have the sudoers file open, scroll down to the line:

root   ALL = (ALL)    ALL

Add the folling line below the root line (replacing “user” with the name of the account you wish to give sudo access to)

user   ALL = (ALL)    ALL

Save and close the file.  The new user has now been added to the “sudoers” file and can use the “sudo” command.

May 19, 2008

Ubuntu Command-Line Reference

Filed under: Linux, ubuntu — Tags: , , — Benaiah @ 8:06 pm

Here is a nice reference sheet I found for the linux command line.  Click the link to download the PDF.

Ubuntu Reference Sheet

Older Posts »

Create a free website or blog at WordPress.com.