From d0ece3570580195dd3c5128d129056901537b54e Mon Sep 17 00:00:00 2001 From: obtusedev <66740598+obtusedev@users.noreply.github.com> Date: Tue, 2 Nov 2021 15:14:13 -0400 Subject: [PATCH 1/2] Add install instructions for prebuilt binaries --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/README.md b/README.md index 71f856a1..6ec3a73b 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,53 @@ DESTDIR="$(pwd)/Lite XL.app" meson install --skip-subprojects -C build Please note that the package is relocatable to any prefix and the option prefix affects only the place where the application is actually installed. +## Installing Prebuilt + +Head over to [releases](https://github.com/lite-xl/lite-xl/releases) and download the version for your operating system. + +### Ubuntu + +Unzip the file and `cd` into the `lite-xl` directory: + +```sh +tar -xzf +cd lite-xl +``` + +Copy files over into appropriate directories: + +```sh +mkdir -p $HOME/.local/bin && cp bin/lite-xl $HOME/.local/bin +cp -r share $HOME/.local +``` + +If `$HOME/.local/bin` is not in PATH: + +```sh +echo -e 'export PATH=$PATH:$HOME/.local/bin' >> $HOME/.bashrc +``` + +To get the icon to show up in app launcher: + +```sh +xdg-desktop-menu forceupdate +``` + +You may need to logout and login again to see icon in app launcher. + +To uninstall just run: + +```sh +rm -f $HOME/.local/bin/lite-xl +rm -rf $HOME/.local/share/icons/hicolor/scalable/apps/lite-xl.svg \ + $HOME/.local/share/applications/org.lite_xl.lite_xl.desktop \ + $HOME/.local/share/metainfo/org.lite_xl.lite_xl.appdata.xml \ + $HOME/.local/share/lite-xl \ + $HOME/.local/share/doc/lite-xl +``` + +You may need to `Alt + F2` and enter 'r' to see changes. + ## Contributing Any additional functionality that can be added through a plugin should be done From dfa48ddb514e14c154202615ec2bf406b7178a94 Mon Sep 17 00:00:00 2001 From: obtusedev <66740598+obtusedev@users.noreply.github.com> Date: Wed, 10 Nov 2021 18:56:32 -0500 Subject: [PATCH 2/2] Add install instructions for prebuilt binaries --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6ec3a73b..e6cd18dc 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ affects only the place where the application is actually installed. Head over to [releases](https://github.com/lite-xl/lite-xl/releases) and download the version for your operating system. -### Ubuntu +### Linux Unzip the file and `cd` into the `lite-xl` directory: @@ -90,7 +90,13 @@ tar -xzf cd lite-xl ``` -Copy files over into appropriate directories: +To run lite-xl without installing: +```sh +cd bin +./lite-xl +``` + +To install lite-xl copy files over into appropriate directories: ```sh mkdir -p $HOME/.local/bin && cp bin/lite-xl $HOME/.local/bin @@ -118,11 +124,9 @@ rm -f $HOME/.local/bin/lite-xl rm -rf $HOME/.local/share/icons/hicolor/scalable/apps/lite-xl.svg \ $HOME/.local/share/applications/org.lite_xl.lite_xl.desktop \ $HOME/.local/share/metainfo/org.lite_xl.lite_xl.appdata.xml \ - $HOME/.local/share/lite-xl \ - $HOME/.local/share/doc/lite-xl + $HOME/.local/share/lite-xl ``` -You may need to `Alt + F2` and enter 'r' to see changes. ## Contributing