Ignore:
Timestamp:
04/10/2012 01:48:12 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
692b244c
Parents:
ceadeab
Message:

Libre Office tweaks
Make a symlink to the printer admin script
Make a .desktop file for the printer admin program
Add --nologo to the launch options

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9892 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/office/libreoffice.xml

    rceadeab r4f304a0a  
    296296do
    297297  echo "#!/bin/bash
    298   exec /usr/lib/libreoffice/program/soffice --${program} \"\${@}\"" > /usr/bin/${program}
     298  exec /usr/lib/libreoffice/program/soffice --nologo --${program} \"\${@}\"" \
     299    > /usr/bin/${program}
    299300  chmod 755 /usr/bin/${program}
    300301done &amp;&amp;
     302ln -s ../lib/libreoffice/program/spadmin /usr/bin/printeradmin &amp;&amp;
    301303for res in 16 32 48 128 256
    302304do
     
    424426      These commands create 6 simple shell scripts in
    425427      <filename class="directory">/usr/bin</filename> that can be used to launch
    426       <application>Libre Office</application>.
     428      <application>Libre Office</application> in its various forms. If you like
     429      seeing the <application>Libre Office</application> splash screen, remove
     430      the "--nologo" option.
    427431    </para>
    428432
     
    461465StartupNotify=true
    462466Terminal=false" > /usr/share/applications/${program}.desktop
    463 done</userinput></screen>
     467done &amp;&amp;
     468echo "[Desktop Entry]
     469Encoding=UTF-8
     470Type=Application
     471Name=Printer Administration
     472Comment=Libre Office Printer Administration
     473Icon=printeradmin
     474Exec=printeradmin
     475Categories=System;Printing;Application;
     476StartupNotify=true
     477Terminal=false" > /usr/share/applications/printeradmin.desktop</userinput></screen>
    464478  </sect2>
    465479
Note: See TracChangeset for help on using the changeset viewer.