Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #
- # Launcher script for LyX that seeds a preferences file that contains
- # the proper pipe path on first run.
- # (c) Stephen Ewen and UberStudent EdTech <ewens@uberstudent.com>
- # License: GFDL 1.3 or above http://www.gnu.org/licenses/fdl-1.3.en.html
- if [ ! -f "$HOME/.lyx/preferences" ]; then
- mkdir -p "$HOME/.lyx"
- cat >"$HOME/.lyx/preferences" <<EOL
- # LyX 2.1.4 generated this file. If you want to make your own
- # modifications you should do them from inside LyX and save.
- Format 15
- #
- # MISC SECTION ######################################
- #
- \serverpipe "$HOME/.lyxpipe"
- \user_name "$USER"
- \user_email ""
- #
- # SCREEN & FONTS SECTION ############################
- #
- \screen_font_sizes 5 7 8 9 10 12 14.4 17.26 20.74 24.88
- \single_instance false
- #
- # COLOR SECTION ###################################
- #
- #
- # PRINTER SECTION ###################################
- #
- #
- # TEX SECTION #######################################
- #
- #
- # FILE SECTION ######################################
- #
- #
- # PLAIN TEXT EXPORT SECTION ##############################
- #
- #
- # SPELLCHECKER SECTION ##############################
- #
- #
- # LANGUAGE SUPPORT SECTION ##########################
- #
- #
- # 2nd MISC SUPPORT SECTION ##########################
- #
- #
- # FORMATS SECTION ##########################
- #
- #
- # CONVERTERS SECTION ##########################
- #
- #
- # COPIERS SECTION ##########################
- #
- EOL
- lyx /usr/share/lyx/examples/splash.lyx &
- else
- lyx &
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement