From b1461db1957bbb502f4421b300dc452cf36581ad Mon Sep 17 00:00:00 2001 From: ngn Date: Sat, 3 Feb 2024 16:20:29 +0300 Subject: [PATCH] Updated wiki page for mp --- news/xorg.md | 31 +++++++++++++++++++++++++++++++ wiki/install/post.md | 7 +++++++ wiki/pkg/pkg_man.md | 13 +++++++++++-- 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 news/xorg.md diff --git a/news/xorg.md b/news/xorg.md new file mode 100644 index 0000000..a15d480 --- /dev/null +++ b/news/xorg.md @@ -0,0 +1,31 @@ +It's been a long while. I spent long hours trying to fix the +kernel configuration just to the drivers working for Xorg... and I have done it, +I got Xorg working on MatterLinux! + +## 160 packages in the desktop repo! +Previously `desktop` had around 30 packages, and now its 160! I packaged +lots of stuff for xorg, and I also packaged some unrelated general libraries. + +I packaged all the stuff you need to get xorg working in a package named, +well, `xorg`. It has all the libraries, fonts and all the other fun stuff +as a dependency. + +I also packaged `bspwm`, I will packaging more window manager related stuff +in the future as well. + +## New `mp-list` command +The new `mp` command, which ships with `mp` version 24.16, lets users list +all the installed packages. Also `MP_QGREP` option has been renamed to `MP_GREP` +and now it's also used to get grep-able output from `mp-list`. + +## Other little updates +- `mp-repo` now has a new little script named `mp-temp` that lets you create package +templates, to make it easier to create packages +- New `neofetch` package now displays package information +- New `linux` package, which is built with the new kernel configuration, +has graphics support for general graphics + +## What is next? +Next, I will probably package `networkmanager` and a browser (probably `vimb`). +I will also package general window manager stuff such as `nitrogen`, `polybar` etc. +Hopefully it will all go well. diff --git a/wiki/install/post.md b/wiki/install/post.md index 12255d8..94b6e97 100644 --- a/wiki/install/post.md +++ b/wiki/install/post.md @@ -21,3 +21,10 @@ You can enable root login, by editing `/etc/ssh/sshd_config`: ``` PermitRootLogin yes ``` + +## Installing XORG +Xorg can be installed using a simple wrapper package: +``` +# mp-install xorg +``` +Then you can use `startx` to start the `xorg-server`. diff --git a/wiki/pkg/pkg_man.md b/wiki/pkg/pkg_man.md index aa74254..bcb98bb 100644 --- a/wiki/pkg/pkg_man.md +++ b/wiki/pkg/pkg_man.md @@ -84,8 +84,8 @@ it's set. `MP_NORET` is another option that you can set. By default `mp` will print the return status for each command, you can disable this by setting `MP_NORET` to whatever you want. -The last one of these options is the `MP_QGREP` option. This option is only useful if you are using -the query command. If set, `mp` will print grep-able output for this command. Again, you can set it +The last one of these options is the `MP_GREP` option. This option is only useful if you are using +the query or the list command. If set, `mp` will print grep-able output for these commands. Again, you can set it to whatever you want. ### Syncing Repos @@ -190,6 +190,15 @@ After running this command, `mp` will: 1. Check all the repos for the `which` package 2. Fetch information about the package from the `$MP_ROOT/var/lib/mp/repos/REPO_NAME` and `$MP_ROOT/var/lib/mp/db`. +### List packages +You can list all the installed packages with the `mp-list` command. + +After running this command, `mp` will: + +1. Load the database (`$MP_ROOT/var/lib/mp/db`) +2. Loop over all the entries and print the package names and the versions + + # Other Package Managers It's a really bad idea to use multiple package managers as they may conflict and may result in an unstable system. However package managers such as flatpak and snap offer containerized packages,