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

/fglt/ - Friendly GNU/Linux Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 315
Thread images: 36

File: gnu.jpg (84KB, 922x1000px) Image search: [Google]
gnu.jpg
84KB, 922x1000px
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[*].

Previous thread: >>59076457

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 Mac.
3) Go balls deep and replace everything with GNU/Linux.

>What distro should I choose?
https://wiki.installgentoo.com/index.php/Babbies_First_Linux

>What's the alternative for x?
https://alternativeto.net
http://www.linuxalt.com
Search for software by category:
http://www.linuxlinks.com/Software
https://directory.fsf.org/wiki/Main_Page

News:
http://phoronix.com
http://www.webupd8.org
https://www.linuxjournal.com
https://lwn.net
Gaming news:
https://www.gamingonlinux.com
https://linuxgameconsortium.com

/t/'s GNU/Linux Games: >>>/t/749768#
/t/'s GNU/Linux Training Videos: >>>/t/713097#

* Resources:
Your friendly neighborhood search engine
(try to use a search engine that respects your privacy such as searx, ixquick or startpage)
$ man <insert command here>
$ info <insert command here>
$ <insert command here> --help
Don't know what to look for?
$ apropos <anything>

Check the Wikis (most troubleshoots work for all distros)
https://wiki.archlinux.org
https://wiki.gentoo.org

Learn the command line:
http://linuxcommand.org/tlcl.php

Break out of the botnet:
https://prism-break.org/en/categories/gnu-linux

Learn more about Free Software:
https://www.gnu.org

/g/'s Wiki on GNU/Linux:
https://wiki.installgentoo.com/index.php/Category:GNU/Linux

/fglt/'s website:
http://fglt.nl

/fglt/'s copypasta collection:
https://p.teknik.io/wJ9Zy
>>
fedora is literally shit
>>
File: B7bSdJ0CUAASlC2.png (218KB, 600x337px) Image search: [Google]
B7bSdJ0CUAASlC2.png
218KB, 600x337px
It's Linux, not GNU/Linux
>>
>>59091344
ok
>>
File: tux openpepe.png (45KB, 602x500px) Image search: [Google]
tux openpepe.png
45KB, 602x500px
>he fell for the arch meme

You can still be saved
>>
>>59091418
who are you talking to.
>>
>>59091418
saved
>>
/r/ing smgl tuxpepe
>>
>>59091418
>>59091434
>>59091447
why are you replying to yourself?
>>
>>59091470
why are you replying to yourself?
>>
>>59091470
By default, all users have the name "Anonymous".
Just ask if you have more questions.
>>
>>59091495
>thingking 4chan is more than one person
>>>/r/eddit
>>
File: Screenshot_20170224_043946.png (18KB, 427x208px) Image search: [Google]
Screenshot_20170224_043946.png
18KB, 427x208px
>>59091480
You caught me! XD
>>
File: >OP didn't use a picture of me.jpg (45KB, 618x494px) Image search: [Google]
>OP didn't use a picture of me.jpg
45KB, 618x494px
>>
>>59091625
>using the picture of a dead, gay transgender.
who'd blame him.
>>
File: best pals.jpg (118KB, 637x476px) Image search: [Google]
best pals.jpg
118KB, 637x476px
>>59091463
>>
>>59091434
>>59091447
>>59091470
>>59091480
>implying

this guy gets it...
>>59091504
>>
File: implying...png (83KB, 491x853px) Image search: [Google]
implying...png
83KB, 491x853px
>>59091963
shit, forgot image
>>
intellij ide is just giving me a black screen in bspwm, but works fine in i3. any suggestions?
>>
>>59092079
don't use meme window managers?
>>
>>59091302
Gonna get this plushie one of these days. I already have Tux, and the OpenSUSE chameleon.
>>
>>59092100
fuck got me there
what should i use instead? i often switch between tiling and floating
>>
>>59092214
personally I used dwm back when I was full-time tiling minimalist WMs. these days I use fluxbox, which is floating but it has several built-in commands for quick-tiling and it has been working well for me. there's also pytile/quicktile/whatever python scripts, which I have never used, but I think it's supposed to enable dynamic tiling in any WM/DE
>>
>install Linux like a fucking retard
>dccp vulnerability allows privilege escalation
Well I guess I'll back to fucking OpenBSD. Maybe in 2050 you dumb faggots will get your heads out of your asses and stop adding useless fucking bullshit to the kernel without auditing anything.
>>
>>59092381
(you)
>>
>>59092391
>add useless bullshit into the kernel in 2005
>kernel is vulnerable for 10 fucking years
Meanwhile shitnux has 20+ million lines of code in the kernel alone. I wonder how many millions of those lines are vulnerabilities.
>>
>>59092444
>in the kernel alone
where else?
>>
how do I stop screen tearing in i3 floating windows? it's ridiculous, and compton is unusable because it stutters horribly and rapes gayme performance.
>>
>>59092868
thou shalt not reply to trolls
>>
I'm trying to enjoy vim but every single time I save a file with wq and come back to it later it bitches about swap, how the fuck do i make it stop making swap?
>>
>>59092942
set noswapfile

