[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/fglt/ - Friendly GNU/Linux Thread
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 25
File: 1461161493100.png (64 KB, 350x888) Image search: [Google]
1461161493100.png
64 KB, 350x888
Previously on: >>54469063
Welcome to /fglt/. We are always open to users of all levels, including absolute beginners.

There are four ways to try GNU/Linux, you can:

0) Install a GNU/Linux OS on a VM (Virtual Machine/VirtualBox) for "safety purposes"
1) Use the Live ISO directly without installing anything, that way, you can get a "full GNU/Linux experience".
2) Dual-boot GNU/Linux with Windows/Mac (recommended if you want to learn more about GNU/Linux)
3) Go balls deep and overwrite everything with GNU/Linux

Before asking, please search for answers to your questions in resources.

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

Understand that much of your software from Windows will be unavailable, although maybe WINE can make up for it.

IRC connection details:
Server: chat.freenode.net:6667 (no SSL, 6697 for SSL) - Channel: #flt
If you don't have an IRC client (which you should), go to https://kiwiirc.com/client/irc.freenode.net/flt to use IRC on a web client.

Visit the Friendly GNU/Linux Thread/Website:
http://fglt.nl/

Resources:
man <insert command here>
Your friendly neighborhood search engine (searx.me, ixquick, whatever)
https://wiki.archlinux.org/ (Most of the configurations and troubleshoots will work on various distros, including Debian)
https://wiki.installgentoo.com/index.php/Category:GNU/Linux
https://wiki.installgentoo.com/index.php/Babbies_First_Linux
https://prism-break.org/en/categories/gnu-linux/
http://linuxcommand.org/tlcl.php
>>
File: 1460834849692.jpg (74 KB, 736x1104) Image search: [Google]
1460834849692.jpg
74 KB, 736x1104
Repostin from the old thread.

What do you guys think about openSUSE?
I'm still new when it comes to linux.
I somehow cant use ubuntu on my laptop because of the uefi.
Im a java dev i want something that just werks.
>>
Reminder that "I have done your mother" is a quote of one of many faked emails conversations.

How to spot fake RMS mails? RMS is a programmer and fortmats his mails with 80 characters with.
>>
console being spammed with the following on my xfs array.I have defregged,repaired the array and it still continues to happen.during the error write/read speeds drop down to 1Mb/s.
What else can i do?
XFS: java(15797) possible memory allocation deadlock size 62352 in kmem_alloc (mode:0x2400240)
>>
>>54481995
I think Tumbleweed seems like a very interesting distro. Rolling release and tested by OpenQA is very tempting.

The live system wouldn't boot up on my laptop, though. And that's why I haven't considered using it yet.
>>
>>54482070

ext4 doesn't have that problem
>>
>>54482182
>dosent know shit about any filesystem or uses
>>
File: mastomys-445119_640.jpg (130 KB, 640x432) Image search: [Google]
mastomys-445119_640.jpg
130 KB, 640x432
How to buy a good mouse that works on Ubuntu 16.04?
>>
Is there a reason not to install 64bit linux, even if the machine has less than 4GB of RAM?
>>
>>54482262
No
>>
>>54482262
>even if the machine has less than 4GB of RAM
>he fell for that one shitpost in that other thread
>>
>>54482235
it's hard enough to find a mouse that doesn't.
kensington trackballs and steelseries mice are pretty nice. steelseries mice with colors won't have software to change the colors though.
>>
since im a cheap ass i torrented FTL and im having some problems. So im using linux and I can play it and everything but to open the game everytime i have to run the script in the terminal. im new to linux and have no idea but is there a way to make it like a .exe or soemthing similar?
>>
>>54482349
Google bashrc shortcut
have fun
>>
>>54482349
Just create a FTL.desktop file and point it to the script. https://wiki.archlinux.org/index.php/Desktop_entries
>>54482402
>guy asks for help
>sends him to the botnet lions
DUDE
>>
$ dmesg | grep -c "SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs"
12053


W-what?
>>
File: g602-gaming-mouse.png (77 KB, 521x342) Image search: [Google]
g602-gaming-mouse.png
77 KB, 521x342
>>54482235
I'm using this mouse It's pretty nice and has good accuracy and battery life.
>>
>>54482262
You should always use an operating system compiled for the CPU instruction set (and feature set I guess) your computer uses.

So yes even if you have less than 4GB of ram you should be using 64bit archtype if that is what your CPU supports.
>>
>>54482328
It's useless to recommend specific models, because they do not exist in my country. I need parameters!
>>
>>54482451
What? Do you think Google doesn't already know that anon torrented?
>>
>>54482673
where are you from? palm or claw grip? budget? did you consider trackballs as your lord and saviour?
>>
should I stick to the 361 proprietary drivers that Ubuntu has or install 364 from the ppa?
>>
>>54482527
>gaming
No. These models are costly only because they have "gamer" on the name.
>>
>>54482748
why would you need the ones from the PPA? why would you even use PPA?
>>
>>54482748
Depends do you want KMS support or not?
>>
>>54482748
http://www.nvidia.com/object/unix.html

>Latest Long Lived Branch version: 361.42
>Latest Short Lived Branch version: 364.19

So it depends. I would stick with 361.
>>
>>54482731
>where are you from?
I'm from South America.

>palm or claw grip?
???

>budget?
dunno

>did you consider trackballs as your lord and saviour?
No. Appears to be a stupid device.
>>
>>54482782
what's wrong with them? are they super unstable?

>>54482786
yes, and wayland/mir support too
>>
>>54482786
nevermind, i just found this on arch wiki

