Updated wiki page for mp

This commit is contained in:
ngn 2024-02-03 16:20:29 +03:00
parent 6611e1fa1f
commit b1461db195
3 changed files with 49 additions and 2 deletions

31
news/xorg.md Normal file
View File

@ -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.

View File

@ -21,3 +21,10 @@ You can enable root login, by editing `/etc/ssh/sshd_config`:
``` ```
PermitRootLogin yes 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`.

View File

@ -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 `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. 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 last one of these options is the `MP_GREP` 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 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. to whatever you want.
### Syncing Repos ### Syncing Repos
@ -190,6 +190,15 @@ After running this command, `mp` will:
1. Check all the repos for the `which` package 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`. 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 # Other Package Managers
It's a really bad idea to use multiple package managers as they may conflict and may result in an 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, unstable system. However package managers such as flatpak and snap offer containerized packages,