You should try using :help <something>, or just :h something.
>>
>>59092942
if it's bitching about swap it's because you have one left over from a session where it terminated unexpectedly (like you killed it, or you closed the terminal it was in). swap files are usually the same name as the file you were editing with a dot in front and .swp on the end (if there's more than one i think they go swo, swn, swm, ...). the message should tell you all the details. if it's an old swap file that you already recovered from, just delete it (when you are not editing the file, obviously)
>>
using void linux as my new daily driver. killer feature for me: i can send a pull request on github, it gets merged, my package manager sees the update, all in the same day. love the transparency.
>>
>>59093446
github sucks
>>
>>59093537
could always use Gitlab, as long as you don't mind everything being deleted from time to time
>>
anyone used whonix before? is it viable? it says it forces TOR so im worried 99.9% of websites that use google won't work well
>>
When I mount my USB drive with
sudo mount /dev/sdb /mnt/usbstick
and copy some files, what would be the proper sequence of actions to make sure the files have been written before unplugging the stick? If I copy and then unmount
sudo umount /mnt/usbstick
it still shows up in Thunar, where I can then "eject" it with a button press. I want to use CLI only if possible.
>>
File: 1484600523236.png (778KB, 777x719px) Image search: [Google]
1484600523236.png
778KB, 777x719px
I did it. It took me 8 times of starting over with Arch, but I finally got the gist of it. If a file or config isn't there, make it yourself. Took me a bit to understand i3 as well as bash. I got the hang of the terminal, but my god. I've never put so much effort into something like this before. I honestly thought I was gonna give up, but I kept going. I know I'm slow please don't laugh
>>
>>59093832
the umount command won't complete until all the files have been written.
a cp command usually "completes" when the file being copied is fully read, not when it has finished writing (the unwritten part is held in memory). umount won't let you go back to the shell until it has "safely" unmounted the device.
try copying some large file to the stick, then umount as soon as the cp command returns. you'll probably have to wait a while before umount completes, because umount is waiting on the device to finish writing.

Thunar probably shows all block devices whether or not they are mounted. Idk, I haven't used it in ages.
>>
>>59094167
Alright. In that case my iPod is dying I guess.
>>
>>59094102
Choose more user-friendly distro, what a problem?
>>
>>59094390
I want to suffer
>>
Hey /g/,
I m new to linux/gnu
I am currently using Mint with Cinnamon as total noob.

I have already installed TLP, to get better battery life of my x230 chinkpad.

Can you recommend me any other battery life tweaks ?
And any recommended software to have around. thanks for help and any tips
>>
>>59094421
you can throttle the cpu
for $cpu in `grep processor /proc/cpuinfo | cut -f2 -d:`; do sudo cpufreq-set -c$cpu -g powersave; done

to undo, just substitute powersave with ondemand
if you know how many cpus you have (probably 4), you can just do
for $cpu in `seq 0 3`; do ... 
>>
should I remove /var/cache/pacman?
>>
whats the difference between all the AUR packages with -git on the end of the name and the normal version? which one should I install?
>>
>>59094781
never
>>
>>59094915
One is the development version,while the others are snapshots/releases
>>
>>59094956
so should I avoid the -git version then? is it just an early release that is going to eventually become the main package, or is it a beta?
>>
>>59094970
Take a moment and learn about versioning
>>
I love pacaur and the AUR, but I wish pacaur didn't also bother acting as a wrapper for pacman. Why would anyone want to use it instead of pacman for official repo packages?
>>
File: 2017-02-24-064230_652x49_scrot.png (12KB, 652x49px) Image search: [Google]
2017-02-24-064230_652x49_scrot.png
12KB, 652x49px
>>59095244
Convience
>>
What is the logical evolution after Arch?
>>
>>59095275
so pacaur -Syua will do the equivalent of pacman -Syu , but only affecting the aur? that's nice, thanks
>>
>>59095283
Source Mage
>>
>>59095283
Void, CRUX, Slackware or Gentoo
>>
>>59093537
> github sucks

any reason, besides 'muh sjw'?
>>
>>59094970
you should avoid -git packages unless you want untested code straight from the developer's drunken commits

>>59095283
i have evolved to void
>>
>>59095874
Muh SJWs is exactly it, though.
They've taken down repos just because it conflicts with their opinions.
>>
>>59095903
>They've taken down repos just because it conflicts with their opinions.

all providers have that option. unless you physically own your own data center and isp, you'll have to play nice. or host your FOSS on TOR, i suppose.
>>
This is driving me insane! How do I sandbox applications with SELinux?
>>
Let's discuss systemd.
>>
>>59096629
>20 million buggy as shit LoC kernel
>add 500k buggy as shit LoC init system/actually does everything frankenprogram
What could go wrong?
>>
>>59096629
no
>>
Am installing solus as we speak, it gives you a browser during install
>>
Am installing arch as we speak, it gives you a tty during install
>>
Am install ubanto as we speak, it gives you a spyware during install
>>
File: Untitled.jpg (732KB, 3364x1050px) Image search: [Google]
Untitled.jpg
732KB, 3364x1050px
so, did someone manage to make thumbnails work on ubuntu/mint?

I followed this guide https://jkisielewicz.fedorapeople.org/#orgfafddff

but I did not manage to install it.
>>
>>59097735
>but I did not manage to install it.
Why exactly? I wrote the guide in a fairly dumb-proof way albeit for Debian.
>>
Any way I can resize the xfce4 drop down terminal?
>>
>>59097801
i doesn't work for noobuntu because reasons.
>>
>>59098193
So you have troubles compiling it?
>>
File: xfce-panel.png (9KB, 1279x44px) Image search: [Google]
xfce-panel.png
9KB, 1279x44px
Which panel colorscheme would you choose?


Theme has dark titlebar and menubar, but otherwise it's a mix of light grey with colour accents.
>>
>Accidentaly chpwn entire system
>No backups
FML

now I have to stare at a black monitor after install completed with some splattered My Legs are
>[OK]
text for an hour before it finally decides to reboot. Is UEFI causing this?
>>
i am a linux noob
i installed a new ssd, to which i want to clone my current linux partition and add it to grub

the disk is listed in
sudo fdisk -l
>>
>>59091302
I've recently taken to calling it
GNU(+Linux)
>>
>>59099667
GNU(GNU+Linux)*
>>
>>59099803
>I don't name the things correctly because people who are wrong will call me out
found the cuck
>>
>>59099667
>>59099802
>>59099803
>>59099867
y'all niggas should read: https://www.gnu.org/gnu/gnu-linux-faq.en.html
>>
>>59099928
Too long! XD
>>
>>59099986
that's what she said
>>
>>59100003
>she
>not xe
Sexist pig
>>
>>59093591
too soon
>>
What is the best way to improve font rendering in Manjaro?
Just noticed I can't install Infinality so I'm looking for alternatives, Thanks.
>>
File: 1459601878880.png (888KB, 680x680px) Image search: [Google]
1459601878880.png
888KB, 680x680px
What are some cool terminal commands?
>>
>>59101483
 alias grope='man touch'
>>
>>59101483
curl -s http://artscene.textfiles.com/vt100/dirty.vt | pv -qL500
>>
>>59101675
Nice one.
>>
>>59101682
Basically all these work, you just need to adjust the speed (py's -L flag).
http://artscene.textfiles.com/vt100/
>>
>>59101483
alias a='alias'
>>
>>59101698
s/py/pv/
>>
I set up SSH so I could connect to my server from my Android and it works okay.

When I tried to copy my laptop's ecdsa key using my Android to the server's authorized_keys file, and then connect, it says
"Permission denied (publickey)"

Where is it fucked up? I'm not sure because I did the same process on my Android and laptop.
>>
>>59101876
Does the user have read rights on the file?
>>
function topp()
{
top -Hp $(pgrep -d, "$1")
}


# USAGE: topp <full or partial name of running process(es)>
i.e topp tt
... topp firefox
>>
>>59101921
I think you meant the id_ecdsa on my laptop, but no it doesn't, which is very strange and I can't think why that would be??
Why would I need to set it up that way? I don't remember creating the key as root.
>>
>>59101963
what does this do???
>>
How stable is OpenSuse Tumbleweed?
>>
I find
pkill ""

useful sometimes.
>>
>>59101921
I tried again from scratch and it worked so I guess I fucked up first time.
>>
>>59102036
kek
>>
>>59102036
$ type yolo
yolo is a function
yolo ()
{
kill "$(pgrep . | shuf -n 1)"
}
>>
can someone explain to my why my internet is significantly faster with windows than with linux and what I can do about it? I've tried over a dozen distros over the past year, but reinstalled windows 10 yesterday because it was getting out of hand and now everything is running smoothly. I don't get it
>>
>>59102036
runs a named process in top -H (threads mode)
>pgrep is quite greppy, so fir or ox would include firefox.
>type V in topp to toggle forest view.
>type H to toggle threads view.
>>
>>59102162
this is with wi-fi btw
>>
>>59102163
sorry meant to reply to >>59101990
>>
>>59102163
that's useful
>>
>>59102162
GNU/Linux*

Tried changing the wifi module settings?
>>
>>59102162
11n_disable
>>
Are there any minimal apps that can view gifs that I can use on Ubuntu?
>>
>>59102280
mpv (you may want to add the --loop=inf flag)
>>
>>59102218
I don't even know what I would change

>>59102259
what does that do?
>>
>>59102280
under gnome, use eog
>>
>>59102280
sxiv is a great minimal image viewer with thumbnail view, gif support, very simple keyboard commands, and you can add execution handlers to key bindings to perform commands on the selected file.
>>
>>59102280
firefox
>>
>>59102290
I'm using that right now but hovering the mouse over it shows the player which gets annoying. If I got 2 gifs to play in one window can I select how many times they loop before they switch?
>>
>>59102201
-d, sets pgrep delimiter switch to (comma) so top can use output.
It's not really neccesary if pgrep gets a single hit, but it doesn't break it.
You could do something like
top p $(pgrep firefox),$(pgrep -d, chrome)
with firefox and chrome running, then toggle threads and forest view with H and V.
>>
>>59102324
I just installed it but the gifs don't play when I use it
>>
>>59102407
press ctrl-space
also read the man page, it's very helpful
>>
>>59102297
try this:

sudo modprobe -r iwlwifi
sudo modprobe iwlwifi 11n_disable=1

if this fixes your issue save it to /etc/modprobe.d/

if not, reset to default

sudo modprobe -r iwlwifi
sudo modprobe iwlwifi
>>
File: 1476327210183.png (16KB, 247x79px) Image search: [Google]
1476327210183.png
16KB, 247x79px
>>59102394
>forest view
kek
>>
Sorry if this is a dumb question but how can someone connect to one server on the same IP, on the same port through SSH from 2 different computers and it works fine?
How?
>>
>>59102486
how can someone connect to a website from a million computers at the same time on port 80 and it works fine?
>>
>>59102551
disregard that i suck cocks
>>
>>59102454
>sudo modprobe iwlwifi 11n_disable=1
thanks this seems to be working in a live boot as far as I can tell. will have to compare with windows

how would I save it?
>>
For some reason I can't use my thinkpad's middle button in feh (for zooming and whatnot).
Plugging in a mouse and using the it's middle button works.
The thinkpad's middle button works properly in all other applications.
What gives?
>>
>>59102162
Out of 3 devices I had at home only 1 edimax nano USB chip worked out of the box at 1Mbps downstream from available 25Mbps.

The ALFA AWUS036ACH used to work on older linux distro with a simple shell to install but nope, the manufacturers cut support. Tried to follow some troubleshooting guides but it ended up being more trouble than it was worth.

Ended up buying some cheap TPlink wireless bridge which was simple as fuck to setup and connects to my desktop via ethernet. NO MORE FUCKING DRIVER FUCKERY FUCK.

Extremely convenient solution, works just about as well as my more expensive wireless module at 2.4GHz with SSID broadcasting off. The great thing is that once it is configured you can unplug it and replug elsewhere to provide any device with an ethernet port internet without doing anything, not even entering SSID and password on every new device just plug n play.
>>
>>59102714
GNU/Linux*
>>
what's the program that shows the arch logo in the terminal? sry for dumb question
>>
>>59102714
Pic related was the cheapest I could find locally, there should be plenty other similar devices.
>>
>>59102834
suckless: screenfetch
suckmore: neofetch
>>
Talking about drivers, thinking about to buy a new laptop and thought it would be a good idea to buy one with hardware that doesn't need proprietary drivers. Does such thing exist? Where's the best place to look?
>>
>>59102689
I just figured out that on FreeBSD zooming works if I hold down the left and middle button together, although it doesn't work on GNU/Linux.
>>
>>59091302
Hello is there a better alternative to octopi? That shit slows down my boot up and loading takes long. What is a more light weight program?
>>
Given that a lot of software is enabled on boot by
# systemctl enable foo.service
How do you do that in non-systemd? It seems like a very modular and effective system in systemd.
>>
>>59102866
What's wrong with neofetch?
>Capable of displaying terminal colour scheme
>Capable of displaying images or wallpaper in terminal
>Much more customisable
>>
>>59102660
nope windows is still faster. looks like the wi fi adapter I have is just a piece of shit

my phone gets 130 mbps download speed on wi fi, on windows I'm getting 30 and on the kubuntu live usb I got fucking 4

>>59102714
think I'll look into this
>>
>>59103060
rc-update add <thing> <runlevel>
>>
>>59102900
https://minifree.org/product/libreboot-x200/

this autismpad
>>
>>59102866
https://github.com/dylanaraps/neofetch/wiki/Neofetch-vs-Screenfetch
>>
>>59102435
thanks
>>
File: get fucked, asshole.png (73KB, 1440x900px) Image search: [Google]
get fucked, asshole.png
73KB, 1440x900px
>>59102834
>>59102866
>needing a program to show off your system
>>
File: 1477294327087.jpg (36KB, 640x480px) Image search: [Google]
1477294327087.jpg
36KB, 640x480px
>>59101483
for i in {1..100};{((i%3))&&x=||x=Fizz;((i%5))||x+=Buzz;echo ${x:-$i};}
>>
>>59103305
>no arch logo visible
instand downvote
>>
>>59103305
nice wallpaper pattern
>>
>>59103095
>>59103193
>using redditware
>>
>>59103305
saved the loadavg part :^)
>>
Arch is just a stepping stone.
>>
how to enable thumbnails in firefox file picker? im on KDE
>>
>>59103428
there's a lot of fun/useful things to be found in /proc
more than in sys if you ask me
>>
>>59103481
to what?
>>
>>59103305
nice
>>
>>59103674
the goatreich
>>
>>59103663
What distro?
>>
>>59103762
Arch
>>
>>59103674
source magic
>>
File: 1482191584930.jpg (16KB, 320x320px) Image search: [Google]
1482191584930.jpg
16KB, 320x320px
is rm malware?
>>
>>59103793
remove firefox (the two packages conflict) and install firefox-kde-opensuse from the AUR
Takes a while as it gets compiled.
>>
>>59103718
ten minutes after i took it i had thought of five ways i should have made it better, some other time perhaps
>>
>>59103813
femalware
>>
>>59103830
at least post the command
>>
>>59103815
Thats the answer i was looking for, thanks anon.
>>
File: 1474052155207.jpg (35KB, 480x480px) Image search: [Google]
1474052155207.jpg
35KB, 480x480px
How does /fglt/ deal with the windows key problem?
>>
>>59103956
what's that?
>>
>>59103956
just rub it off
>>
>>59103956
What's a windows key?
>>
>>59103674
void
>>
>>59103966
>>59103991
The key on your keyboard with the windows logo on it!
>>59103982
Doesn't it look like ass afterwards?
>>
>>59104013
>The key on your keyboard with the windows logo on it!
I don't have something like that.
>>
>>59104013
I mean't what's your problem with it
are you autistic or something?
>>
>>59103956
It's called mod key (or on ubuntu: "super") key.
>>
>>59104029
as long as it shows a windows logo, it's the windows key :^)
>>
>>59104029
Microsoft invented the key, why rename it?
>>59104027
>not being autistic
gtfo my 4chan
>>
I have a mouse that has "Microsoft" on it. Am I a bad person?
>>
Arch linux is just a stepping stone.á Ž
>>
>>59104066
owning or using it isn't bad, but you shouldn't buy microsoft products
>>
>>59104066
yes and you should neck yourself right away
>>
>>59104071
torvards?
>>
On Manjaro, whenever I hibernate and resume, shit gets fucked and everything stutters every 5 seconds for about 2 seconds.

My swap partition is 7.85gb while I have 8gb of RAM. Is it just buggy or is it fucked on my end? Anyone else had this problem?
>>
>>59104228
memes
>>
do i need fuse?
>>
>>59103848
i did. the whole command line is visible
>>
>>59104228
Source magic
>>
File: symbolics-keyboard.jpg (29KB, 719x346px) Image search: [Google]
symbolics-keyboard.jpg
29KB, 719x346px
>>59104056
>Microsoft invented the key
>>
how do I permanently add a kernel boot option in grub?
>>
>>59104461
edit grub
>>
>>59104461
You read the wiki.
https://wiki.gentoo.org/wiki/GRUB2#Main_configuration_file hint: CMDLINE
>>
>>59094970
-git: the active development sources, that is, if someone makes any changes, it is reflected here
alpha: lightly tested, often not feature complete release
beta: reasonably tested, possibly feature complete release
RC/release candidate: feature complete, may become stable release if it passes further testing
stable: fully tested, feature complete release

you should stick to stable releases unless you have a reason not to
>>
how do I stop screen tearing at a driver level using nvidia's proprietary driver with vsync?
>>
Wanted to try the meme. Their documentation says the iso is obsolete and the chroot image says nothing about being outdated. When you go on the download page, you can see the kernel is 4.1 for the iso and 3.4 for the chroot.

Should I just use the iso version ?
>>
>>59104906
try nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
>>
>>59104906
>how do I stop screen tearing at a driver level using nvidia's proprietary driver with vsync?
https://wiki.archlinux.org/index.php/NVIDIA/Troubleshooting#Avoid_screen_tearing

Where the xorg.conf file might be different depending on your system.
>>
>>59104934
what meme are you referring to?
>>
>>59104987
CKGL
>>
>>59102689
anyone?
>>
>>59104998
wtf is ckgl
>>
>>59104934
whatever you use. you'll be upgrading and rebuilding the system as soon as you set it up
I used the chroot
>>
I'm currently testing a centos server for a project, the thing is the window manager (gnome-something) keeps crashing or freezing every few days. I'm fine with just puttying into the server but my client insists on using the gui to monitor things, is there a more stable window manager I can use as a substitute?
>>
>>59105398
try spectrwm or cwm
>>
File: icewm_desktop.png (27KB, 1280x800px) Image search: [Google]
icewm_desktop.png
27KB, 1280x800px
>>59105398
consider something that is both ancient and still maintained, like IceWM
>>
>>59104934
>>59104987
Source mage linux
>>
>>59105481
GNU/Linux*
>>
>>59104934
the whole project is outdated. they've spent 15+ years "developing" it and they still haven't released a proper 1.0 version
>>
>>59101483
print a "ruler" for measuring output widths/character positions
(for n in {1..80};do x=-;(($n % 5)) || x=+;(($n % 10)) || x=\|;echo -n $x;done;echo)
>>
>>59105550
shaking my head familia, smgl is literally the best distro ever made
>>
>>59105577
Nice one, but why the subshell? ()
>>
Which Linux distro is the most "universal Linux" in it's commands, software, configs, etc.? In other words, if I want to install a distro and learn to use Linux, which distro will teach me the least "distro specific" skills?
>>
>>59105550
worst part is that they probably still get grouped with gentoo
>>59105637
3.X series if you have old hardware, otherwise 4.X
>>
>>59105637
Outside of the package manager, every distro is the "same"
>>
>>59105577
Try this, modified it to expand to the terminal current width.
n=0;while [ $n -lt $COLUMNS ];do n=$((n+1)) x=-;(($n % 5)) || x=+;(($n % 10)) || x=\|;echo -n $x;done;echo
>>
File: 1467082685220.png (192KB, 333x365px) Image search: [Google]
1467082685220.png
192KB, 333x365px
>>59105637
I'd just like to interject for a moment. What you're referring 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.
>>
>>59105667
He was talking about kernels.
>>
>>59105637
there isn't really an "official" linux distro
you're probably looking for one of the few long-standing "base" distros (that is, the ones the majority of other distros are based on)
namely: debian, slackware, and red hat
>>
>>59105691
>debian, slackware, and red hat
g-gentoo
>>
>>59105691

Yea I guess what I'm saying is, if I just want to learn Linux at a basic/intermediate level so I say on my resume that I "know Linux", what distro would be the best to learn with? Red Hat distros?
>>
>>59105637
just get 4.9 and read the docs
>>
>>59105720
any
>>
running arch and debian have two swap partitions, during arch installation only mounted one swap and fstab only showing one swap entry somehow arch mounts both swap partitions...
is systemd auto mounting?
>>
>>59105720
>so I say on my resume that I "know Linux"
if you claim this, you'll be punished the sysadmins
>>
>>59105720
don't fall for red hat memes, it's all marketing

install ubuntu and learn, then get something better or stick with it
>>
>>59105706
gentoo and arch are popular "base" distros as well, though not to the same degree as the ones i mentioned, and they're quite a bit newer, both from 2002, where the others are all pre-1995

>>59105720
debian and red hat are probably the most well known and used in work environments, and as >>59105653 hinted, much of the stuff you'd need to learn to claim to know linux is portable between any distro anyway
>>
>>59091323
>t. shit flinging tard
>>
>>59105745

I'm not applying for sysadmin jobs, I just do meme web dev stuff but I want to be able to say I'm proficient in every major OS.

>>59105757

Yea I guess I'll just start with Ubuntu and make sure I know the basics of all the popular package managers out there too.
>>
>>59105783
>throws poo at him
That'll show 'em
>>
File: 1464495630976.jpg (13KB, 470x313px) Image search: [Google]
1464495630976.jpg
13KB, 470x313px
>>59105691
>>59105720
>>59105757
>linux
>>
>>59105603
because i don't like clobbering variables
a while ago i had a function that behaved very strangely until i realize that the variables that i set inside the function still existed and carried over into subsequent calls. since then i've just used () as the default for functions except when I explicitly want to set persistent variables
>>
>>59105810
Hey that's actually pretty clever.
>>
What kind of file extension should I be looking for to open a program I just installed?
>>
>>59105810
had the same problem last night with the rms.sexy wallpaper setting thingy (forgot to declare a variable, but the script worked, because the shell knew the variable) thanks for the tip
>>
>>59105870
none
>>
>>59105654
>using all those extra characters
(for n in $(seq `tput cols`);do x=-;(($n%5))||x=+;(($n%10))||x=\|;echo -n $x;done;echo)
>>
File: 1486156110432.jpg (33KB, 415x332px) Image search: [Google]
1486156110432.jpg
33KB, 415x332px
>>59105879
(for n in $(seq `tput cols`);do x=-;((n%5))||x=+;((n%10))||x=\|;echo -n $x;done;echo)

Come at me faggot.
>>
>>59105878
how do I open this program? I usually just open programs from the equivalent of what's the start bar, or make a shortcut. It's not in my start menu thing since it's on my second hdd, and I wasn't given a chance to make a shortcut.
>>
>>59105720
any that teaches you to install a very minimal system, and quite manually so, and to build errything you think you need over that

which takes a good documentation
hence why the Gentoo meme
>>
>>59105637
>which distro will teach me the least "distro specific" skills?
Slackware, because it is the most minimalist in terms of distro-specific software & configuration. It's also considered the most "Unix-y". It's also the oldest that is still actively maintained, and was one of the first to have a proper installer, which has been left pretty much unchanged since 1995 or so
>>
>>59105797
>make sure I know the basics of all the popular package managers out there too.
you'll want to familiarize yourself with apt (debian/ubuntu/etc) and rpm (red hat/centos/fedora/etc) at least
checking out SuSE might be a good idea, too, it's reasonably popular in work places
>>
>>59105901
I did not know that arithmetic evaluation substituted variables without the sigil. neat.
>>
>>59105947
It goes even shorter:
for n in $(seq `tput cols`);{ x=-;((n%5))||x=+;((n%10))||x=\|;echo -n $x;}
>>
>>59105904
>second hard drive
So its not installed in your main /usr/bin?
Is it a standalone program?
If not why is it not in your main /usr/bin?

Use a launcher to open it, look up what your de/wm uses.
Alternatively open up the cli and type the name of the program
>>
>>59105954
very neat. i was curious if "one-line" forms of for existed. does the same syntax work with if/while/until as well?
>>
>>59105879
>>59105654
>>59105577
can someone make this write out a third line with numbers below the `|` characters?
ruler() {
LEN=$1
[ -z $LEN ] && LEN=80
for n in `seq 1 $LEN`; do
x=-
(($n % 5)) || x=+
(($n % 10)) || x=\|
echo -n $x
done
echo

for n in $(seq `tput cols`); do
x=-
(($n%5)) || x=+
(($n%10)) || x=\|
echo -n $x
done
echo
}
>>
>>59105991
maybe you like this one (found on clifu)
for s in '....^....|' '1234567890'; do w=${#s}; str=''; for (( i=1; i<=(COLUMNS + w) / $w; i=i+1 )); do str+=$s; done; str=${str:0:COLUMNS} ; echo $str; done

generates a ruler like this:
....^....|....^....|....^....|....^....|....^....|....^....|....^...
12345678901234567890123456789012345678901234567890123456789012345678
>>
>>59106048
can you colorize it?
>>
>>59105978
It is a stand alone program. Thanks, you gave me a lot to look up. I found the executable (not sure if that's the right term), but it won't open, and apparently a lot of people have a hard time getting this modelsim to work on 64 bit *nix machines.
Might have to go full retard, and find a copy of Windows or try to run it in Wine.
>>
>>59106048
can you add telemetry so we can make the program better, based on users daily tasks?
>>
>>59106048
I was thinking something along the lines of
----+----|----+----|----+--
----+----|----+----|----+----|----+----|----+----|----+----|---
10 20 30 40 50 60
>>
>>59106080
If its is a standalone program:
create a "bin" folder in your ~,put it in your path,put all your standalone compiled binaries/scripts in this ~/bin so you can run it normally
>>
>>59106092
for n in $(seq `tput cols`);{ ((n%10))&&echo -n ' '|| { ((n>99))&&echo -ne "\b";echo -n $((n/10));};};for n in $(seq `tput cols`);{ x=-;((n%5))||x=+;((n%10))||x=\|;echo -n $x;}
>>
Why is Ubuntu's netcat lacking the -e flag?
>>
1. How do you overclock a GPU in Linux? I have Arch and a GTX 980.
2. If I have Linux running in a VM with hardware acceleration, can I overclock a GPU in Windows still? Like would MSI Afterburner still work in a VM? Or would the Linux OC carry over automatically?
>>
>>59106116
nice
>>
>>59106128
Security maybe.
>>
>>59106116
Saved.
>>
File: sql.png (73KB, 1077x651px) Image search: [Google]
sql.png
73KB, 1077x651px
Why is it using so much memory?

It got up to over 1GB before I restarted?
>>
File: 1461615151526.jpg (37KB, 350x342px) Image search: [Google]
1461615151526.jpg
37KB, 350x342px
>>59106116
Can I reuse this in my nonfree programs?
>>
>>59106180
Unused memory is wasted memory
linuxatemyram.com
>>
>>59106183
no, everything which isn't licensed is copyright (c) author
>>
File: 1.jpg (129KB, 1001x702px) Image search: [Google]
1.jpg
129KB, 1001x702px
>>59106098
>run it normally
What do you mean run normally? Like so I can just type the program name into terminal and it will start up?
I can run Quartus fine, although it gives me this error in terminal, but when I try to open Modelsim (vsim) it flashes terminal for a second and does nothing.
>>
>>59106183
lel

without reverse engeneering, is there even any way to prove if some free software was copy pasted into a nonfree program?
>>
>>59106223
no, also the goal is spreading freedom, not suing people
>>
>>59106116
echo -n \ ||
echo -ne \\b
>>
>>59106219
>normally
Via a shortcut or via a launcher(dmenu for example),so you dont have to run it via cli each time.
Open a terminal where vsim is at and try to run it .
>>
File: wtfpl-strip.jpg (297KB, 1200x1500px) Image search: [Google]
wtfpl-strip.jpg
297KB, 1200x1500px
>>59106116
prettified/commented
#!/bin/sh
# (k) 3183 some anonymous faggot
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# Copyright (C) 2004 Sam Hocevar <[email protected]>
#
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
# 0. You just DO WHAT THE FUCK YOU WANT TO.


for n in $(seq `tput cols`); do
if ((n%10)); then
echo -n ' '
else
if ((n>99)); then # 2 digit label
echo -ne "\b" # "insert" a backspace to offset extra digit
fi
echo -n $((n/10))
fi
done
# cursor is at the edge of the terminal, so it will wrap to next line
for n in $(seq `tput cols`); do
if ((n%10)); then
x="|"
elseif ((n%5)); then
x=+
else
x=-
fi
echo -n $x
done


>>59106183
>>
Anyone wanna buy this cool program I made? 2 USD cash. no ticket? no laundry!
for n in $(seq `tput cols`); do
if ((n%10)); then
echo -n ' '
else
if ((n>99)); then # 2 digit label
echo -ne "\b" # "insert" a backspace to offset extra digit
fi
echo -n $((n/10))
fi
done
# cursor is at the edge of the terminal, so it will wrap to next line
for n in $(seq `tput cols`); do
if ((n%10)); then
x="|"
elseif ((n%5)); then
x=+
else
x=-
fi
echo -n $x
done


>>
>>59106294
Unfortunately, it says command not found. This company is real bitch when it comes to *nix support.
>>
>>59106116
>>59106079
single color: for n in $(seq `tput cols`);{ ((n%10))&&echo -n \ || { ((n>99))&&echo -ne \\b;echo -en \\e[31m$((n/10))\\e[m;};};for n in $(seq `tput cols`);{ x=-;((n%5))||x=+;((n%10))||x=\|;echo -n $x;}

rainbow: for n in $(seq `tput cols`);{ ((n%10))&&echo -n \ || { ((n>99))&&echo -ne \\b;echo -en \\e[38\;5\;${n}m$((n/10))\\e[m;};};for n in $(seq `tput cols`);{ x=-;((n%5))||x=+;((n%10))||x=\|;echo -n $x;}
>>
>>59106354
do ./vsim
in the terminal,in the folder
>>
File: 1264246300994.jpg (88KB, 854x770px) Image search: [Google]
1264246300994.jpg
88KB, 854x770px
>magic moments of /g/ruler development
>>
>>59106297
oops
#!/bin/sh
# (k) 3183 some anonymous faggot
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# Copyright (C) 2004 Sam Hocevar <[email protected]>
#
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
# 0. You just DO WHAT THE FUCK YOU WANT TO.


for n in $(seq `tput cols`); do
if ((n%10)); then
echo -n ' '
else
if ((n>99)); then # 2 digit label
echo -ne "\b" # "insert" a backspace to offset extra digit
fi
echo -n $((n/10))
fi
done
# cursor is at the edge of the terminal, so it will wrap to next line
for n in $(seq `tput cols`); do
case $n in
*0)
x=\|
;;
*5)
x=+
;;
*)
x=-
;;
esac
echo -n $x
done
>>
>>59105146
My bets are on Cuckold GNU/Linux or something alike.
>>
Patched :^)

for n in $(seq `tput cols`); do
if ((n%10)); then
echo -n ' '
else
if ((n>99)); then # 2 digit label
echo -ne "\b" # "insert" a backspace to offset extra digit
fi
echo -n $((n/10))
fi
done
# cursor is at the edge of the terminal, so it will wrap to next line
for n in $(seq `tput cols`); do
case $n in
*0)
x=\|
;;
*5)
x=+
;;
*)
x=-
;;
esac
echo -n $x
done
>>
>>59106429
>
#!/bin/sh

