[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1724296644228663.png (396 KB, 697x746)
396 KB
396 KB PNG
Users of all levels are welcome to ask AI FIRST YOU STUPID SHIT then ask questions about GNU/Linux and share experiences.

*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***

Before asking for help, please check our list of resources.

If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Install a GNU/Linux distribution of your choice on bare metal and run your previous OS in a Virtual Machine.
2) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
3) Go balls deep and replace everything with GNU/Linux.

Resources: Please spend at least a minute to check a web search engine with your question.
Many free software projects have active mailing lists.

$ man %command%
$ info %command%
$ %command% -h/--help
$ help %builtin/keyword%

Don't know what to look for?
$ apropos %something%

Try a random distro:
https://distrosea.com
https://distro.moe

Check the Wikis (most troubleshoots work for all distros):
https://wiki.archlinux.org
https://wiki.gentoo.org
https://wiki.debian.org

/g/'s Wiki on GNU/Linux:
https://igwiki.lyci.de/wiki/Category:GNU/Linux

>What distro should I choose?
https://igwiki.lyci.de/wiki/Babbies_First_Linux
>What are some cool programs?
https://wiki.archlinux.org/index.php/list_of_applications
https://directory.fsf.org/wiki/Main_Page
https://suckless.org/rocks/
>What are some cool terminal commands?
https://www.commandlinefu.com/commands/browse
https://cheat.sh/
>Where can I learn the command line?
https://mywiki.wooledge.org/BashGuide
https://www.grymoire.com/Unix/
https://overthewire.org/wargames/bandit
>Where can I learn more about Free Software?
https://www.gnu.org/philosophy/philosophy.html
>How to break out of the botnet?
https://prism-break.org/en/categories/gnu-linux

/fglt/'s website:
https://fgl.nl

IRC: #sqt on Rizon
https://fglt.n/irc.html

Previous thread: >>106986345
>>
Is there a way to fix the bios/TPM on my HP laptop so I stop getting a stupid /dev/tpm0 job waiting for 1.5 minutes at startup?
I'm guessing I would have to reflash the most recent BIOS from Win10, anyone know if this would work to fix the TPM?
I think at some point I cleared the TPM because I didn't really care about it. I still don't really care that much but figure it wouldn't be bad to have it working
>>
>>106999471
on my hp 15-fd0083wm shitop i disabled everything relating to the tpm after clearing the keys. that was the only thing that made it work with linux.
>>
>>106999359
why arent we linking new thread in the old one?
>>
File: 1760486690619456.jpg (105 KB, 500x375)
105 KB
105 KB JPG
do any of you know of a good dark/retro theme for gtk? in the molds of raleigh for example.
>>
>>106999856
i like making literally every element black that makes sense to make
sometimes it makes things look like they are "floating"
but also its just the least amount of light from monitor which is nice
>>
Weekend is nigh and it's time to fix up some stuff that's broken for unknown reasons.
First off, imv doesn't work with jpeg and gif files. pacman -Qi doesn't list any dependencies I'm missing. I'm on wayland. I'm using the version on pacman, there's a git version on the AUR but the comments say one of the dependencies isn't being maintained and isn't secure. What do? I'm only trying to install imv because I want something lightweight to view gif files, like an improved version of feh. I don't really care that it has to work on the terminal, I just want to open gifs and do it real fucking quick.
Second, I can run a certain software on my mint computer via wine. The same software doesn't work on my arch notebook via wine. I think the reason is the wine packaged on pacman uses wow64 and the one on mint doesn't. If I install wine-stable or wine32 from the aur, it prints metric tons of gibberish on the terminal and does nothing. I think it can't handle having both wine and wine32/stable installed, so I'd have to uninstall wine from pacman. If I do that, will it uninstall my software as well and force me to reinstall it all on wine32 only for it to maybe or maybe not work? Is there anything else I should try first? I'm on wayland in this machine and wine defaults to xwayland, could that be causing the issue? The software in question doesn't work on wine because it can't find some dll files, but those files are present on its directories. Don't know if that helps.
>>
File: IMG_6376.jpg (216 KB, 1920x1080)
216 KB
216 KB JPG
I installed Linux Mint and Luanti and I don’t think I need anything more
>>
>>107000013
neat
does this game have nether end or shit like that?
>>
>>107000022
Lunatic has anything you want. It is an FOSS voxel engine. There are Mineclone games and several other FOSS voxel games. You can make whatever you want or play something created by others.
>>
>>107000002
>xwayland
piece of trash, i had so many issues with xwayland back on kde + debian, try getting ride of that first.

