Sign in Join
Wiki copytemporary

Linux Programming Tips: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Linux Programming Tips

OldNewLine
1+*(Linux only)*
2+
3+## How to...
4+
5+### Write a daemon
6+
7+To write a daemon (service application), please see [[Daemons and Services]]
8+
9+### Get the list of mounted partitions
10+
11+Read and parse the file /etc/mtab
12+
13+An example of such a file:
14+
15+ /dev/sda5 / ext4 rw,commit=0 0 0
16+ none /proc proc rw 0 0
17+ /dev/sda7 /home ext4 rw,commit=0 0 0
18+ none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
19+ gvfs-fuse-daemon /home/felipe/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=felipe 0 0
20+ truecrypt /tmp/.truecrypt_aux_mnt1 fuse.truecrypt rw,nosuid,nodev,allow_other 0 0
21+ /dev/mapper/truecrypt1 /media/truecrypt1 vfat rw,uid=500,gid=500,umask=077 0 0
22+
23+### Perform text-to-speech (TTS) or how to let my computer speak
24+
25+See:
26+
27+- [examples for calling espeak](http://lazarus.freepascal.org/index.php/topic,19723.0/topicseen.html).
28+
29+**to do: incorporate those examples**
30+
31+### Install Lazarus on Raspberry Pi
32+
33+- [[Lazarus on Raspberry Pi]]
34+
35+### Test whether an application is already running
36+
37+See [[AppIsRunning]].
38+
39+---
40+*From the Free Pascal wiki, page "Linux Programming Tips", as it stood on 2021-11-03 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history