All Projects → calebj → LibbieOffice

calebj / LibbieOffice

Licence: GPL-3.0 license
My attempt at a LibreOffice image replacement script

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to LibbieOffice

ignite
A Mixin and Access Widener mod loader for Spigot/Paper
Stars: ✭ 115 (+194.87%)
Mutual labels:  mod
WollMux
Letterhead, template, form, autotext, mail merge,... extension for LibreOffice
Stars: ✭ 45 (+15.38%)
Mutual labels:  libreoffice
delver-community-mods
A collection of example mods for the game Delver.
Stars: ✭ 21 (-46.15%)
Mutual labels:  mod
Stationeers.Addons
Stationeers.Addons is a fully-fledged modding framework for Stationeers. Works just like the standard mods (XML) but with sandboxed scripting (C#) and custom-content support!
Stars: ✭ 33 (-15.38%)
Mutual labels:  mod
barcode
LibreOffice Barcode Extension
Stars: ✭ 25 (-35.9%)
Mutual labels:  libreoffice
Sophisticated-wolves
sophisticated-wolves.nightkosh.com/
Stars: ✭ 13 (-66.67%)
Mutual labels:  mod
postman
minecraft anarchy client :)
Stars: ✭ 163 (+317.95%)
Mutual labels:  mod
fae-mod
In "Forever & Ever", you can become closer to Sayori than ever before! You have all the time in the world to build the perfect relationship with our cinnamon bun as the star of the show.
Stars: ✭ 42 (+7.69%)
Mutual labels:  mod
Grimoire-legacy
General-purpose Mixin loader framework, which allows to properly implement mixins on 1.7.10/1.12.2 versions of Minecraft. For updated version check out https://github.com/Aizistral-Studios/Grimoire
Stars: ✭ 27 (-30.77%)
Mutual labels:  mod
VJ-Base
An addon for Garry's mod that contains bunch of bases to make many different types of addons.
Stars: ✭ 57 (+46.15%)
Mutual labels:  mod
Custom-Asteroids
A KSP mod that lets users control where asteroids appear
Stars: ✭ 13 (-66.67%)
Mutual labels:  mod
VMCAvatar-BS
VRM avatar loader with Virtual Motion Capture for Beat Saber
Stars: ✭ 106 (+171.79%)
Mutual labels:  mod
PMMasterQuest
Take Paper Mario 64, buff old and new enemies to absurd levels, then rebalance Mario's overpowered strategies, and you've got one of the most difficult hacks of all time: Paper Mario Master Quest. The Discord:
Stars: ✭ 58 (+48.72%)
Mutual labels:  mod
Levels
A small, Minecraft mod focused around the aspect of weapon and armor leveling.
Stars: ✭ 24 (-38.46%)
Mutual labels:  mod
ME3ModManager
Legacy mod manager for Mass Effect 3 (superceded by ME3Tweaks Mod Manager)
Stars: ✭ 17 (-56.41%)
Mutual labels:  mod
Among-Us-Love-Couple-Mod
Among Us Love Couple Mod
Stars: ✭ 45 (+15.38%)
Mutual labels:  mod
among-us-replay-mod
Replay mod for Among Us
Stars: ✭ 48 (+23.08%)
Mutual labels:  mod
kibe
A miscellaneous mod for Minecraft that adds a bunch of random, and mostly unoriginal things.
Stars: ✭ 42 (+7.69%)
Mutual labels:  mod
MythicMetals
Fabric based Minecraft mod that adds new materials into the game. Includes new tools, ores, anvils, and sets of armor.
Stars: ✭ 35 (-10.26%)
Mutual labels:  mod
LOC-Extension
LibreOffice Cryptocurrency extension
Stars: ✭ 33 (-15.38%)
Mutual labels:  libreoffice

LibbieOffice

LibbieOffice splash

My attempt at a LibreOffice image replacement script.

The script generates the final result using imagemagick from the original art. It also supports backup and restore of existing LO resources, mixing and matching of splash image parts, and is easily extended to add more themes to the replacement list.

There is also a PKGBUILD for Arch users to easily manage their libbieoffice installation. It simply fetches the libreoffice-fresh package, replaces its contents, and repacks it for installation. I hope to add package mod scripts for more distros in the future.

Usage

Clone the repo or download the zip, then run sudo ./libbieoffice_mod.sh to peform the replacement with default settings.

To just generate a splash image, use the build_splash.sh script, which has similar options to the mod script.

There is also the get_trims.sh script, which doesn't take options, but fetches and trims the text from all of the art and places it in $PWD/trimmed. Not all of them have crop squares defined; for now, it's just the main apps and blank.

Main script

Usage: libbieoffice_mod.sh [-hfl] [-o INSTALL_TO] [-a ART_DIR] [-t TMPDIR] [-b BACKUP_DEST] [-r ARCHIVE] [-L LEFT] [-R RIGHT]

Options:
 -o : Specify the installation root. Defaults to /
 -a : Specify the path to the original art. Defaults to TMPDIR/20170826_tysontan_libbie
      Note that filenames are expected to be in the format:
      20170826_tysontan_libbie_nnn_TYPE_nnn_NAME.png
 -f : Forces the script to regenerate all scaled/cropped images
 -t : Specify the temporary directory for processing images.
      Defaults to /tmp/libbieoffice_mod/
 -b : Back up existing theme files to a specified archive.
 -r : Restore theme files from a specified archive
 -L : Splash left component. Options are: libbie libre
 -R : Splash right component. Options are: front 34view blank 5
 -l : Skip downloading the zip; assumes art folder is correct.
 -h : Displays this help message.

Splash only

Usage: build_splash.sh [-h] [-l] [-t TMPDIR] [-a ART_DIR] [-L LEFT] [-R RIGHT]

Options:
 -o : Specify the splash file output. Defaults to ./intro.png
 -a : Specify the path to the original art. Defaults to TMPDIR/20170826_tysontan_libbie
      Note that filenames are expected to be in the format:
      20170826_tysontan_libbie_nnn_TYPE_nnn_NAME.png
 -t : Specify the temporary directory for processing images.
      Defaults to /tmp/libbieoffice_mod/
 -L : Splash left component. Options are: libbie libre
 -R : Splash right component. Options are: front 34view blank 5
 -l : Skip downloading the zip; assumes art folder is correct.
 -h : Displays this help message.

Trim script

./get_trims.sh takes no arguments. When you run it, the script outputs all three types of images to folders within $CWD/trimmed.

Pull Requests

Yes.

Known (potential) issues

drm_intel_gem_bo_context_exec() failed: No space left on device

This error pops up every time I run imagemagick on my laptop, and appears to be related to segfaulting when the program is run as root and tries to use my GPU. To prevent this, I set MAGICK_OCL_DEVICE=OFF.

License and Credits

This code is licensed under the GPLv3. For more information, read the LICENSE.

Credits for @redsPL for icon crop references, @KarlFish for the idea of the 34view splash which I have made the default, and anon for the LibbieOffice splash text mod.

Thanks to the ImageMagick developers for making such an awesome and flexible tool.

And most of all, thanks to Tyson Tan (DeviantArt) for the cute mascot. I don't care what the folks over at The Document Foundation or their sorry excuse for a poll said—Libbie's a winner to me, and that's what this repo is all about.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].