/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 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: 1471756940040.png (1000x1400, 1.2M)

Other urls found in this thread:

youtube.com/watch?v=umQL37AC_YM
wiki.archlinux.org/index.php/Bspwm#Rules
wiki.archlinux.org/index.php/Persistent_block_device_naming#by-uuid
btrfs.wiki.kernel.org/index.php/Problem_FAQ
wiki.archlinux.org/index.php/USB_storage_devices
github.com/ggreer/the_silver_searcher/blob/master/README.md
github.com/BurntSushi/ripgrep
wiki.bitlbee.org/FrontPage
twitter.com/NSFWRedditGif

Attached: flube.gif (460x405, 98K)

I tried installing gentoo on my old laptop.
driver didn't support wireless network.

tried funtoo
same thing on the fucking systemrescuecd, as far as I can tell.
at least I got some error messages that time.

then I realized I'm learning a useless skill and stopped for the night.

>driver didn't support wireless network.
did you install firmware?

Reading manuals are for chumps eh

I was literally walking through the guides. But when you come up with that 0google results query, you know it's fucked.

Attached: gentoo.png (964x220, 4K)

>gentoo
>the source code is compiled locally
how do you compile the compiler then?

With a precompiled "stage 3" compiler.

Hello friends
Just upgraded to Xubuntu 18.04

>precompiled
i dont' like the idea of that!

As the creator of a distro. I will call it what ever the fuck i want to call it, and there is nothing you can do to stop me

To install linux, you must first be running linux.

Attached: yfw.webm (480x350, 687K)

Install CRUX

Try running lspci to see what wireless card you have, and then searching for firmware for that specific model.

...

Hi /flgt/, I'm dabbling around with my Raspberry Pi, running Raspbian.

I'm trying to work out how I can set up a series of intranet pages for myself such as:
wiki.raspberry.com

I've managed to get things like this working:
192.168.0.2/index.html

My main aim is to try and get phabricator working, but so far I hit this when trying to access it:
Request parameter '__path__' is not set. Your rewrite rules are not configured correctly.

Googling, I haven't found a solution that works for me though.

It sounds like your www path, or the path to the scripts are not properly setup in your config

Why wont windows open in floating mode in my bspwm?

Here's my bspwmrc:

#! /bin/sh

sxhkd &
#feh --bg-scale ~/.config/wall.png &


bspc monitor -d I II III IV V VI VII VIII IX X

bspc config border_width 2
bspc config window_gap 12

bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_follows_pointer true

bspc rule -a gimp desktop=^8' state=floating follow=on
bspc rule -a palemoon desktop=^2
bspc rule -a mplayer2 state=floating
bspc rule -a mpv state=floating follow=on
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off

Why do we worship this man again?

youtube.com/watch?v=umQL37AC_YM

Correction; This is my bspwmrc:

#! /bin/sh

sxhkd &
#feh --bg-scale ~/.config/wall.png &


bspc monitor -d I II III IV V VI VII VIII IX X

bspc config border_width 2
bspc config window_gap 12

bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_follows_pointer true

bspc rule -a gimp desktop=^8' state=floating follow=on
bspc rule -a palemoon desktop=^2
bspc rule -a mplayer2 state=floating
bspc rule -a mpv state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off

what are some jobs i can get doing linux things

The usual issue is that you don't have the program capitalized correctly. I assume mpv (if that's the video player you're using) is the only one that works.

Simple solution (from what I've seen) is just to double every rule line, making sure the first letter is capitalized. So, e.g.
bspc rule -a gimp desktop=^8' state=floating follow=on
bspc rule -a Gimp desktop=^8' state=floating follow=on

Broad question, what "linux things" can you do?

Also, get rid of that extraneous ' in the gimp line. That might also be causing your problems.

None of them work.

I'll try to capitalize them, but I thought you had to write them as you would a terminal command.

This is a example config. Don't use gimp that often.

probably nothing worth paying me for
i have a little bit of experience with qemu and configuring virtual machines through xml
i just want to know what options there are

Any good recommended guides or anything? I'm quite stuck :\

Good advice.
I was in a linux user group for a couple years.
Most of what I know now, I learned then.

system administration seems like the obvious choice.

besides that, i don't know. maybe embedded systems programming?

Doesn't matter. If you randomly have an apostrophe or quote in a shell script, everything will be interpreted as being on the same line, which will obviously make it not work. Get rid of the apostrophe if it's in your actual config.

Kernel developer.

Welcome ~.

Attached: 1531178654007.jpg (960x960, 50K)

update your fucking packages. That manual is ages old.

In t line 17:
bspc rule -a gimp desktop=^8' state=floating follow=on
^-- SC1009: The mentioned parser error was in this simple command.
^-- SC1073: Couldn't parse this single quoted string.


In t line 23:

^-- SC1072: Expected end of single quoted string. Fix any mentioned problems and try again.

Fixed it.

#! /bin/sh

sxhkd &

bspc monitor -d I II III IV V VI VII VIII IX X

bspc config border_width 2
bspc config window_gap 12

bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a mpv state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off

Turns out the config on archwiki was wrong.

>'^8'

Bspwm is a great wm.

>bspc rule -a desktop='^2'
Should be bspc rule -a Palemoon desktop='^2'

can paste for shit today apparently.

Wrong. See man 7 urxvt, last updated 2016.

Neither
bspc rule -a Palemoon desktop='^2'
or
bspc rule -a palemoon desktop='^2'
works. How should I write it to make it work???

No man entry found

Admit it.
At its core, Linux promotes Socialism.
>prove me wrong

Attached: social.jpg (1400x656, 167K)

Attached: lolgpl.png (715x499, 53K)

>First of all, transparency isn't officially supported in rxvt-unicode, so you are mostly on your own.
>Here are four ways to get transparency.
>1. Use transparent mode

what is this guy smoking

What this guy doesn't understand is that nobody is forcing me to use some Chinese botnet WPS Office when I can just use Libre Office instead, or the superior Microsoft Office, since Libre Office is just a (badly) reverse engineered Microsoft Office in the first place. Why would I ever use some Chinese botnet?

His entire point is horse shit because his premise is that Americans develop free software, and then the Chinese have us use their botnet.
But in reality, free software is developed by volunteers all over the world, including China I would assume, and no American unironically uses Chinese software.

Well I don't use any Chinese software. The American botnet (Google, Microsoft, Facebook) is certainly much more widespread in the West than anything Chinese.
I understand that Chinese software is popular in Asia, but who cares. Not my problem if some chinks spy on each other and won't do anything against it, like Stallman et al do over here.

>MS Office
>Superior

Attached: 1503370051392.gif (384x216, 1.84M)

Not him but MS office is literally the definition of a killer app.

wiki.archlinux.org/index.php/Bspwm#Rules

Try running
xprop | grep WM_CLASS
and then clicking on your Pale Moon browser.

Otherwise, it might be the usage of single quotes rather than double quotes. Try desktop="^2".

Is there a cli tool that will just mount external hdds for me instead of fucking with config files.

mount

pmount

fstab

I mean something that automatically does it (i.e. detects too).
My mount location deletes after each time I umount (/run/media/ deletes itself everyboot so I have to make the folder)

my external hdds are ntfs so they can't gen a uuid. And they switch /dev/sdX everytime.

Have this errror when I try to boot a fresh install using efi and btrfs any idea of what I'm doing wrong and where?

Attached: IMG_20180711_112533.jpg (3036x4048, 2.75M)

>automatically
udev
>My mount location deletes after each time I umount
Use /mnt/
>my external hdds are ntfs so they can't gen a uuid
You can use labels

Consider switching to an uptodate distro.

wiki.archlinux.org/index.php/Persistent_block_device_naming#by-uuid I read this and though I couldn't use it.

Thanks for the other reccomendations.

>/dev/sda2 ... no such device
something is very wrong

Do
ntfslabel

then mount by label
mount -L label /mnt/point

What do I need to put in my zsh config so I can type vi, arrow up and the last vi command shows up like in bash?

In bash I use:
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'

How to do this in zsh?

btrfs.wiki.kernel.org/index.php/Problem_FAQ

>I get the message "failed to open /dev/btrfs-control skipping device registration" from "btrfs dev scan"
>You are missing the /dev/btrfs-control device node. This is usually set up by udev. However, if you are not using udev, you will need to create it yourself:
# mknod /dev/btrfs-control c 10 234

It is also possible that your btrfs kernel module is not loaded. either add it to your initramfs or compile it in kernel, not as a module.

Linux*

can I had the ntfslabel to an fstab so it automatically mounts?

Should I use udisks since that's what some DEs use?
wiki.archlinux.org/index.php/USB_storage_devices

>fstab
Yes
/dev/disk/by-label/label /mnt/point ntfs-3g defaults 0 0


>udisks
I've never used it

>using boobfarts

i think i'm gonna downgrade from xubuntu 18.04 to 16.04. samba and wine are both fucked on 18, hell i'd probably go back to windows 10 if it didn't keep my laptop so fucking hot

Is it possible to install Gallium Nine on Debian so I can play games on wine at decent fps's? Google isn't helpful.

Attached: debian.gif (1529x1352, 13K)

If you're lucky there are packages available in somebody's PPA.

werks on my machine :^)
jk I haven't used either samba or wine in years

Enjoy your botnet.

Is it possible to make i3 re-assign a key ONLY when interacting in a certain program?

Explanation: My old mouse has a crappy mouse wheel that sometimes scrolls down when i want it to scroll up, and this is particularly annoying in one game I can't seem to remap the zoom option to other buttons. So I'd like i3 to automatically make PageUp/PageDown map to ScrollUp/ScrollDown since I have side mouse buttons that do that.

(Ideally, like I mentioned, this would be only for that particular program, and not a global assignment)

arch, i3, zsh, solarized, httpie, powerline, neofetch, - what's the current numale grep replacement? I forgot the name.

ag github.com/ggreer/the_silver_searcher/blob/master/README.md

> get manjaro current build iso
>try using uui first to install it
>reboot my computer
>usb doesnt boot up at all just boots into windows 10
>try it again just incase it doesnt work
>try rufus
>tells me it needs to install the current version of grub it can find it online when i press yes
>finish installing it from rufus
>reboot computer and its still booting into windows 10
>look up online what the fuck is going on
>it says i need to select the dd option it will probably work
>select dd opiton and install it
>reboot computer and it still does the same fucking shit no linux distro just windows 10 booting up

why the fuck wont this shit work, i tried like 4 times on 2 different usb installing programs and the shit wont work at all. WHAT AM I DOING WRONG.

github.com/BurntSushi/ripgrep
written in rust, for maximum numaleness

Is there any distro with an installer that comes with proprietary wifi and LAN drivers? I have this fucking laptop that is not listed on the manufacturers site anymore and all of the spec sheets I can find don't list the manufacturer or product ID of the network devices so I don't even know what proprietary drivers to download and point the installer at.

So far I've tried Ubuntu and Debian installers and they don't even pick up the LAN connection.

What kind of potato is it? Do the usual tools (lspci, lsusb, lshw) give any hints?

Yo I need some help from any voidfriends, I fucked up my kernel. I think I just vkpurged everything and never actually installed the new one in my updates so now I can't get past GRUB. I still got the void usb I used like a couple months ago but I don't know what I could do with it besides reinstall; I got some files I need to preserve first. Can anyone help?

Attached: nomore.png (228x278, 76K)

Can you get tray icons on dwm?

help me friens, i've been struggling to install eclim for 2 days now. Everytime i get this error:
Cloning into '/tmp/eclim'...
remote: Counting objects: 66866, done.
remote: Compressing objects: 100% (294/294), done.
remote: Total 66866 (delta 186), reused 263 (delta 87), pack-reused 66419
Receiving objects: 100% (66866/66866), 72.12 MiB | 1.29 MiB/s, done.
Resolving deltas: 100% (39931/39931), done.
Checking connectivity... done.
Note: checking out '2.8.0'.

