/fglt/ - Friendly GNU/Linux Thread

Previous thread: /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: Your friendly search engine, mailing lists...
>b-but what search engines respect my privacy and freedom of speech?
Try qwant, searx, ixquick or startpage.
>b-but what e-mail providers respect my privacy and freedom of speech?
Try autistici or aktivix.

$ 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

Sup 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/
bropages.org/
>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

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

Other urls found in this thread:

sourcemage.org/Spell/Book
pastebin.com/HKBAEZcL
pastebin.com/fs1ihsbc
pastebin.com/WRVQfDZd
pastebin.com/fKbf9bEC
github.com/cdchawthorne/cdc_st
support.mozilla.org/en-US/questions/1164411#answer-978198
twitter.com/SFWRedditVideos

where are all the KDE config files kept? are they all in one folder?
if i want to backup my config and reinstall for example

So for configuring gtk/qt I need dconf-editor, gconf-editor and lxappearance right?

install dwm

Install Lumina.

get dwm

d w m
w
m

K Y S
Y
S

lots of GTK settings can be set by editing files in your config directory or by exporting environment variables

nobody really knows how Qt works

Is it too autistic to use a window manager in public?

Planning on it. life is gay, think i have ascended

It's borderline. If everything works then you will look like a l33t hacker and if something goes wrong then you will look like an autist.

Anything without systemd that's both easy to use and has a lot of packages available? Most of the systemd-free distros I've tried are toys or unstable, or just in general are worse to use than Ubuntu. I'm seriously considering Gentoo, but I hate compiling shit. OpenBSD is hard to use. Void is a hobbyist toy. Slackware can't into package management in the 21st century. What else is out there without systemd that's easy to use that can be used as a primary OS?

Try AntiX
-based on debian
-non-memed, maintains its own systemd-free repo and uses debians repos for everything else
-pre-riced nice icewm desktop

Wizards assemble!

Advanced users of GNU/Linux (and I mean advanced), remember to try Source Mage GNU/Linux. True source-based distribution, and (in contrast with Gentoo and Arch) is:
Free from obfuscated and pre-configured code.
Fully committed to GPL, uses only free software (as in freedom) in their main package.
With even the documentation licensed as FDL.
Without 3rd party patches, sensible defaults or masked packages.
Doesn't need obfuscated python libraries, only bash.
Use clean dependencies as they came from upstream developers, which by the same provides instant updates.
Can heal broken installs.
Can also use flags.

Do you like Arch Linux's AUR? Do you like Gentoo's portage (or ports-like) package manager? With SMGL's "sorcery" you get all that. Making new spells (packages) not found in the grimoire (repository) is easy sourcemage.org/Spell/Book

Basic Source Mage GNU/Linux installation pastebin.com/HKBAEZcL
Improvised Source Mage GNU/Linux guide pastebin.com/fs1ihsbc

Has anyone got VNC working between Android and a Ganoo Linux computer?

Is cpupower supposed to be on at all times? I did systemctl enable cpupower.service but when I do systemctl status cpupower it says Active: active (exited). Is installing even necessary still? most of the stuff I found is old as fuck

try devuan

Once some guy had to show me something on the PC and he tried to alt+tab on my PC and I honestly cringed in that moment because it (obviously) didn't work.

I've recently switched from just i3 to using i3 within xfce. I killed off xfwm and xfdesktop and have i3 autostart. It's mostly working fine, but I'm unable to the wallpaper using wal, but feh works just fine.

Any ideas?

It doesn't from what I see. After it sets your cores to a desired governor the governor will take care of the cpu frequency scaling.

just use feh?

Yes. Its not that hard. Set it up the same way I setup my ssh connection

How do I make fuckin xorg respect my DPI settings
pastebin.com/WRVQfDZd
>AMDGPU(0): Option "DPI" is not used
when I exit Xorg/X I can see a message saying it was set to 100 DPI and tint2 reports it too.

My xorg.conf
pastebin.com/fKbf9bEC

I want to use QEMU to install and run an OS on a real partition on a physical disk. Does anybody know a simple way to do this?

feels pretty autistic to me when i use a themed emacs in public.
provided it is discrete enough and you can navigate easily, i'm sure you'll be fine though. maybe just get rid of the cute anime grill pape until you are home

that shit is always too slow for me, can't stand it.

Stop using Linux.

Anyone use st here? How do I get a blinking cursor? I don't see anything about it in the config.h so I'm assuming it's unsupported. Is there a patch?

>falling for the suckless meme

urxvt gives me weird issues with image previews in ranger, while st doesn't.

Fucking SSH. I want to access my PC from the phone, but:

user@phone:~/.ssh $ ssh-keygen
user@phone:~/.ssh $ # yadda yadda
user@phone:~/.ssh $ scp id_rsa.pub [email protected]:~/.ssh/authorized_keys
[email protected]'s password:
id_rsa.pub 100% (...)
user@phone:~/.ssh $ ssh [email protected]
[email protected]'s password:

It shouldn't ask me for the password after putting the public key into user@pc:~/.ssh/authorized_keys, right? I tried copying it into autorized_keys2 on the PC as well, and fucked around with different perms (640, 644, 600) for those files. No dice.

