From 12ed2e119aa6482adeeee0fb5d32e7682f3c0269 Mon Sep 17 00:00:00 2001 From: Gingka Akiyama <33764485+GingkathFox@users.noreply.github.com> Date: Thu, 21 Jan 2021 21:18:51 -0500 Subject: [PATCH] lmms, SafeEjectGPU: add pages (#5163) * Add SafeEjectGPU and lmms * Well then * Add SafeEjectGPU and lmms * Update SafeEjectGPU and lmms * Whats this? missing syntax? not in my code! * Revert "Add SafeEjectGPU and lmms" This reverts commit bc66ecc54d1a897f702b858b6077b94585ce0269. Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/lmms.md | 37 +++++++++++++++++++++++++++++++++++++ pages/osx/SafeEjectGPU.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 pages/common/lmms.md create mode 100644 pages/osx/SafeEjectGPU.md diff --git a/pages/common/lmms.md b/pages/common/lmms.md new file mode 100644 index 000000000..14026b3d3 --- /dev/null +++ b/pages/common/lmms.md @@ -0,0 +1,37 @@ +# lmms + +> Free, open source, multiplatform digital audio workstation. +> Render a `.mmp` or `.mmpz` project file, dump a `.mmpz` as XML, or start the GUI. +> More information: . + +- Start the GUI: + +`lmms` + +- Start the GUI and load external config: + +`lmms --config {{path/to/config.xml}}` + +- Start the GUI and import MIDI or Hydrogen file: + +`lmms --import {{path/to/midi/or/hydrogen/file}}` + +- Start the GUI with a specified window size: + +`lmms --geometry {{x_size}}x{{y_size}}+{{x_offset}}+{{y_offset}}` + +- Dump a `.mmpz` file: + +`lmms dump {{path/to/mmpz/file.mmpz}}` + +- Render a project file: + +`lmms render {{path/to/mmpz_or_mmp/file}}` + +- Render the individual tracks of a project file: + +`lmms rendertracks {{path/to/mmpz_or_mmp/file}} {{path/to/dump/directory}}` + +- Render with custom samplerate, format, and as a loop: + +`lmms render --samplerate {{88200}} --format {{ogg}} --loop --output {{path/to/output/file.ogg}}` diff --git a/pages/osx/SafeEjectGPU.md b/pages/osx/SafeEjectGPU.md new file mode 100644 index 000000000..3db5cc1df --- /dev/null +++ b/pages/osx/SafeEjectGPU.md @@ -0,0 +1,28 @@ +# SafeEjectGPU + +> Eject a GPU safely. +> Visit the man page for more info. + +- Eject all GPUs: + +`SafeEjectGPU Eject` + +- List all GPUs attached: + +`SafeEjectGPU gpus` + +- List apps using a GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} apps` + +- Get the status of a GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} status` + +- Eject a GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} Eject` + +- Launch an app on a GPU: + +`SafeEjectGPU gpuid {{GPU_ID}} LaunchOnGPU {{path/to/App.app}}`