1,571 reputation
411
bio website
location
age 43
visits member for 2 years, 4 months
seen Dec 3 at 7:38

Nov
16
awarded  Good Answer
Nov
11
awarded  Nice Answer
Oct
16
comment How to find file/device given the resource ID on Linux?
@Alex: If it is a PHP specific number, then your question is actually a PHP question, and probably better asked on Stack Overflow, since I'd expect more PHP experts there.
Oct
16
answered How to find file/device given the resource ID on Linux?
Oct
11
comment Unexpected result when using command line arguments to look for file with symbol
You forgot quotes around $1 and $2.
Oct
7
comment Why does the X Window System use a server?
While I indeed didn't know about that specific design, looking at the image in the linked article, I see a box in the kernel space which contains the term "window manager". Since the actual window decorations are drawn by the individual programs (so there's nothing like the X11 window manager), I can only conclude that this is the component that does basically the same thing that the X11 display server does. The Win32 parts are likely a combination of the functionalities of the X11 window managers (which are not part of the X11 server!) and X11 toolkits (in client context also in X).
Oct
6
answered Why does the X Window System use a server?
Oct
2
comment QEMU can emulate SD card from Linux but not from OSX
What did you use in the ... parts? Maybe instead of flashing it onto the card, you flashed it onto the first partition?
Oct
2
answered Load X resources when KDE starts on Linux Mint
Sep
30
awarded  Nice Answer
Sep
30
comment create a dash prompt
you of course could also test in your .profile whether HOSTNAME is set, and if not, set it explicitly to the name of your host (or the output of hostname if you use the same .profile for several machines).
Sep
30
comment Exposing NFS mount via USB
If the total size of the files that might be played is sufficiently small and all of them live below some dedicated folder not used for other things, you could also use rsync to keep the VFAT drive up to date automatically.
Sep
20
answered Terminology reconciliation: Display manager vs. session manager, Windowing system vs. Window manager
Sep
15
comment ./a.out && echo $? only prints return value if return = 0
Because the semantics of && is to only execute the second command if the first command returned 0.
Sep
14
comment Can a file ( such as PNG image ) wear out if transferred via SSH ( scp ) 1000s of times back and forth?
In principle, there's the possibility of bit errors. For example, a bit can be flipped by a cosmic ray particle hitting a memory cell that currently holds the data. That's why servers usually use ECC memory. You could certainly see an accumulation of bit errors over time as "wearing out", since in the (extremely) long term, the data will turn into white noise (note that error correction will significantly increase that time, but will not completely eliminate bit errors, since there's a tiny, but nonzero chance that several bit errors occur between checks so that the checksum is right).
Sep
12
comment Open a directory and let it update itself using “tail -f”
Probably an even better idea would be watch "ls -lt | head -11"; this would show not only the ten newest files, but in addition the total size of the files in the directory.
Sep
12
comment Open a directory and let it update itself using “tail -f”
If using with tail, I guess it would make sense to use ls -lrt, so the last few files are always the ones which changed last. EDIT: After following your link, I've seen that this is exactly what is done there.
Sep
12
comment How to start XTerm with prompt at the bottom?
Since only the shell knows when it outputs a prompt, any solution must be in the context of the shell. Even forking XTerm won't help because XTerm doesn't know whether what it is asked to output is a prompt or not. For the terminal, the shell prompt is just another character sequence, no different from any other character sequence it might receive.
Sep
11
comment How to start XTerm with prompt at the bottom?
@l0b0: I've now added a version using tput that preserves the exit code.
Sep
11
revised How to start XTerm with prompt at the bottom?
Added a version that preserves the exit code