Edit file /etc/issue
. My (colorful) contents
[01;37mArch Linux [00;31m\r [00;32m\n [00;34m\l[0m
Post-login message resides in /etc/motd
file.
Remove the ^[c
sequence from /etc/issue
- this sequence clears the screen. More information here.
See this page.
Check the configuration file /usr/share/texmf-dist/dvips/config/config.ps
(or /usr/share/texmf/dvips/config/config.ps
)
On my keyboard, there is no convenient insert
key. I decided to override print screen
(which I don't use at all). In file /usr/share/X11/xkb/symbols/pc
I commented out original lines (within xkb_symbols “editing”
section)
key <PRSC> { type= "PC_SYSRQ", symbols[Group1]= [ Print, Sys_Req ] }
and and replaced by
key <PRSC> { [ Insert, Print ] };
and it worked
To support MIDI playback for KDE, I used Timidity (Arch How To).
There is encTeX extension which can provide input and output (re)coding. To create a format that uses encTeX open /etc/texmf/web2c/fmtutil.cnf
and add lines like
enctex tex - -enc tex.ini encpdftex pdftex - -enc *pdfetex.ini
this will result in a plainTeX
format but with encTeX extension enabled. To generate the format do
fmtutil-sys --all
To use the format, run TeX by
tex -fmt=enctex your_file.tex
or
pdftex -fmt=encpdftex your_file.tex
The input and output encoding can be specified in your tex file
\input utf8-t1.tex
In this example, it converts utf8 input to T1 (font) encoding. The other files may be found in /usr/share/texmf-dist/tex/generic/enctex/
For Czech fonts, it is more appropriate to use CSF encoding by
\input utf8-csf.tex
This helped: http://www.thinkwiki.org/wiki/Xorg_RandR_1.2.
This helped: http://www.unixgeeks.org/security/newbie/unix/cron-1.html. To edit your user cron table, do
export VISUAL=vim # gvim doesn't work for some reason crontab -e
An example record (to generate Garmin map from OSM every Friday, 2:00am)
00 2 * * fri $HOME/fun/gps/bin/makeGenevaSurroundings >> cronLog 2>&1
File lists can be obtained (B
stands for the memory card, note the asterisk)
gnokii --getfilelist "B:\\Images\\*"
Then, files (camera pictures in this example) can be downloaded by
function Download() { echo "$1" gnokii --getfile "B:\\Images\\$1" "$1" &> /dev/null }
Ring tones can be found in B:/Extra/predeftones/predefringtones/
. To upload a file (ring tone in this example)
gnokii --putfile hagfis.mp3 B:/Extra/predeftones/predefringtones/hagfis.mp3