Buildfile: /tmp/eclim/build.xml

deploy:

gant:
[echo] ${eclipse}: /home/lord/eclipse/java-photon/eclipse
[echo] # Skipping org.eclim.groovy, missing org.codehaus.groovy.jdt.patch
...
[echo] # Skipping org.eclim.cdt, missing org.eclipse.cdt
[echo] Plugins:
deploy:
deploy.eclipse:
build:
build.eclipse:
init:
[echo] eclim.version: 2.8.0
[echo] eclim.release: 2.8.0
------ init
[echo]
[echo] building plugin: org.eclim
[mkdir] Created dir: /tmp/eclim/build/temp/eclipse/plugins/org.eclim_2.8.0
[mkdir] Created dir: /tmp/eclim/build/temp/classes/org.eclim
[javac] Compiling 39 source files to /tmp/eclim/build/temp/classes/org.eclim
[javac] /tmp/eclim/org.eclim/java/org/eclim/plugin/AbstractPluginResources.java:42: error: package org.eclipse.core.runtime does not exist
[javac] import org.eclipse.core.runtime.FileLocator;
[javac] ^
[javac] /tmp/eclim/org.eclim/java/org/eclim/logging/Logger.java:19: error: package org.eclipse.core.runtime does not exist
...
[javac] public void addTextInputListener(ITextInputListener listener)
[javac] ^
[javac] symbol: class ITextInputListener
[javac] location: class DummyTextViewer
[javac] 100 errors

BUILD FAILED
/tmp/eclim/build.xml:32: The following error occurred while executing this line:
/tmp/eclim/build.xml:163: : Compile failed; see the compiler error output for details.


How do i fix this?

I'm open to alternatives at this point, anything to get me eclipse functionality in vim without having to install eclipse shit.

there is a patch for it so yeah

pls help, never dealt with this tremendous of a fuckup before

Is there a way to install Windows 7 AFTER having installed Manjaro in a non-UEFI system?

not an expert and not familiar with void but
>boot into void usb live cd
>mount your drive with root on it
>chroot /into/where/root/is/mounted
>update repositories
>try your luck and just install the latest linux-image again
>if doesn't work purge all linux-image linux-header gpu drivers
>reinstall linux-image linux-header and driver

stop using windoze

anyone?

Holy fucking shit thank you so much user, worked like a charm.

y-you too

Is Debian a good distro for begginers?

Halp guise, I fucked up Linux Mint install (yes, I know...) and it only boots to grub prompt. Installed from USB, I disabled secure boot from BIOS and tried again but to no awail. Wat do?

no gentoo is
what else? install gentoo

My T430 just arrived with 16Gb ram and 240SSD

I'm undecided what distro i want to take. I'm used to linux mint but i'd like something different. I'm a beginner in python but i'm taking it seriously and thinking about taking studies.

What distro should i take?

Attached: W_rQhOOEtFVwT_SGn6Wu5du7KC31lgfd1kEbi3wa0qI.jpg (1024x768, 212K)

Is there something that combines e.g. Slack, Messenger, Whatsapp, Telegram and whatnot and isn't a botnet?

Yes, but I'd go for PCLinuxOS, Lubuntu or Mint.

An IRC client with bridges like bitlbee but not all work on bitlbee so you have to find other workarounds. Check here wiki.bitlbee.org/FrontPage

gentoo
reddit

>Many wireless adapters will now have everything they need to work. However, if you have an Intel wireless adapter, then you may need to install the proper microcode for your device in addition to ensuring that the proper Intel Wireless kernel drivers are available. For my Intel Corporation PRO/Wireless AGN [Shiloh] Network Connection, I need to do the following:

># emerge net-wireless/iwl5000-ucode

so where the fuck do I find mine??
product: PRO/Wireless LAN 2100 3B Mini PCI Adapter

what the fuck do I emerge now? what's the command to list shit with emerge? emerge --info /net-wireless ?

Yeah it's great for every use case unless we're talking like grandma.