721_bipsty

joined 2 months ago
[–] 721_bipsty@lemmy.ml 1 points 2 days ago (2 children)

i dont know if it will be safe because of ROOT_PASSWORD USER_PASSWORD and ENCRYPTION_PASSWORD

 

Hello, iam in the making of artix install script. I start with setting variables in dialog like bootloader="refind" and etc. but when i do artix-chroot into chroot.sh script variables are gone.

right now i have something like this:

cp ${pwd}execution/chroot.sh /mnt/mnt &&
            USER="$USER" USER_PASSWORD1="$USER_PASSWORD1" USER_PASSWORD2="$USER_PASSWORD2"\
            ROOT_PASSWORD1="$ROOT_PASSWORD1" ROOT_PASSWORD2="$ROOT_PASSWORD2"\
            BOOTLOADER="$BOOTLOADER" SUPERUSER="$SUPERUSER" HOSTNAME="$HOSTNAME"\
            LOCALE="$LOCALE" ENCRYPTION="$ENCRYPTION" ROOT="$ROOT" ESP="$ESP"\
            KERNEL="$KERNEL" UCODE="$UCODE"
		artix-chroot /mnt bash -c '/mnt/chroot.sh && execute_root' 

But it does not really work, tried also some things like:

# create array of variables to pass to part 2
var_export=($formfactor $threadsminusone $gpu $boot $disk0 $username $userpassword $timezone $swap $intel_vaapi_driver $res_x $res_y_half)

# initiate part 2
mount --bind /root/artix-install-script /mnt/mnt
artix-chroot /mnt /mnt/chrootInstall.sh "${var_export[@]}"

and then in chroot.sh

# Importing Variables
args=("$@")
formfactor=${args[0]}
threadsminusone=${args[1]}
gpu=${args[2]}
boot=${args[3]}
disk=${args[4]}
username=${args[5]}
userpassword=${args[6]}
timezone=${args[7]}
swap=${args[8]}
intel_vaapi_driver=${args[9]}
res_x=${args[10]}
res_y_half=${args[11]}

still not they best way, kinda messy and buggy.

THANKS FOR HELP!

[–] 721_bipsty@lemmy.ml 4 points 1 week ago (1 children)

I guess linux has more docummentation, but thats also nice option, is performace on bsd better than linux?

[–] 721_bipsty@lemmy.ml 20 points 1 week ago* (last edited 1 week ago) (3 children)

I would wipe the disk so theres no shady things, depending on what games u play, i would install linux and use encryption if you would take this laptop to public places. Performance on linux will be much smoother. I recommend endeavouros.

EDIT: also reinstall bios/uefi firmware would be nice, probably not but there might be some spying?

[–] 721_bipsty@lemmy.ml 2 points 2 weeks ago

i love bsd vibes but i would have to spend so much time when i just wanna do my work, i think you know ;) Void linux was little bit too much for me so i cant imagine openbsd, actually im trying artix and i love some bsd-like things like doas instead of sudo, something other than NetworkManager, seatd turnstile acpid dinit runit etc...

[–] 721_bipsty@lemmy.ml 3 points 2 weeks ago (2 children)

sorry if i offend you but i tried void linux and its kinda close to openbsd and many important for me packages werent avaible and i think openbsd has even less packages? sorry for my ignorance

[–] 721_bipsty@lemmy.ml 1 points 2 weeks ago (5 children)

Have you find yet anything that blocks you like you dont have some packages or anything on openbsd?

[–] 721_bipsty@lemmy.ml 1 points 3 weeks ago

Isn't i2c module neccessary?

[–] 721_bipsty@lemmy.ml 5 points 3 weeks ago (2 children)

I would seperate work and your life. If u have fun just enjoy it, work is work

[–] 721_bipsty@lemmy.ml 3 points 3 weeks ago

I have it on grapheneos in vpn mode with kill switch so if invizible is off i have no internet connection, for tor u can choose countrys close to u for entry and exit nodes, choose like 5 countries? I have i2p off because it sliws me down and i think its mainly for i2p sites connection. For dns choose servers which seems nice for u. I use adguard and quad9, also for dns i checked "require no log". Block http is also good, rogue dhcp detection. Thats most of settings i changed.

[–] 721_bipsty@lemmy.ml 0 points 3 weeks ago (4 children)

I choosed lemmy.ml cause it was first i saw with no email registration

[–] 721_bipsty@lemmy.ml 2 points 3 weeks ago (1 children)

For me, amplitube which is kinda heavy cause it uses like 1-1.5G? of ram and still the latency with jack using alsa is 1.333ms

[–] 721_bipsty@lemmy.ml 2 points 3 weeks ago