But anon, you're using bashisms.

Check your code here: https://www.shellcheck.net/
>>
>>59106404
Seems to be looking somewhere else for it:
Error: cannot find "./../linux_rh60/vrun"
>>
>>59106435
W E H A V E A W I N N E R !
>>
>>59106466
checked

I would like to thank the 4chan community, for conditioning my mind to the point I can't stop thinking of sex memes. Like cuckoldry and femine penises.
>>
>>59106420
I can't believe we developed it without creating a logo first.
>>
you can continue posting
>>
>>59106500
i can't believe a one-liner i cobbled together to help me figure out which columns to remove from `free -h` is now an /fglt/ collaborative project

anyone want to help me figure out how to pad lines of text with spaces so that each line is the same length? i could do it with a perl -ne but is there a bash/awk/sed way? perl seems like cheating
>>
now, how do we get the fglt ruler into the official repos?
>>
>>59106429
>/bin/sh
>((
>echo -n
bashbaby detected
>>
>>59106454
Im using 4 spaces, no matter what language, am I a bad person?
>>
is there a small program like xbindkeys that also can manage mouse gestures?
>>
File: hq720.jpg (127KB, 1280x720px) Image search: [Google]
hq720.jpg
127KB, 1280x720px
What are appropriate/inappropriate uses for a Windows VM? Is there any special considerations I need to take into account when setting one up?
>>
>>59107088
somewhat related question here:

I'm using Wndows basically as gaming console and do my real computing on GNU/Linux (dualboot). Is there any way that Windows botnet can fuck around with my GNU or is dualbooting save?
>>
>>59107088
RMS might haunt your dreams.
>>
>>59107088
Be aware that hacks exist that allow programs to break out of VMs. VMs are basically secure, but nothing is 100% secure. I'd also secure the VM itself (especially when you allow networking).
>>
here's what I hacked together
ruler() {
MARK=$1
COLS=`tput cols`
X=0
if [ ! -z $MARK ]; then
if [ $MARK -gt $COLS ]; then
X=1
MARK=$COLS
fi
else
X=2
MARK=0
fi
echo
if [ $X -ne 2 ]; then
for n in `seq 1 $MARK`; do
x==
(($n % 5)) || x=\*
(($n % 10)) || x=\#
echo -ne "\e[1;31m$x\e[0m"
done
fi
if [ $X -ne 1 ]; then
for n in $(seq $(($MARK+1)) $COLS);{
x=-
((n%5)) || x=+
((n%10))||x=\|
echo -n $x
}
echo
fi
# print numbers
for n in $(seq $COLS);{
((n%10)) && echo -n ' ' || { ((n>99)) && echo -ne "\b"; echo -ne "\e[1;36m$((n/10))\e[0m";}
}

echo -e "\nTotal columns: $COLS\n"
}

maybe someone can make it better
>>
>>59107319
You should either write POSIX sh or bash, using both is comfy for one-liners, but for a well written program, be consistent and stick to one language. I highly recomment shellcheck (works also with the vim plugin "syntastic").
>>
File: 1474360617421.png (266KB, 491x404px) Image search: [Google]
1474360617421.png
266KB, 491x404px
>>59107088
>>59107231
It is unfortunate that you still have nonfree software in your computer. You need to defenestrate it (which means, either throw Windows out of the computer or throw the computer out of the window).
>>
>>59107350
I'll do my best
>>
>>59107319
git project when?
>>
>>59107293
>Be aware that hacks exist that allow programs to break out of VMs.
I've heard of speculation and ideas, but have VM breakouts ever actually been done in the wild?
>>
Fedora 25 on GTX970 is struggling with graphic-intensive stuff, I'm wondering if the negativo17 drivers for NVIDIA are a problem
>>
>>59107398
When the logo is done.
>>
how good can FreeBSD emulate linux binaries?

can it emulate x64 binaries yet?
>>
>>59107414
>linux binaries
what is this
>>
>>59107414
anything that can be compiled for GNU/Linux can also be compiled for other Unices
and chances are most of the stuff you need already are
>>
>>59107414
https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
tl;dr see >>59107441
>>
File: 20170224_235001.jpg (302KB, 1001x750px) Image search: [Google]
20170224_235001.jpg
302KB, 1001x750px
Well, I updated my nvidia drivers and now Fedora 25 won't boot. All the solutions I found assume that I can switch to another tty, which I can't. Selecting another kernel at boot doesn't do shit either. The only thing I can do is mount my drive from a usb boot.

I'm considering just reinstalling.
>>
>>59107406
Why are you not using stock drivers?
>>
>>59107368
The tools for FPGAs are unfortunately proprietary.
>>
>>59103137
thank you!
>>
>>59107452
>using systemd
>>
>>59107452
It looks like one of your drives/partitions arent mounting.Recheck grub and fstab using a liveusb
>>
>>59107468
http://niceme.me/
>>
>>59107457
that's a good question. Fedora doesn't endorse the drivers because theyre not free software but i guess something like
https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/
will do
>>
File: tee-hee.jpg (3MB, 3456x2304px) Image search: [Google]
tee-hee.jpg
3MB, 3456x2304px
>>59107452
>>
>>59107497
I dont use restrictive OS'.You should be able to compile/install it using your package manager from source
>>
Hello guys, I work as a network monkey in the military. Unfortunately the job hasn't taught me a great deal. I'd like to learn how to use the command line in linux. I'm only mildly fluent in Cisco's IOS (which is very simple in my opinion) and I use Microsoft's command line when necessary. What's the best way to learn linux's command line? Thanks.
>>
File: 1460461427997.png (15KB, 521x239px) Image search: [Google]
1460461427997.png
15KB, 521x239px
>>59107487
nice botnet
>>
>>59107521
install gentoo
>>
>>59107518
seems Fedora's package manager's nvidia drivers are having problems

rd/5g3fh2
>>
New thread:
>>59107565
>>59107565
>>59107565
>>
File: ruler-ng.png (2KB, 712x364px) Image search: [Google]
ruler-ng.png
2KB, 712x364px
>>59107319
ruler() {
START=$1
STOP=$2
COLS=`tput cols`
if [ ! -z $START ]; then
if [ -z $STOP ]; then
STOP=$START
START=1
fi
if [ $STOP -gt $COLS ]; then
STOP=$COLS
fi
if [ $START -lt 1 ]; then
START=1
fi
else
START=0;STOP=0;
fi
echo
C=1
while [ $C -lt $START ]; do
x=-
((C%5)) || x=+
((C%10))||x=\|
echo -n $x
C=$((C+1))
done
while [ $C -lt $STOP ]; do
x==
(($C%5)) || x=\*
(($C%10)) || x=\#
echo -ne "\e[1;31m$x\e[0m"
C=$((C+1))
done
while [ $C -lt $COLS ]; do
x=-
((C%5)) || x=+
((C%10))||x=\|
echo -n $x
C=$((C+1))
done
# print numbers
for n in $(seq $COLS);{
((n%10)) && echo -n ' ' || { ((n>99)) && echo -ne "\b"; echo -ne "\e[1;36m$((n/10))\e[0m";}
}

echo -e "\nTotal columns: $COLS\n"
}

TODO
>arbitrary number of arguments (start, stop, start, stop, start, etc.)
>negative distances (ruler -15 -> shade the last 15 columns)
>robustify - ignore non-numeric arguments, truncate decimals (these currently give errors)
>>
>>59107521
Just start doing everything in the command line. _everything_

If you don't know how to do something, look it up. If the command still doesn't make sense then look up how it worked, or read the man page to see what specific command line options do. Stuff like that.
>>
>>59107521
by reading the fucking OP pasta
Thread posts: 315
Thread images: 36


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.