>Note: The proprietary NVIDIA driver (since 364.12) also implements kernel mode-setting, but it does not use the built-in kernel implementation and it lacks an fbdev driver for the high-resolution console.
>>
>>54482866
Well currently the only Wayland compositor supported by Nvidia's implementation of KMS is a patched version of Weston due to some falling out in how the GPU should be accessed through KMS or something so you should be careful about the 364 series.
>>
>>54482845
>???
Fuck off.
>>
>>54482845
HUE BRR
>I'm from South America.
should not be too much of a problem
>???
pic related
read all information on http://www.logicalincrements.com/mouse before buying anything.
>dunno
good mice can be found at anything above 20 bucks. i personally paid 25€ for my kensington orbit and 50€ for my steelseries rival. but it's your money, be responsible with it.
>No. Appears to be a stupid device.
i would recommend you to test them out if you can.
>>
>>54482917
You are not being friendly.
>>
>don't want to "pollute" my system with some software
>look up systemd-nspawn
>install arch in a directory (pacstrap) from my current install (everything except for the kernel)
>literally one command and I can boot into a container which is basically a separate arch installation where i can install all the shit i don't want on my main machine (like ruby and other sass shit needed to edit gtk themes)

>want to install windows in a virtual machine
>look up qemu
>literally one tiny command to get it going as opposed to installing virtual box
>need to create an image of the windows installation dvd
>put it in, literally one tiny dd command as opposed to installing separate software with a GUI for it

I've been using Linux for 2 years now, but only now realized how great this is.
>>
>>54482953
>20 bucks
US$?
>>
>>54483051
Mind sharing the commands? Looking to play with both myself.
>>
>>54483084

It's just normal use of systemd-nspawn, qemu and dd.

For example, you can create an image (copy a file) from a DVD by just doing
dd if=/dev/sr0 of=my_iso.iso
. That's a hundred times more convenient than hunting down a GUI program on Windows to do it.
>>
I dont get the point of virtulization.Why is it a thing? It literally serves no purpose. Why would people run servers and shit from it,instead of getting a functioning server,that isnt dependent on a host machine being up.
>>
>>54483218
ok, thanks
>>
>>54483336
The reason why virtualization is a thing is because you can split you can split up many different tasks or have completely different Operating Systems run on one machine rather than 10 taking up a whole server rack.

By that same effect the power usage for servers goes down because you don't need to power like 20 of them to accomplish simple tasks that can be done on one host machine distributed into many separate guest Operating Systems.
>>
>>54483336
There's tons of reasons though.

Here's a shitty tech article because I can't be arsed to make up all the arguments myself.

http://www.infoworld.com/article/2621446/server-virtualization/server-virtualization-top-10-benefits-of-server-virtualization.html

Things have obviously changed since 2011 though, with the increased use of containers etc. which also helps tackle some of the challenges virtualization have been doing for some time.

It's not always the virtualization itself that is so interesting, as it is that you can get generic, fluid, movable and reproducable environements etc.
>>
Anyone have an idea why I need to

systemctl restart NetworkManager

after every boot to get WLAN? I'm on Antergos+Plasma

If I don't do it, there's no wireless, just ethernet
>>
>>54483486
are you sure you even have NetworkManager enabled?
>>
>>54483402
>>54483408
>reproducable environements
Thinnet clients have been doing that for well over 40 years
All the link is saying that there is a single point of failure,for ALL of your tasks,they dont seem to know what chroot is, cannot maintain a proper raid array, and lack basic skills in backup management and are pushing "MUHH CLOUDZZZZ"
>>
>>54483486

Enable it permanently, don't restart it.
>>
>>54483522
It's difficult to sum it all up in a short post on an imageboard, because it surely doesn't seem like you have much experience in this field. You should keep an open mind.

>All the link is saying that there is a single point of failure,for ALL of your tasks
Lots of things in an OS is "single point of failure". A hypervisor is not that unique in that regard.

>they dont seem to know what chroot is
Not at all comparable.
>>
>>54483514
>>54483523
I did 'enable' and 'start' after a fresh boot just to make sure. It does nothing.

Only after 'restart' does the wireless connection appear.

So I guess it *is* enabled and running, it just needs a slap every restart. Other than that, I'm lost
>>
>>54483606
you could always set NetworkManager to restart every time you boot up X11 but thats a bit hacky.
>>
>>54483606

Do you have another "network manager" running? Like either simple dhcpcd or connman or netctl?
>>
Am I the only one using wicd-curses?
>>
>>54483648
No, I use it. Why would you think nobody was using it?
>>
>>54483641
Not as far as I can tell.

My system is still pretty much fresh, as it was pre-configures by the Antergos installer. I only installed pidgin, phpstorm and fingerprint-gui.

When my wifi disappeared (after working for the first boot initially), I played around with network CLI tools, but did not enable any services throught systemctl.

I also did not install anything new, apart from `dialog` so that I could have a look at wifi-menu

So I am still convinced that I did not do anything to fuck this stuff up. But I might have missed something.


Thanks for your help. You guys rock
>>
>>54483606
Try using netctl,way less problems then NM
>>
>>54483703
>3
>>54483648

Because it's deprecated and abandoned.
>>
Anyone has an idea how to configure LUKS to use a key file from an USB stick?
>>
>>54483820
Yes,its on the arch wiki
>>
>>54483838
Haha, totally overlooked this.
https://wiki.archlinux.org/index.php/Dm-crypt/Specialties
>>
>>54483809
It just works.
>>
>>54483606
This sounds like you messed up the service file.
Like maybe it starts too soon.
Usually it should start after network.target or something like that.
>>
>>54484201
Interesting thought. I will try to look into this tomorrow. Thank you
>>
complete noob at arch, when it says to uncomment en_US.UTF-8 UTF-8 in the beginner guide how do i do this?
>>
>>54484482
remove the # infront of en_US.UTF-8 UTF-8
>>
>>54484482
use a text editor like nano, edit the file, save.
>>
>>54484522
>>54484509
Yes but what commands do i use to make this happen?
>>
>>54484622
>>54484522
>text editor like nano
>>
>>54484622
 nano /etc/locale.gen 
