[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: 1753132002824.png (39 KB, 200x212)
39 KB
39 KB PNG
Users of all levels are welcome to ask questions about GNU/Linux and share their 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%

Check the Wikis (most troubleshoots work for all distros):
https://wiki.archlinux.org
https://wiki.gentoo.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://fglt.nl

GNU/Linux Games:
>>>/vg/lgg

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

Previous thread: >>106442184
>>
>>106460244
Lurk more, faggot. >>106459354
>>
>>106460244
What could replace GNU/Linux? In any timeframe.
>>
>>106460261
no this is the thread
>>
>>106460262
Theoretically? BSD, but there's no BSD distros that just work yet.
>>
>>106460262
why would linux need to be replaced?
>>
>>106460267
cuck license
>>
>>106460262
dunno, for all we know we get a Tor OS in the upcoming times
>>
>>106460269
I don't know about "replace", but one thing that really bothers me about Linux is file permissions. Are there distros where you can double click downloaded scripts and have them run instantly without having to type
sudo chmod +x /path/to/script.sh
? Admittedly, this might be an issue I'm incurring upon myself by uploading my scripts to litterbox to test in VM's—perhaps catbox's servers don't preserve file perms? Nevertheless, it seems really questionable that AppImages can just run without molesting you, yet another type of executable can't.
>>
File: Libbie.png (285 KB, 797x344)
285 KB
285 KB PNG
In a world...
>>
>>106460303
well you can make it executable by right clicking them
>>
>>106460314
Making it executable through the DE has never worked for me, at least on Fedora; I've always had to do it in the terminal. I don't know what is going on, but at this point I would rather just make an AppImage to perform the functions of my script so that noobs can launch it hassle-free.
>>
>>106460320
what de you use, it works on xfce and lxde for me
>>
File: test script.png (239 KB, 1107x526)
239 KB
239 KB PNG
>>106460303
>>106460320
Works for me on Plasma.
>>
>>106460359
Well shit...guess I'm stupid.
>>106460323
Turns out I was using the I'm a Dumbass Desktop Environment
>>
>>106460359
>>106460371
But even still, I don't like that this is something that has to be done in the first place. I guess I'll make an AppImage of my script since those just work... actually, are AppImages allowed to request the admin password?
>>
restarting fixed it
>>
>>106460262
Windows 7 Anniversary Edition
>>
File: baby duck.png (16 KB, 121x145)
16 KB
16 KB PNG
>>106460489
>quack quack
>>
File: Quackin.png (1.02 MB, 1920x1080)
1.02 MB
1.02 MB PNG
>>106460496
Yeah? I'm the king of baby ducks, because I don't believe in intentionally breaking old use cases. I made Plasma yield to my baby duck syndrome and become Windows 7. If there's a distro that defaults to a beautiful and optimistic GUI, I'm all ears, otherwise I'm using AeroThemePlasma.
...
On that note, how the hell do I change the titlebar text to black in Geckium?
>>
>>106460649
is there a gtk version?
>>
>>106460746
Nah
>>
>>106460746
There is something very similar for both Cinnamon and Xfce
>>
>>106460649
Is that actually Plasma with an Aero theme? Or is it Win 7? Looks identical to Win 7
>>
>>106460956
It's actually Plasma: https://gitgud.io/wackyideas/aerothemeplasma/
There's a video guide as well: https://www.youtube.com/watch?v=B9EM1VbbXLY
>>
>>106460982
Fair enough. I hope you keep your distro and all its packages updated. I cringe when I see people on /g/ who actually do still run Win 7 without security updates because they think they don't need security updates.
>>
Is there a single Android tablet without a shitty locked-down bootloader that you can install Linux onto? I resent that ARM's most practical use case is for laptops and the like, yet it's nearly impossible to use ARM Linux for this purpose.
>>
File: aramo-kde.jpg (254 KB, 1280x720)
254 KB
254 KB JPG
>>106461092
Well Stallman uses Trisquel, so I guess there's that.
>>
>>106460244
Having to directly download an .appimage to replace a flatpak installation (qbittorrent, wanting to replace lib1.2 to lib2.0)
How can I shift all the previous data and configs onto the newly downloaded appimage?
>>
>>106461644
iirc, AppImages just store the configs in /.local and /.config and Flatpaks store them wherever. You're gonna have to chase them down per app.
>>
>>106461061
Most of them have bootloaders which can be unlocked. But there are no Linux ROMs for most Android devices thanks to the way ARM works. There's no such thing as an ARM iso which works for any ARM device like there is on x86, each device needs it's own image for the most part. That's going to be your limiting factor.
Best thing to do is to look for retailers who actually ship Linux on ARM, rather than Android. Or for those who specifically advertise the ability to install Linux. Or you can just look at a Linux ARM project and see which devices they say they support, for example https://devices.ubuntu-touch.io/device/amar-row-lte/
>>
>>106461692
>Flatpaks store them wherever.
Believe its home/.var/app/, where it seems everything's contained.
>>
>>106461061
No because Android isn't Linux. Even high end Android tablets with unlocked bootloaders need blob drivers which only work with Android kernels.
>ARM's most practical use case is for laptops
ARM's most practical use case is turning out cheap shit with minimum R&D spend.
>>
>>106461852
Most flatpaks store it there, but some use the home dir just like any other program.
>>
File: Universal Blue.png (13 KB, 200x200)
13 KB
13 KB PNG
Is there any reason to use Kinoite over Aurora? If you're limited to Flatpaks either way, then isn't Aurora just Kinoite with codecs and NVIDIA drivers preinstalled? May as well go with that.
>>
>>106462190
Aurora is Kinoite but more user friendly overall.
>>
>>106462190
Not really, no. Aurora significantly improves it.
The only argument I can think of is "muh minimalism" (less pre-installed software), but it's questionable you'd use KDE or Flatpaks at that point.
>>
>>106462190
Less bloat, I don't like how Aurora and Ublue highjack Homebrew by putting their version of it in your PATH. I still think it's a better overall image though, Fedora's images are too limited due to patents.
>>
Unironically would LfN have been okay to daily drive? If it was tied to the Ubuntu repos anyway then you could've theoretically kept running
sudo apt full-upgrade
up to the present.
>>
How can one isolate a bash script? If I source a script, it pollutes the caller script's namespace with all the variables and functions. How can one temporarily source a script and then call some functions and then forget about it and continue to the next script that may export variables with same names as previous sourced script?
>>
Do you make different partitions for / and /home? If so, how would you split a 500gb ssd? Is /home encryption advisable? Or would full encryption make more sense for a laptop?
>>
>>106463036
Run it in a subshell
(source ./file)
>>
>>106463179
So parentheses create a subshell?

(
source ./file
call_func()
)

?
>>
>>106463211
Yes, that is correct.
>>
>>106463248
I see, read a bit about it now, internally calls fork() I guess. Nice. I hate shell scripting.
>>
>>106463065
No, 100 / 400, encrypting root is advisable because information leaks out of /home in various places. Just make one big LUKS volume.
>>
>>106463065
>different partitions for / and /home
There's no reason to ever do this.
>how would you split a 500gb ssd?
64GB-80GB should be enough for your whole OS, software included. But just in case you'd probably want 100GB for the system. The rest should be assigned to your /home since that's going to consume most of your storage, especially if you download games/movies/series or any other large files.
>would full encryption make more sense for a laptop?
No reason to encrypt your whole system. Encrypting your user's /home is more than enough since that's where all your sensitive data is stored.
That being said, encryption introduces performance overhead in disk I/O-related tasks. If your laptop has a microSD slot it's better to just use that for storing all your private shit, and unplug it when you leave home with your laptop.
>>
What are my snapshot options if I use ext4?
>>
>>106463602
Timeshift is the most recommended.
>>
I ran "rm -r directoryname" instead of "rm -r directoryname/"
What did that do? Delete everything? I was root at the time
>>
>>106463369
>There's no reason to ever do this.
why would you say this. snapshots on / and /home is a simple example.
>>106463602
lvm thin below
>>
>>106463621
You can snapshot specific directories.
>>
>>106460244
dkms seems to be completely broken on freshly installed debian 13 machines, why are these niggers so incompetent
>>
Ran systemd-analyze blame:
>8.302s dhcpcd@enp37s0.service

Why does it take so long??
>>
>>106463065
Yes it's recommended.
35-80GB /
At least 2GB swap (for sleep mode etc)
The rest to /home and whatever
>encryption
Depends, you should ask yourself if need encryption.
It's slower to load, will cause headache when rescuing the system etc.
>>106463616
 man rm 
>>
>>106464213
>At least 2GB swap (for sleep mode etc)
Bad advice, sleep mode doesn't use swap at all and hibernation needs up to the RAM size, 2GB is likely too small.
>>
>>106463602
Mainly fucking yourself. Just use Btrfs.Your question is like asking "What are the hetero options on Grindr"; I guess you could fuck a twink in a skirt?
>>
>>106464249
I usually say sleep mode for hibernation.

>likely too small
It should be enough to close the lid with most DE;s.
If you are referring to someone that leaves 100 apps open and web browser with a 100 tabs, indeed it's small.
>>
>>106460244
I like the desktop threads and talking about archinstall
>>
>>106460262
the gnu/hurd fork for the L4 kernel, ideally.
>>
>>106464411
>I usually say sleep mode for hibernation.
They're different things. One is a hardware power state, the other is a kernel feature.
>>
>>106463621
If you're using thin provisioning you're not worrying about filesystem size.
>>
>>106464213
>Depends, you should ask yourself if need encryption.
The idea of someone being able to unplug my ssd and read its content bothers me. Also wouldn't decryption happen only once at boot time? I fail to see the performances impact other than slower boot time when waking up from hibernation
>>
Looks like Mozilla is finally making progress with their Rust re-write of libjxl for JPEG XL support:
https://bugzilla.mozilla.org/show_bug.cgi?id=1986393
>>
is systemd-nspawn the right way to do chroots now?
tried asking in an earlier thread but didn't get much useful answers
anyone here use/d systemd-nspawn for this?
>>
>>106464602
Anything that goes to / from disk has to run through encryption all the time. It's hardware assisted and you won't notice in most cases. There's usually a wall clock difference for NVMe drives.
>>
>>106464870
Chroot is the right way to Chroot. What are you trying to do?
>>
>>106464870
It depends on what you want to do. The operant syscall is pivot_root not chroot. There are a bunch of front-ends with different use cases. Read the Arch wiki or something.
>>
File: file.png (396 KB, 1826x959)
396 KB
396 KB PNG
after hours of fucking around i actually got the fan shit to work
had to ask chatgpt a million times but i actually managed to figure this out
in the end it was as simple as editing grub, downloading a decrepit package from git and installing that alongside coolercontrol
>>
>>106464914
>>106464916
need an ephemral/disposable development environment to spin up quickly, install python or node in it, run some code, then trash the environment.
i want all the polluted crap that npm or pycache spins up to just be easy enough to dump without having to go hunt shit down
>>
>>106463369
>>different partitions for / and /home
>There's no reason to ever do this
/home *must* be on a separate filesystem unless you use btrfs or zfs subvolumes.
There are many good reasons for this. Use LVM if you're unsure how to split your disk during installation.
>>
>>106465054
Just use a container.
docker run -it -v $HOME:$HOME -w $HOME --rm --pull always debian bash


Feel free to substitute docker for podman or whatever else and debian for whatever container you want to run.

Also if you're in a specific scratch/work directory, instead of mounting your entire $HOME you can do something like:
-v $PWD:$PWD -w $PWD
to make your current directory available to the container.
>>
>>106460244
what is this pajeet shit? get the fuck out of here streetshitter.
>>
whats the strategy to get better display in libvirt/qemu? everything looks like shit and blurry as hell regardless of the resolution
>>
>>106465065
>/home *must* be on a separate filesystem
No.
>>
>>106465647
not him but it's usually a good idea, unless you're using nix/guix. having it on a separate disk is nice too so you can just symlink it on a new install. it's the ideal way to go since it saves time pulling config files out and replacing them after.
>>
wtf do i do if i -Ss a package and it shits out 50 entries?
>>
>>106465993
Pipe it to less or grep for something specific or grep -v to filter out entries.
>>
>>106462190
Kinoite, I tried Aurora in a VM extremely disapointed, I see lot's of gnome shit and bouch of free installed crap I don't need and they replaced discover with some gnome shit, if I wanted gnome I would install gnome.
>>
>>106462190
>>106466829
Honestly would switch to KDE Linux if it is any good, but you probally cannot layer ontop packages which doesn't seem good.
>>
>>106460303
>I'm incurring upon myself by uploading my scripts to litterbox to test in VM's
ouch, that hurts so much
>>
>>106464027
>systemd-analyze blame
Pewdiepie ahh command
>>
>>106465993
fzf
>>
>>106464027
dunno, but dhcpcd took like 5 seconds for me back when I used it. Ditched it now
>>
>just got an office job
>windows 11
How do people use this? If I don't want to do anything for half the day I'll "accidently" run the update and my computer is unusable for an undetermined amount of time. Just needed to vent to my fellow gnu/linux chads.
>>
>>106467094
Saw it again on Brodie's vid and thought it'd give it a go :p
>>
>>106467487
It's the same shit on MacOS, the other corpo OS of choice.
>>
>>106467657
I've been using gentoo for so long that I forgot how to use other operation systems. Ultimate productivity once you set it up, maximum screen space, no intrusive popups annoying you. I spent 10 minutes trying to get notepad.exe to open up with shortcut keys and gave up.
>>
>>106466886
i thought rpm-ostree was a thing with these immutable distros?



[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.