/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: pipi.png (2000x2000, 427K)

Other urls found in this thread:

youtube.com/watch?v=KaCQ8SQ6ZHQ
pastebin.com/PKAmJDL6
bbs.archlinux.org/viewtopic.php?id=120371
twitter.com/NSFWRedditGif

first for anime

Hello Jow Forums friends. Do you think some of the basic GNU utilities have become too bloated?

Look at tar --help or even ls --help. Why does tar have the ability to compress files?

Why the fuck does my phone have to spy on me?

Attached: gnuroothero.jpg (770x602, 162K)

It calls out to external tools for that and ls is notorious for the amount of options it accepts. But think about it like this, if you did something often enough (like tar | gz) that you would likely make an alias for it is that not a good enough argument to add that functionality into the main tool?

Yes I would its just annoying having to search through all the options. Stuff should be tucked in the manual pages at least I think

What's a program like foobar? Not in terms of customizability just something I can dump a audio file into and play it. Deadbeef doesn't play nice with KDE (doesn't work with global media keys).

aplay

cool thanks. I'll probably use it.

Also need something like deadbeef and foobar that plays playlists.

mpv

I think if you use info instead of man, it can nest information. I know it at least lets you travel between content via links like you were reading wikipedia. You can even run info by itself to start reading from a very outside look. I use man personally, but it sounds like info may have things you want.

mpd+ncmpcpp is pretty fantastic and only takes a few minutes to configure (gotta point it to your music folder via config, and make it autostart somehow, either through a window manager or service with your init system)

there's also cmus if you want something more simple to get going

cat

Fuck, well i found a temporary work around to my screen tear issue: its using an r7 260x that was given to me instead of my 1060 haha fuck nvidia man why doesnt this shit work?? I wonder if anyone will want to trade a 1060 for a 580 or something?

something that I've always wondered about mpd-combo. Is there a way to sync music to my android? Kinda like musicbee or iTunes. If there's an easy way I might just switch over.

Oh yeah, I can just use VLC, thanks. MPV default doesn't have an extensive gui.

No I just meant help is usually the go to for just refresh on the options but its an overload of information. I dont think you should need to go into the man pages or read through 100 lines of help just to create a basic tarball.

>Is there a way to sync music to my android? Kinda like musicbee or iTunes. If there's an easy way I might just switch over.
No clue. I haven't done anything advanced with it. I've been meaning to figure out how to listen to a remote mpd server. Both so that I can listen to my collection on my phone, and so that I don't have to run separate mpd servers on all my computers when I'm just gonna use music from my file server over sshfs anyway.

nvidia-settings --assign CurrentMetaMode="$(xrandr | sed -nr '/(\S+) connected (primary )?[0-9]+x[0-9]+(\+\S+).*/{ s//\1: nvidia-auto-select \3 { ForceCompositionPipeline = On }, /; H }; ${ g; s/\n//g; s/, $//; p }')"
Try this if you haven't already. My main computer has a 1060 6G and it did the trick.

Ah, I missed that you started out mentioning the help argument. I don't have much of a reason, but I've never been one to use that. I think it's more common to have a man page than help output, and the man page will have more info, but mostly it's just a gut feeling for me.

I thought you were saying you wanted a way to hide some of that extra info in man pages, which made me thinks of emacs org mode where your to-do lists can have collapsible bullet points and such. info is kind of emacs-y, so then I also thought maybe it had something similar.

Because it's running linux instead of GNU/linux.

Info has bizarre keybindings and nothing supports it.

Do you have album art working on it? I remember that was the main reason for not wanting it.

>and nothing supports it
What do you mean? Have you ran into programs with a man page but not an info page? I would think it'd just copy the man page in this scenario.

I've never even tried. I don't always keep it visible since it's a daemon playing the actual music. Sometimes I'll control the music over ssh, or with some music controls in polybar. I do like album art, but I never really thought I needed it. I've seen people on Jow Forumsunixporn with working album art, so I'm sure you could figure it out.

i have no idea what you posted but it seems to have sort of worked. not as smooth as the r7260x was but my systems actually usable now. thanks

Haha, it does too. Pathetic.

actually nah, it doesnt fix the issue at all.

As an example video youtube.com/watch?v=KaCQ8SQ6ZHQ gets minimal screen tearing still. but when i switch to the amd card its smooth as hell

whats that program for restoring isos to usb on linux called?

dd if=file.iso of=/dev/sdX bs=1M
kill -USR1 $(pgrep ^dd)
]
Use the second command to get progress if you want