also, lets check those digs...
>>107000000
>>106999999
>>
what the fuck is going on
i can mount my drives manually by entering the password
but when i put

UUID=D84AA5D94AA5B4A2 /mnt/wdblue1tb ntfs defaults,uid=1000,gid=1000,nofail 0 0
UUID=89f42de5-607e-42d1-a392-0a026bfd79dc /mnt/seagate1tb ext4 defaults 0 0

into the fstab i can't write shit to either of them after rebooting
>>
>>107000049
its just if it doesnt have achievements or final boss you lose main speedrunning categories
if you dont have that you dont have an opportunity to shill this shit to big speedrunning content creators like this faggot sounding guy named feinberg so that he can make his "ive speedran this open source minecraft clone" video
and an opportunity like that is your ticket to becoming another BAR

freeorion suffers from similar issue, they dont have MoO 2 like combat (just autocombat) so its infinitely harder for them to attract the MoO crowd
>>107000102
did you use tabs to separate each field?
>>
>>107000141
> its just if it doesnt have achievements or final boss you lose main speedrunning categories

Why would anyone over the age of 13 even care about that?
>>
>>107000141
>did you use tabs to separate each field?
no, it's spaces
the default drives in there use spaces as well
>>
>>106999856
Solarized, Gruvbox, Catpuccin, Nord... don't know about Raleigh.
>>
>>106999795
find it yourself, tranny.
>>
>>107000061
I ran
>env -u DISPLAY wine example.exe
As the wiki suggested. How do I check if it worked?
>>
>>107000168
are you sure? im pretty certain you are supposed to use tabs in fstab
what does
 cat -T /etc/fstab 
look like?
>>107000160
these people have hundreds of thousands of subs and some of their videos made millions of views
they are the perfect gateway audience, literally tailored for this
if you want for your game to stay obscure university project you ignore these things
welcome to real life and realpolitik of it
>>107000210
i did, troon
>>
>>106998728
I learned a lot of these lessons the hard way already, but this was an insightful read anyway. Thanks for posting it.
>>
>>107000236
>tty certain you are supposed to use tabs in fstab
you don't need to use tabs in fstab. whitespace is whitespace, see ctype.h.

>>107000102
post entire fstab. did you chwon the mount location?
>>
>>107000236
>are you sure? im pretty certain you are supposed to use tabs in fstab
you don't need to use tabs, spaces or tabs will work fine
>>
>>107000227
I'm retarded.
I've read the manual and figured out how to run it without xwayland, but the software still doesn't work and complains about dlls it has already. I'm back to thinking wow64 is the issue.
>>
>>107000248
>>107000271
>googles it
i swear you had to use tabs in it
what in the fuck is this total recall ass blade runner 2049 ass fucking bullshit
>>
>>107000300
i've been using spaces for over a decade at this point, until i stopped writing them all together, but i'm not gonna say you can't have been right at some point, because frankly im too lazy to look into that
>>
>>107000315
nah i dont think so
i dont think it wouldve been ever changed, that would break a lot of setups and random shit

but then again, nowadays we are automatically rewriting resolv.conf with systemd moduals and other bullshit so who knows
>>
>>107000300
The only common formats I'm aware of where the Tab character has special significance are shell scripts and makefiles.
>>
>>107000463
shell scripts? they are mostly whitespace indifferent besides newlines
>>
>>107000463
>makefiles
and (((gnu))) needs to burn for this.
>>
>>107000488
Here Documents automagically strip leading Tabs but not spaces

>>107000499
They inherited a lot of bad decisions made by boomer interns.
>>
>>107000509
>Here Documents automagically strip leading Tabs but not spaces
this is very much an edge case applying only to <<- heredocs. in 99% of cases shell scripts don't care whether you use tabs, spaces or nothing.
>>
>>107000540
Yeah but you're aware of it unless you type out 160 lines of echo statements like a fuckin streetshitter.
>>
>>107000551
or just don't indent your heredocs, or read from a file. frankly i think you're fucking insane if you legitimately needed 160 lines of heredoc and i hope your insanity never makes it to production. if it does i hope you're my competitor.
>>
>>107000586
160 lines is a lot less than you'd think.
>>
>>107000586
fzf --help | wc -l
214

