/flt/ - Friendly Linux Thread

Previously on: Welcome to /flt/ - Friendly Linux Thread.
Users of all levels are welcome to ask questions about Linux and share their experiences.

*** Please be civil, notice the "Friendly" in every Friendly Linux Thread. ***

Before asking for help, please check our list of resources[*].

If you would like to try out Linux you can do one of the following:
0) Install a Linux distribution of your choice in a Virtual Machine using VirtualBox or other software made for this puporse for safety purposes.
1) Use the Live ISO (if your distribution of choice has one) to boot directly into the Linux distribution without installing anything, that way, you can get to experience the Linux operating system without installing it.
2) Dual boot the Linux distribution of your choice along with Windows or macOS, this is recommended if you want to know more about the Linux operating system.
3) Go balls deep and replace everything with Linux.

Meet the /f(g)lt/ team:

IRC: irc://chat.freenode.net:6667/flt (6697 for SSL)
If you don't have an IRC client, you can use a web client:
webchat.freenode.net/?channels=flt
kiwiirc.com/client/irc.freenode.net/flt
WEB: fglt.nl/

* Resources:
Your friendly neighborhood search engine (searx, ixquick, startpage, whatever.)
$ man
wiki.archlinux.org (Most troubleshoots work on all distros.)
wiki.gentoo.org (Please see comment above.)
wiki.installgentoo.com/index.php/Category:GNU/Linux
prism-break.org/en/categories/gnu-linux/
linuxcommand.org/tlcl.php
gnu.org

Other urls found in this thread:

sourcemage.org/Spell/Book
sourcemage.org/
techdows.com/2016/04/google-kills-chrome-memory-page.html
launchpad.net/~djcj/ archive/ubuntu/vapoursynth
freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PerfectSetup/
github.com/qt/qtstyleplugins/commit/102da7d50231fc5723dba6e72340bef3d29471aa
bbs.archlinux.org/viewtopic.php?id=214147
launchpad.net/~tikhonov/ archive/ubuntu/rtorrent
store.steampowered.com/app/404410/
wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#QGnomePlatform
twitter.com/AnonBabble

fucker

I'm not able to log in to getty. something has gotten fucked up and im in a desktop session right now..
I dont see any issues in journalctl or dmesg
Is there any where else i would look for logs?

what program shows me what buttons I press? It's something related to xinput and runs in a terminal.

where is the public_html/cgi-bin directory in manjaro. in opensuse it's /srv/www/cgi-bin and in ubuntu it's /usr/lib/cgi-bin

xev

xev

Sometimes randomly, sometimes when waking from sleep, my cursor freezes. This happens on both my USB Logitech mouse and my Deathadder 3.5G. Distro is Debian Testing, DE is KDE.

What window manager do you guys usually use?

thanks m80's

kwin

Wizards assemble !

Advanced users of GNU/Linux (and I mean advanced), remember to try Source Mage GNU/Linux. True source-based distribution that can heal broken installs. 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 is licensed as FDL.
Without 3rd party patches, sensible defaults or masked packages.
Doesn't need obfuscated python libraries, only bash.
Uses clean dependencies as they came from upstream developers, which by the same provides instant updates.
Can also use flags.

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

Come and join sourcemage.org/

Woops, wrong pic.

Heresy.

It would go something like
i3
awesome
bspwm
in terms of popularity.

I haven't seen as many Sup Forums users using other ones like herbstluftwm, dwm and xmonad but they do exist.

Was testing webm conversions, here is the version with sound
Is from a crappy avi, don't judge ;^)

>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 is licensed as FDL.
>Without 3rd party patches, sensible defaults or masked packages.
>Doesn't need obfuscated python libraries, only bash.
>Uses clean dependencies as they came from upstream developers, which by the same provides instant updates.

a bunch of buzzwords then

Thanks for the link. I was looking around and I stumbled upon a link to Sorcerer. I'm going to give that a try.

>sourcemage.org/
>for recently discovered vulnerabilities in ImageMagick
lol, I think I will stick to the tried and true Windows 7 ;3

Who should own drives mounted to /media?

will linux help me make friends?

We all should.

Steps I followed:
Install Japanese in language support
Install ibus and ibus anthy in package manager
Choose ibus as keyboard input method
Log out then log back in
Go to ibus preferences (in same menu as language support)
Click input method
Click add
Find and add Japanese - Anthy

Now you should be able to change to the Japanese IME by clicking the language icon on the panel.

first for Fedora

fluxbox

techdows.com/2016/04/google-kills-chrome-memory-page.html
what the fuck

hey flt,

I want to start using linux, but my current passion is being driven by the desire to rice a laptop to kingdom come and make it the ultimate personal portable workspace, any tips on laptop brand and distro?

Some back story:

I tried ubuntu back in 2008, when I was in highschool, but the lack of video games and peripheral support made it hell. I dabbled with debian/arch with a RasPi at work trying to make a tiny personal portable work station, but I couldn't even get started ricing it (nothing worked)

I used a Mac at work for a software engineering job, and coming from windows and IDEs, holy shit... coding with a terminal is a pure god send, especially when managing remote servers

I left that job and work QA right now, but would love to start coding again, starting with webdev using Elixir

this time, I'll do it right, learning emacs, and the art of 3 terminal windows. Point me to the right direction?

>pic related, what I aim to get

And?
Use your system manager like everyone does

I set up proftpd to both share some big files with normies that I know, and have access to all my stuff when I'm out and about. I have:
>made sure anonymous login is disabled
>set strong passwords on all user accounts
>set the option to confine users to their home directory
>set the login shell to /bin/false for everyone but me
>changed the port number
>set up TLS with a self signed certificate, and disallowed connections not using TLS

is there anything else I should do to secure my server?

yeah, because that's helpful

Exactly the same thing

Run it in a chroot

Are you using users created in the system? Or users that are just in ftp?
If you're using ftp users, disable local login, as well as root login

chrome://memory had a nice total usage
it's impossible to figure out how much it's using without it

>using htop is hard
There are a pletora of system monitors avalible

they're regular system users. I checked the documentation and they say root login is disabled unless you turn it on, which I didn't. I'll look into chrooting it. thanks

have a link to pic?

no, I just saved it off of Sup Forums. saucenao and tineye don't have any leads either

What's the best Linux?

Trying to install MPV from this link

launchpad.net/~djcj/ archive/ubuntu/vapoursynth

Already followed the instructions and added ppa:djcj/vapoursynth to my repositories and updated. MPV is not installed though. What do?

That's like saying "what's the best car?". It's impossible to answer until you specify what you want it to do and what things it should be good at.

I don't know.

In a bash script is it possible for a trap to unset itself? For example, if I'm handling SIGINT with a trap and I want the trapped code to reset SIGINT handling to something else.

Linux-libre

How do I add a drive on Debian?

Linux-ck

lsblk
parted
mkfs
mount

Details are left to the reader.

apt update then apt install mpv not working?

I just installed manjaro, pretty nice so far. Anyway to the question. I have a USB mic that my headphones can plug into. In the manjaro audio settings the soundtest works fine and I set 'prefer' these over the other devices, yet I still can't hear anything else..

I'm not getting any sound whatsoever from my computer. Here's what I get when I type in aplay -l:
**** List of PLAYBACK Hardware Devices ****
Failed to create secure directory (/run/user/1000/pulse): Permission denied
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

Try running as root. If it works you've messed up your permissions and might have to add your user to the audio group.

Do you have permissions to /run/user/1000? Your user should be the owner of everything in there.

Did it use to work? Or is this a new install?

New install. I have read and write access to /run/user/1000 and I'm in the audio group.

It wouldn't happen to be Debian stable?

Debian Testing.

what is this distribution? ignore the porn

ubuntu.

if you meant DE, it says XFCE right there.

Audio didn't work for me on stable and I had a skylake architecture CPU. I think upgrading to unstable should fix it. From linux 4.2 or so skylake is supported.

Why did you add yourself to the audio group? Read this and then decide:

freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PerfectSetup/

What can i do to remap a mouse button?
context: my middle click button died and I want to assign that functionality to another spare button on the side.

What are the downsides of dualbooting compared to having a single system installed?
(except for having to choose your os when booting obviously)

ButtonMapping option in Xorg config files.

It takes more disk space.

I had to do that huh? It's working now, thanks.

>qt-5.7 removed the feature which makes qt programs adapt to your GTK theme

MY QBITTORRENT LOOKS UGLY NOW FIX THIS QT REEEEEEEEEEEEEEEEEEEEE

literally why?

Does anyone know of a idiot proof rutorrent installer script for ubuntu? A few guides I've tried haven't resulted in success.

Apparently no one wanted to maintain it. I am also confused by some of the information.

According to [0]this, it will be moved to qtstyleplugins. According to [1]this, it was already moved. How come that was almost a year ago, but version 5.7 was released recently?

I am trying to compile that new qtstyleplugins, but I can't find any instructions on how to. The people in [2]this thread are claiming it will make Qt programs segfault anyway.


