/fglt/ - Friendly GNU/Linux Thread

Welcome to /fglt/ - 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) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS.
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):
wiki.archlinux.org
wiki.gentoo.org

Any Forums's Wiki on GNU/Linux:
wiki.installgentoo.com/index.php/Category:GNU/Linux

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

/fglt/'s website and copypasta collection:
fglt.nl && p.teknik.io/wJ9Zy

/t/'s GNU/Linux Games: IRC: #sqt on irc.libera.chat
fglt.nl/irc.html

Previous thread:

Attached: 1639757540204.png (1000x1647, 1.75M)

Other urls found in this thread:

wiki.archlinux.org/title/Dm-crypt/Drive_preparation#dm-crypt_wipe_on_an_empty_disk_or_partition
archlinux.org/packages/?q=dotnet
twitter.com/NSFWRedditGif

woman %command%

I'd like some help concerning the "tip" in this wiki page.

There's this part that states:
>To perform a check of the operation, zero the partition before creating the wipe container. After the wipe command blockdev --getsize64 /dev/mapper/container can be used to get the exact container size as root. After the container has been closed od can be used to spotcheck whether the wipe overwrote the zeroed sectors. For example, # od -j $((containersize - blocksize)) /dev/nvme0n1 to view the wipe completed to the end.

What is the expected output from od? I got a bunch of random numbers after using it in the closed container (the device itself). Does that mean it worked? Would it be all zeroes if it hadn't worked?

wiki.archlinux.org/title/Dm-crypt/Drive_preparation#dm-crypt_wipe_on_an_empty_disk_or_partition

>archlinux.org/packages/?q=dotnet
so this is the power of a bleeding edge, rolling distribution.

Good job you cherry picked something that's out of date.

How's the Debian sid stability? Should I use it over Debian testing?

What should I do after installing Fedora? The RPM Fusion repo is a must right?

This and the flathub repo.
Fedora just works mostly, so that's enough.

Installing rpm-fusion is a must yep. Both the free and non-free parts.
Also tweak /etc/dnf/dnf.conf to use the fastest available mirror and to download things in parallel.
fastestmirror=True
max_parallel_downloads=number_you_want


Also setting up Flatpak like user says here is a good idea

Is there a compositor for Linux that will let me add a color to overlay the screen with and opacity of the color as a screen filter?

How can I use the keys Pause and Scroll Lock in a terminal?
xev detects them but showkeys -a doesn't
Alacritty, xfce-terminal, XTerm, none of them recognize them

Picom can probably do what you want. It's pretty much the de-facto X11 compositor.

Thanks will try picom.

Maintain it yourself if you're so concerned with it. What feature are you looking for that it doesn't have?

I'm new to linux and trying to understand bash scripting and pipes and stuff and I'm going insane.
I've got a script where I just do

ls *.txt > list.txt
And it does what I want to do, which is list all files ending in .txt and outputs that text into a file.
But when I do

listArg=$1

ls $listArg > list.txt
And then do ./script.sh *.txt, it just puts one line of text into the file.
I just don't understand what the difference is, I've programmed before so I understand variables, why isn't this doing the exact same thing?

is it impossible to use firefox or transmission with proxychains?

tutorials out there tell you they are the shit but all they do is quickly open the file in vim, keep the defaults and enable tor

i'm just trying to geo-bypass a video on youtube, so I input multiple https server the following way — i do not need tor
https ip . address . goes . here port—number #no credentials as they are anonymous

but when I run `proxychains firefox www.youtube.com` it just won't work

what am I missing?

>Does that mean it worked?
If the partition was zeroed out beforehand, yes.

Attached: 1635545353776.jpg (2000x1500, 667.09K)

the * is expanded right away. So your script gets called with all .txt files as arguments, and listArg will just be the first one.

>./script.sh *.txt
the shell performs shell expansion on *.txt and expands it into a list of files like a.txt b.txt c.txt etc
so when you do listArg=$1, it contains only the first filename in the list

You should add a code block
If I understand you correctly
#!/bin/bash
listArg=$1
ls $listArg > list.txt

And then you're doing
$ .script.sh *.txt


You are making two mistakes if I understood correctly
1 You're using > which will overwrite the file and leave you with one line. You need >> to append to the file
2 You're already globbing when calling your script
script.sh *.txt will equal to script.sh file1 file2 file3 ...

You could rewrite your script to
#!/bin/bash
listArg=$1
ls *.${listArg} >> list.txt


$ .script.sh txt

Oh wow, that makes more sense. Thanks for the help lads

Very well. Thanks!

having issues pairing Sennheiser headphones.
my Sony headset works just fine

journalctl shows error updating services: Connection reset by peer (104)
bluetoothctl giver org.bluez.Error.Failed br-connection-aborted-by-remote error

Scratch 2
Actually you need >, not >> my bad

Just purchased a t450 for $130..

Was thinking about trying Pop OS since I've only ever been a windowsdesultory.

What do you guys honestly think of Pop?

Attached: catwoman.png (1322x1758, 2.49M)