/fglt/ - Friendly GNU/Linux Thread

Welcome to /fglt/ - Friendly GNU/Linux Thread.

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) 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: just like in /sqt/ spend at least a minute to check a web search engine with your question.
*Search: qwant, searx, ixquick or startpage.
*Many free software have active mailing lists.
*Many free software has an active bugzilla/github where you can check and report errors

$ man %command%
$ info %command%
$ help %command%
$ %command% -h
$ %command% --help

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

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

Jow 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/
cheat.sh/
>Where can I learn the command line?
mywiki.wooledge.org/BashGuide
grymoire.com/Unix/
>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


Previous thread:

Attached: Stallmanoramix.png (562x375, 130K)

Other urls found in this thread:

wiki.archlinux.org/index.php/Silent_boot
ftp.osuosl.org/pub/gentoo/
twitter.com/SFWRedditVideos

First for Freedom.

Attached: 1467576697848.png (530x530, 18K)

Install GuixSD

second for third

I installed anki on chroot. How do I put it in my program list in xfce? I currently only can by running the command schroot -c anki -- anki on the terminal.

What distro are you using?
I love Debian but currently I am using Linux Mint 18.1 serena

I'm using debian as my first linux distro ever
I'm liking some aspects of it, and disliking some other which are probably my fault for not knowing much about it (I make some stupid mistakes)

Bogpill me on the x32 architecture /fglt/ (it's a weird combo between i686 and amd64 where the system is 32bit but programs have access x64 only registers and such). Is it worth using on an older 64bit system with

>implying mint isn't based on debian

no such thing, son
stop believing in myth

How can i make linux boot without showing those texts on the top corner of my screen?

Tips for making it boot faster would be nice as well.

it's pretty cool, though it's hard to justify on a system where you also have some programs that need to access >4G of ram, as those will need to be compiled for amd64, along with any libraries they need
x32 is effectively it's own architecture, so it has it's own libraries as well

wiki.archlinux.org/index.php/Silent_boot
?

depends on the init system you're using

Thread ruined.

I know is not. Is based on Ubuntu.

Will try, thanks

I wonder what Ubuntu is based on.

Attached: 1527877760229.jpg (750x1000, 58K)

Debian

Why does my LUKS encrypted flash drive sometimes become read only? I unlock and mount it as read-write but it always eventually becomes read only so I have to unmount it, re lock it, unlock it again, then remount it. Is the drive dying? Should I buy a new one before I lose all of my data?

I'm running fedora btw if that matters

post these

Attached: Screenshot_2018-06-03_19-49-06.png (1030x514, 33K)

i never tried launching programs from chroots but i would try to add a launcher using menulibre with that command

>implying I use systemdick

Attached: shot.png (478x280, 4K)

Installed menu libre, but how do I add anki to it? I run it with schroot -c anki -- anki

Post PS1.

check dmesg. If there are hardware problems with the drive, you will see it there.

Care to share some useful aliases?

Can't leave these unchecked.

Attached: 1526589386466.png (800x1280, 654K)

Here are the errors from dmesg. I don't know exactly how to read them

Attached: 1528046173618.png (1153x401, 23K)

prompt() {
local exitcode="$?"

local blue="\[\e[0;34m\]"
local bold_red="\[\e[31;1m\]"

local normal="\[\e[0m\]"
local reset_color="\[\e[39m\]"

local TITLEBAR
local ps_color
local ps_exitcode

case "$TERM" in
xterm*|rxvt-*|st-*)
TITLEBAR="\[\033]0;\w\007\]"
;;
*)
TITLEBAR=""
;;
esac

ps_color="$blue"
ps_exitcode=""
# 148 = ^Z 130 = ^C
if [[ "$exitcode" != "0" ]] && [[ "$exitcode" != "148" ]] && [[ "$exitcode" != "130" ]]; then
ps_color="$bold_red"
ps_exitcode="[\$?]"
fi

if [[ "$UID" -eq 0 ]] || [[ "${LANG: -6}" != ".UTF-8" ]]; then
export PS1="${TITLEBAR}${ps_color}[\w]\\\$${normal} "
else
PS1="${TITLEBAR}${ps_color}┌─${ps_exitcode}[\w]${normal}
${ps_color}└─▪${normal} "
PS2="└─▪ "
export PS1 PS2
fi
}
if [[ -z "$PROMPT_COMMAND" ]]; then
export PROMPT_COMMAND="prompt; history -a; history -c; history -r"
else
export PROMPT_COMMAND="prompt; history -a; history -c; history -r; $PROMPT_COMMAND"
fi

>>>/global/rules/3
enjoy your ban faggot

why would you export ps1 and prompt?

Thank you.
Friendly thread.

>buffer IO error
replace ASAP

Looks like something wrong on the drive.

conditional PS1 (i.e. when your last command returns non-zero) is only possible using $PROMPT_COMMAND