dd

>kill
jeez, just use dd status=progress

you know kill is for sending signals it doesnt actually kill the process

That's what I always say before I use it to kill.

So, I've just written a small blog/rant last thread. Now I actually want to build the system that I proposed.

What if I wanted to hack together such a system from already available parts?

I want a persistent single-row terminal at the bottom of my screen. I guess that's achievable with many of the command bar implementations that various window managers provide.
I want all commands from this terminal to detach and open in a new window. For graphical stuff that's no thing, as opening in a window would be default behavior anyway. I'd just need to use an alias or something to make it detach from the terminal as well.
Any idea on how to modify it like that? Would it be part of my x11 config?
For the CLI stuff, it seems trickier unless there's some kind of global config file that affects every single command. (And knowing the OS, there might actually be) Anyone got an idea for making all CLI commands open in a new xterm when started from the console, but not when called from one of those xterms?
Bonus points for only doing that for commands that create more than one line of text output after being invoked.

And now for the big one: Is there some way to get a direct graphical representation of commands like ls and cp? I assume no one has bothered with that shit yet.
I guess it would be extendable by piping the output into a new program that does the graphical representation, similar to using pv on cp. I'd just need to alias those tools to pipe into the program and make that program capable of handling all of them. Or write one program for each one.
ls would probably need to be aliased such that it simply invokes the graphical output tool at the current path. There's no point in parsing ls in that situation, and I'm pretty sure that parsing ls is retarded anyway.
I'd have it respond to ls options by actually changing the graphical output, e.g. list view.
I'd probably use sl as the command to kill the output window.

What is least fuckey to code for? Qt? GTK? Pure x11?

>all CLI commands open in a new xterm when started from the console
Just make your launcher bar not a console. ;)
>Is there some way to get a direct graphical representation of commands like ls and cp?
What does that even mean though?

I'm like using KDE because of the programs and having a DE for backup but I want to do a bit of ricing.

How do I make a custom taskbar that's not KDE's panel? I want a better system tray and KDE's isn't good enough (I just want icons)

I have an old "dead" laptop that was gifted to me, it's years old but I'm sure if I run a minimal OS I can use it for basics. I've used Ubuntu/Mint in the past but I'm no Linux expert. What's the best lightweight / no bloat OS for my shitty machine?

Spec:
Pentium P2600 2.16Ghz 3MB
3GB DDR3
500GB HDD

Arch.

hi. i installed arch on my x250 last night. battery life in the settings panel is reporting around 2 hours less than windows. installed tlp and powertop. i ran powertop calibrate but it says i have to wait ages with powertop open before i can use auto tune. is there anything else i can do to better my battery life?

>person wants something where you can drag and drop files to play them
>recommends mpd with his meme opinion client
How does it feel to be retarded, retard?

also the speakers are a lot quieter than in windows. alsamixer is all turned up to max too.

You want a drop down terminal emulator. What a way to waste 2 huge paragraphs on describing that.

Is this shit legit? Am I supposed to use this random ass distro for deployment with docker?

Attached: small-simple-and-secure-alpine-linux-under-the-microscope-3-638.jpg (638x359, 28K)

It's blissful.

Yes legit but why do you even need a distro at all?

Hello world of Jow Forums and Jow Forums.

I have problematics.

I want to install linux on my computer to have dual boot.

This is my process: Download linux .iso image, make an bootable usb with rufus tool. In rufus I check GPT partition scheme for UEFI, NTFS. Tried other options too. Tried multiple iso images. Secure boot in BIOS is set to off. This BIOS does not have legacy option, only UEFI. The result is it would not boot the media, the latest result is it gets me into grub.

