364 reputation
110
bio website
location
age
visits member for 3 years, 2 months
seen 10 hours ago

Jun
26
revised How to disable suspend in 14.04?
both `login1` and `upower` settings are required
Jun
26
revised How to disable suspend in 14.04?
added 47 characters in body
Jun
26
answered How to disable suspend in 14.04?
Mar
22
revised Screen always on when on Lightdm login
fix some typos
Mar
22
comment Screen always on when on Lightdm login
duplicate: askubuntu.com/q/403859/19996 (this was asked first, but that one got more attention)
Mar
22
suggested suggested edit on Screen always on when on Lightdm login
Feb
21
accepted How do I extract the package version from debian/changelog?
Oct
25
answered How do I set up multi seat?
Aug
15
comment How do I extract the package version from debian/changelog?
I was hoping for something a bit more robust -- the deb-control(5) man page does not clearly describe the format and I don't want to make any assumptions. For example, it does not make it clear that fields must start on a line ("Fields are delimited only by field tags."). It also says that a field can span multiple lines, and it doesn't say anything about spacing between the tag and the value, so maybe Version:123 should be interpreted as a continuation of the previous field and not a separate Version field (due to the lack of a space after the colon).
Aug
15
revised How do I extract the package version from debian/changelog?
added 208 characters in body
Aug
15
awarded  Commentator
Aug
15
comment How do I extract the package version from debian/changelog?
I want the version number and only the version number so that I can manipulate it in a script.
Aug
15
asked How do I extract the package version from debian/changelog?
Jul
31
awarded  Citizen Patrol
Jul
6
comment Amarok doesn't start after qt4-related ubuntu updates (from raring-updates)
It's not just Amarok. konsole recently started crashing on me with BadWindow (on two different machines). Many people are having BadWindow problems with KDevelop as well -- see bug #1178843.
Jul
5
comment I want to know when a running process will terminate. How can I watch it?
@hakermania: I understand, which is why I still gave it +1. I was just pointing out a couple of ways to make the script more portable in case someone wanted to do the same thing on a BSD/Solaris/etc. system. I believe that it's a good idea to stick to POSIX unless there's a reason to do something Ubuntu-specific. In this case, there's no reason to not write a POSIX-conformant script.
Jul
3
comment I want to know when a running process will terminate. How can I watch it?
while kill -0 <pid>; do ... is more portable -- it will work on non-Linux systems too. And there's no reason to use bash -- your code doesn't use any bashisms so /bin/sh is perfectly fine here.
May
29
revised How to determine if a string is a substring of another in bash?
added 529 characters in body
May
29
awarded  Critic
May
29
answered How to determine if a string is a substring of another in bash?