Reputation
2,013
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 15 32
Impact
~58k people reached

Apr
21
comment add timestamps to recorded session via “script” command
Is there anything special in the format about these script files, or could this question be reworded to be about prepending timestamps to files in general?
Apr
21
comment How do I create a blank PDF from the command line?
@BartekChom I want that as a separate answer so I can upvote it.
Apr
20
comment How can I find out what linker flags are needed to use a given C library function?
Marking accepted: this is a workable method! I'm not on Debian, but here's a CW to complement this method, with some other distros' specific tools.
Apr
20
comment How can I find out what linker flags are needed to use a given C library function?
@FaheemMitha dpkg and dlocate are Debian-specific, but that sounds like a decent method for Debian users. Add it? (I use Arch.)
Apr
20
comment How can I find out what linker flags are needed to use a given C library function?
@FaheemMitha Unless I misunderstand what you mean, the header a function was defined in can easily be found by checking man, as mentioned. For XListInputDevices, the appropriate include-line is #include <X11/extensions/XInput.h>. I'm wondering how I can tell based on that what -lSomething flag I need.
Apr
20
comment How can I find out what linker flags are needed to use a given C library function?
@FaheemMitha Whatever answers the question. Examples are trivial to construct: just pick any library function that requires a linker flag, like XListInputDevices used in the example compiler error here.
Apr
20
comment How can I find out what linker flags are needed to use a given C library function?
@FaheemMitha I don't see how an example file helps the general question.
Jan
8
comment What controls the design of the context menu and what controls the interaction with the context menu?
What context menu are you talking about?
Dec
6
comment Chroma key (green screen) live for a webcam?
The ffmpeg-specific solution might be adaptable for this purpose, though you might need to pipe that further on to v4l2loopback to get the composited image showing up as a webcam.
Nov
19
comment Wifite problem (loop when I execute)
I don't use Gnome so I can't repro, but this might be a starting point: Wifite is a single-file Python 2.7 program and line 889 is responsible for printing that diagnostic. Try using a debugger or adding some print statements where you think it might be looping, and ask on the issue tracker.
Nov
17
comment SVN commit takes too long
You can get general I/O stats with iotop and check whether a program is blocked on I/O syscall with something like ps -Ao stat,fname | grep D.
Oct
5
comment How to install Qmmp plugin for YouTube?
You could also ask by creating a github issue.
Sep
10
comment How do I ensure all data to an SSH pipe is sent, despite lengthy disconnects?
@sebix I've used both. They're useful for interactive ssh shell sessions, but to my understanding, they don't help when piping data through ssh as here.
Sep
10
comment How do I ensure all data to an SSH pipe is sent, despite lengthy disconnects?
I was over-thinking. Thank you!
Aug
15
comment How do I disable waiting for wpa_supplicant lease at boot?
Vague. What OS? Are you using a network manager? Which? Are you booting with systemd or sysvinit?
Aug
11
comment Does rsync over any type of checksum?
Aaaaa why does stackexchange only tell me this got closed after I spend an hour on a comprehensive answer!?
Jul
19
comment How do I use inotify or named pipes over SSHFS?
@JanusTroelsen I haven't heard of gamin. According to its overview page, it uses inotify too. Is it useful for distributing such updates over a network?
Jul
17
comment “Xterm” or “xterm” in configuration file
This page suggests that the client class part (XTerm in your case) is case-sensitive. I don't know how Xresources works, but some speculation: Maybe you're running different versions of xterm between your boxes somehow? (Post xterm -version?) Maybe different distros call the xterm program different class names? (I don't know how to check for this.
Jun
22
comment GIF screencasting; the UNIX way
It seems closed-source, shareware, and unscriptable, though much cleaner than any GUI alternative I've seen! Does it work on distros other than Debian? (I only see .deb packages mentioned in the purchase popup.) Can it capture fullscreen on small screens despite the capture window's border?
Jun
2
comment In a Makefile, how can I begin processing a file before it has finished building?
@lcd047 How? Are you recommending to simply remove the data dependency from processed-data and run make -j2 data processed-data? Wouldn't that create a race condition where processed-data can fail if the data isn't present yet?