Keep getting mad at every little idiosyncrasy though. I'm sure that'll get you far.
>>
I have tried everything to make windows relinquish control over my SSD
Disabled secure boot and hibernation, fiddled with the fstab and all the variables and nothing besides the subservient act of removing it from the fstab and manually mounting it every boot lets me write on it
This is not a cry for help, I don't need anything, I'm going to take all the data off it and slice N(igger)TFS' s neck with the Occam's razor like I should have done hours ago and replace it with an Aryan filesystem
>>
>>107000626
just don't indent it. why would you? fzf's help is not indented.
>>
>>107000628
remove windows and everything microshit. problem solved
>>
Trying to enable a service with the --user flag gives me this error:
>Failed to connect to user scope bus via local transport: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
machinectl says there's no machines so I can't do as it suggests on the error message.
What do? I want to enable mpd but that requires the --user flag or else it won't work properly.
>>
>>107000643
Because Go has different idioms than shell script. Why should anyone care if Unix shell indenting triggers your tism? Go make a time machine if you don't like it.
>>
>>107000686
i didn't tell you to care, but your retarded gotcha wasn't even relevant to what i was saying. btw it took you a horrifically long time to find that code. finish school kid
>>
>>107000685
From my notes:
export XDG_RUNTIME_DIR="/run/user/$UID"
export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"


