Archive for March, 2009

Tuesday, March 31st, 2009 at 3:15pm

Mounting ISOs using Nautilus scripts

Posted by Brian Higgins in Ubuntu

——————————————————————————————

Create the following shell script named Mount_ISO.sh

——————————————————————————————
#!/bin/bash
# Mount_ISO
gksudo -k /bin/echo “got r00t?”
BASENAME=`basename $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS .iso`
sudo mkdir “/media/$BASENAME”
zenity –info –title “ISO Mounter” –text “$BASENAME e $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS”
if sudo mount -o loop -t iso9660 $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS “/media/$BASENAME”
then
if zenity –question –title “ISO Mounter” –text “$BASENAME Successfully Mounted. Open Volume?”
then
nautilus /media/”$BASENAME” –no-desktop
fi
exit 0
else
sudo rmdir “/media/$BASENAME”
zenity –error –title “ISO Mounter” –text “Cannot mount [...]

Tuesday, March 31st, 2009 at 2:20pm

Enabling desktop shortcuts for mounted filesystems, trash can, computer, etc.

Posted by Brian Higgins in Ubuntu

ALT-F2: gconf-editor
Navigate to APPS -> NAUTILUS -> DESKTOP
Toggle VOLUMES_VISIBLE for mounted files systes
Toggle other features for other self-explanatory Desktop icons

Tuesday, March 31st, 2009 at 10:17am

Playing restricted media in Ubuntu

Posted by Brian Higgins in Ubuntu

SYSTEM -> ADMINISTRATION -> SOFTWARE SOURCES -> UBUNTU SOFTWARE
Enable PROPRIETARY DRIVERS FOR DEVICES (RESTRICTED)
Enable SOFTWARE RESTRICTED BY COPYRIGHT OR OTHER LEGAL ISSUES (RESTRICTED)
CLOSE and UPDATE
In a terminal emulator, or ALT-F2 with the RUN IN TERMINAL option checked, run the following:
$ sudo apt-get install ubuntu-restricted-extras
Follow the prompts to complete the installation.

Friday, March 27th, 2009 at 7:08pm

Hosting remote X sessions

Posted by Brian Higgins in Ubuntu

If you want to run an X session from one machine called PC1 remotely on another Linux machine called PC2, using PC1’s user accounts, software, files, etc., you can achieve this by performing the following steps.
On PC1:

SYSTEM -> ADMINISTRATION -> LOGIN WINDOW -> REMOTE
STYLE = SAME AS LOCAL, or PLAIN WITH FACE BROWSER
Click [CLOSE]
If ufw [...]

Friday, March 27th, 2009 at 4:00pm

Running multiple X sessions locally

Posted by Brian Higgins in Ubuntu

7 sessions instantiate locally by default on boot. CTRL-ALT-F1 thru CTRL-ALT-F6 toggle between your 6 default tty sessions while CTRL-ALT-F7 hosts your single default X session. This X session is numbered “0″ by default. To spawn additional X sessions locally, toggle to an unused tty session and execute:
$ startx — :1
whereas :1 indicates you are [...]

Friday, March 27th, 2009 at 2:45pm

Executing individual X applications on a remote host

Posted by Brian Higgins in Ubuntu

If you would like to execute individual applications hosted on a remote machine, but have RDP/TSC or VNC restrictions, do the following. In this example, we have two Linux workstations labeled PC1 and PC2 respectively. PC1 has an application you would like to execute, but you are currently using PC2 from a remote location. Please [...]

Sunday, March 22nd, 2009 at 10:14pm

WinFF, a GUI for ffmpeg

Posted by Brian Higgins in Ubuntu

Update ffmpeg to the Medibuntu version by adding the repo:
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
Then add the Medibuntu PGP key to your keyring:
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
Check for updates available to ffmpeg and install them:
SYSTEM -> ADMINISTRATION -> UPDATE MANAGER
Add a new repo auth key for WinFF:
$ wget –quiet [...]

Tuesday, March 10th, 2009 at 10:22pm

Installing Truecrypt client on Ubuntu

Posted by Brian Higgins in Ubuntu

Download and save the proper .gz distro from http://www.truecrypt.org/downloads.php to your Desktop.
Click PLACES -> DESKTOP
Double-click the .gz file you just downloaded.
Inside the ARCHIVE MANAGER window, highlight the setup file and EXTRACT to your Desktop.
On your Desktop, double-click this new file and select RUN IN TERMINAL. Two windows will open.
In the 2nd window, select INSTALL TRUECRYPT [...]

Thursday, March 5th, 2009 at 11:00pm

Installing Easy Peasy a.k.a. ubuntuEEE on Asus EEE 900+

Posted by Brian Higgins in Ubuntu

Dedicate a 1gb+ USB 2.0 flash drive as your EasyPeasy installation media. Cruzers that have U3 removed with a single FAT32 formatted partition seem to work great.
Ensure UNETBOOTIN is installed on a surrogate host.
Using a torrent client, download the MiniNova torrent from Get Easy Peasy to obtain the easypeasy.ISO
Unplug all USB flashdrives and HDDs from [...]

Thursday, March 5th, 2009 at 10:45am

XBMC’s PPA Debian repository and PGP key for Ibex

Posted by Brian Higgins in Ubuntu

Create a text file with the following content, naming / saving it whatever / wherever:

- – – – -BEGIN PGP PUBLIC KEY BLOCK- – – – -
Version: SKS 1.0.10
mI0ESXhddgEEALZHX0uquOdLS+L0/3YLGDMBmwTjCRh8Oy8dmKYOwIZwEhtFD8JDSMNbjzGF
9Lc048FYPgEQqri68RYkwLOclz01WOjb/swbEqwqAqKhx9NY5R2LwO/5BXgKsaP7iI/MrqlJ
ba4gpKUGPw7MBu3KgHPE1tepyEYCMAYFyPTM226NABEBAAG0JExhdW5jaHBhZCBQUEEgZm9y
IFRlYW0gWEJNQyBJbnRyZXBpZIi2BBMBAgAgBQJJeF12AhsDBgsJCAcDAgQVAggDBBYCAwEC
HgECF4AACgkQQ8Cv8Nf65oBXxgQAioQiWuCkKs+DfQTtSD0sud5oLJwRRd/r8PUZ4uld6OKD
vPeKBrJm7h1At/103A82DN4XcnoPfAtj1uciciEdwPW+5qQsELBzxIAYwRySwI7XKnwS4rR4
5JVE1DL9Xyfp1AcBvjhMbcSc2gvotHg9RjfHH9gJd+d+T0BkXU6/h54=
=wFmE
- – – – -END PGP PUBLIC KEY BLOCK- – – – -

SYSTEM -> ADMINISTRATION -> SOFTWARE SOURCES ->AUTHENTICATION
IMPORT KEY FILE, using the newly created text file [...]

© 2009 B r i a n H i g g i n s . c o m: . :   Just   Another   Personal   Website   : .