>>
>>54484622
Only sed, the standard stream editor,
do this
sed -i 's/^\#\(en_US\.U.*\)/\1/' /etc/locale.gen

or
sed -i 's/^\#//' /etc/locale.gen # ;)
>>
I've set myself up with ubuntu server and getting used to it pretty nicely after the first few hurdles.

What's some useful shit I can do for my home network? Ubuntu is running on a server with dual NIC so I have enough bandwidth.

Could I for example somehow encrypt all the incoming/sent data to and from the internet or some shit?
>>
File: Screenshot_2016-05-10_18-17-01.png (2 MB, 1600x900) Image search: [Google]
Screenshot_2016-05-10_18-17-01.png
2 MB, 1600x900
How can I improve my desktop
>>
File: 1450626062244.jpg (39 KB, 373x391) Image search: [Google]
1450626062244.jpg
39 KB, 373x391
fucking piece of shit broadcom drivers you are working fine on my laptop and were fine months ago when i had linux installed on this computer but now you're dropping packets constantly and i know the router isn't the issue and several fixes on the arch wiki and other wikis don't seem to help just fuck you
>>
>>54484961
>1540 packages
>>
>>54485026
t. guy who never programmed a piece of code
>>
>>54485026
What's the problem?
>>
>>54485044
What the fuck you on about.
>>
>>54485102
What are you on about? Why does it matter if there are 1500 packages.
>>
>>54485102
Confirmed.
>>
>>54485110
>>54485113
You don't have to download the entire python library to use python etc

Most of those packages are just bloat.
>>
>>54485102
A high package count doesn't say anything.
I've over 2k packages on my Debian, 50% -dev packages you need for compiling.

This high package count meme needs to stop.
>>
>>54485130
>Bloat
Oh wow. Why do you even care? What is your HDD like 40GB or something?
>>
>>54485144
I'm just confused how not trying to download your entire repository means you've never programmed.
>>
when installing grub to my arch drive i get a error

grub-install: warning: Attempting to install grub to a disk with multiple partition labels. This is not supported yet...
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. Hoewever, blocklists and UNRELIABLE and their use is discouraged...
grub-install: error: will not proceed with blocklists.

Is this important? If it is how do i fix it?
>>
>>54485026
>>54485130
>>54485283
Debian based distros usually make different packages for binaries and development libraries, that's one of the reasons it looks "bloated" to ignorant people like you
>>
>>54485008
Dont use broadcom.
>>
>>54485340
ditch grub and all its retarded loops and use syslinux(its syntax is way less fucked then grub2)
https://wiki.archlinux.org/index.php/Syslinux
>>
>>54482953
>read all information on http://www.logicalincrements.com/mouse before buying anything
I will, thanks.
>>
>>54484961
Dude, you still haven't done anything since the last time you asked. You've just changed the wallpaper. Did you ignore all my advice?
>>
>>54485444
Not sure who you are.
>>
>>54485475
You've posted you desktop a few days and I replied with ways to improve your desktop. Or your desktop looks identical to someone else.
>>
>>54485384
I see, what commands would i use to install it instead? And does me already trying to install grub affect anything?
>>
>>54485490
Well what do you suggest I change.
>>
I have 16 gb ram. Do I need a swap partition?. Also remember the current year. Thanks
>>
>>54485702
>16GB RAM
XD
>>
>>54485702
install gentoo
>>
>>54485702
Are you sure that you mean GB?
>>
>>54485702
>fell for the 16GiB meme
>>
>>54485761
Where can i find this gentoo for free?
>>
Wht hte fuck is this core file in my home folder?
>>
File: 1462724621016.jpg (25 KB, 225x225) Image search: [Google]
1462724621016.jpg
25 KB, 225x225
>>54485781
>>54485759
>>54485761
>>54485778

I was a Linux user. I got a job and I tought I needed a new pc. I feel for the gaming pc meme. Now I realize that I hated windows and don't play games. I am not going to sell this pc. Please be understanding. Have a nice day
>>
>>54485815
Have you ever actually hit 100% RAM usage?
If not, you don't need swap.

Basically, if you needed more than 16GB, you wouldn't have to ask us, you'd already know.
>>
>>54482070
I'll offer my first thoughts, although I have no experience with XFS. Some Java app is running with that PID or the JVM implementation you are using is trying to malloc the same block of memory twice, deadlocking it. It is strange to me that XFS is reporting it unless you have a Java application running XFS or XFS depends on Java somehow.

Anyway, I would do a
ps -lyF -p 15797
to get the full command that is triggering the deadlock and look into it that way. Replace the number with the current PID at fault, or do something looping like:

watch 'ps -ely -p $(pgrep java)'


which as long as your shell returns sub-shell commands normally will give you a nice Java monitor. Could do the same with XFS too, or check in /var/log for any XFS logs. Java IIRC keeps logs in /run somewhere.
>>
>>54485837
I thought Swap is used for hibernation on laptops
>>
>>54485800
It's when the NSA spying module in the kernel space crashes.
>>
>>54485837
Only when doing VMs
>>54485846
This guy is right. I am going to set up a little swap and put swappiness on a low value
>>
>>54485800
core dump, some program you ran crashed. It's the program state, for use with gdb.
>>
>>54485878
But are you installing on a Desktop or a Laptop
>>
>>54485846
>if you needed more than 16GB, you wouldn't have to ask us, you'd already know

>>54485878
If you frequently hit max RAM (4 times a year would be count as enough) then use swap.
The reason I don't recommend it by default is most people just don't actually need it.
>>
>>54485369
can't help it on this pc
>>
>>54485815
Swap is the emergency, worst case scenario fallback. Not having swap is not a big deal, but if you hit that situation where you need it, you can royally fuck yourself. Kernel panics = bad news, especially if you have running software processes that can get corrupted. Ask yourself if your system can instantaneously crash and recover without issue before you decide against it.

