Archive

Archive for the ‘Linux’ Category

pidgin.im msn protocol alternative: msn-pecan [update #2]

May 23rd, 2010 1 comment

Okay,

Been working with pidgin w/msn-pecan on ubuntu 10.04.  New problem, pecan doesn’t crash pidgin anymore, however I am logged out after I’ve been away from my computer a little bit.  As in, when the screen saver kicks in, pecan logs me out or can’t maintain a connection.

Doesn’t seem to happen in windows 7.

If I can live with this issue,  and so far I have… it’s kind of a nice flaw, as this allows me to be not distracted, while at work.

Categories: Linux, Technology Tags:

little project ideas

March 1st, 2010 No comments

Just found a need to access my home server… however, it’s powered down… how can I overcome this problem in the future.  To answer my own question…  I should go lookup how to send a wake-on-lan command to the box. As well as know what my IP is…

project ideas:

1.) Current IP notifier – send to my webserver, what my home server IP is. (Dynamic). I could use a dynamic dns service… this maybe interesting to learn how to do this, if I have my own VPS… have the home-server, notify the web-server to update the DNS setting. So I would have something like: homelan.lloydleung.com or whatever.

2.) wake on lan commands.
3.) vpn to the network instead… with a combo on 1. This way, everything is encrypted…

putty passwordless login

May 29th, 2008 2 comments

If you found this, you know what you’re looking for

  1. goto http://www.chiark.greenend.org.uk/~sgtatham/putty/
  2. download puttyGen
  3. run it, with ssh-2 RSA
  4. click generate
  5. leave key passphrase blank.
  6. yeah save both the private and public keys for future use.
  7. at the top of the app, there’s a “OpenSSH authorized_keys” text window, copy and paste the information into ~/.ssh/authorized_keys as one line.  (You’ll need to shell into the box first).

Start putty

  1. enter the ip/host address
  2. enter a session name.
  3. in the menu tree goto: connection->data enter your auto-login name
  4. in the menu tree goto: connection->ssh->auth click browse and select the private key you saved from the above section.
  5. in the menu tree goto: session click save
  6. test, by clicking open.

Enjoy.

Ubuntu + Mysql setup

January 4th, 2007 No comments

Wow, that was so painless.

Original Post

Use your favourite means to install mysql, probably apache, php, phpmysqladmin as well…


sudo /etc/init.d/mysql start
mysqladmin -u root password myPassword

where myPassword is your actual password.

to test
mysql -u root -p

enjoy

Categories: Linux, Programming, Technology Tags:

Gnome – multiple monitor taskbar window listing

October 14th, 2006 48 comments

How to/howto get gnome to show what’s running on a given monitor. After having linux installed for a while, leaving pretty much the default install running. I decided to venture out and find how to tweak some usability settings.

There is a program called utlramon for windows that already does this [mentioned above]. A Linux ultramon doesn’t exist, well not as a separate program, as the functionality already exists in gnome.

Just add a panel to each monitor you want, and add to that panel a window list. That’s it.

Instructions:
1.) Right click on anywhere on the launchbar, click “New Panel”

[UPDATE: 2010/05/02 added ALT]
2.) hold down ALT + Drag the new panel to any monitor/location.
3.) Right click on that panel, and click “Add to Panel”
4.) Select “Window List” under Desktop and Windows
5.) Click Add.
6.) Click Close, and you’re done.

Now I don’t have a cluster of ALL windows on my three head setup on one taskbar.

If this helps, please drop a line in the comments.