[0]github.com/qt/qtstyleplugins/commit/102da7d50231fc5723dba6e72340bef3d29471aa
[1]github.com/qt/qtstyleplugins/commit/102da7d50231fc5723dba6e72340bef3d29471aa
[2]bbs.archlinux.org/viewtopic.php?id=214147

HOW AM I SUPPOSED TO LOOK AT THIS NOW FOR 10 SECONDS

Why do you want r(u)torrent? Do you actually need some of its specific features or are you just doing it because you think it's cool?

Looks good actually. Just change the icon theme

>installer script

huh?

not one of the strong suits of loonix anyhow.

It looks awful. The main issue is inconsistency. People will have GTK themes that look totally different from that Windows like Qt5 style. To get Qt programs to use a custom icon theme, I had to export DESKTOP_SESSION=gnome, but I'm hesitant to do that since it might mess with a few other things too.

You just can't win ;_;

I need it because rtorrent is a lot more stable in my experience compared to qbittorrent and transmission, especially with the thousands of torrents I keep loaded.

>mount
YES
E
S

how fucked am i?

More than a white girl in sweden

You'll soon realise if this is not your serious/main OS

I faithfully kept my promise to you, user.

kek
seeing as its the only thing i have on this laptop, it'll be this for a while. is it that bad? xorg wont run properly in freebsd so i went with this one. which linux should i use? i came from arch and got tired of being edgy

>rutorrent on Ubuntu requires compiling nearly everything by hand
>rutorrent on arch is as easy as yaourt -S rutorrent
I don't really mind doing it manually, but it's not easy and mistakes can be made.
>mfw ubongo ganoo/loonix

You're an idiot.
launchpad.net/~tikhonov/ archive/ubuntu/rtorrent

t. another Arch user that's not ignorant

nvm fixed it ;)
I compiled qtstyleplguins successfully and it can use the GTK style now. Instead of GTK+ in QT_STYLE_OVERRIDE, you have to use gtk2.

>add ppa
>apt-get update
>apt-get install rutorrent
>package not found
Cool

Can some one point me in the direction of radiology?

latest one of that ppa is for 15.04, probably should find a more recent ppa, or just figure out how to follow instructions for rtorrent install that is included in the tar.gz

Is that numix? I swear everyone and their mother's dog uses numix theme and icons.

Here is how mine looks

all the cool kids are using arc now.

whenever you boot, you're in front of your grub and wonder
> will I play a game ? Oh maybe, I'll just boot on windows in case I want to play a game.
and you'll never boot on linux again.

That's the biggest downside of dual-booting.
If you can stop playing windows only game, it's a good thing.

Thanks, user!

No, that's Zukitre from the Zuki-Themes. I hate Numix, with its bright red highlight color and too much contrast between some widgets.

Which Qt style is that?

>tfw i now just do gameshite on my windoze partition and use loonix for everything else

took a bit to ween myself off, but it was worth it.

will probably reinstall it on a ssd to not make it so unbearable and keep it contained there.

>this time, I'll do it right, learning emacs, and the art of 3 terminal windows. Point me to the right direction?
just learn vim.

About the laptop I don't think it's important. It's just hardware in the end. If you want to play some games, it's better to go with an nvidia GPU (better drivers => better perf).
About the distribution I don't think it's important.
What you can install on a distribution can be installed on another.
Maybe you'll prefer a distribution like archlinux that doesn't come with a lot of stuff by default so you can install stuff you need only to have a distribution that is exactly as you want. Other distribution you would like is gentoo.

Zukitre from the Zuki-Themes

Rebooting takes seconds with an SSD. Even before having one, I always booted into Linux at startup. Only when I was going to play something Windows only I switched. Having windows as your daily OS once you've tried Linux is, for me, almost painful.

I'd say that only affects you if your boot times are very long or if you play videogames during short breaks. Luckily there are tons of Linux-available games for that.

During the final month of writing my thesis I played this during pomodoro breaks (~5 min).

store.steampowered.com/app/404410/

It's a free game, in the broadest sense.

Impossible, since that's not how Qt programs would look with the GTK style and using the Zukitre GTK theme. Your screenshot looks like the Plastique Qt style or something.

Which distribution is that? Post "printenv | grep QT".

Take it easy, user.
$ printenv | grep QT
QT_QPA_PLATFORMTHEME=qgnomeplatform
[user@primary ~]$

and what's the learning curve on this? Best way to learn is to just go ham and jump in... but how tough will it be really?

I'd mount her cunny like a champ

Well, it's not really Zukitre. It's probably Adwaita as mentioned here:

wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#QGnomePlatform

I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU project.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.