Please help me. To be precise it would help me a step by step process to installing dual boot on UEFI machine. The computer is Notebook ACER Aspire 3 Cel/4GB/500GB/Lnx NX.GY3EX.006

For "graphical representations" I'm not sure what you mean but you may like to watch screencasts of such fancy electron based terminals (yes really!) such as extraterm, upterm and hyper.is and see how erect you are afterwards.

Try the GPT+MBR option in rufus.

>everything is working fine
>suspend for the night
>wake up this morning
>won't connect to network (wired)
>reboot
>connects
>no sound
what am i supposed to do in this situation? I re-installed linux mint last week and I don't want to keep doing that every time I have a problem. Is it time I switched to a better distro?

install debian

Why lincucks stuck in 90s? even for small thing, you must "go down in basement" open terminal.

Thanks for mentioning the term. Was actually not aware of it.
However, it's not quite what I want. I want software to open in new windows, not the console to expand.

I for one cant wait to join the current year of computing. Unfortunately Linux doesnt have ads in the file manager and forced updates yet.

>What does that even mean though?
I triggered a word filter somehow.

Here's my response:
pastebin.com/PKAmJDL6

Will take a look, thanks.
I did post here hoping to find out whether I'm trying to re-invent the wheel.
If everything already exists, I wonder why I haven't yet seen a distribution market itself with that kind of stuff.

You mean you have to get down from the treehouse and enter the actual building.

Is there a cli equalizer?

>I triggered a word filter somehow
Ell ess space dash ell is banned here

Alsaequal

Don't have that option.

>Ell ess space dash ell is banned here
Is there a story behind this? It seems random as shit.

Yes. Alpine Linux rocks for a docker containers base image.

Dunno, someone should ask moot.

Nope, i go down to the basement, blow off dust from typewriter of my granma and run filemanager as root.

>run filemanager as root
Why are desktop distributions too cucked to get a "run as root" right-click option? That alone breaks the entire system.

Cloudflare in charge of not being a streaming pile of shit.
You cannot post proper / etc paths either. because fucking CIA monkey nigger CF blocks it, as I heard.

What are they afraid of? Do they throw all site content into a terminal first or what?

Probably to prevent scripts that can be used later to attack/cause trouble being uploaded to their botnet? Honestly no idea, it's so fucking retarded. how do you make for example a 100% legit GNU/Linux, BSD, other free software tutorial site/blog without proper *nix commands/paths?

To be fair, you can disable the rules.

Attached: Screen_Shot_2017-05-18_at_10.13.27_AM.png (1626x1418, 166K)

asked for help in the linux mint irc. they asked to see this and didn't say much else.
What should I be looking for?

Attached: Screenshot at 2018-05-27 09-55-01.png (661x414, 32K)

How add/edit shortcuts in "start menu" w/o root? install "GNU/shortcut manager"?

meak desktop dot file.

Post the output
$ systemctl status --user pulseaudio*

How to install .rpm on deb based distro?
How to install older version of programm / two different versions in same time?
systemd is shit, glibc is bloat, so why use them?
It's already 2018 and MEDIAplayer has no GUI.

yes, i mad, because lanics is shit and not suitable for dialy use.

why?

Why are you still here? Nobody cares what you think, nobody wants you to start using Linux.

go use windaids

Ok ive subscribed to my fate of having to use a r7 260x on gnu linux. my question now is how can i make it so under debian my r7 is the default card and then in windows the 1060 is the default card? i cant use xen or any hypervisor because it interferes with stuff on the windows machine

is this dual boot?

tfw discovered aliases. So far I'm using it to quickly use a bunch of arguments(?) for mpv when streaming stuff. One to quickly mount adn unmount a bunch of network drives and one for doing updates.

is there a kde theme / setting to get rid of that tiny border around all windows?

>glibc is bloat
And you should kill yourself.

>How to install .rpm on deb based distro?
alien
>How to install older version of programm
snapshots.Debian.org (something like that) has every version
>two different versions in same time?
A chroot I guess
>MEDIAplayer has no GUI
Who?

