| bio | website | |
|---|---|---|
| location | Wenzhou, China | |
| age | ||
| visits | member for | 1 year |
| seen | Apr 11 at 13:45 | |
| stats | profile views | 235 |
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 |
comment |
How to become root? I wouldn't say it's a duplicate. The linked post is a problem related to a 3rd party application not expecting Ubuntu's security policy, whereas this one seems to rather just be the user not understanding Ubuntu's security policy. Still a well documented problem(non-problem) but probably not a duplicate of that specific link in my opinion. |
|
May 21 |
comment |
How do I disable the command line history in the dash? Just realized that the HUD is probably the fancy new 12.04 menu-item-finder-thingy. Reformatting my answer so the more relevant part is first and the original answer is second. |
|
May 21 |
comment |
How to become root? If you want to use gedit you should swap gksudo for sudo as well. ie. gksudo gedit /etc/motd.tail |
|
May 21 |
comment |
how can I reset the battery statistics for the powermanager? also, not particularly relevant now that we've found the history databases, but I was wrong about power-manager getting the information from /proc/acpi/battery/BAT0/info, it actually seems to get it from /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 |
|
May 21 |
comment |
how can I reset the battery statistics for the powermanager? My mistake, Ubuntu actually uses freedesktop's UPower power manager now rather than gnome-power manager, after looking through the source of UPower I think I've found the persistent history database. I will update my answer with the results. |
|
May 21 |
comment |
How do I configure a DHCP server? not the most user-friend but: help.ubuntu.com/community/dhcp3-server |
|
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 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 |
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 |
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. |