First thing, have a look at the properties of the mkv file that you’re going to edit.
You can use mkvinfo but i prefer Mplay, it’s more clear.
Just open the file and with a right-click you can see the list of the audio tracks and subtitles.
Choose the default audio track that you want and take note of the track number (let’s image you want the 3rd one).
Now set the default flag for that track to 3 and the others to 0:
mkvpropedit filename --edit track:a1 --set flag-default=0 --edit track:a2 --set flag-default=0 --edit track:a3 --set flag-default=1
Do the same for the subtitles (set everything to 0 to disable subtitles):
mkvpropedit filename --edit track:s1 --set flag-default=0 --edit track:s2 --set flag-default=0
How to know what shell you are using under FreeBSD or Linux
ps -p $$
It looks like NVIDIA Drivers installer delete libEGL.la…
root@monster:~# grep ".la" /var/lib/nvidia/log
root@monster:~# cp /var/lib/nvidia/117 /usr/lib64/libEGL.la
NB: this is an old article of mine, revised.
Symon is a useful tool that collect data like cpu/bandwidth/whatever usage and display it with nice graphs, like this for example:
First of all, install symon! Since it haven’t configuration options you can use pkg install symon or go to /usr/ports/sysutils/symon and run make install clean.
After a succesful installation, you have to copy your default symon.conf and symux.conf to etc/ directory.
If you have installed symon with the default prefix (/usr/local) you have simply to do
cp /usr/local/share/examples/symon/sym* /usr/local/etc/
Now edit the configuration files, symon.conf and symux.conf.
Continue reading “Install Symon / Symux + Syweb on FreeBSD 10.3”
sed $’s/\t/,/g’ file1 > file2