Arch based Porteus community project
Moderator: M. Eerie
-
aus9
Post#16
by aus9 » 15 Dec 2015, 08:11
from a recent post from donald
Code: Select all
grep MemTotal /proc/meminfo
(my result shows 8G RAM)
MemTotal: 7863792 kB
reveals to members how much total memory detected by LInux
or if you install inxi you can use
Code: Select all
inxi -I
(my result ^^^ thats a capital I for India
Resuming in non X mode: xdpyinfo not found. For package install advice run: inxi --recommends
Info: Processes: 187 Uptime: 11 min Memory: 573.5/7679.5MB Init: systemd Client: Shell (bash) inxi: 2.2.28
aus9
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#17
by brokenman » 23 Dec 2015, 03:13
Pacman stuff
# Extract only a certain folder from a package
tar -xf ./hunspell-1.3.3-3-x86_64.pkg.tar.xz usr/share/locale
# Install package (with deps) into a folder
mkdir /tmp/froot
pacman -r /tmp/froot/ -b /var/lib/pacman/ -U /path/to/package.pkg.tar.xz
# find all installed packages
ls /var/lib/pacman/local
# List installed package and what it provides
pactree -lu logrotate
# See which package owns a file
pacman -Qo ping
# See which package owns a library
# pacman -S pkgtools
# pkgfile -u
pkgfile libc.so.6
# See what a package installed
pacman -Ql <package name>
# See what packages depend on a certain package
pactree -r grep
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
aus9
Post#18
by aus9 » 15 Jan 2016, 05:55
glxgears edit now a tutorial
aus9
-
ncmprhnsbl
- DEV Team
- Posts: 3936
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#19
by ncmprhnsbl » 15 Jan 2016, 22:57
anything wrong with good ole 'free' for memory info? (-h = human readable)
Code: Select all
$ free -h
total used free shared buff/cache available
Mem: 7.8G 747M 6.1G 14M 964M 7.0G
Swap: 9.8G 0B 9.8G
EDiTED (because of my wrongness)
brokenman wrote:# Install package (with deps) into a folder
mkdir /tmp/froot
pacman -r /tmp/froot/ -b /var/lib/pacman/ -U /path/to/package.pkg.tar.xz
this works but there are no entries in the modules' /var/lib/pacman/local
so extra step would be to copy from live mnt/live/memory/changes/var/lib/pacman/local
i've been doing it like this(from stifiling): with a folder of packages with no dep checking
Code: Select all
mkdir -p tmp/froot/var/lib/pacman/local
pacman -Uddr /tmp/froot /path/to/packages/*.pkg.tar.xz
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#20
by francois » 16 Jan 2016, 01:10
Hijacking the post:
@ncmprhnsbl:
Don't you have any comments on the future of porteus.
Prendre son temps, profiter de celui qui passe.
francois
-
aus9
Post#21
by aus9 » 02 Feb 2016, 03:35
Now we are on openrc init system
to check that consolekit is running
consolekit is a part of the normal (default) boot up services so you can see what is in default by
Code: Select all
rc-status
(eg output with snips to reduce list)
dbus [ started ]
consolekit [ started ]
local [ started ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
Dynamic Runlevel: manual
adding removing services from runlevel etc can be see in this post
http://blog.notfoss.com/posts/openrc-on-arch-linux/
this shows us how to start or stop a service ..replace stop with start
Done as root please
aus9
-
M. Eerie
- Moderator
- Posts: 622
- Joined: 31 Aug 2017, 21:18
- Distribution: Nemesis Xfce/MATE x64
Post#22
by M. Eerie » 04 Feb 2018, 15:12
Dealing with Nemesis this weekend I've found some interesting things:
and you'll get a nice gui for you to enjoy the plethora of packages available in Arch land (although is launched in terminal)
Others
oneliners I've found useful given
dir2xzm and
xzm2dir are not working for me in Nemesis:
Let's say you want to bundle some service packages into one. This one will uncompress all the modules in current dir and merge them in one and only folder named
squashfs-root Code: Select all
find . -name "*.xzm" -exec unsquashfs -f {} \;
Then, all you have to do is create a module out of that folder:
Code: Select all
cd ..
mksquashfs squashfs-root/ my-bundle.xzm -b 1M -comp xz -Xbcj x86 -noappend
Salut!
> Does not compute_
https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584
M. Eerie
-
francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#23
by francois » 06 Feb 2018, 03:09
I thought that pacaur was not there no more. Good news.
You could also install pamac or octopi which will provide official packages and those of AUR.
I imagine that once the war effort for porteus 4.0 will have been given some arms will be there to develop not only desktop environements but also additional packages like these.
Prendre son temps, profiter de celui qui passe.
francois
-
ncmprhnsbl
- DEV Team
- Posts: 3936
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#24
by ncmprhnsbl » 06 Feb 2018, 21:59
francois wrote: ↑06 Feb 2018, 03:09
I thought that pacaur was not there no more.
pacaur (and git) have been moved to 005-devel.xzm
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#25
by francois » 07 Feb 2018, 18:43
Is 005-devel.xzm provided from base folder or provided independently?
Prendre son temps, profiter de celui qui passe.
francois
-
ncmprhnsbl
- DEV Team
- Posts: 3936
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#26
by ncmprhnsbl » 07 Feb 2018, 22:16
francois wrote: ↑07 Feb 2018, 18:43
Is 005-devel.xzm provided from base folder or provided independently?
link is here
2018 Updated Base Modules
place it where you like
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#27
by francois » 08 Feb 2018, 02:22
Quite modest come out for the devel module.
Prendre son temps, profiter de celui qui passe.
francois
-
M. Eerie
- Moderator
- Posts: 622
- Joined: 31 Aug 2017, 21:18
- Distribution: Nemesis Xfce/MATE x64
Post#28
by M. Eerie » 12 May 2020, 18:22
Code: Select all
#!/bin/bash
eval OUT{1..3}="$(mktemp)"
echo $OUT{1..3}
rm $OUT{1..3} && unset OUT{1..3}
Fast create 3
tempfiles and assign them a variable on the fly.
The same is valid for
which creates 3 dirs.
> Does not compute_
https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584
M. Eerie
-
Karmi
- Samurai
- Posts: 162
- Joined: 03 Apr 2022, 19:46
- Distribution: Linux
- Location: Old Town, Florida USA
Post#29
by Karmi » 29 Jun 2022, 03:05
aus9 wrote: ↑14 Nov 2015, 11:53
inxi has a bag full of switches, can be run as local user
Newbies not sure what their hardware is? then show the lot with
Code: Select all
inxi -F
Resuming in non X mode: xdpyinfo not found. For package install advice run: inxi --recommends
Old thread, but came in useful today. Had come across the
inxi -Fxzc0 command today but it didn't work wid my 5.0rc3 Cinnamon. Then did a Google search 'n found this thread wid
inxi -F in it but didn't work either. Apparently inxi needs to be installed on some Linuxes, e.g. testing it works on Fedora 36 & Sparky 7, but not Porteus or Puppy Linux. Also saw where some Ubuntu versions needed to have it added thru "apt-get" (I believe).
More searching 'n found
inxi-3.3.12_1-noarch-1.txz at pkgs.org Slackware 15.0. Converted that to a module 'n now both those commands work...tho that
inxi -Fxzc0 seems a bit long...
Karmi
-
Ed_P
- Contributor
- Posts: 8367
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#30
by Ed_P » 29 Jun 2022, 04:02
The Porteus menu's Administration > Porteus System Info app supplys hardware info.
Karmi wrote: ↑29 Jun 2022, 03:05
More searching 'n found inxi-3.3.12_1-noarch-1.txz at pkgs.org Slackware 15.0. Converted that to a module 'n now both those commands work...tho that inxi -Fxzc0 seems a bit long...
Can you post a link to your module?
Ed
Ed_P