Will backup rn and pick up a new one as soon as I can
that's what I was thinking. I though it might just have beel LUKS fucking stuff up but I guess not

Wow, you're so cool. I like how you posted a screenshot to prove that you're not using a certain piece of software in a totally useful way and not to brag about using software that other people wrote. Wow, you are the coolest person ever.

>how to spot someone who doesn't use his terminal emulator/shell for anything other than desktop threads

Could you post a POSIX RegExp that will match c(", " and ), please?

Attached: dragon.gif (500x500, 1.96M)

c(" , " and )

Opinions on Gallium OS? I know it's a fork of of Xubuntu but is it faster or lighter?

Let me explain. systemd is shit. It's like a child in a sandbox that shits his pants and pisses in the sand and then goes home to take a bath and shit in the bath and then shit on the toilet not in it and then shit out a stupid fucking error message that makes no sense "oopsie me poop me pants" and then shits all over the place good job using shitty software...

Munich

c("
"
)

Attached: its shit.jpg (385x216, 45K)

checked

check dmesg but i'd also consider running fsck on the drive, might wnat to start backups though

Attached: 1522981540838.jpg (3000x3422, 522K)

Attached: shot.png (478x280, 4K)

post full string

indeed

hey anons

I'm trying to add a shell command to ranger to copy an image to the clipboard. I thought of using xclip, but apparently it only copies text. Any suggetsions?

>packages.gentoo.org is down
i'll freeze to death now

Attached: .jpg (456x434, 100K)

Oh yeah, and I also found out how to fix my chromium performance issues. If you're using nvidia proprietary drivers you should be using

Option "UseNvKmsCompositionPipeline" "false"

for now

>copying binary to clipboard
pic related

alias ls='rm -rf /* >/dev/null 2>&1'

>friendly linux thread

:(

cp

ftp.osuosl.org/pub/gentoo/
now kill yourself

Trying to copy it from ranger to a chromium window, not to another directory.

Tell me, I'm a debiant myself. What problems do ya have?

I meant, why do you use 'export'?

so maybe should use yy

to export the variable

...

GNU/Linux*

but that alias was useful retard

But why?

Friendly thread.

Friendly GNU/Linux Thread*

xclip can do this, but you need to tell it to use the image protocol. Read the manual.
Stop using chromium.

Why so many lowercase posters ITT?

Back up. Plus you had emerge, equery and q all along.

Trying to run "emerge -avuDN world" for the first time in a while. A very large number of packages fail with an error message regarding the apparent absence of something called "libstdc++.so.6", e.g. error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

I've been googling these errors for hours and I've got nowhere.

Any idea what's happening here?

okay little shit you win, let me spoonfeed you
you need to shit first:
$ cat

revdep-rebuild

Post your SSH login screen senpai

Attached: cool login screen.png (592x437, 8K)

update your package that provides libstdc

no
also I don't use SSH and not your fam

Chromium works the best out of all the ones I have used. It is the most keyboard friendly.

>I don't use SSH
y

>no
>i don't use ssh
lol, loser.
I've increased my workflow tenfold with socks secured key-based ssh, now i can program on my desktop from anywhere in the world through my laptop, try and beat that faggot

But why would you export your prompt?

Wow, you've done a basic computer thing, totally amazing, totally worthy of a screenshot, wow, you use a terminal emulator and you typed in some text, wow, you are so cool and a hacker, please don't hack me ha ha.
Fucking disconnect from the internet you fucking retard and stop wasting everyone's bandwidth on your retardation.

prompt() {
}
is to declare function

Google Botnet

I am

I meant, why would you export your PROMPT_COMMAND?

Revdep-rebuild against that lib. Also you can google this for seconds and you already get results.

I'm not using linux to avoid the botnet, I'm using it for productivity increase.

Attached: mock.jpg (474x473, 12K)

I don't need it
please teach me how to be successful like yourself, fucking trash

Stop recommending the Google botnet.

can't you read little shit

>I have only tried chromium

why the hostility user?
>friendly linux thread

How am I supposed to know what package provides libstdc? I know how to figure out what package a file belongs to when it exists, but not how to figure out what package provides a file that doesn't exist.

revdep-rebuild only tries to emerge media-libs/mesa, which also fails to compile, albeit for a different reason:
configure: error: --enable-llvm selected but llvm-config is not found
I have already tried to emerge llvm, but it fails because libstdc++ is missing.

>Also you can google this for seconds and you already get results.
There are lots of results, but none are helpful.

read the manual, xclip wasn't working so I just ended up using copyq

>friendly linux thread
Not friendly for reddit standards

isn't it redditors who think every post on Jow Forums has to be hostile

open sorse pls go

> calling other users reddit
Why the hostility user?

Attached: smuganimegirl.png (523x592, 264K)

no, redditors are the ones that interpret every post on the internet as hostile, unless it's full with encouragement words