Keyboard issues on Macbook (and Pro) with Ubuntu and VMWare Fusion

No Comments

So, it seems if you’re running a recent Ubuntu install (l/m/n/o initials) and you use Easy Install on VMWare Fusion you’ll have issues with keymaps. Up and down arrow, and a few other keys might play up too.

There’s a simple trick, run this from the console as an admin (sudo if you please):

dpkg-reconfigure console-setup

When it asks what kind of keyboard you have, hit “m” to select Macbook then hit enter. Keep hitting enter (or letter keys to select options, multiple taps on the same letter will scroll) and you’ll get your way through.

Keys should work after that :)

Find the last five IP’s I logged in as

No Comments

So, to find the last five IP’s a user called “user” has logged in as, do this from .. well, a commandline.

last -i | grep user | head -n 5

Last shows the last (lots) of users that logged in, the -i shows IP’s, then you use grep to filter by the word “user” and use head show the top five. Yay, all done.

WordPress security tip

No Comments

You can prevent people from looking inside your directories by creating a file in there called “.htaccess” and adding the following line:

Options -Indexes

This is a good way of doing this, since it then tells the web browser “You’re not allowed in here” rather than having to create blank files to hide your directories :)

Playing DVD’s on Ubuntu Feisty

No Comments

I’ve never really gotten DVD’s to work reliably in Linux. Ubuntu‘s a great distribution and it’s got a lot of things working beautifully straight off, but as usual I couldn’t get DVD’s to play with Totem. I found Quickstart on the Ubuntu Forums and a lot of people had said it worked fine, as usual with most of the fixes. It didn’t work for me (installed a few other cool things for me though) so I played around a bit, determined to watch Sneakers now that the sound was working :)

I figured that I’d been playing around too much so uninstalling everything to do with media playing then reinstalling it might be the go, and I was right :)

If you’re having problems and nothing really works, try this…  either su to root or use sudo in front of this command to run it as root:

 apt-get remove totem libdvdcss2 libdvdread3

Or just go into Synaptic and remove Totem, libdvdcss and libdvdread. Then go into Quickstart again and install the DVD software. You should be good to go :)

If you do have any problems, leave a comment and I’ll see what I can work out that I’ve left out – I removed a few things but I think those three packages are the main problem causing ones.

Ubuntu feisty volume too quiet?

No Comments

Just in case someone else comes looking for the solution to this problem like I did tonight :) I found this link by googling a little.

Here’s the solution if you don’t like clicking…

Try adding this to your /etc/modprobe.d/options (or alsa-base) file:

options snd-hda-intel model=XXX

Replace XXX with one of the quoted values in the list below (remove the quotes)

“3stack” – 3-jack
“3stack-dig” – 3-jack with SPDIF I/O
“6stack-dig” – 6-jack with SPDIF I/O
“auto” – auto-config reading BIOS (default)

I used the “3stack” option for my Toshiba Satellite laptop with Intel hda audio and it worked perfectly. :)

Older Entries