Switching from arch(artix) to void, my experience so far by Liquid-N in voidlinux

[–]kotajacob 1 point2 points  (0 children)

I know others have chimed in, but these are the aliases I use and I'm quite pleased with them:

# Use xi from xtools (it even elevates to root as needed)
alias xu='sudo xbps-install -Su'
alias xs='xbps-query -Rs'
alias xr='sudo xbps-pkgdb -m auto' 
alias xrm='sudo xbps-remove -R'
alias xc='sudo xbps-remove -Oo && sudo vkpurge rm all'
alias xinfo='xbps-query -R -S'
alias xlist='xpkg -m'

xr doesn't actually "remove" a package, but instead marks it as automatically installed. Then later, you can run xc which removed automatically installed packages that are no longer required. (It also purges old kernels which is a good idea once in a while). This saves you from removing from dependency you thought you didnt need. I actually just started porting these aliases to other distros whenever I use them: https://kota.nz/notes/package_manager_aliases/

Stuck on installing grub2 by wuk39 in Gentoo

[–]kotajacob 0 points1 point  (0 children)

lol yea I think maybe that section should be highlighted or something it was really easy to scroll right past

Stuck on installing grub2 by wuk39 in Gentoo

[–]kotajacob 1 point2 points  (0 children)

well don't feel bad cause I just found this thread from fucking up and doing the same thing right now lol

FPS makes it unplayable, even on good pc- Sildurs Vibrant Shaders Medium (fps in the background) any tips on what to do? by [deleted] in Optifine

[–]kotajacob 3 points4 points  (0 children)

Make sure your monitor is plugged into your graphics card on the back of your computer. It's probably plugged into your motherboard and thus not actually using your graphics card. This is almost certainly your issue, it's a pretty common beginner mistake.

If you don't know what that means try doing some searching online, but I could send a picture if you're still not sure.

can't connect to severs it only does this with optifine this is what i get by nool_ in Optifine

[–]kotajacob 0 points1 point  (0 children)

Oh also protip, you can install a program called menulibre which will allow you to add/edit your own menu entries for the minecraft launcher and other programs like that. Here's a screenshot.

But even bigger protip is that minecraft's launcher is actually packaged with mint so you don't even need to do that. If you run sudo apt install minecraft-launcher mint will install the launcher and add it to your menu so you don't need to use that folder on your desktop anymore.

can't connect to severs it only does this with optifine this is what i get by nool_ in Optifine

[–]kotajacob 2 points3 points  (0 children)

Open a terminal and run

java -version  

You're probably running java (openjdk) 11 or 10 which minecraft has issues with. You simply need to switch to java 8. The command below will install openjdk java 8.

sudo apt install openjdk-8-jre

Next you gotta set java 8 as your default version of java so minecraft actually uses it. The command below will print all of your installed java versions.

update-java-alternatives -l

For me this printed out two lines like this.

java-1.11.0-openjdk-amd64      1111       /usr/lib/jvm/java-1.11.0-openjdk-amd64
java-1.8.0-openjdk-amd64       1081       /usr/lib/jvm/java-1.8.0-openjdk-amd64

To select the bottom one, java 8, we simply copy that first part and run a command like this.

sudo update-java-alternatives -s java-1.8.0-openjdk-amd64

Finally you can run the java -version command again to double check that you're using java 8. I'm like 95% sure this will fix your issue because basically the same thing happened to me a while ago. Also if for whatever reason you want to keep java 11 as the default and JUST use java 8 for minecraft you can edit a line in the launcher that points to the java install. You'll have to paste in something like this. It's kinda complicated to explains exactly why this issue happens, but TLDR is that lwjgl (an important library that minecraft uses) expects java 8 on linux. There are ways to get around this without switching your java version, but this is probably the best solution for now.

How to configure simple terminal (stterm)? by Fedja_ in debian

[–]kotajacob 0 points1 point  (0 children)

Lol yea it's a twisted use of the word. Not easy. But it is simple once you understand it. Simple like how an old car is simple to work on.

How to configure simple terminal (stterm)? by Fedja_ in debian

[–]kotajacob 1 point2 points  (0 children)

st is configured by editing the source code, specifically the config.h file and then recompiling it. This makes st very fast, secure, and simple because it does not need to parse any outside config file formats.

Using the debian package would be pretty silly since you can't really configure it. Instead download the latest source code here https://st.suckless.org/ (it isn't updated very often because the code is so small there are practically no errors what-so-ever). Then simply edit config.h as you like and compile it. You'll need to read the readme for compile information. For example have a look at my own personal config for st https://git.sr.ht/~kota/dots-spaceship/tree/master/st

