Thursday, September 8, 2011

Textbox All Upper Case (Auto Capitalization)

I was looking for a script that can change text input into textboxes to change to capital letters automatically and I found this wonderful short script in http://javascript.internet.com/forms/all-upper-case.html

Just add the code below in your textbox code
onChange="javascript:this.value=this.value.toUpperCase();

Mapguide Maestro 4.0 Beta 1 is released!!!

Mapguide Maestro 4.0 Beta 1 has been released!!! Go get one and try it out!!! What are you waiting for, all you GIS Lovers!!!

To download the latest version of Mapguide Maestro please go to the link below:

How To Access A VNC Remote Desktop After The Server Reboots

Been looking for this solution for a long time, great article by AnthonyDiSante of http://encodable.com/

Ubuntu Linux, and probably other modern versions of Linux, include a built-in VNC server for remote desktop access. In Ubuntu this is called vino-server and it’s enabled via Main Menu -> System -> Preferences -> Remote Desktop.
But since this runs as the user who’s logged in to Gnome, it only starts after that user is logged in. So if you’re away from the PC and accessing it remotely, but something happens which causes/requires it to reboot, then when it comes back up, you won’t be able to access the VNC server because the user won’t be logged in.
The solution to this is actually simple as long as you have SSH enabled and you have root access (via "sudo su" for example) to the server. Just SSH to it using your normal user account. Then edit the /etc/gdm/gdm.conf file (actually it’s /etc/gdm/gdm.conf-custom on Ubuntu) and add the following lines to the [daemon] section:
AutomaticLoginEnable=true
AutomaticLogin=yourusername
Then either reboot the server by running "sudo shutdown -r now", or just restart gdm by running "sudo killall -HUP gdm". Once gdm restarts, it will automatically login as the specified user, and your vino-server process will then start, so you can VNC into the system again. Don’t forget to remove those auto-login lines from your gdm conf file when you’re done.
UPDATE: alternatively you could forget about vino and the Remote Desktop preferences altogether, and just install x11vnc on the remote system. Once it’s installed you just run it from your SSH shell, passing "-rfbauth NNN" where NNN is the port number you want it to run on. Then run your VNC viewer app on your local system to connect to the remote system on that port.

Wednesday, August 31, 2011

Restoring Ubuntu 11.04 Title-Bar (Min / Max / Close Bar)

For those ended up like me in loosing my top windows bar in Ubuntu 11.04, here I find a fix from Ubuntu Genius.

If you occasionally find your title-bars or window borders missing from your programs and folder windows, it’s actually quite easy to fix, and there’s no need to reboot.

You will need to edit a Compiz-Fusion setting, so open System > Preferences > CompizConfig Settings Manager; if it isn’t installed, just run sudo apt-get install compizconfig-settings-manager in a terminal.

Once open, scroll down to the Effects section, where you will see Window Decoration is not enabled. Simply click the check box to the left of it, and you should see your window borders reappear.

Keep this in mind for the future, as certain things can upset Compiz-Fusion and you’ll likely be without title-bars again (especially if you’re playing around with settings, as enabling one Compiz plugin can disable another).

Thursday, July 28, 2011

Microsoft Future Vision Montage 2019 Office Labs

DriverMax - free driver download program for Windows XP & Vista