Sunday, June 6, 2010

Joomla/Eclipse Development setup

So, what I thought would be a simple case of setting up a sftp mount through the gui for Eclipse to have access to a remote file system turned out to be not so simple. To get eclipse access to the webserver's directories I had to :

  1. Install sshfs (through the software center for Ubuntu)
  2. Add myself to the fuse group (though I believe this was useless in the end)
  3. Create a dir to mount the sshfs
  4. Backup /etc/fuse.conf (I used bk_fuse.conf)
  5. Remove the # from allow_other_user in fuse.conf
  6. Run: sshfs user@hostname:remote_dir local_dir -o allow_other
    e.g. # sshfs root@192.168.1.100:/ /media/rm_mount_point -o allow_other
  7. Profit

Sunday, May 23, 2010

A bit more freedom

Changed my Keyboard back to my Logitech cordless internet pro and put the v470 Bluetooth mouse on the desktop.
The keyboard worked flawlessly, the mouse not so much. The mouse was randomly laggy and at times unresponsive; tried some 3rd party apps but no good, in the end the solution was the drop the nice values on all bluetooth processes to -10.
The v470 as a scroll wheel that can rock left or right to give an additional 2 buttons, never tried before but getting them to work was fairly easy. Installed btnx and the btnx gui and followed the guide for setting up the extra buttons :-).

Wednesday, May 5, 2010

Ubuntu 9.10 -> Ubuntu 10.04

Upgraded to 10.04 yesterday, had a little time to mess around today, I like it so far and even moving the windows controls doesn't seem bad. Just the issue of it being on the left in Ubuntu and on the right with Windows. I'm sure it will be annoying soon but I'll still try.

Only problem so far was skype not working, just needed to reinstall:

For 32-bit
$ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-32
For 64-bit
$ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-64

You will need to install the following libraries.
$ sudo apt-get install libqt4-dbus libqt4-network libqt4-xml
Now install skype(the file u just downloaded, may be named intrepid-ibex)
$ sudo dpkg -i skype-XXXXXXXXXXXX.deb
Taken from here.

Tuesday, February 23, 2010

Active Directory Group Poilcy

The world of windows administration is an expansive one and weekly I come across pet peeves, my newest? GPO exceptions! or the lack there of.

To disable the screen saver for one user I had to either create a loopback GPO or manually edit the registry settings on the PC. Clearly there was only one real option:

User Key: [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\
Desktop]
Value Name: ScreenSaveActive, SCRNSAVE.EXE
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disable screen savers, 1 = default)