3,287 reputation
1038
bio website bryceharrington.org
location Portland, OR
age 43
visits member for 4 years, 1 month
seen 2 days ago

Senior Open Source Developer at the Open Source Group of Samsung Research America


Jun
30
comment Why won't this bash script to drop caches work?
works fine for me. The third line will prompt you for sudo password so make sure to enter that.
Jun
30
comment Why won't this bash script to drop caches work?
@Zuul, also that command stops X only if using xdm, which is not the default display manager. The right command would be sudo service lightdm stop.
Jun
30
comment Why won't this bash script to drop caches work?
@Zuul, the script will certainly run inside an X session (I just did). Whether it clears the cache or not I didn't check.
Jun
29
comment How can I turn my desktop Ubuntu 8.04 into a command line only install?
Right, removing ubuntu-desktop is insufficient. The other list of packages would probably work better.
Jun
29
comment How can I turn my desktop Ubuntu 8.04 into a command line only install?
-1 That may remove too much. I tested running it and it wanted to also get rid of apache, emacs, and other stuff you probably want on a server.
Jun
29
comment How to set up multiple GPUs (12.04)?
No, the OP is asking how to set up two cards not two monitors. The above advice is correct but not answering the right question.
Jun
29
comment How can I fix broken i915 drivers for Intel GPUs?
Good point; answer updated.
Jun
28
comment Force startx to run X in a specific resolution and refresh Rate
Yep, will hold true with a live CD too. pastebinit will post the log to a website and give you a URL you can paste in here for people to look at.
Jun
28
comment Is there a simple, safe way to trigger a GPU lockup on a susceptible computer?
Both wmctrl and glxgears can be run as the logged in user. A few of the scripts do need to be run as root, but those are special cases.
Jun
28
comment Is there a simple, safe way to trigger a GPU lockup on a susceptible computer?
As to your third set of questions. Yes having the scripts test for what they need has been on my TODO list. if...else blocks are certainly a good starting point. Ultimately I'd like to be able to let users run the scripts from a GUI, so would like them to "communicate" their requirements back to the GUI so it can grey them out if the user doesn't have the requirements. But I'm a long way from being able to do that, so just simple checks for the command line is the right place to start.
Jun
28
comment Is there a simple, safe way to trigger a GPU lockup on a susceptible computer?
Sure, no prob, I'll update my answer to cover those points.
Jun
28
comment Force startx to run X in a specific resolution and refresh Rate
For getting the Xorg.0.log, you mention you mostly use it from the terminal? So run startx one time and then cancel/kill it. Then from the terminal do 'sudo apt-get install pastebinit; pastebinit /var/log/Xorg.0.log'.
Jun
28
comment Force startx to run X in a specific resolution and refresh Rate
I think just appending the line 'xrandr --output VGA1 --mode 1024x768_60' into ~/.xinitrc ought to do it.
Jun
27
comment How do I make Update Manager stop opening automatically?
This makes it not update itself, but the GUI will still be popping up if anything else causes an update (e.g. like manually running apt-get update.)
Jun
27
comment How to make update manager stop nagging about a new release?
See also related question askubuntu.com/questions/82681/… for quelling the update notices in general, not only upgrades.
Jun
27
comment How to stop (or start) update manager from startup
See also related question: askubuntu.com/questions/85226/…
Jun
26
comment Xorg Issues Ubuntu 12.04 - Freezing
There is, but this isn't the place to post it. There's a plethora of troubleshooting documents on how to solve X crash and GPU freeze issues.
Jun
26
comment Force startx to run X in a specific resolution and refresh Rate
Not sure this can be done with startx itself, but you can probably set up the appropriate xrandr command in an .xinitrc to do it.
Jun
26
comment How do I sudo a command in a script without being asked for a password?
-1 If this seems like a good idea, you'd be way better off just set a password on your root account and use z7sg's solution; that's just as easy, and doesn't create this very dangerous security issue.
Jun
25
comment Why did Ubuntu and Windows start hanging mysteriously after I took a vacation?
Another thing to check is if any of the fans have stopped working. A clogged up fan can result in inexplicable hangs.