linux

Cakephp Object not found!

 If you are getting an Object not found! cakephp error check out your httpd.conf

<Directory />

Options FollowSymLinks

AllowOverride All

# Order deny,allow

# Deny from all

Virtualbox 3.1 and Ubuntu Karmic greyed out USB problem

 Fix found here: http://ubuntuforums.org/showthread.php?t=1381318

Basically I wasn't in the vboxusers group:

1) Check if your username is in the group: 

cat /etc/group | grep v*box

2) If it isn't add it and logout/login.

sudo usermod -G vboxusers -a YOURUSERNAME

Fixing Grub/Ubuntu Karmic Koala 9.10 after Windows 7 install

I just formatted my Vista install and installed Windows 7.Microsoft being Microsoft it assumed it was the only OS on my disk and replaced grub.To fix:

VirtualBox 3.1.0 released!

VirtualBox 3.1.0 has been released!
Useful links:

I followed the Linux instructions and installed it fine on Karmic 9.10 x64.

Asus Xonar DX in Ubuntu- better fix

I previously posted about my Asus Xonar DX in Ubuntu. I have found a better fix after my reinstall.

The problem I was having was when I adjusted the volume it stopped/stuttered for a few seconds.
The solution: here.

I enabled the backports repository and installed
GUI way:
System>Administration>Software Sources>Updates>tick Unsupported updates
System>Administration>Synaptic Package Manager>click Reload then search for inux-backports-modules-alsa-karmic-generic
and install and reboot. Done.

Terminal way:
Uncomment backports lines in /etc/apt/sources.list (sudo nano /etc/apt/sources.list)
sudo apt-get update
sudo apt-get install inux-backports-modules-alsa-karmic-generic

Back in Ubuntu!

I am back using Ubuntu 9.10 x64 (Karmic Koala). I tried to use Suse 11.2 for a week but in the end I just couldn't. Suse is normally so polished but this release felt half-baked.

Ubuntu is just so much faster to do things in. Faster to update. Faster to install packages. Faster to find packages because of the bigger community/repositories. Things that would take minutes and lots of clicking in Suse's Webpin/Yast gui thingymajig take seconds with a sudo apt-get install.

Also does Suse even have mirrors? Downloading packages from them took hours and I could'nt find an easy way to set a mirror.
Another thing that worried me was that to get software I quite often had to install from locations that I didn't fully trust- repositories created by users that are on the suse site but I don't know how much checking they receive.

My wireless on Suse also felt buggy and my dmesg logs were full of weird messages about it that could not be explained by a quick google-perhaps another sign of a smaller community.

Suse did some things very well: Beautiful installer, pretty default theme, sound worked great out of the box, nice choice of default graphical effects when enabled.
The main bad points were: terrible menu by default, terrible 'traditional' menu layout, package management still sucks and a smaller community than Ubuntu.

Perhaps if I had used the full DVD install things would have been better? Or perhaps if I had used the KDE live install?
I will try Suse again in a year and hope things have changed. Until then back to the wonderful, easy, quick world of Ubuntu (and its ugly default theme).

Eclipse/Aptana can't click or Add new software/plugins in Opensuse 11.2

I was just trying to install Aptana in my new OpenSuse 11.2 setup and ran into a strange problem...it seemed Aptana was just refusing to be added as a install source (instructions here). After closer examination (read googling) it turns out that it was just not reading the mouse click properly:
Solution found: here
Running
export GDK_NATIVE_WINDOWS=true
fixes the problem
Wrapper (assuming you are using eclipse at /opt/eclipse
#!/bin/bash
export GDK_NATIVE_WINDOWS=true
/opt/eclipse/eclipse

Just installed OpenSuse 11.2

First thoughts:

Pretty installer.

Installing nvidia proprietary drivers from this link: http://en.opensuse.org/NVIDIA
Why is it downloading 800mb of packages? I know I used the Gnome live cd install but still...

This page looks useful: http://en.opensuse.org/Additional_YaST_Package_Repositories

Fonts look really bad on my screen. Not sure why yet.

Wireless worked out of the box (unlike Windows 7).

Sound isn't working right now (unlike Windows 7). I will see if I can get it going. My sound card is the Asus Xonar DX.

The Gnome default menu thing is possibly the worst piece of design I have ever seen. Switched back to 'Traditional Menu' (right click on taskbar and click Add).

Anyway thats all for now. 700Mb of packages still to install before my Nvidia drivers are done. I am going to bed.

My New Soundcard - the Asus Xonar DX

Update: Better fix here http://heratech.net/blog/sham/asus-xonar-dx-ubuntu-better-fix

My new soundcard the Asus Xonar DX is a right pain to get working nicely in Ubuntu 9.10 x64. It was detected right away but whenever I changed the volume it would stutter for a good 5 seconds.

I really should have checked this page more thoroughly: http://www.alsa-project.org/main/index.php/Matrix:Vendor-Asus

This script seemed to get it working nicely though (so far!) : http://ubuntuforums.org/showthread.php?t=1046137&highlight=alsa+update+s...

Spotify under Wine in Linux - Can't open spotify links in Firefox

Fix for: 'Firefox doesn't know how to open this address, because the protocol (spotify) isn't associated with any program.' In the Spotify instructions (here) it says:
Opening spotify URIs from browsers
 
This has been tested and works with Firefox (Iceweasel), Epiphany and Opera 9.5.
 
To be abe to open spotify URIs you first need a simple script:
 
echo '#!/bin/sh' > ~/.browser2spotify
echo 'exec wine "C:\Program Files\Spotify\spotify.exe" /uri "$@"' >> ~/.browser2spotify
chmod 755 ~/.browser2spotify
 
(Change the path to the spotify executable if necessary)
Firefox/Epiphany
 
In Epiphany enter the following in the URI field:
 
about:config
 
Right click and select New > Boolean and name it network.protocol-handler.external.spotify and set it to True
 
Right click and select New > String and name it network.protocol-handler.app.spotify and set the name to ~/.browser2spotify
You also need to add boolean:
network.protocol-handler.expose.spotify
with type false. This worked for me. The fix is from grus comment here. Thank you grus!
Syndicate content