175 reputation
11
bio website github.com/spraff
location London, United Kingdom
age 94
visits member for 2 years, 10 months
seen 2 hours ago


Dec
20
comment My laptop often resumes when its lid is *closed*
Also, sometimes the lid is already fully down before the shutdown has happened. And even if it is a case of bounce, the question is then "how do I make my sleep/resume process bounce-tolerant?"
Dec
20
comment My laptop often resumes when its lid is *closed*
It sometimes happens ten seconds or so after the lid has closed. This makes me want to rule out bouncing.
Nov
23
comment Is it possible to restore a wiped MBR partition table on a machine that has not been rebooted?
This worked perfectly. Very clever.
Nov
21
comment Is it possible to restore a wiped MBR partition table on a machine that has not been rebooted?
Isn't there a way to search through the rest of the disk to find something that looks like the beginning of an ext4 section and infer the partition table from that?
Nov
7
comment Why is audacity recording at a slower speed
No difference, it still comes out slow and downpitched
Jul
29
comment Why does this gpg command in a script behave differently when it's pasted into a shell?
Thanks. I used $@ instead of "$@", won't your way pass both arguments as one token?
Jul
28
comment Why does this gpg command in a script behave differently when it's pasted into a shell?
I have a feeling this is a totally separate problem, but this version seems to hang gpg. Have you actually tried runing it?
Jul
25
comment Why does this gpg command in a script behave differently when it's pasted into a shell?
No difference..
Jul
25
comment Why does this gpg command in a script behave differently when it's pasted into a shell?
I'm running the script and the copy-pasted line from the same shell.
Mar
24
comment Can't bind Alienware multimedia key to KDE shortcut
Thanks a lot for your time.
Mar
24
comment Can't bind Alienware multimedia key to KDE shortcut
Still nothing for that key.
Mar
24
comment Can't bind Alienware multimedia key to KDE shortcut
Nothing for that key. Something for other media keys.
Mar
24
comment Can't bind Alienware multimedia key to KDE shortcut
No extra ouput in dmesg
Mar
24
comment Can't bind Alienware multimedia key to KDE shortcut
showkey gives no output for that key
Mar
24
comment Can't bind Alienware multimedia key to KDE shortcut
The normal keys (play/pause etc) work fine.
Mar
24
comment Can't bind Alienware multimedia key to KDE shortcut
The one which launches the AlienFX configuration software. In principle, shouldn't there be a way of capturing any unusual extra key?
Jan
2
comment udev 99-hide-disks.rules is no longer working
Okay so changing the name worked. Apart from making life more difficult, what's the difference?
Sep
20
comment How do I make my script ask for a password, like sudo?
Thanks. Quick follow-up: my test is ((su $USER >/dev/null 2>&1) && echo ok) || echo no which prints "no" when the password is wrong and prints NOTHING when the password is right. Why is this, do you know?
Sep
20
comment How do I make my script ask for a password, like sudo?
Testing it now, seems like -c "echo -n" is redundant. Is my ubuntu abnormal in that regard?
Sep
20
comment How do I make my script ask for a password, like sudo?
If someone is already tunning a root shell that won't work. I don't want admin privileges, I want to reverify the password. Overlapping but not equivalent problems.