>muh performance
>muh partitions

You don't need to use swap ever and most people never will run into that situation. Just throw a little swap area on the disk and be safe.

If you have a RAID array, just throw a small area on each disk and exclude it from any kind of mirroring and you'll be fine. As an example, if you had two disks managed with mdadm, you could divide them up as:

/dev/sda1 - boot ext2 RAID 1 with /dev/sdb1
/dev/sda2 - swap
/dev/sda5 - ext4 data or whatever RAID 1 with /dev/sdb5

/dev/sdb with the same scheme then. No performance hit, still have safe and bonus redundant swap in case a disk fails.
>>
>>54485861
>>54485885
I just deleted that, senpaitachi
>>
>>54485520
sudo pacman -S syslinux
edit /boot/syslinux/syslinux.cfg for your system
mount /boot
syslinux-install_update -i -a -m
>>
>>54485702
Realistically no,if you're using anything thats up 24/7 and rapes ram,it would be nice to have a 4gb or so for switching
>>
>>54485944
That's fine, just take note next time you see:

Segmentation Fault (core dumped)


That (core dumped) part is that file.
>>
>>54486000
Adding to this - beware that some systems have daemons in place to listen for segfaults and grab the core dumps automatically or put them in odd locations (looking at you, Ubuntu distros). In that case, there is a service called "whoopsie" that handles the dump and can be kind of aggravating to work around, but you can remove it to get the regular behavior back.

>>54485982
>>54485906
>>54485837
Have you all changed your kernel's OOM killer settings? If not, and you don't have swap, you should think about it.

The kernel, when it hits an ENOMEM, will kill processes in a controllable, automatic way until it has memory to keep going. You better make damn sure it doesn't kill anything you need, like any critical services you have running,
>>
>>54485702
>16
>2016
No?
>>
>>54486058
systemd does that, it stores them in the journal.

You manage core dumps with a tool called coredumpctl.
>>
>>54485845
Java is accessing data from the xfs array, constantly(intended)
Doing as you suggested didnt return anything,the program is no longer on that pid last reported in dmesg, last error being 7 hours ago.It is roughly under the same amount of load as last error. Checking journald shows no issues.No java logs
>>
Is it a stupid idea to try to game dev in GNU/Linux, or should I have next to no issues as compared to game dev'ing on Windows?

Both for small personal projects and for serious things in the future
>>
>>54485939
You know know jack shit about raid.
Dont listen to this faggot
>>
>>54486157
Great evidence there friend. Why don't you explain some RAID concepts to the friendly noobies in the thread then?

>>54486140
Next time the log starts getting spammed, do some investigating into it with the same ps ... pgrep command and see.

Also
pgrep -af java
will give you the whole command line for whatever Java procs are running at the moment.
>>
hello guise, installed ubuntu today, first time using gnu and I would like suggestions on things to do to learn as much as possible from it. I fucked around with the Terminal, tried some commands (pwd, cd, mkdir and rmdir, rm -r, sudo, ls, man, downloaded and installed appgrid through the terminal, created and edited txt files, etc.), anyway, if any of you have any ideas of essential things a good GNU/Linux user should master, I would appreciate it.

Also, how do I get from the normal terminal to the 'scripting' environment? Thanks folks
>>
>>54486194
>raid
Raid card
On board caching
Surives power outage without fucking your array up with BBU allowing your array to continue to write data up to 255 hours if need be.Enables you to full on use cache to improve read/write speeds

Shitting on your "raid" aka software no portable "raid" by not using full drives,is retarded
>>
>>54486266
If you really want to get familiar with linux install a real OS like Arch Linux
>>
>>54481995
Basically owned by Microsoft since the deal in 2006
>>
>>54486348
please don't listen to this memer
>>
File: 1438286399703.png (33 KB, 1920x1080) Image search: [Google]
1438286399703.png
33 KB, 1920x1080
Could the Ark guy give this pape the correct colors?
>>
>>54486387
Well, he's right, you learn a lot by using Arch.
>>
>>54486348
>>54486387
I won't, although in the future I'll probably test it in a virtual machine. If I was to jump deep into GNU I would go for Gentoo.
>>
>>54486428
being forced to learn shit to make your os functional isn't a good way to learn, it's frustrating and a quick turn off to linux
>>
>>54486387
He'll learn a hell of a lot more than using Ubuntu
>>
>>54486471
linux is linux bruh, just because it's ubuntu and actually works doesn't preclude him from exploring and learning as the fancy strikes him.
>>
>>54486456
He said to install arch, not debian ;-)
>>
File: 1438944148337.jpg (127 KB, 900x675) Image search: [Google]
1438944148337.jpg
127 KB, 900x675
>>54486491
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.
>>
>>54486518
LOOK MOM I POSTED IT AGAIN!!! SEE HOW FUNNY I AMM xDD
>>
>>54486525
It's not supposed to be funny.
>>
File: 1456653330238.jpg (73 KB, 1280x720) Image search: [Google]
1456653330238.jpg
73 KB, 1280x720
>>54486525
>>>/b/
>>
>>54486266
Maybe move up and try Debian. It's very similar to Ubuntu, since Ubuntu is based on Debian. It holds your hand a bit less, closer to upstream, you don't depend on Canonical's whims, and it has developers and a community that know what they are doing. It's rock solid

But like this dude said, GNU/Linux is GNU/Linux, no matter the distro.

For scripting, do you mean like bash? You literally just create an .sh file with any text editor you want (including terminal, like nano) and write your own script there, and execute it with [codename]bash filename.sh[/code]

Bash scripting can do a really cool shit. I'll repost (for like the fourth time) one an anon here wrote for me that was really neat. It searches your image folder for pictures at or above 1920x1080 resolution and copies symbolic links to some other folder, so you can pick wallpapers from it easier