Try termite, works pretty well and has sane defaults

It's right there in the config.def.h

unsigned int blinktimeout

I like having the color scheme and wallpaper change handled by wal. I also found out what's happening in the code, so I'm just going to modify it and rebuild the package.

I have it enabled. Doesn't seem to do anything.

Hi I'm back from last night. I'm the guy who has trouble getting st to display the right unicode character. I've applied the "fallback" technique where I have a user fontconfig option which, when it doesn't find a character for my font, it instead falls back to a number of other fonts of my choosing.

Firefox obeys this, and so does leafpad, xfce4-terminal, etc. However, on st, the same unicode string gives me a completely different unicode character, so that leads me to believe it's not listening to my user fontconfig preferences, which is really odd, considering that in /etc/fonts/conf.d I have the "read user conf" thing at top priority (99-user.conf@)

#include

The only relevant part in the code that seems to bring up fontconfig and fallbacks is this bit, giving me the only clue
Would any of you mind looking it over and tell me what to change? I'm afraid I'm not very fluent in C.

/* Fallback on font cache */
for (f = 0; f < frclen; f++) {
glyphidx = XftCharIndex(xw.dpy, frc[f].font, rune);
/* Everything correct. */
if (glyphidx && frc[f].flags == frcflags)
break;
/* We got a default font for a not found glyph. */
if (!glyphidx && frc[f].flags == frcflags
&& frc[f].unicodep == rune) {
break;
}
}

