3,381 reputation
1236
bio website
location Wenzhou, China
age
visits member for 2 years, 5 months
seen Sep 15 at 2:29

I've been using Ubuntu as my main system since 7.04 with a few short breaks using Windows or Fedora because of temporary hardware/software incompatibilities. I support FOSS projects like Ubuntu for a number of reasons but the biggest one is that the software works and it works well--often better than the non-free alternatives.

I'm no guru but in my travels I've learned a thing or two about using/debugging/fixing problems in Ubuntu which I'm always happy to share with the community. If it hadn't been for the help I've received from the Ubuntu community over the past few years I probably wouldn't have gotten past my first month of using it much less to where I am today!


May
21
revised How do I disable the command line history in the dash?
added 547 characters in body
May
21
answered How do I disable the command line history in the dash?
May
21
revised VirtualBox doesn't recognize USB
more info on best-practices for USB filters
May
21
comment How do I configure a DHCP server?
not the most user-friend but: help.ubuntu.com/community/dhcp3-server
May
21
awarded  Commentator
May
21
comment VirtualBox doesn't recognize USB
@Emerald214: also, I'm not sure if this is your problem, but make sure to use the host key (usually the right ctrl key) to uncapture the keyboard and mouse so the host OS can use it again. Once guest additions have been installed you can also enable mouse integration (host + I, or from the machine menu) so you don't have to capture and uncapture the mouse anymore.
May
21
comment VirtualBox doesn't recognize USB
@Emerald214: I'm not quite clear what problem it is you are having, is it your keyboard that isn't working, your mouse, or both? Are they only working in the host OS or only working in the guest OS? If you use a USB mouse/keyboard and added a filter for either one, then that could make the USB mouse/keyboard no longer work on the host OS. So I would recommend not adding filters for a USB mouse or keyboard...
May
21
comment how can I reset the battery statistics for the powermanager?
just saw here, bugs.archlinux.org/task/16970, that the files used to be stored as .cvs files in ~/.gnome2/gnome-power-manager/, obviously they aren't there anymore but at least it hints that they might still be .cvs files. Also, the poster there found out that information by asking at #gnome on irc.gnome.org, so you could try that to find out where the files are now.
May
21
answered VirtualBox doesn't recognize USB
May
21
answered how can I reset the battery statistics for the powermanager?
May
21
answered Skype on 12.04 x64 does not start even after purging and reinstalling it
May
20
awarded  Teacher
May
20
revised change permission of usb drive
Rethought some of the fstab options.
May
20
comment local development LAMP server: routing external requests through SOCKS proxy
I'll give proxychains a try. I know my remote server works for remote DNS resolution because I've always been able to do this with Firefox and Chromium using their built in socks5 support which both support remote dns resolving, in firefox as an option and in Chromium by default. tsocks however didn't seem to capture the dns packets with firefox, which makes me dubious it would for the apache server. maybe proxychains does a better job of this....
May
20
answered change permission of usb drive
May
20
comment local development LAMP server: routing external requests through SOCKS proxy
I can get some limited functionality (I'm testing with a tsocks-ed version of firefox) by putting the hostnames/IPs of sites I know are blocked into my /etc/hosts file, but sites such as youtube and facebook are so complicated these days and host their content on a wide (and constantly changing) range of sites (try watching the loading/looking up/connecting/etc. messages when you load a youtube video) it would take forever to find all the blocked hostnames and add them to my /etc/hosts file. So, currently I can browse youtube fine, but videos won't load... oh well, back to the drawing board!
May
20
comment local development LAMP server: routing external requests through SOCKS proxy
thanks for the advice. unfortunately my problem is a lot more complicated than I originally thought it was. In addition to url and packet filtering China also uses DNS filtering. This is a problem because DNS lookups are UDP requests and only TCP requests get sent through the ssh tunnel (not a problem with firefox or chromium because they have options to route dns through the proxy--doubt apache has such). There is a solution (see hekate.homeip.net/tag/tsocks) using the program socat to convert the lookups to/from UDP on either end of the tunnel but I can't get it to work correctly.
May
16
comment How does one recreate a custom application launcher that takes command line syntax and even perhaps parameters?
On second thought, definitely follow the directions in the answer below. Editing the files in /usr/share/applications/ directly is not a good idea for a number of reasons (unless you a)specifically want the custom launchers to be the default for all users on your machine, and b) backed up the files first.)
May
15
comment local development LAMP server: routing external requests through SOCKS proxy
see this question for example, which suggests a socks global proxy is impossible with Xubuntu: askubuntu.com/questions/77509/…
May
15
revised local development LAMP server: routing external requests through SOCKS proxy
clarified section 2.