Issue: Because I am running wireless the ushare would always fail to load because it was loading to quickly before the wireless had a chance to reconnect with the router.
Solution
Created a simple script with the following lines:
sleep 10
ushare -x -c /sharepath
This makes it so that it waits 10 seconds before running the command. Then make the script executable.
sudo chmod -x scriptname
Add the script to the Startup Applications list:
System >> Preferences >> Startup Applications
create a new entry and point the command to the script you created.
Now reboot and test if it works, if it doesnt you may need to add more time to the sleep command in the script.
Friday, 29 May 2009
Automatic Startup of uShare on Jaunty Jackalope (9.04)
How To make ATI Catalyst work with Compiz - Xorg Server
First you need to add a new source to your repo's
>open the "Software Sources" GUI
System/Administration/Software Sources
>Then select the tab "Third-Party Software
>Then Add... these two APT lines by clicking on the "Add..." button and cut/past them in. Add them "ONE at a Time"
deb http://ppa.launchpad.net/ubuntu-x-swat/xserver-no-backfill/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-x-swat/xserver-no-backfill/ubuntu jaunty main
>Now you just need to enter it's GPG Key
>Fist follow this link
http://keyserver.ubuntu.com:11371/pks/lookup?search=0x643DC6BD56580CEB1AB4A9F63B22AB97AF1CDFA9&op=index
>That "Should" open a new tab, On that tab you will see
pub 1024R/AF1CDFA9 2009-01-20 Launchpad PPA for Ubuntu-X
>Click the "AF1CDFA9" or whatever that # is at the time.
>Then it should take you to a page with the GPG/PGP key and looks like this
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.0.10
mI0ESXVCiwEEANKBDbiSLOJOouub/S97iDifYCVW1b0KONg7XkFYiFos+bMBzzZyGGo90k1h
hCxcseLvqCKPL7dG0RzPRKMo7mvM68yyqi2ljw0ZYC9cVf0YzgKRTohVhihelpwZ+sBRGNYk
OCu+u0Dr+EdVI3u5RNOxAELrbd4vYaS+2cCOfzmLABEBAAG0GkxhdW5jaHBhZCBQUEEgZm9y
IFVidW50dS1YiLYEEwECACAFAkl1QosCGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRA7
IquXrxzfqY4HBACIQEFhl59ZkuIhTD3pmCQgfkhpcg0RVdB6Xwhu3QDJvmlWmrs+cofNMzyA
7SwdjD9ARvhGbqHwub+T7oGiHlmFyodGypUZ4i/fdHsZYpsf34MwgYxhyNyOPY/jNImUE/yw
kSI+kV5esWURH4j0jYfkaergFqCpDnsSkxuIvdjH2Q==
=bkAa
-----END PGP PUBLIC KEY BLOCK-----
>Now open up gedit or any text editor you like and Cut+Past in the whole key. Then save the file with any name, like NewRepoKey_1
>Back in the "Software Sources" GUI click on the "Authentication" Tab
>Then click on the "Import Key File..." button and navigate to the key you saved and click OK.
>Now click "close"
>Now take a brake and have a smoke.
>Now you can upgrade you system through any of the multitudes of GUI's Ubuntu preinstalls
Or just
sudo apt-get update && sudo apt-get upgrade
How to fix Desktop Effects aren't enable for intel integrated graphic in Jaunty
First, download Forlong's compiz-check
You can use this command to download it to your home directory:
wget http://blogage.de/files/9124/download -O compiz-check
Afterwards, you have to make it executable:
chmod +x compiz-check
And finally run it like this:
./compiz-check
If they output shows that Your intel graphic card is in the blacklist, this is the perfect solution for you.
Edit the compiz script file
sudo gedit /usr/bin/compiz
Then go down and look for blacklist, then add the # to take your intel graphic out of the blacklist.
Then the script should look like this
# blacklist based on the pci ids
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
#T=" 1002:5954 1002:5854 1002:5955" # ati rs480
#T="$T 1002:4153" # ATI Rv350
#T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
#T="$T 8086:2a02 " # Intel GM965
#T="$T 8086:3577 8086:2562 " # Intel 830MG, 845G (LP: #259385)
BLACKLIST_PCIIDS="$T"
unset T
Save, then restart
After reboot, go to System > Preferences > Appearance >Visual Effects
then tick on the middle or the last option.
Now your compiz should work back as normal.
Sunday, 24 May 2009
How To: Add the Computer, Trash, and Home icons to the Desktop
This how-to will explain exactly how to add these icons to your desktop, in a completely graphical way.
1. You're going to follow this path in the Ubuntu panel:
Applications --> System Tools --> Configuration Editor.
2. If the above path existed, skip this step.
Sometimes System Tools isn't in the menu by default. It's simple to change by simply hovering your mouse over the taskbar, and Right-click --> Edit Menus. However, it is much easier to press
ALT + F2, and in the dialog box, copy/pasting
gconf-editor
3. On the left side of the configuration editor, follow this path:
Apps --> Nautilus --> Desktop.
4. Now, on the right side, select the checkboxes for "computer_icon_visible", "home_icon_visible", "trash_icon_visible", and whatever else applies to your wants/needs.
Wednesday, 20 May 2009
Howto enable ATI unsupported cards in Jaunty with full effets
The latest open source git drivers seem to have a lot of this fixed. While I'm sure you can wait until the next release when we get newer drivers, here is how to do this in Jaunty and get your system fixed now. Worst case scenario of doing this is that on your particular card all the cleanup hasn't been done yet, but on my x1200 this worked wonderfully.
Open up a terminal and run the following commands
sudo apt-get install build-essential autoconf automake libtool pkg-config git-core
sudo apt-get install libdrm-dev x11proto-gl-dev mesa-common-dev xutils-dev x11proto-xf86dri-dev x11proto-fonts-dev x11proto-randr-dev x11proto-video-dev x11proto-xext-dev x11proto-xinerama-dev x11proto-render-dev xserver-xorg-dev
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati
cd xf86-video-ati
sudo ./autogen.sh --prefix=/usr --enable-dri
sudo make
sudo make install
Now restart your machine and you're using the new drivers. Try bumping up your visual effects to max and see what happens. If you're lucky like me, everything will work flawlessly. If not, then you may want to wait a couple weeks and try it again, but you're no worse off then you were before.