Make sure those paths are correct for your system, but otherwise that should be what you need.
>>
>>107000726
Literally that, as is, or do I change the $UID to my UID? What do I do with the path to XDG_RUNTIME_DIR?
>>
>>107000726
where did you put that?
>>
>>107000748
"$UID" will generally give you your actual uid, try echo "$UID"
>>
>>107000754
Yeah, I can find it with echo, it gives me some number.
But I substitute that number on the export command or leave it as $UID and the command will interpret that? Same with the second export command.
>>
>>107000769
in double quotes (") export will substitute that for you just the same as it did with echo. your shell does that substitution before any commands are invoked (these are most likely gonna be builtins in both cases, but the same concept applies)
if you are ever unsure about this slap echo in front of your command and you should see any variable substitutions applied the same way you would if you invoked the actual command
>>
>>107000748
>>107000769
You can run them as-is; $UID and $XDG_RUNTIME_DIR will be substituted automatically when defining the environment variables.

>>107000749
Run those commands in a shell, or you could add them somewhere like /etc/profile or ~/.bash_profile if needed.
>>
>>107000769
so what file are you putting that in? or just exporting them in an interactive shell?
>>
>>107000692
lvl 99 loser mindset on display here
>>
File: too old for this.png (140 KB, 405x364)
140 KB
140 KB PNG
>opensuse leap entusiast since 2018
>giving a try to the new Leap 16 on my thinkpad before doing a full upgrade on my main pc running 15.6

>new installer runs over a firefox tab
>confusing disk/partition management
>wipe my W10 boot
>yast removed and replaced for Cockpit
>need to access Cockpit from a browser
>ask for my user and root password on the fucking browser
>no more options to mess with grub, bootloader and other configs

WTF have they done? They've killed my favorite distro. I'm 100% mad!

I'll give a chance to Debian again after 10 years.
>>
>>107000931
cope harder fag
>>
>>107000998
Yast is obsolete trash, good they got rid of it.
>>
anyone know if i can use a mp4 as a wallpaper in sway?
only worry is it would rape the cpu
>>
>>107000628
Windows has no control over your SSD if it's not the OS you're currently booted in.
After you mount the drive manually and confirm it's RW, see the correct mount parameters with `findmnt`.
The only possible cause for your issues is incorrect mount parameters, there is no point in blaming Windows for your mistakes.
>>
File: 1000016501.jpg (43 KB, 478x552)
43 KB
43 KB JPG
>>107000210
>>
File: 1757775940323833.jpg (421 KB, 1530x2000)
421 KB
421 KB JPG
I followed this flowchart. Now a happy Vanilla OS User.
>>
>>107001832
>install stock xfce/mate or whatever gui on arch
>or choose among 5 obscure github.com reddit things or forks of other things (that will have inevitable compat. and lack of maintenance problems with their custom special-sauce addons) and will cease to exist within 2 years
>>
why are you fags so afraid of Fedora?
>>
>>107001886
I'm not though. I use Bluefin, which is based on Fedora Silver blue still. They're moving away from it with their Wolfi repo thing in the future though for faster GNOME shipping
>>
>>107001863
Considering that most of these listed distros there have existed for over 2 years already, I see no problem. Maybe stop living under a rock?
>>
>>107001832
Is there a reason to use VanillaOS over something like Bluefin / Aurora (or at least Silverblue)? VanillaOS seemed way too custom and clunky last time I used it, while UBlue distros are effectively Fedora Atomic plus a handful of customizations and pre-installed software on top. VanillaOS is infinitely more likely to become abandonware.
>dev
>CachyOS, Arch
I'm sorry, but a dev machine is required to be stable and require no maintenance. As a dev I can definitely say that UBlue and Fedora Atomic distros are much more usable. Not to mention that Ubuntu and Fedora are the default choice for 90% of developers. CachyOS and Arch are absolutely not "dev distros" unless you're just larping as a dev.
>>
>>107001918
VanillaOS is pretty much the same as Bluefin but without stupid Dinosaurs plus you get a distrobox shell right from the start that pulls CLI things directly from Debian Sid. That's why I use it. https://github.com/Vanilla-OS/vanilla-system-operator
>>
>install linux
>it doesn't work
>troubleshoot
>turns out I have to change how windows deal with time for ganoox to work
This is a piece of shit OS (I mean linux). Can't it just deal with the clocks?
>>
>>107001951
You won't get far using Linux with this mentality.
Stick with Windows.
>>
>>107001951
Press shift when you click on shut down in windows.
>>
>>107001991
Didn't know I could do that, thanks.

>>107001985
I use linux everyday at my job. But the whole localtime/UTC shist is stupid.
>>
>>107001942
>you get a distrobox shell right from the start
So it's no different? Having a distro pre-installed inside distrobox isn't really a selling feature imo.

>>107001951
Dual booting is a meme and Windows is the non-standard OS here.
>>
>>107002013
It's standard de facto by being used by 90% of personnal computers. This kind of shit is why linux will never make it mainstream.
>>
>>107002013

>So it's no different? Having a distro pre-installed inside distrobox isn't really a selling feature imo.
Yes it's the same. Atomic GNOME but with Debian base instead of Fedora. You can only reinvent the wheel so many times.
I like it more than Bluefin. It's comfy.
>>
>>107001951

sudo timedatectl set-local-rtc 1
>>
>>107002016
I don't care if Linux is mainstream or not on desktops. It's the de facto standard everywhere else and both it and macOS are the standard among developers unless you're dealing with legacy software. Windows is only a standard when it comes to end user software support, but the way it implements some things is non-standard (time, file paths, etc.). Just like the default Linux way of installing software through root package managers like apt/dnf/pacman is non-standard as every single other OS is using the equivalent of Appimage/Flatpak and not using shared libraries.
>>
I use Debian 13 btw
>>
>>107002138
Based, Debian just works
>>
>>107002067
>and not using shared libraries.
that's not even true
>>
i have read many posts about people "breaking" their installs. before i jump into linux full time, are there any tips to avoid this? can I make full image backups of my OS?
>>
>>107002543
Breaking means their package manager stops working and user would need to manually fix this.
If you have a separate /home partition that's sufficient most of the time.
Linux is a clusterfuck don't let the freetards convince you other way. It's great when you're at work and someone else manages the system but for home user... Well it's there.
>>
>>107002543
Learn to fix a broken install instead. Look up "tty" and "chroot".
>>
>>107002564
>>107002560
okay thank you
>>
>>107002543
use an immutable distribution and you'll be fine
>>
>>107001763
Sure you can:
https://github.com/GhostNaN/mpvpaper
>>
>>107002543
it probably wont even happen i cant even remember the last time for me
>>
>>107002543
I've been using Ubuntu for a while now and I haven't broken it yet. I guess one thing is that you shouldn't use sudo unless you absolutely have to. I think the only thing I use sudo for is updating and upgrading (`sudo apt update && sudo apt full-upgrade`). Some guides online will tell you to edit system config files in the /etc directory, and you need sudo to edit those files because they're in a system directory. But you can avoid editing those files directly if you copy the file you're looking at into ~/.config, which is within your home directory. You can edit files within there without sudo. And if you mess up any config files within ~/.config then you can just copy the original from /etc again.

TLDR: try to only edit files that are within your home directory (~). Only edit files outside of that if you really really have to and you know what you're doing. And only use sudo if you absolutely have to.
>>
>>107002067
I guess .PKG files don't exist on macOS and Windows doesn't use DLL files.
>>
I've taken a couple of HDDs from my old server and put them in my media PC (running Mint), but I don't have permission to do anything like create folders. How do I gain 'ownership' of these drives?
Also is there a fairly straightforward software way of making these HDDs mirror each other for backup purposes? I want redundancy in case one fails but I can't be fucked trying to get RAID working in by BIOS.
>>
Once you leave comfy Gnome it's not so shrimple anymore.
>>
I'm just trying to setup i3 with polybar but now the fonts don't match. I already installed the fonts, there must be some retarded mismatch.
Also my setup doesn't look as good as some others I've seen. I'm sure I will get it to work eventually, just takes more time than expected. Any tips to make the process more efficient?
>>
>>107002616
>dll
These are almost always bundled with software installers. Having shared libraries is something that's only used for specific libraries that are widely available. The standard way of distributing software (even on Linux in most cases) avoids using shared system libraries. I'm not saying it doesn't exist, I'm saying that on Linux it historically tried to be the norm which ultimately lead to the failure of Linux desktop.
Exclusively relying on shared libraries a complete pipe dream and doesn't work in the real world. Your 5 desktop Electron apps all ship with their own entire Chromium browser/runtime and your 10 video games all have their own Unity runtime even if they're all using the same runtime versions. You cannot avoid code duplication and library duplication unless you go full autism mode and never use 99.9% of software.

>>107002645
>How do I gain 'ownership' of these drives?
sudo blkid # to check your drive UUID
sudo nano /etc/fstab # edit this
UUID=DRIVE_UUID /path/to/mountpoint ext4 defaults,uid=yourusername,gid=yourgroupname 0 2 # replace ext4 with your FS,

I think this should work. Normally your disk formatting utility would ask you to set up the storage without ever requiring root.
>Also is there a fairly straightforward software way of making these HDDs mirror each other for backup purposes
It's not very straightforward, but borg backup can be used for this. You'll have to use the docs or ask a random AI to help you set it up. Alternatively you can use Syncthing if you want an easy GUI option, but I'm not sure if it allows you to create a backup on the same machine as the data source.
>>
>>107002732
>nano
>those # comments
You are posting chatgpt created advice.
>>
>>107002698
Polybar probably has some missing font dependecy. At least waybar needs this one magic font with glyphs or otherwise it's fucked up. Just hard to find concise information...
>>
>>107002613
that's not gonna help you setting up your network or something, it only works for user configs where the standard from /etc is taken if there is none in the homedir.
>>
>>107002732
>These are almost always bundled with software installers.
Because windows devs assume (rightfully) that their windows users are too stupid to install libraries on their own.
>>
>>107002900
>setting up your network
Surely you can do this with nmcli or using GUI apps. I don't think I've had to edit system files for network stuff, apart from /etc/hosts
>>
posted this in /sqt/ aswell but also trying my luck here.
I recently installed debian 13 with KDE on my computer and after some tinkering I managed to sucessfully install nvidia drivers. I usually use brave as my default browser, but I struggle to get it to work properly. It seems that wayland and Brave really does not want to work with hardware acceleration. Is there anyone that has solved this? Do I have to use Xorg, or Xwayland Brave? Or should I just switch browser? Idealy I want to use Brave with Wayland. My GPU is a nvidia 1060 if that is of any relevance
>>
Is there a way to compile a minimal kernel without wasting time sifting through menuconfig? Ideally, it would detect all used features with allyesconfig and convert uninitilised features into [ ], and it should obviously detect even [*]. Is this wonderful magic of automation is even possible?
>>
>>107003176
i remember skipping menuconfig by extracting arch kernels config file and using it for gentoo kernel instead by just adding a few gentoo specific lines at the end (tho dont remember what file that was unfortunately)
you can probably write a script that parses these files and does what you want
>>
>>106999856
Adwaita-dark has been good enough for me. You could maybe try blackbird or greybird? Or Arc
>>
>>107000002
You have to add multilib on arch to get 32bit wine and to also make sure you have all the 32bit dependencies you need.
>>
>>107003153
Are you sure your drivers are working? Web browser should just work unless you are missing some dependecies or if it's a config issue.
>>
>>107003204
Arch kernel use allyesconfig if I remember well, I'm not asking how to copy third-party configs. I'm asking how to compile a perfectly optimized minimal kernel without human.
>>
How do I encrypt my disk post install? Fedora 42
>>
>>107000141
What happens if you add rw to the mount options?
You can check the mount options you get when manually mounting them from /proc/mounts or using the mount command with no args
>>107000236
You don't need to use tabs
>.t uses spaces in his /etc/fstab
>>
>>107000726
$UID should be changed to $(id -u)
But both of those variables should be set by your login manager through logind unless you're not using systemd.
>>
>>107003235
other than watching logs
would this help?
https://wiki.archlinux.org/title/Modprobed-db
>>107003268
yer clicked the wrong post number here me thinks



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.