/* Nothing was found. Use fontconfig to find matching font. */
if (f >= frclen) {
if (!font->set)
font->set = FcFontSort(0, font->pattern,
1, 0, &fcres);
fcsets[0] = font->set;

/*
* Nothing was found in the cache.
*/
fcpattern = FcPatternDuplicate(font->pattern);
fccharset = FcCharSetCreate();

FcCharSetAddChar(fccharset, rune);
FcPatternAddCharSet(fcpattern, FC_CHARSET,
fccharset);
FcPatternAddBool(fcpattern, FC_SCALABLE, 1);

FcConfigSubstitute(0, fcpattern,
FcMatchPattern);
FcDefaultSubstitute(fcpattern);

fontpattern = FcFontSetMatch(0, fcsets, 1,
fcpattern, &fcres);

That bit is from the x.c file, just a heads up.

Pic related, one of the unicode characters
xfce4-terminal showing the correct one (the tomato)

setup .ssh/config, or use the right command when connecting.
because from your post, it looks like you aren't telling ssh to use the key when connecting

Hmm. Try this then, see where the change is

github.com/cdchawthorne/cdc_st

I don't use a blinking cursor so I can't help you there

Can someone give a non-meme reply to this

user this is one of those questions that are easily googleable
Just do that

I don't use KDE but it's probably a fucking ~/.kde directory or something like that.

if it is like the other 'modern' de, it is a pain to do so.
haven't wiped my desktop for the longest time now, but i know i would end up having to recreating my current gnome setup from scratch. would migrate to some tiling bullshit but too lazy to do so.

Do people still write daemons, or are you just supposed to use systemd to daemonize as a service and simply write to stdout? How would you port this to other init systems without implementing logging and daemonizing?

Guess I'll go through it, then. Thanks.

It's not big deal, I just like to have it.

Exactly.

Fuck. I hate crossroads like this, especially when logically daemonizing is portable, but meanwhile is considered improper compared to new-style daemons, as far as I can tell.

Best distro for absolute windows brainlet ??

Ubuntu
Go for the Xubuntu flavor

>Fully committed to GPL, uses only free software (as in freedom) in their main package.

>GPL
>Freedom

Pick one faggot.

Linux Mint Cinnamon. Only a faggot would say otherwise tbqh.

what should i learn before installing arch

Arch installation is basically "make partitions and setup a base system with internet conenction. then searh for the solutions to the remaining things"

Ubuntu

How to read and type

>Option "DPI" "96 x 96"
Have you tried just 96?

If that doesn't work you could just run a script on startup like me
xrandr --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --dpi 144

should I go with fedora or ubuntu for a laptop that does not see heavy use? I mainly use windows on my desktop but switching on the laptop for fun.

Doesn't seem to change anything at all, tried 96 and all the way down to 68, no noticeable change in any program

What if you go higher? Maybe there's a minimum?

ssh -p 22 [email protected]
You need to specify the port number.

Newfag to Linux here, using Ubuntu based OS.
How do I install programs?

use the synaptic package manager if you want GUI
sudo apt install firefox if you want terminal

...

>fixing security flaws in linux's process spawning and lack of userspace mechanisms to validate/share permissions is "adding hacky code"

when will this shitty linux meme die? L4 is already academically superior in every single way.

it has always been improper. pidfiles are trucking stupid and so is going off to be pid 1's fucking child, and worse to do it as the default and have foreground as a flag.

so just adapt your shell script using garbage init properly and do your stdin/out manipulation to send off to syslog or a file. that's the big selling point of shells anyhow.

Why does the command $$ show a different PID if I run it on my shell vs if I run it from a script?

because two different processes of bash?

running a *sh script in your terminal doesn't happen in-line unless you source it like
. ./your-cool-script-bro


which will output your interactive shell's pid.

Oh, ok got it. Thanks

If the creator and main contributor of the entire linux kernel calls your code hacky, it's fucking hacky. Full stop. There are very, very few people in the world that can hold that authority but Linus is absolutely one of them.

Is anyone here running Alpine? I'd like to use it as a desktop OS since I'm really interested in security focused distros, but am concerned about compatibility. So far it looks like the only issue that affects me is not being able to run Swift due to no glibc. What issues have you all had? Can anyone speak to it's performance with wine and qemu?

If the laptop is fairly recent hardware, like 1-2 years old, Fedora. Otherwise Ubuntu.

Why is Clear Linux so much fucking faster than every other distro (see Phoronix benchmarks)? It blows everything else out of the water even with fucking AMD CPUs. Should we all just be running Clear Linux then? Or is it possible to get the same performance on Arch or Gentoo?

>tfw setup my install nearly 12 months ago and haven't done any configuring or tinkering since

Just a daily update. I didn't even bother to rice just basic i3.

its a dell latitude 3000 2 in 1 and it kind of sucks performance wise

same, but when the new lts for ubuntu drops I'll be doing a clean install. too much crud on this one to just dist upgrade

So I messed up with the Safe Boot option in BIOS and now at every boot GRUB complains about not finding a device. I can boot back again doing
(grub rescue)> set prefix (hd1, msdos1)/boot/grub
(grub rescue)> set root (hd1, msdos1)
(grub rescue)> insmod normal
(grub rescue)> normal


This does nothing
# update-grub

even after reenabling secure boot

Is my installation fucked?

meant to reply to

thanks i was going to pull you up on the (you) I didn't get but you took the iniative

I once used EXWM+Spacemacs in public and felt like a god of computing.

Install funtoo

why is rofi such a bloated piece of shit?

>multiple ways of theming it
>if you acidently use one of the ways sometimes it's stuck like that, even over a reboot
>have to select the theme above in rasi theme selector to get it to apply
>no way to recreate rasi theme effects using xresources or a config
>no obvious way to "purge" theme

FUCK it's annoying.

Firefox ESR. Can't save pdfs, even if I try the "save link as" shit. Safe mode doesn't fix the issue.

I had no idea it even did all that. I just use it because it's easier to see than dmenu. What kind of themes are we talking about anyway? It's just like 3 colors and maybe some position/size parameters right? Why does it need a special tool for that?

Do you have CUPS installed?

As opposed to what, using a tty or non X/Wayland session?

>another retard who thinks that desktop environments don't have window managers
Fucking retards polluting everything with their retarded noise.

>needs something an "advanced" user need
>but wants it to be "easy"
Another case of a pretentious retard. Just like the retard above, never post again.

>worried about "security"
>is going to run his proprietary software with wine
A lot of retards posting today.

Vnc over ssh? There seem to be several methods, which one did you use?

already told you in the last bread
try the one from mozilla

stop giving intel free tools to limit peoples' freedom

st doesn't blink afaik

it's a pretty good meme

why didn't you juts use that infinality pasta and do your own thing on top of it if at all needed

everywhere, also some are binary iirc

Lubuntu 1604

was thinking of putting mint on a usb and booting into that to use linux to get used to it ,how viable is it?

From previous thread:
So I am in sort of a deciding phase here.
I recently re-installed Kubuntu 16.04 because my PC broke in some places and needed an upgrade/rebuild. I was planning to upgrade my system alongside the 18.04 release. Aside from a few experiments, i always ran Ubuntu LTS, 14.04 or 16.04 (always dualbooting windows in case of compatability emergencies). I mainly run Linux for productivity; Blender, Darktable, Office, Audacity and sometimes Steamgames, not any programming and I am not versed in that either.
After much experimenting I fell in love with KDE because I can teach it to do exactly what I want it to do.
Now I also want to take a look at other distro-bases and found out about Suse's tumbleweed and the prospect of a rolling release just seems so much more promising.
What are the differences between Suse and Ubuntu in terms of user experience?

And since I'm already asking: how's elementalOS? It looks nice but how does it handle?

CUPS?

>already told you in the last bread
You sure? . Anyway, I wasn't aware that Mozilla had an ESR build for Linux. How do I get it?

Totally viable. I used to do it with CDs before I learned how much better USBs are. But then again, why would you want to try Mint?

life long windows fag have experience with debian, currently in college doing a software systems dev course and wanted to try start using linux for more daily tasks and heard mint was a good way to ease the transition

Your only argument is an appeal to authority, really?

Is there a way to have different /boot partitions and also avoid chainloading ?

>You sure? (Cross-thread). Anyway, I wasn't aware that Mozilla had an ESR build for Linux. How do I get it?
guess i taught about it but missed it
support.mozilla.org/en-US/questions/1164411#answer-978198
auto update from within ff also works like in windows

He only wrote like 2% of the kernel actually.

>protip
you can save caps like this as png with indexed colours
looks lossless and is smaller than that jpg

They are all in .config now