#!/bin/bash
#
# requires imagemagick
# set MIN_WIDTH/MIN_HEIGHT to whatever you want

# sets first/second argument to directories you want to use
img_dir=/data/Pictures/Internet
wall_dir=/data/Pictures/PotentialWalls

# self explanatory
MIN_WIDTH=1980
MIN_HEIGHT=1080

# file extensions to check for (separated by | because they will be used in regex)
FILE_TYPES='jpg|png'

# this is done to allow for filenames with spaces
IFS="
"

if [ -d "$img_dir" ] && [ -d "$wall_dir" ]
then
for img in `find "$img_dir" -regextype posix-egrep -iregex ".*($FILE_TYPES)"`; do
width=`identify -format "%w" "$img"`
height=`identify -format "%h" "$img"`
action=Skipped
[ $width -ge $height ] && [ $width -ge $MIN_WIDTH ] && [ $height -ge $MIN_HEIGHT ] && ln -sr "$img" "$wall_dir" && action=Added
# NOTE: if $wall_dir already contains a file with the same name, it will be skipped

echo "$action $img (${width}x$height)"
done

else echo "$0 [directory to scan for images] [directory to make symlinks]"
fi
>>
>>54486547
kek, sorry. Wrote 'codename' instead of 'code' there for some reason.
and an extra "a" in "can do really cool shit"

I guess I'm tired
>>
>>54486518
take your interjection and shove it where the sun don't shine richard
>>
>>54485908
actually i can because i just found an old usb wifi stick and it's working fine out of the box so fuck broadcom i guess
>>
File: 1458551121906.png (4 MB, 3000x3000) Image search: [Google]
1458551121906.png
4 MB, 3000x3000
>>54486547
>backticks
>>
So SLI is worthless on Linux, right? Using Arch, two GTX 960's and proprietary drivers of course. I can turn it on, but not a single game runs better, and most run significantly worse. CSGO is unplayable with all the stuttering and I get an average of about 45 fps. On Windows I can downsample it from 4k no problem. (Another fun fact, Nvidia doesn't officially support dsr in Linux). Alien Isolation has horrible performance. Normally I would look up the SLI bits on the internet but I can't find an equivalent to Nvidia Inspector. the worst is that most DE's don't even work properly, I see stuttering and graphical errors in KDE and Cinnamon, Mate works fine so that's what I'm using right now, I believe it's an OpenGL 3.1 thing since changing the renderer in KDE fixes most of the issues.
>>
>>54486590
What? Enlighten me
>>
>>54486600
Backticks are deprecated; you should always use $().
>>
i really want to switch over to linux but my god are the DEs ugly, how do some of you manage to get yours to look as good as they do? i have yet to see a single default linux DE that didn't look amateurish. what DE are you guys working off of and where do you find all the crazy shit to make them look so nice? pls help.
>>
>>54486600
http://wiki.bash-hackers.org/syntax/expansion/cmdsubst
http://wiki.bash-hackers.org/scripting/obsolete
>>
>>54486590
%s/`\(.*\)`/$(\1)/g or something like that. I call it the autism calmer.

But it's funny how people always get upset about backticks, even when he's doing stuff like using a for loop on the output of find.
>>
>>54486599
gaming on Linux is still kind of a shitshow

Which is a real shame, I wish I didn't have to dual boot

I hope Gaben pushes harder for it, otherwise it's not gonna go anywhere. And that NVIDIA and AMD get their act together and work with the Debian project or something
>>
>>54486703
kek, saved
>>
>>54486664
No DE, just a window manager.
>>
>>54486714
Yeah, Linux seems fine for indie games and old games but I really miss the performance tweaks you can do in Windows thanks to all the 3rd party support. I suppose now that I have two cards I might as well try to do VM with GPU passthrough.
>>
>>54486664
>GNOME
>Ugly

Nigga it's prettier than Windows, what are you on about
>>
>>54486348
>>54486387
>>54486428
>>54486456
>>54486471
>>54486491
Just to settle this, I am >>54486266
and I intend to try other distros, just picked Ubuntu for first..the few I already know I will try on a virtual machine: arch, debian, fedora and gentoo.

>>54486547
Thanks man, appreciated the answer
>>
>>54486779
Install Funtoo
>>
Starting at my first job ever next month and I was told that I am going to set up the rig and install stuff that I want on it.

Which distro should I go with? At home I'm using Arch but it takes way too long to set up properly.

Was thinking about these but I'm open for any other suggestions
Debian / CentOS / Fedora / Antergos
>>
>>54486740

alright, then which window managers are generally considered the best?
>>
>>54486975
Xubuntu
>>
>>54486975
Debian

Great for work. No nonsense, rock solid.
>>
Guys. Why does "more" exist?
>>
>>54486975
>using arch
>new install takes too long

The fuck you doin nigga? Shit takes like 15 minutes tops,10 if you already know how to get jiggy with it
>>
>>54487158
`more` is legacy cruft from the era of the bearded elder ones
now we have `less`, and less is more
>>
Where exactly do i put this execupost?
I've tried in it the profile i made with netctl but it isnt setting it.What other "profile" would there be?
For adapters configured by netctl, another way to set the mtu persistently is to use the ExecUpPost variable in the network profile:

ExecUpPost='/usr/bin/ip link set eth0 mtu 4000'

