Thursday 28 June 2012

Number Lock (numlock) at login screen in Windows XP

After re-imaging a MacBook Pro with Windows XP, I noticed (annoyingly) that the num lock was always switched on upon boot up at the login screen! After googling it I found this post, which describes how to change it on startup in the registry. Simply change:


HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators=3
to
HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators=1


This turns num lock off. Unfortunately, I think this just applies to whoever's logged in at the time, and doesn't apply to the login screen. Simple enough though, and is described at the bottom of the post in a reply (although for some reason he used some weird code - "2147483650" (string value)). I did this:


HKEY_USERS\.Default\Control Panel\Keyboard\InitialKeyboardIndicators=1


and it worked.

Wednesday 27 June 2012

DeployStudio rc20 not showing new Disk Image Masters

I've just taken a Master image using DeployStudio but the image doesn't appear in the list of images, nor in the /Masters/HFS/ directory on the server. Of course this has happened before so I'm merely writing this down as reference.

The reason is because it uses a directory called /Masters/.workInProgress/ to store disk images whilst they're being made. When they are complete (which is after post processing like ASR scan and gzip) they get moved into the appropriate folder, in this case /Masters/HFS/. I think something happened and it never got moved. In the terminal I simply typed:

admin$ mv /Masters/.workInProgress/OSX-10_6_6-SMALL-2012-06-27.i386.hfs.dmg ../HFS/


But replace OSX-10_6_6-SMALL-2012-06-27.i386.hfs.dmg with the name of your disk image. Tab completion is the easiest way.

Wednesday 20 June 2012

Making buttons and content only for registered users in Joomla


It's simple really, but I did need to do a search on it. I wanted a button which registered users could press which made a new Article in the News category.

What I did in the end was to make a new module, changed "access" from "public" to "registered". This module would then only show if the user was logged in.


I made a new menu, and put it in this module. I then created a button in the menu of type "Create Article" and made the default Category "News".

But looking at it now, it appears you can change Access to Registered for any menu item. So I could have just added menu items. But it still looks good.

Thursday 14 June 2012

VLC media player displaying filenames

Whilst setting up some exhibition spaces a student didn't want her video to have the filename displayed whenever it was played/repeated. I looked it up on google and found this interesting opton:

if you go to "start > run" and type the command:
vlc.exe video1.mov --no-video-title

then vlc opens without displaying the title.

Also, looks like it's in
Tools/Preferences/Subtitles & OSD.

There's a checkbox labelled "show media title on video start"