Blacklist nouveau and nvidia modules.

yeah its dual boot.

is there anyway to then not provide power to the card at all (so that its fan doesnt spin)?

Ok fuck whoever designed KDE's sound management. even when you disable notification noises it causes the audio to spike to 100% for a second, and theres no easy way to change between audio sources. How do I install cinnamon's audio manager or something like that?

why not?
I did, wangblows7 still better than jewbuntu.

Attached: FHS autism.jpg (3264x2448, 608K)

There are probably files in the PCI part of sysfs you can talk to for power management stuff

Can someone help me with mpd+ncmpcpp?

I following the steps on arch wiki but I've had to restart a couple times.

This is my mpd.conf
db_file "~/.config/mpd/database"
log_file "~/.config/mpd/log"
music_directory "~/Music"
playlist_directory "~/.config/mpd/playlists"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql"

#bind_to_address "any"
restore_paused "yes"
max_output_buffer_size "16384"

audio_output {
type "alsa"
name "mpd alsamixer-output"
mixer_type "software"
}

audio_output {
type "fifo"
name "toggle_visualizer"
path "/tmp/mpd.fifo"
format "44100:16:2"
}


When I run mpd mpd.conf
I get this error:
mpd mpd.conf
May 27 20:06 : exception: Failed to bind to '[::]:6600'
May 27 20:06 : exception: nested: Failed to bind socket: Address already in use


systemctl status mpd
● mpd.service - Music Player Daemon
Loaded: loaded (/usr/lib/systemd/system/mpd.service; enabled; vendor preset>
Active: failed (Result: exit-code) since Sun 2018-05-27 19:59:32 AEST; 5min>
Docs: man:mpd(1)
man:mpd.conf(5)
Process: 2315 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=1/FAIL>
Main PID: 2315 (code=exited, status=1/FAILURE)

May 27 19:59:32 T440 systemd[1]: Starting Music Player Daemon...
May 27 19:59:32 T440 mpd[2315]: exception: Failed to bind to '[::]:6600'
May 27 19:59:32 T440 mpd[2315]: exception: nested: Failed to bind socket: Addr>
May 27 19:59:32 T440 systemd[1]: mpd.service: Main process exited, code=exited>
May 27 19:59:32 T440 systemd[1]: mpd.service: Failed with result 'exit-code'.
May 27 19:59:32 T440 systemd[1]: Failed to start Music Player Daemon.

bbs.archlinux.org/viewtopic.php?id=120371 according to this I think I have two instances running but there's nothing in my .xinitrc, systemd

@66104130
have some (You)

pkill mpd
;)

you should run mpd using init system you're using, in this case systemd
so systemctl start mpd
>Address already in use
indicates that there is a process that uses 6600, either mpd or other process
just kill it, killall -9 process

no u

How did that without terminal?
>MEDIAplayer has no GUI
>Who?
Cmus, mpalyer. python gui, it'a a crutch.

go back to Twatter, cunt.

I have already run systemctl enable mpd systemctl start mpd before.

Is it the case that 6600 is being used by mpd on boot already? How would I find out?

I think it may be working bt it If it's working then why are no song showing in ncmpcpp?

If you don't read manuals, why even bother with this topic? Anyway:
--vi-keys
use vi-like and less-like key bindings.


-9 should always be the last resort since it really murders the process, this means, no memory cleanups etc as when you would kill it normally.

>memory cleanups
Tha fuk? If the process dies mr colonel reclaims the memory, it doesn't need cleaning up

some distros install mpd a root service, this means it doesn't load a user config and when you it run it as user, you see that the port is already in use (by the root service). make it either a user service or start it manually.

if you already ran systemctl enable mpd then mpd is already started on boot
>why are no song showing in ncmpcpp?
do you have any music files inside ~/Music

this
try running systemctl enable mpd without sudo, but first do sudo systemctl disable mpd

thanks I used I check in pidof mpd and it's running.

can ncmcpp follow symbolic links?

mpd can for sure