I had similar problem. I started with fl studio and then changed windows to linux and tried so hard to make fl work on arch, but it was too glitchy. I tried alot: ardour, tracktion waveform, bitwig demo and almost every foss daw and ended at reaper, when u understand it is kinda better than fl, u can make really heavy customization, dont like 1 click note insert? Change it in preferences to what u like, its the same problem with every program, start learning and u will find it easy and fun to use, for plugins as some other people in this comment section said, yabridge, i use amplitube 5 for guitar with it.

 

Helloo, firstly this might be long post about people talking void linux hasnt much packages in opposite of arch which has aur, so i will try conveince some people to void linux and will tell also something about package managers.

Package manager is a thing that keeps organized all programs on your pc, normally you would have to go to site, download .deb or .tar.xz and etc. package manager takes cares of doing that and manager also integrates this package with system, so when theres update and something is added or deleted, package manager will take care of all.

Okay, so if its only downloading then why AUR has 97587 packages, and XBPS-SRC (void linux - aur alternative kinda) has much less? It's because AUR is community, anyone can maintain some package, XBPS-SRC also has community but by pulling requests to merge TEMPLATES, but that doesn't mean u can't add your own TEMPLATES.

Wait, wait, wait, what are TEMPLATES?

Its kind of script which makes Package manager do its thing. Templates in XBPS-src and "PKGBUILD?" in AUR are similar.

We have to tell in this script: what package, what version, give link to download and etc.

Example of TEMPLATE in XBPS-SRC for DISCORD:

# Template file for 'discord'
pkgname=discord
version=0.0.96
revision=1
archs="x86_64"
depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic
 xdg-utils webrtc-audio-processing libXScrnSaver"
short_desc="Chat and VOIP application"
maintainer="Ryan Conwell <ryanconwell@protonmail.com>"
license="custom:Proprietary"
homepage="https://discord.com/"
distfiles="https://dl.discordapp.net/apps/linux/$%7Bversion%7D/discord-$%7Bversion%7D.tar.gz"
checksum=2b885df8aa69310726f46149e39c42d48eda8f14b53aae605b5d7fa6410c4c0c
repository=nonfree
restricted=yes
nopie=yes
nostrip=yes

do_install() {
	local package_location="usr/lib/$pkgname" item
	vmkdir usr/share/pixmaps
	vcopy discord.png /usr/share/pixmaps/
	vmkdir usr/share/applications
	vcopy discord.desktop /usr/share/applications/
	vmkdir ${package_location}
	chmod +x Discord
	for item in \
		locales \
		resources \
		Discord \
		libffmpeg.so \
		snapshot_blob.bin \
		discord.png \
		icudtl.dat \
		libEGL.so \
		libGLESv2.so \
		chrome_100_percent.pak \
		chrome_200_percent.pak \
		chrome-sandbox \
		chrome_crashpad_handler \
		resources.pak \
		libvulkan.so.1 \
		v8_context_snapshot.bin \
		postinst.sh \
		libvk_swiftshader.so \
		vk_swiftshader_icd.json
	do
		vcopy "${item}" "${package_location}"
	done
	vmkdir usr/bin
	ln -sfr $DESTDIR/${package_location}/Discord $DESTDIR/usr/bin/Discord
}

post_install() {
	vlicense $FILESDIR/LICENSE
}

Okay, but still AUR has much much more packages than xbps-src, why should i use it then? Why should i learn how to make templates?

I hope you don't use AUR blindly and just do yay -S something without looking what pkgbuild is doing, it might be dangerous not knowing what program can do and what script that is downloading it too right? XBPS-SRC learns you how to maintain packages.

Also theres way to share Templates with other by importing REPO of some templates, like librewolf-void repo and etc. So there's way to share packages.

So this is my way to conveince you to use void linux :). IN MY OPINION, void is what people think arch is. A diy distro with learning curve to understand how OS works. ARCH is great!, but void gives you more knowledge of what things systemd takes care.

To make thing little bit funnier theres easy and really nice (experimental and not official) script of installing void :

https://github.com/kkrruumm/void-install-script

THANK YOU FOR READING! I might not be clear or right in some things so tell me about that in comment, i will read everything.

SOURCES:

https://xbps-src-tutorials.github.io/packaging/j4-dmenu-desktop.html
https://github.com/void-linux/void-packages
 

Hello, cant attach image cause of file size, i have fresh void linux base install in tty and btop tells me i use 500-600MiB of ram but my top 3 services uses 7-25M and rest are 5>, free -m also tells me 600M but why this much with not much services?

 

When you see something has too much up or down votes, does this change your point of view? Also how many people hides votes and etc?

Edit: also is there any eay yo disable scores like 100%😀 in voyager for lemmy?

 

I have 2nd hand pixel 8a with grapheneos and i havent putted sim card in it since i have it, in my country i have to have registered sim card, iam afraid of IMEI be linked with sim card and once i put it in im f**ked, the reason i need to put card is to verify bank which need sim card being in device.

I did some research but became dumb from too much information

(sorry for my english :D)

Edit: also i want to be private because of my feature, idk if i wont live in country where propaganda is normal

view more: next ›