>>
>>54487158
When you run a command with lots of output, you pipe it to | more so you can read it better.
>>
How do I sync with windows properly for time? I always have to manually set it 5 hours ahead (my timezone is GMT -5). I tried changing /etc/timezone to localtime but it's still not working.
>>
>>54487344
you need to run an ntp client to keep your clock in sync
>>
How do you change the wm theme in i3
>>
>>54487382
One other issue I'm having - even when the clock is at the right time, the time zone data doesn't seem to be reflecting DST correctly. Like any relative time online (like posts here) show as 1 hour ago
>>
Fastes way to learn iptables? And please don't say rtfm, I think I'd rather die
>>
>>54487411
You could just use ufw.
>>
>>54481965
Found an old laptop in the garbage today, dont want windows, what do i put on there fellas?
>>
>>54487522
Debian
>>
So i installed debain and grub, but now its not detecting my windows install?
>>
>>54486309
So to be clear you see saying that software raids are evil because they don't have builtin nsa rootkits, right?
>>
I'm going to reinstall Arch so I get a fresh start and set up LVM, luks etc. So what info should I get from my system before wiping it? Is there any important info I should get outside of /home?
>>
What happens if I call GNU/Linux "Linux" and disrespect the GNU project? Will the GNU team reject my git pull requests? Will the GNU team kick me out of parties?
>>
>>54486648
>deprecated
That word didn't mean what you think it means.
They aren't deprecated they just don't support nesting
>>
>>54482953
I seriously hope everyone else here use fingertip for browsing/in-game mouse look and claw for firing.
>>
>>54487634
Nah. You'll just get Stallman interjection replies
>>
>>54487645
http://wiki.bash-hackers.org/scripting/obsolete
>>
>>54486976

anyone have an answer for this?
>>
Does OpenADK support a compiler on target rootfs? Buildroot doesn't
>>
>>54487732
Okay, with no explanations, in no order, a list of generally well liked window managers: awesome, i3, xmonad, bspwm, herbstluftwm, dwm.
>>
just dove into using awesome on my slackware install. tiling is wonderful- but i'm a little confused about how to make any modifications. how to gutter/spacing? how to setup a quicklaunch bar? (or should i use the terminal for everything) general tips and tricks?

any friendly awesome users care to lend a hand?

for example, i don't have a need for ANY virtual desktops, i want to change my mod key to alt, things like that. any help is very much appreciated.

much appreciated, a longtime /g/ lurker
>>
With xmodmap or whatever, can you make capslock act like a shift of alt key? Like instead of pushing it once and it stays on, could you change it to only be active while it's held?

>>54488166
>gutter/spacing
There's Lain which has stuff like that. You can also look at awesome-copycats, which are all copycats of each other, but it should give you ideas.

>i don't have a need for ANY virtual desktops, i want to change my mod key to alt, things like that. any help is very much appreciated.
Wait, you have a rc.lua file, right? You modify that.
>>
I've made the switch from Arch to Xubuntu and I couldn't be happier.
>>
>>54488249
sorry, should have mentioned im on KDE and i'm a heavy GUI user. I have no concept of rc.lua and though i found the lain github i have no idea what I'm looking at. any way you'd be able to dumb it down for me a little bit?
>>
>>54488429
What differences did you find most appealing?
>>
>>54488443
You should look at https://awesomewm.org/wiki/My_first_awesome and some other pages on the wiki. Just watch out for the differences between 3.4 and 3.5
>>
>>54488481
cool, much appreciated.
>>
Does anyone know why Steam isn't recognizing my bluetooth controller? It says it's paired, and I ran evtest and everything worked fine, yet Steam Big Picture Mode doesn't work and neither does any games.
>>
>>54488472
Everything working out of the box. I had used xfce on Arch
>>
I've seem some people's bashrc's with a simple LS_COLORS variable instead of full blown dircolors. Can someone point me to a guide how to set up my own?
>>
>>54485136
Only archfags seems to care anyway.

Debian testing installation:
- 2 months old
- minimal hand picked packages from kde/plasma 5
- i3, i3-gaps etc (pulls lots of libs/deps)
- common desktop applications (firefox, mpv, ..)
- dev/libs for compilation of stuff

= 1.8k packages

My previous Debian testing installation was at something like 2.5k packages, but it had the entire KDE 4 installed and lots of dev/libs.
>>
>>54485939
>If you have a RAID array, just throw a small area on each disk and exclude it from any kind of mirroring and you'll be fine
If you use mirroring for the sake of uptime and minimize data loss, you probably want swap on your RAID as well.

Because I'm lazy:

http://askubuntu.com/a/246002/184996

In short; muh performance, if swap is used the system will continue working even if a disk is lost (/dev/sda)
>>
File: 0FQwWOt.png (1 MB, 1920x1200) Image search: [Google]
0FQwWOt.png
1 MB, 1920x1200
>>54486664
I like KDE/Plasma 5 with Breeze. This is more or less stock.
>>
>>54486767
That is pretty ugly, mate.
>>
>>54487411
Play, and fail with it.

Run a script that resets the changes after N minutes or something if you're doing it remotely so you won't lock yourself out.
>>
>>54489085
KDE gives me anxiety for some reason
>>
This probably belongs in /sqt/, but is grub by default installed on the same drive that your distro is on, or the very first drive you have installed?
>>
>>54489541
you were supposed to specify where it gets installed during installation, be i think by default you are correct.
>>
>>54488962
Found it, http://linux-sxs.org/housekeeping/lscolors.html
>>
How stable/polished is Ubuntu 16.04 right now? When it came out I saw some comments about it being unstable. I have all Intel hardware (no proprietary drivers necessary) and I'd be installing from scratch.
>>
>>54489906
having trouble after i resume from suspending.

i did upgrade from wily to xerial, so might not be a clean install problem. but i have heard of others having trouble, might want to wait before really buying into this LTS
>>
>>54481965
Okay, but I don't want to run GNU/Linux. A kernel with nothing more than a low quality clone of the basic UNIX userland and some of GNU's astoundingly shitty programs (many of which completely depend on an X server implementation such as freedesktop's or a compositor based on FDO's wayland protocol) would be pretty useless. You could run emacs I guess? Or maybe go full 90s and use gnustep with all the gnu-apps? But then a core part of your GNU system is neither GNU nor Linux because GNU never wrote their own display system and only piggybacked off MIT and XDG/FDO.
>>
>>54489979
t. guy with nonfree company cock inside his ass
>>
>>54490022
>everyone who questions the GNU is a microsoft shill hurr durr

