Skip to content

u/Sigb

In this archive from Apr 2014 to Jun 2023

4
posts
66
comments
0
media
186
score
4 saved before deletion
SigbDeleted · saved before deletion

Hard drive format should not have anything to do with it. If it does, then booting into the arch Linux live ISO, and using dd to write zeros to the first few megabytes of the drive should wipe the partition table clean off

Backup your files first

2 points
SigbDeleted · saved before deletion

I haven't tried this before. But the archinstall comes preinstalled on the liveUSB

Documentation is here:
https://python-archinstall.readthedocs.io/en/latest/index.html

When you run archinstall it gives you a TUI that lets you set a lot of options, I suggest you boot up a VM and see for your self and try it out. You can save the config as three json files. When saving the config you should enter the full path ( /root/ is the current directory when you first boot.) It doesn't tell you it needs the full path, but it does. I havent tried to run archinstall with saved config files though, as I don't often need to install my systems, as it has been years since I have done something so stupid I had to reinstall my system (except when I tried to install a custom kernel in fedora on my work computer haha)

1 points

You will be ready for Arch after you have installed it your self, I suggest the manual approach, but archinstall (script available on the live USB) is an option. And when you get stuck or wonder something, read the wiki page thoroughly before asking online. I don't mean don't ask online, but read, read it one more time, read the paragraph you skipped the first two times, and think, then ask online if its unclear. Sometimes something is left up to opinion, this is the hardest thing for someone who doesn't have a reference to form an opinion. Either just pick something or ask someone what their opinion is.

1 points

Starting to read the wiki page. This seams logical, this has to work like how I expect. It doesn't work, it has to be something wrong with the program, post on reddit.

Reddits answer: did you read the third paragraph on the wiki page?

13 points

I use dotfiles in one repo, and an ansibel-playbook in one repo. For my work computer with arch I need to run the archinstall (if I would install manually it would take longer, and I'm at work, can't push it), in the arch install script I need to also add the wireguard-tools, andible, and git and stow. After the install I need to copy over wireguard private key, and ssh private key. Since I don't want secrets in dotfiles even though I use private repos. I then run the andible script can just use ansibel-pull to fetch the git repo and run the script directly. It sets up most things. There is one or two /etc things i haven't added to my script yet, they seam to be specific for my current laptop. After the ansibel playbook I also need to remember to copy over my gpg private key.

Most of these extra steps are to avoid secrets in the git repos

1 points

Happy sddm works for you!

Yes I would not use greetd in its current form on my main personal computer or any of my work computers. I want my computers to be cattle not pets, if something goes haywire I just want to install it again and run a simple ansibel playbook to install my desktop experience and settings. I rarely have to do, but I have a hard requirement for it to be possible. Especially work computers.

Greetd doesn't fit into that. Maybe in the future it will be forked or developed more and packaged with sane defaults into repos. Then I would be happy to use it.

But for a 7" extra laptop, it was fun to try it.

1 points

Sddm doesn't support sway properly, it doesn't set up the profile properly, you could do that other ways, several different ways have some issues.

Several display managers have this issue

I set up greetd with the gtk frontend on a test laptop, and it was fun, I followed the instructions on their git page, and greetd launches sway as a special user with a custom sway config (no extra home directory) which autostart the gtk frontend for greetd. And then in successful login it quits the sway instance and logs in the proper sway instance as a user.

1 points

You can add a DNS with adblocking built in, but it requires you to trust the provider. Which you may. I don't know how much a DNS provider can get out of this, but I usually error on the side of caution.

You can root your phone, but you may lose access to your banking apps, multimedia apps, work related apps. It may be your jobs property and you may not be allowed to root it.

You can install Adaway on your phone, and use it in the non root mode. But it does indeed use more system resources, battery, and you get an annoying notification there. But these down sides are not so bad either.

You can install pihole on your network, but it only counts for your network

One thing you can do is to mod the app, if you can export the apk file to your computer (you can technically do this in termux on your phone, but its tedious with the phone keyboard). This is how I like to do it, I just know linux, I am not good with windows. Mac can just install the same tools

  1. Enable developer mode on your phone, and enable adb, and or wireless adb
  2. install adb on your computer, on linux this is done by installing a package in your package manager. It can be done win and mac also
  3. install apktools on linux I installed this with my package manager on linux
  4. download uber apk signer, its just a java .jar file, and can be run with the command line, I realize now its also available in my package manager on linux
  5. unpack the apk using apktool apktool d path/to/file.apk -o folder
  6. go into the folder cd folder
  7. find the smali files with google ad urls grep -Ri googlereads.g.doubleclick.net .
  8. replace the occurences of https://googlereads.g.doubleclick.net with https://xxxxxxxxxxx.x.xxxxxxxxxxx.xxx I had issues if I didnt use the same amount of characters. might not be necessary though.
  9. now rebuild the apk, apktool b .
  10. sign the apk uber-apk-signer --apks nameofthefile.apk
  11. send the new apk to your phone, I just found this cool tool called qrcp, just qrcp filename and it makes a qr code in the terminal I scan with my phone and it makes a temporary webserver, so it can be downloaded via the local network.

should remove the ads completely, but it has sometimes showed an old ad it had cached already for me. You have many options, not all are perfect. This has an issue where you need to do this if you update the app again... Terrible I know, but I only use this for one app currently, and it is rarely updated.

2 points

Is AUR bad?

If you are particular about downloading things only from trusted sources, then AUR is not the best place to pull things willy nilly. But you can open the PKGBUILD files from either the aur website, or you can even do it in your "AUR Helper" and check if it pulls files from sources you trust.

Am I better off to just git the packages and make em?

This depends on what you want to do. If you want to modify the source, and commit changes upstream then this is best. But using AUR gives you a lot of flexibility. AUR always makes a package that can be uninstalled later, sudo make install may make permanent changes to your system that is difficult or impossible to revert. And AUR packages are easier to update. AUR packages are easier to know if they are outdated. AUR packages has a comment section that you can check if anyone else has any potential problem you encounter.

Am I being too paranoid re AUR?

I can't answer this, some people need more security than others. You can easily get just a few packages from AUR without having an AUR helper, and check them out where they get files from.

does pacman -Syu upgrade those AUR packages?

No, you need an AUR helper, like yay for that. Yay and some others can however check pacman for updates in one command. Example yay -Suy does check both pacman and AUR for new updates. You get yay from AUR though, so getting just one package is easy. AUR is a git server, so you just

git clone https://aur.archlinux.org/yay.git
cd yay

then if you are paranoid you can inspect the PKGBUILD file

vim PKGBUILD

And lastly you build a package, install build depenencies via pacman, and install the package in one command.

mkaepkg -si

An AUR helper basically does this, but lets you check for updates on all packages, and search for packages as easy as installing packages from a repository instead.

Keep in mind AUR is a very rich repository, because its easy to contribute. But most packages gets the source or binary from official sources, but they may not. Or they may include patches, or get patches from elsewhere.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.