I’m trying to produce a postscript file for an XML document. I can produce a plain text or an html output using xsltproc. Is there a way to produce a postscript file from command line or programmatically using C? Answer One possibility to achieve this is converting the XML-file to XSL-FO and then use Ap…
Tag: linux
Does Linux have a page file? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
How to delete prefix, suffix in a string matching a pattern and split on a character using sed?
I have the following string, which is the output of a cassandra query in bash I want to split this string so as to remove the string in the beginning till the last + symbol and then remove the tail end, which is (XYZ rows). So, the string becomes A|1|a B|2|b C|3|c D|4|d. Now, I want to split this string
How can I display .xed files in Linux?
Using Microsoft Kinect SDK 1.x, it is possible to record RGB-D video with Kinect Studio, and save those recordings in .xed files. Is there a way to open and view those recordings in a Linux-based distribution, such as Ubuntu? Answer XED files are based on a proprietary format, and up to my knowledge there are…
Change maximum number of Virtual interfaces in Kernel
I am running Ubuntu server 14.04.3. I have smcroute installed – Version 0.95, Build 130523. When I attempt to start the daemon I get the error message: ERRO: addVIF, out of VIF space;, this happens after it attempts to add the 33rd network interface of my machine. Looking in mroute.h in /usr/include/lin…
Linux input driver not working properly
I have written a small linux input driver which reads the state of a gpio. The driver registers OK and also the interrupt gets fired, however the events are not always displayed. Driver runs on Beagleboneblack with Android and kernel version 3.8.13 To test it I do either: cat /dev/input/event2 Or run an user …
Not login to system due to changing permission [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
In Debian, where in the filesystem would a daemon provide dynamic measurement results?
For a diploma thesis, I am developing a Linux daemon that runs on Debian and is also Debian-packaged for easy administration. It reads various measurement results via I²C. The results shall be shown on a website. In Debian, where in the filesystem would a daemon output such measurement data to be updated regu…
Pause programmatically video player mpv
I would like to know if there is a way to send a message to a running process on linux ? For example, is it possible to programmatically “pause” a video launched with mpv. Answer To control mpv remotely (eg from another terminal session) you can also start it with the option and control it by issu…
How to let linux(raspberry) run python script when plugin power?
I have a python script(namely /home/pi/x.py). And I have tried a lot of ways to let the program, some thing such as: (I am thinking am I right here(Provides: Python)?) I have modified this bash from its original form, and put it in sudo chmod +x /etc/init.d/mystart sudo update-rc.d mystart defaults However, w…