commie get out. ree.
>>
File: 1454378940697.jpg (582 KB, 1600x1131) Image search: [Google]
1454378940697.jpg
582 KB, 1600x1131
>>54490042
>>
File: engine plus wheels.jpg (859 KB, 1812x2028) Image search: [Google]
engine plus wheels.jpg
859 KB, 1812x2028
>>54490061
>the fallacy fallacy

The point was that calling a modern distro GNU/Linux is a horrible misappropriation. It's like calling your car engine/wheels. Very few people drive an engine/wheels, as they're a little too minimal.

The other point was that GNU's software is often on the low end of the quality spectrum.

If you really want to advertise an ideology, why not call it by the sole GNU thing that actually might attract some people instead of some horrid shit

GPL/Linux
>>
File: 1434557166822.jpg (19 KB, 270x250) Image search: [Google]
1434557166822.jpg
19 KB, 270x250
>>54490100
Fuck off.
>>>/out/
>>
Running ubuntu 16.04 on a dell inspiron 3531. Previously ran fedora with no issues. Few days ago it started freezing completely needing a power cycle to reboot and the fan just goes crazy but the laptop is cool all sensors are in optimal levels. See this issue everywhere but no fix has been brought up that. Any ideas?
>>
>>54490126
True GNU/Linux systems are the exception, not the rule. If you have trouble accepting this, blame your nearest lennart poettering or FDO dev for the various things that eliminated the traditional GNU and Linux system that depended on bash and the coreutils for core OS functions like process management and ACPI. The typical distro has so much other major shit that GNU is second and maybe third fiddle.
>>
Without thinking I sort of "override" my GRUB by installing another Linux Distro(as a triple boot), how do I get my old GRUB back that is on another disk?
>>
>>54490282
switch to lilo
>>
>>54490287
Isn't lilo dead?
>>
>>54490282
chroot into the 'old' system and run "grub-install /dev/sdz" (where sdz is the disk you want grub's bootsector)
>>
>>54490349
Hm. It just game me a bunch of crap about how it can only install it using "blocklists".
>>
>>54486146

>game dev'ing
>game developing

That's only 3 letters more and it wouldn't make you look like a pretentious cunt.
>>
>>54486740

>window manager looking good
>you can't even see it, except for its title bar if it has one

Just stop. Also stop the "just install a WM" meme shit. You're embarrassing yourself.
>>
>>54487344

You make Windows use UTC. Look up how to do that.
>>
>>54490419
Realized I tried running it on sdb1 the dumbfuck that I am.
>>
>>54490522
common mistake, really
just remember to be absolutely sure what you're doing before running anything as root, especially when it involves "rm" or anything under "/dev"
>>
>>54490419
Use the --force flag
>>
Hey there fellas. I've been trying to install fedora on my laptop (dual boot with windows) and the boot process seems to freeze up at the initial loading circle thing. I've tried to google it out but I'm not getting any relevant results. Is this a general error? Is there any way to fix it?
>>
>>54487344
Did you end up fixing this? Not sure what OS you are on but check /etc/timezone is set to your region (use tzselect to find the right name) and then check /etc/localtime is the right file (eg md5sum /etc/localtime /usr/share/zoneinfo/$(</etc/timezone))
Or on debuntu just run dpkg-reconfigure tzdata
>>
>>54490577
>>54490522
Now it's all working perfect. Thanks anon, I really appreciate all the help.
>>
>>54487555
Just try running update-grub and then check /boot/grub/grub.cfg and see if there is a block in there with a label saying something about a windows install. If not ... you might have to manually enter it in the custom section :(
>>
I use Xubuntu and for some reason folders from Home are now showing up on my desktop (Documents, Downloads, Pictures etc.). When I delete them from the desktop they are also deleted from Home. What do I do so they don't show up on my desktop?
>>
>>54490632
>loading circle thing
If that is some shiny graphical thing it is probably your login manager. Try switching to a text console (ctrl+alt+F2) and logging in there and looking at various logs (/var/log/syslog, dmesg, /var/log/Xorg.0.log)
>>
>>54490642

Do NOT make Linux use localtime. Make Windows use UTC.
>>
>>54490697
windows doesn't properly support UTC last i checked, you can set it via the registry, but it might not work right everywhere
>>
>>54490697
Why would you not want linux to use localtime?
>>
>>54490718

According to this [1]Windows 7 and onwards can use use properly and you shouldn't make Linux use localtime, but vice versa.

That's why dual booting is retarded and only try-hards do it.

[1]https://wiki.archlinux.org/index.php/time#Time_standard
>>
>>54490785
besides the bootloader, utc/local is about the only other conflict you're likely to have when dualbooting
>>
>>54490769

The better question is: why would you want to?
An example I could think of is if you moved time-zones (travelling a lot), you'd have to manually change your hardware clock (BIOS/UEFI). That can mess with some of your logs (I had that once happen when I accidentally changed the time back).
There's also this http://superuser.com/a/884310.
>>
>>54481965
i'm not able to join the chatrooms, because i dont know how to set in the ports... Help
>>
>>54490795

And the fact that you're constantly tolerating times up to 30 seconds to "switch between programs".
>>
Why do people post wrong things or comment on something they're not fully knowledgable of and in that way spreading misinformation?

Example:
https://www.phoronix.com/forums/forum/hardware/processors-memory/870281-debian-s-i386-builds-now-require-686-class-cpus?p=870347#post870347

What does that have to do with the kernel? I'm not an expert on this, but doesn't that affect every compiled package? Why did he single out the kernel and imply that using a different kernel would somehow make all the packages work?
>>
>>54490823
>why would you want to?
Because I don't live in greenwich and I want my clock to say the right time?
I wasn't suggesting changing the RTC just the timezone that libc used, henc why I didn't suggest running hwclock --systohc
>>
>>54490902
Maybe he read the mailing list post which was from the debian kernel maintainer and said the change was previously done in the kernel but is now done to gcc too.
And yeah it does affect every package compiled by gcc shippped with debian in the default configuration. Pretty sure the kernel doesn't translate the machine code before passing it to the cpu, it just manages what code is running.
>>
Should I install Skype?
I need it for work, but the Arch wiki seems to recommend not installing it.

I could boot into Windows when I need it, but that sounds inconvenient as fuck
>>
>>54491211

Run a VM for Skype alone.
>>
For the first time since forever Arch started giving me trouble, this is probably because I had not used it for a few months. I'm trying to upgrade my system but I keep getting:
>:: ttf-heuristica-ib and otf-heuristica-ib are in conflict

I assume this is because these two packages cannot coexist (they're provided by Infinality), however I'm not sure why the upgrade forces the ttf-heurestica-ib to be installed. Any ideas how to resolve this?
>>
I work on a 21:9 screen. I'm a poor person who wants to read stuff, books and shit. Its resolution is 2560x1080 and Windows font rendering being shitty I have my issues with PDFs, websites and all. My eyes want something better.

What's the current distro with better font rendering and such out of the box? I want to suffer less but I can't just go out and buy a macbook to make my life easier.
>>
>>54491305

And that's why you don't install packages outside of the main repository. You should also use a simple fontconfig file instead of that infinality shit. Chances are you wouldn't be able to tell them apart.

I can't even find those two packages in the AUR.
>>
>>54491501
otf-heurestica-ib comes from the infinality repositories, not the AUR (provided by infinality-bundle-fonts or something), not sure about the ttf one because I can't find it when I query the repos
>>
>>54491524

There's a warning on the Arch Wiki about installing many fonts and it seems to be related to your problem.

Standard fontconfig doesn't have that problem(tm).
>>
>>54491305
Also glancing over the Wiki I see this:
>Warning: Do not attempt to install the entire infinality-bundle-fonts or infinality-bundle-fonts-extra group. Unless you know for sure you need any of the fonts available there, you will only unnecessarily clutter your hard drive and decrease performance of the font cache. ibfonts-meta-extended should suffice in most, even very complex, use scenarios. Besides, several font families are available in multiple formats (T1, TTF, OTF): trying to install all font packages will lead to unresolvable package conflicts. If this is the case, you should always use only one format per family.

I vaguely remember because my setup is 2-3 years old but I think that I've actually installed all the font packages provided by Infinality, so I guess that's the problem, not sure how to resolve that though.
>>
>>54491359
all distros are equally suited for good font rendering. Mint and Ubuntu usually have good font rendering out of the box (god I hate that term).
I'm running Fedora and I had to install one package (freetype-freeworld) to get the option of grayscale or rgba antialiasing and none, light, medium or heavy hinting.
So use either Ubuntu if you're really lazy, or Debian/Fedora/Opensuse/Arch if you don't mind installing a package and tweaking the settings a bit.
>>
What you think og being a sysadmin and keeping a kali linux ultrabook around for main linux purposes?
>>
>>54491590
LES GO

I just removed the infinality meta packages that provide the metric fuck ton of fonts and it clicked! Now off to upgrade I go, wonder if my system is gonna reboot after that but that's what we have live systems for right...
>>
Just noticed I have a daemon running on my desktop especially for generating UUIDs, that shit must be serious business.
Apparently it comes from util-linux and used to be in e2fsprogs. And all it does is ... synchronise calls to get time based uuids and store a sequence number on disc to avoid dups. Because in 2007 libuuid could return dups if crapper distributed databasses called it lots from different threads.
How ... fascinating. Into the trash with you.
>>
>>54490697
I'd still need to fix the DST issue
>>54487409
>>
What's the best rolling distro that can be installed offline (with packages on disc)?

I don't have constant access to the internet, nor is it fast when I do have it, but I am able to have discs mailed to me from someone who does.
I've used Debian for this in the past (they have disc sets which contain nearly every package), but it the software always becomes really stale after a while.


I've looked into using Arch offline (it or Parabola would be the ideal distro for me), but getting packages onto a disc would be a time intensive task.
>>
>>54491850
kali is not a distro your install on your hdd.

due to sometimes unnecessarily complex ways of updating pentesting software and it's databases kali is built to be used from a livecd or a liveusb when you need it. And when the software you need to use is outdated you just burn a more recent image to your cd/usb.

Sysadmin most of the time implies either RHEL or centos (rhel minus the paid support).
If that's the case, use Fedora. RHEL is based on it so they share the tools.
>>
>>54492265
Is your locale set properly (>>54490642) because DST works for me ...
>>
>>54481965
>>54481965
So I installed grub on /dev/sdb (That's my /boot)

Whenever I run grub-mkconfig -o /boot/grub/grub.cfg it says it cannot find a grub drive for /dev/sda1

My / folder is in /dev/mmblk0p2.

Wat do?
>>
>>54486146
UE4 runs fine. If the programs you use work it is probably even better to do it on gnu/linux because your libraries will be up to date without a lot of effort.
See the steam dev days (it's on YouTube) about gnu/linux porting and development.
>>54486395
As soon as I am at home, I'll post it in one of the next threads.
There is an asset file in svg in your arc folder with the right colors in case you want to do it yourself.
>>54486514
Nice meme, here's your (you)
>>54486664
Install gnome 3.20, enable user themes, install arc dark, install numix-circle-icons, install dropdown terminal.
That's about all I do for looks.
>>54486975
Debian is stable, what kind of job is this?
>>54487555
Hope you didn't fuck up and reconfigure grub. If this doesn't work you may need to boot into a windows live usb and fixmbr.
>>54487634
No, but this would be unfriendly.
Thread replies: 255
Thread images: 25

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.