Welcome to /fglt/ - Friendly GNU/Linux Thread, or as I've recently taken to calling it, Friendly GNU+Linux Thread.
If you would like to try out GNU/Linux you can do one of the following: 0) Install a GNU/Linux distribution of your choice in a Virtual Machine. 1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything. 2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS. 3) Go balls deep and replace everything with GNU/Linux.
Resources: Please spend at least a minute to check a web search engine with your question. *Many free software projects have active mailing lists.
$ man %command% $ info %command% $ %command% --help $ help %builtin/keyword%
Don't know what to look for? $ apropos %something%
How do I make my KDE window decorations translucent witout making the contents translucent too?
Matthew Rogers
is there are an application menu applet for tint2? not sure if applets like whisker menu (from xfce) or anything alike will work or not
Matthew Wood
tint2 is typically used with wm's like openbox, which have their own application menu tint2 has an option to pass-through these menus when right clicking on empty parts of the panel
Parker Adams
>tint2 is typically used with wm's like openbox, which have their own application menu i see >tint2 has an option to pass-through these menus when right clicking on empty parts of the panel can i use launcher instead of right clicking on panel? i remembered i saw that somewhere on internet (maybe arch wiki?)
i use openbox and tint2 myself, and personally, i don't really use the openbox menu it's useful if you forget the name of something you have installed, but that's pretty rare for me instead, i use rofi (also popular: dmenu), which is a launcher where you pretty a key combination, then search for what you want to run so to say, open geany, i would do; "win+r, gea, enter", which is faster than moving to mouse to tint2, right clicking, moving to development, then clicking on geany. it also eliminates needing to remember which category the program is under
I might be dumb, but how do I set up alt+tabbing in KDE so it scrolls through every window I have open, no matter what virtual desktop it's on or how many windows in any given program I have open?
Jeremiah Reed
Nevermind, I figured it out
Xavier Edwards
Dumb question, but if I'm using i3 does that mean I'm not using a desktop environment?
Landon Diaz
You can still use apps from other DE. I use eog, evince from gnome and thunar from xfce. You're just free to chose the tool you want.
Ian Murphy
I am trying to boot to a linux .iso from Ubuntu 18.04 (not vm or emulator) using GRUB2. I barely know what I am doing, just following instructions. I get
hd0,3 not found
And I realize I have no idea which hard drive or partition my .iso is on. So i go to
sudo fdisk -l
and get a whole bunch of stuff I have no idea what is.
I suppose I'm looking for a show file location or the equivalent so I can hopefully make it work. Any help appreciated.
Josiah Adams
systemd is hard
Aiden Barnes
Put manjaro with i3 on my laptop this week. It's preforming worse than f29 with gnome.
VMs use a lot of RAM, right? I am trying to decide if whether to use Xen and run different VMs of distros, or go one at a time and dual boot. I ave a 2016 Xeon, so that limits the usability of my 64GB of RAM.
Quebes + all the distros?
I know there is a slight performance hit for the OS to be virtualized, but I like the idea of snapshots, Whonix, etc.
I still don't know if Docker is something used witin a hypervisor or replaces it or what just that it can make a container for your website server.
Okay, so I always used Debian after hating Ubuntu. This was maybe 2014 or something. Someone is telling me to try Kubuntu or Xubuntu. I think I'd rather just use Linux Mint when lazy, then later on figure out why Devuan forked and go back to Debian.
Why is openSUSE (is Enterprise not any good?) memed so hard?
Why is here the only place I see Gentoo mentioned?
Looking at damn maybe it was distrowatch, ranked by popularity I learned some new ones I never see mentioned. I think it was NixOS that is designed to be slimmed down to barebones if you're using it for a server, and I didn't know Slackware still was that popular.
So, I forgot which one starts off with runint not systemd, but it said it was badly documented; think it was started by guys from Oracle. Devuan didn't like systemd. What's the big deal?
You said GNU so why do I never hear anything of BSD? I would think the opensource/foss zealots would be all on FreeBSD's nuts. Why do I never hear of shit running on OpenBSD?
I don't know whether to give Gentoo a try or OpenSUSE (enterprise?) or go back to Debian/Devuan. Probably keep Linux Mint for its compatibility with some Windows software.
But okay xeon e3 v5, 64gb ram, quadro gpu; naturally I wasted money on that RAM. Any reason not to run Qubes and a million VMs? I don't understand why dual booting is still a thing as doubtful you need that level of access to hardware.
So, openSUSE or Gentoo? Which is the meme?
Anthony Diaz
you need to go back
Angel Cox
Good post.
Chase Ross
how can I check for the existence of any jpg in bash?
if [ -e *.jpg ] returns an error if theres more than one .jpg file
Evan Peterson
Why do you need a wildcard? That's your error btw, post the related part of your script.
shitty hack: # returns true if called with at least one argument, # and the first one is a path to a file that exists exists() { local f for f in "$@" do [ -e "$f" ]; return done return 1 }
if exists *.jpg; then ...
Cooper Price
All the Pajeets came over about 18 months ago to practice their shitposting and have killed this thread. If you're still there, try to install to an external first and go from there.
Tyler Watson
You're in bash, so use [[
Parker Parker
that's the default look of rofi launcher
Easton Howard
it is. i don't go out of my way to rice things anymore. the default rofi theme is fine. my wallpaper also hasn't changed since 2012
Jacob Smith
Trying to make the shortest Jow Forums thread downloader, I came up with this: x(){ wget $(wget -qO- $1|grep -Po 'a href="//\Ki.*?[^"]+'); } Usage: x Whatcha think? Can you shorten it further? >Caution: >Only works with GNU grep. >Variables should be quoted for daily use.
what is a good alternative to axure available on loonix? doesn't need to be open source, just available natively
Alexander Butler
thanks user, this worked.
1 #!/usr/bin/env bash 2 exists() { 3 local f 4 for f in "$@" 5 do [[ -e "$f" ]]; return 6 done 7 return 1 8 } 9 10 move() { 11 if exists *$1 12 then 13 numberMoved="$(ls -1q *$1 | wc -l)" 14 mv ./*$1 ~/Pictures 15 echo "moved $numberMoved $1" 16 fi 17 } 18
Jordan Hernandez
Mounting my hdd takes two seconds in systemd. ~ % systemd-analyze Startup finished in 5.431s (kernel) + 5.729s (userspace) = 11.161s graphical.target reached after 5.729s in userspace ~ % systemd-analyze blame | head -n 2 2.031s dev-sda3.device 1.012s NetworkManager.service
How can I lower dev-sda3 time? Is it possible to lower also NetworkManager? Plus, kernel startup can be lowered through custom initramfs?
Eli Ward
In i3 how do I make a command to open something in floating mode? I want to open xfce4-terminal normally with mod+enter, but I want mod+shift+enter to open it in floating mode. I know I can just do >for_window [class="Xfce4-terminal"] floating enable but that will open it in floating mode all the time, and I just want it to do that sometimes. Is this even possible?
Camden Powell
Use another binding for floating terminal, something like this for_window [class="FXTerm"] floating enable bindsym $mod+Mod4 exec xterm bindsym $mod+Shift+Mod4 exec xterm --class FXTerm
Mason Cox
reddit
Cameron Wood
the terminal bell is the most obnoxious thing in the world
Alexander Stewart
disable it then.
Dylan Gray
I shoudln't need to. There's no reason to have it enabled by default.
Luke Lewis
thanks for the helpful answer friend, i hope i'll get to help you too someday
Caleb Walker
Is fish posix compliant? If not has it bitten anyone using it in any way?
Jason Wright
Somebody suggested this before to me and whenever I add --class NameOfClass after a bindsym the bindsym does nothing. Maybe it is a deprecated method?
Aiden Turner
You can add for_window [workspace="5"] floating enable to your i3 config file. So you can go to workspace 5 when you want to open something in floating mode.
It's a config line coming directly for airblader himself. So be respectful.
does someone have a guide on how to set up an inline firewall on debian? I'm having some issues, especially with having two interfaces open at once to let traffic flow through the box
Appreciate the input, but I really want it to open in floating mode whenever/wherever I want.
Camden Sanchez
That's what I asked to airblader, and he gave me that line. I think today it's impossible to achieve that without patching i3 (if you do it, tell it, because it's an awesome feature).
Or you can switch to notion, but notion suck on a lot of points compared to i3.
Liam Moore
Since kernel 4.15 I've had issues with my gpu drivers. (amd r9 380) The only option to boot is "nomodeset" in grub config to use the cpu integrated graphics. Anyone faced this?
Samuel Williams
Some tools require you to install the entire DE package though on Arch, because the way things are packaged in Arch is insanely retarded and bloated. So be careful.
I tend to stick with tools from one DE if I use them, and usually go with gnome because they work nicely with i3 and gtk3-classic.
Camden Nelson
it should be something like bindsym $mod+shift+enter exec xfce4-terminal ; floating toggle but there needs to be a slight delay between opening terminal and executing floating toggle If you know how to you can also have the terminal execute the command i3 floating enable
Adrian Brooks
>Some tools require you to install the entire DE package though on Arch Yes, but you're still not forced to use all the tools of a DE.
Juan Wilson
That's because the guys who maintain the i3 CE think it needs a ton of bloat to "function" properly.
Install Manjaro CLI and install i3 without all of the Manjaro packages for it. It's absolutely pointless. I run around 800MiB memory with a web browser and IDE open. Load average: 0.21, 0.74, 1.45 on a Ryzen 3 2200G.
By why install all the bloat when Debian doesn't force you to?
Alexander Young
I got a question regarding lemonbar if anyone uses it. I want to use ttf and otf fonts with it but default lemon bar in debian archives only supports bitmap fonts. I would prefer not to build from source github.com/krypt-n/bar/ cause I want to use my package manager to update. Am i fucked?
Nathaniel Anderson
>By why install all the bloat Because non running bloat is not bloat. >when Debian doesn't force you to? I like to have updated software.
Took the time to write and perfect my arch install scripts. Basically with 3 scripts I can completely replicate my setup from scratch including setting up an encrypted LVM and asking if I want the drive to be wiped with urandom or not. very comfy I'll probably adapt it to gentoo in the future
nah The only input they need are >hostname >size of root volume >user pass >username >if I want the drive to be wiped read is more than enough for that, and the last one runs in a simple if statement. The whole point of all of this is to be portable between distros and OS's. I tried the last "stage" of my script that fetches dwm injects some configs etc on OpenBSD it worked perfectly there too.
Christian Lee
is it possible to have an i3 bindsym change depending on which window is currently focused? the main idea is that depending whether or not mpv is the current focused window then i wanted the media keys to be used for mpv otherwise if mpv is not the focus then the media keys would be used for mpd would this be possible to do? if so how
Elijah Robinson
You can change the binding via i3-msg, but I'm not sure how you'd trigger it when a specific window is focused.
Daniel Walker
I have the same card and don't recall any issues with 4.15. Sounds like maybe you're missing a firmware file or your distro really fucked up their kernel build.
Benjamin Bailey
>mv ./*$1 ~/Pictures No way that could go bad, no sir.
Xavier Edwards
what's a good way to maintain two directories in two computers synchronized? i want to have my LoL directory on my laptop updated at all times, minus the logs directory
Liam Ramirez
You can use i3-msg to get the workspace name and then just run conditional statements that run a command to change the bindsym depending on the workspace.
2M is a good choice for bs (bytes to be copied at once), some people use more like 4-5M.
Luis Harris
well if you must fucking know LINE FOR FUCKING CLARITY BECAUSE I FUCKING SUCK AT SPELLING AND LIKE TO SPELLCHECK MY MESSAGES BEFORE THEYRE INELLIGIBLE GARBAGE i am curious, the other guide i wrote had me do bs=512k
and for your information the last time i went on fucking reddit was to check if t_d really put my pic on sticky to support my postering campaign. i then went back to the active Jow Forums general will smaller/larger bite size affect accuracy? I'm having a lot of trouble installing kubuntu and backbox to my laptop that, rn, has 0 OS on it and is only runnable from live USB's i have lying around and i'm trying to fix it with kali light through net install
Connor Bell
Always quote your variables.
Benjamin Russell
trying to get my wireless mouse to work on Mint
lsusb shows the device: Bus 003 Device 006: ID 046d:c52f Logitech, Inc. Unifying Receiver
oops, it's device 10 now since I unplugged it a few times
Bus 003 Device 010: ID 046d:c52f Logitech, Inc. Unifying Receiver
Easton Cook
>Unifying Receiver Go to arch wiki and search this
Brody Lopez
finally got it running. had to SUDO command it since i'm from a live kubuntu copy RN. went with bs=512K for safety since that's what kali.org said. i'm hoping that running this from net install will fix the issues i've had with kubuntu/backbox. Each install from USB ends with a crash and no error code outisde of "exit 10" or "grub3 failed loading" or "amd64 not found" or some shit like that.
Josiah Brooks
what kind of god cursed mouse is that to not work out of box with gnu/linux and ecks.argh? I mean, seriously.
Jacob Young
thanks I installed ltunify and got it working
Samuel Evans
i use a mouse like that. it's purple and pretty.
The universal reciever's pins are too low and frequiently come out of contact while in the usb port. bend the bottom or put some card stock in it.
hey you doublefaggot
thank you, i got that shit loaded and now kali is running. Once i figure out how to go to kde or something other then this superminimalist i'll be golden, but at least now i have both INTERNAL WIFI CONNECTION and AN OPERATING SYSTEM ON MY FUCKING ONLY LAPTOP
seriously, thank you.
Aiden Reed
if anyone want's to boost his bash prompt into showing git branch: there is a command defined in git completion for bash that reports it, just insert $(__git_ps1) (or escaped $ if in expanded string) can be replaced with some oneliner that extracts it from an actual git command
I would like to buy a very small (11) laptop for no more than 300 bucks so I can put my fave distro on it. Lenovo is out of the question. How do I know I will get the drivers so it werks at least at 90%? Is there a list of current laptops that work best with linux or do I just assume what works with windows will do??
I actually found a photo of the exact mouse I'm using, got it at goodwill for 50 cents. It's a interesting design, not something I would buy new though
I haven't had a problem with the USB dongle yet but thanks for tip, I may need it later :)
Glad i could help someone else in this thread kinda
How do i switch from xfce to, say, KDE or another more windows-like system? I have no goddamm start bar and i like the start bar and stuff like that. i kinda liked windows 10 since i grew up using windows an shit, and i liked how it shrank away when i didn't want to see that shit. and i'm super fucking happy i have an OS on my laptop, but this baby does have 4gb of ram so i can handle a slightly more intensive GUI
also, what does ctrl-alt-delete do on linux, and what is the equivilent command to look at all running processes and general "oh shit, this shit is fucking crashing an shit the fuck is going on" command.
i got a 15 inch laptop with 1tb, 4gb ram and a i3 for about 300. it was like pulling teeth but if you go in with a USB loaded with your distro of choice you can pressure the guys to load it on there. esp if it's a big box store. i got mine at office max with windows 10
Justin White
>just restored Grub after a wincucks installation in 5 minutes >failed to do it twice >wiped my OS twice >all you had to do was install for bios and not for uefi, cj
Lucas Peterson
Can you use a tripcode so i can filter your retarded posts, please?
Julian Nelson
how do configs works?
I was playing around on someone else's linux setup and like the keybindings and such
Do i just replace my .config with theirs?
Chase Myers
nahhhhhh not the first time i been told that shit tho
good luck user!
Carter Ross
Seriously, all your shit is easily answered by reading the arch or gentoo wiki
just got a 1TB nvme drive to replace my 120gb ssd / drive + 1TB hdd /home drive what's the best way migrate everything over? dd?
Levi Bailey
yeah and i'm learning. i'm googling shit as i get more comfortable.
this isn't the expert questions for expert users. you have to tell people how to chamber their leg before they can understand the vital nature of the upwards pointing heel or the absolute nature of pivoting on the ball of their foot before they can sink their heel with glute power into the back of their opponents head.
YOU MUST TIGHTEN YOUR FIST BEFORE YOU PUNCH THE FUCKER
hell i just upgraded my kali light to kali full from the terminal. did i fucking bug you about that?
Juan Watson
>using kali as desktop distro Thats the problem there retard.
You type all this irrelevant bullshit, are you indian?