Reputation
4,231
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 18 39
Impact
~920k people reached

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.
May
15
comment local development LAMP server: routing external requests through SOCKS proxy
thanks for your response. Your right, I wasn't very clear about this. I have no problem making the SSH tunnel itself, it's just configuring it as the global socks proxy that is giving me trouble. Xubuntu doesn't come with ubuntu's Network Proxy GUI, and all of the solutions I found via googling were only for http and ftp proxies and suggested it is impossible to set a global socks proxy (which I don't believe). They suggested using tsocks, but I'm unsure how to/if I can use tsocks with apache5 without breaking it.
May
15
awarded  Editor
May
15
revised local development LAMP server: routing external requests through SOCKS proxy
edited title
May
15
answered How does one recreate a custom application launcher that takes command line syntax and even perhaps parameters?
May
15
asked local development LAMP server: routing external requests through SOCKS proxy