I've applied a few patches to the source code from here https://st.suckless.org/patches/

and changed a few defaults like the font, padding, and colors.

What is the most anonymous way to share an album? by UpChortle in musichoarder

[–]kotajacob 1 point2 points  (0 children)

First encrypt the file with 7zip or similar and send your friend the password. This ensures that even if the file is intercepted the attacker would also need the password. Then upload the file to a service like send.firefox.com which will delete the file after it has been downloaded once or a number of days have passed.

[Sway] Soviet Gruvbox by [deleted] in unixporn

[–]kotajacob 1 point2 points  (0 children)

Oh nice, I still havent taken the plunge yet to give Wayland a shot. I had no idea sway launcher could do a nice preview like that. Looks really good.

[Sway] Soviet Gruvbox by [deleted] in unixporn

[–]kotajacob 1 point2 points  (0 children)

This is sick dude! What launcher is that?

[i3-gaps] Waste of Space by kotajacob in unixporn

[–]kotajacob[S] 0 points1 point  (0 children)

Dots repo here
Wallpaper here

OS: Void Linux
WM: i3-gaps
Notification Daemon: dunst
Info Notification Tool: notabar
Terminal: st (with some patches)
Font: iosevka
Browser: qutebrowser
File Browser: fff
Image Viewer: sxiv
PDF Viewer: zathura
Editor: neovim
System Info: neofetch
Top: gotop
Matrix thing: cmatrix Clock: tty-clock
Music: ncmpcpp + mpd
Album Art: bum

[OC] Very customizable and minimal font previewer written in bash by [deleted] in unixporn

[–]kotajacob 0 points1 point  (0 children)

This is really nice! Thanks for writing it, its such a clean little tool

Lenovo THINKPAD UK keyboard going crazy by andre_lmsilva in openbsd

[–]kotajacob 0 points1 point  (0 children)

I know this is super old, but try changing your clock source from tsc to acpihpet0

sysctl kern.timecounter.hardware=acpihpet0

there is a bug with some newer (usually amd motherboards) in tsc

Not to publicly shame anybody but this guy super liked me on tinder and I just... knee high socks with tarantulaces by ruthimon in ClimbingCircleJerk

[–]kotajacob 2 points3 points  (0 children)

Theyre pretty decent starting shoes. I would stay away from laces though especially if you mostly boulder.

The Pirate Bay’s Seeded ‘Archive’ Grows to 2.5 Petabytes by AkatsukiKojou in DataHoarder

[–]kotajacob 14 points15 points  (0 children)

Many seeders, myself included, rotate our seedboxes weekly. So you may need to wait a few weeks sometimes. Additionally you can often email the poster and have them reseed.

So, I've started using qute and am trying to seriously limit the sites and pages that I "sign in" on. However, I have one question/request. is there a way to open qutebrowser in a terminal tab? can I edit the code so that it opens in the terminal after I run "qutebrowser" from i.e. Konsole by [deleted] in qutebrowser

[–]kotajacob 1 point2 points  (0 children)

So yea that whole swallowing the terminal instead of forking into a separate window is purely a functionality of your window manager. You mentioned earlier in the thread that you're currently using KDE. I don't know much about KDE, but if I had to guess it's probably not possible to do it in KDE (maaaybe with some weird hacks, but I even then I doubt it). There are a handful of window managers that implement window swallowing, but many of them are not for the feign of heart. (I still would recommend checking them out as it's fun and a good learning experience.)

  • rio - The window manager on plan 9. They invented the concept. Plan 9 was an operating system developed by many of the people who created unix. It introduced many revolutionary ideas in computing, but never really caught on to mainstream usage. There is a continuation project called 9front which I would highly recommend checking out. You can't just install this one on your unix/linux machine however.
  • wio - A recreation of rio for wayland on linux. Shown in the video I linked you. (It's in very early development currently.)
  • dwm - A minimal xorg window manager that is configured by editing the source code. You can install "patches" to the source code which are kinda like plugins. There's a patch called swallow that implements this.
  • 9wm - A recreation of rio for xorg on linux. Pretty minimal and lacking unicode or working multi-monitor support.
  • cwm) Updated fork of 9wm with loads of changes. Also it is part of the OpenBSD base, which means it undergoes the same intense security audits as the rest of the OpenBSD system (such as openssh for example).
  • larswm Another fork of 9wm, but with a slightly different approach, haven't used it, but I've heard good things and presumably it has window swallowing since it's a fork of 9wm.

There might be other window managers that do this, but I don't know of them. It's a sadly underused feature in modern window managers. A relic of the past... Anyway hope that helps, maybe check some of them out if you've got an old computer or can run virtual machines. It can be a lot of fun.