Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.
*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***
Before asking for help, please check our list of resources.
If you would like to try out GNU/Linux you can do one of the following: 0) Install a GNU/Linux distribution of your choice in a Virtual Machine. 1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything. 2) Dual boot the GNU/Linux distribution of your choice along with Windows or macOS. 3) Go balls deep and replace everything with GNU/Linux.
Resources: 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%
So I have a pretty weird problem. I’ll be using my HP Elitebook 2540p with debian installed and all of a sudden the screen flickers and pixel by pixel it will go black, with only a couple of green-ish pixels left. This has happened before some time ago, same laptop same OS. At least I am pretty sure it was debian. I have used arch for quite some time but now I am back at debian. It could be a hardware problem, but I doubt it since it never happened with arch.
Does anynody know what the frack is going on?
Oliver Bell
I actually have Debian testing installed on my eltebook 2760p (different to yours but anyway) and it's flawless. Maybe it's your hardware issue? Or maybe try testing because they have quick bug fixes
Caleb Harris
>create service.service in ~/.config/systemd/user >systemctl --user start service.service >service file not found NANI?
William Hughes
In arch, should I better use pacman or pip for python stuff? pacman -S python-numpy or pip install numpy Which one is best practice?
Anthony Hughes
pacman, pip will give you existing files in filesystem errors when you update the system
Wyatt Ramirez
From what I gathered so far, it is a good idea to use pacman for my main install and pip inside virtualenvs. What do you think about it?
>virtualenvs I dont like managing a billion env's when you can literally install them with pacman and not have to fuck around with them or worry about it. Arch has a fuck ton of packages and if its missing its easy to take the skel PKGBUILD and add in the package you want
John White
I usually program stuff as a hobby for myself but I read it is best practice to distribute your python stuff with a requirement.txt and and do your work in a virtualenv
Grayson James
>distribute Setup a chroot environment for your developing.Still use pacman
Aaron Butler
OK, thanks. I'm going with pacman.
Logan Edwards
Some additional info; I was using gedit as it happened, and I quickly hit Ctrl+S to save, but when I rebooted the changes had not taken effect.
Joseph Foster
And I run debian buster/sid
Ayden Hernandez
I want to switch from plain text files for notes to something more structured. First I tried markdown but ReText and grip don't handle Github style internal links which I want for a table of contents.
Now I'm using vim help file format because links are easy and I don't mind viewing my documents in vim. I don't really want to learn Latex because it seems like overkill for just a table of contents, some paragraph formatting, and lists here and there.
What's a decent minimal configurable yet beginner friendly userland setup for somebody wanting to start with a fresh CLI set up of Debian?
I haven't decided between Openbox or i3 yet. Have used i3 for a long time but I think I'd rather have a stacking manager by default with the ability to snap and tile windows by keybind.
I currently use PCmanFM as a file manager with gvfs, unzip, unrar, and xarchiver. I only use it when I need to do more than touch, mv, or cp.
I've always used termite as a terminal emulator.
Mousepad for text editor and use Geany as well.
What are some recommended programmers for somebody starting from a non X install for starters?
Noah Jackson
Stay calm and use cwm
Luke Kelly
Actually looks quite comfy.
Isaac Ramirez
I've used it on OpenBSD, it's pretty cool... these days I use MATE Desktop Environment on Debian Stable all day long, it's best for me, bbut yeah cwm is a nice little wm
Thomas Gray
Have you used JWM?
It looks very basic with XML configuration. Could make custom scripts for tiling with xdotool or use one of the popular ones like pytile.
Isaac Flores
Funny, that's basically a collection of companies who have been angry at GNU/Linux forever. Then again, the Linux Foundation is just a happy merchant, trolling people into paying for nothing, so it isn't even bad making these companies pay.
Christian Garcia
>windows 2000 VM >literally stone age "microsoft tools for UNIX" package >can access the NFS shared of my debian server running stretch Why do people bother with samba again?
Joseph Butler
>Linux Foundation Oh yeah, the LOOOONIX foundation, which is led by a macfag.
Jack Wood
If I buy a laptop with nVidia dedicated graphics (930MX), will I have to battle any driver issues with Fedora?
Seems basically the same as qutebrowser and uses the same engine so I guess that means it would have roughly the same rendering and support for websites. But I wonder if it has any advantages/disadvantages over qutebrowser. Apparently it's extensible in lisp, which is awesome in my opinion.
Nathaniel Brown
Well fuck. I found a device with intel HD that was almost perfect but the display is 1366x768. There's an FHD version that I want but they throw in the video card. What kind of problems can I expect if I buy it? Will the card be ignored and the Intel HD get used instead or will it just used the nVidia card to less than maximum potential?
Jason Campbell
it depends on webkit2gtk (gtk) while qutebrowser depends on qtwebengine (qt)
James Morales
I have a script #!/bin/bash battery_level=`acpi -b | grep -P -o '[0-9]+(?=%)'` echo $battery_level if [ $battery_level -lt 100 ] then echo $battery_level notify-send "Battery low" "Battery level is ${battery_level}%!" fi
and I am running it through cron, it exists in my home directory, but even though cron says it has run ~/batterylow2.sh in the syslog it doesn't output a notification like it should
Noah Cook
Always quote your variables.
Henry Evans
>`` deprecated, use $()
Isaac Sanders
In bash, use [[ instead of [. Also, what's your crontab? Is the script executable?
Camden Wright
the script works fine when I run it on its own its just doesn't show a notification when I get cron to run it.
Bentley Stewart
# Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').# # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command */1 * * * * ~/batterylow2.sh
Samuel Foster
I did chmod +x and 755 on it as well and it does work, just not through cron, even though cron says it has run it in syslog
Jason Morales
>microsoft tools for UNIX deep lore
Christopher Perry
Any suggestions on a linux distro for forensics and malware analysis? I’d prefer to be able to install it to a USB so I can turn any computer into a lab, after disconnecting the hard drive of course.
Mason Carter
mx linux is good on flash drives
Gabriel Davis
Just use mainline.
Lucas Lopez
i haven't, looks cool tho.. eventually just got to the point where I want the OS to be a means, not an end... rip reinventing the wheel
Ian Rogers
>install to USB Does anyone at this board know correct tech terminology?
I'm in the market for a tablet, but they all seem like shit and Huawei is confirmed botnet, so I'm forced toward an IPad. How well does it integrate with the Linux ecosystem?
Logan White
After updating Debian from Stable to Buster, I found out I cannot upgrade or dist-upgrade. DPKG throws an error saying:
/var/lib/dpkg/info/passwd.postinst: 21: /var/lib/dpkg/info/passwd.postinst: getent: not found groupadd: group 'shadow' already exists Group ID 42 has been allocated for the shadow group. You have either used 42 yourself or created a shadow group with a different ID.
"Please correct this problem and run dpkg --configure passwd".
When I run the configure command, it tells me the same error.
Any idea how I could fix this issue?
Thanks, guys.
Evan Jones
It is inadvisable to describe the free software community, or any human community, as an “ecosystem,” because that word implies the absence of ethical judgment.
The term “ecosystem” implicitly suggests an attitude of nonjudgmental observation: don't ask how what should happen, just study and understand what does happen. In an ecosystem, some organisms consume other organisms. In ecology, we do not ask whether it is right for an owl to eat a mouse or for a mouse to eat a seed, we only observe that they do so. Species' populations grow or shrink according to the conditions; this is neither right nor wrong, merely an ecological phenomenon, even if it goes so far as the extinction of a species.
By contrast, beings that adopt an ethical stance towards their surroundings can decide to preserve things that, without their intervention, might vanish—such as civil society, democracy, human rights, peace, public health, a stable climate, clean air and water, endangered species, traditional arts…and computer users' freedom.
I am on Arch and this has been happening every time I reboot since I pacman -Syu'd two days ago.
Asher Williams
Mi Pad 4 (Plus) is a good and affordable Android tablet.
Colton Nelson
Got two really dumb issues: 1) Ubuntu 18.04 with GNOME. When I've got a VM open (Oracle Virtual Box) and mouse integration is turned off, the mouse inside the guest OS will sometimes be frozen halfway across the guest OS screen and cause the host OS's GNOME overview to appear. This didn't happen in Unity. 2) Back in Ubuntu 16.04, I found a way to disable my laptop's internal speakers at such a deep level that they don't even show up in Pulse Audio, or any other audio programme like it. Now that I've upgraded to Ubuntu 18.04, I can't find any way to un-disable them. Does anyone know of a fix?
Switch to linux-lts --- the newest non-lts kernel always has dumb shit like this going on.
Thomas Scott
you're not using gnome, are you?
Matthew Fisher
Non distro-hopper answers, pls. Need one with the proper tools and live boot. No persistence is preferred to prevent malware spreading.
Elijah Scott
I am, sadly
Carter Walker
so there's your problem, switch to kde or some other DE
Dominic Jenkins
Retard
Ryder Peterson
I like gnome and enjoy using it, aside from when systemd makes stuff like this happen. Is there a way to fix it?
Oliver Young
t. coraline ada emhke
i don't know, I just googled your error from the original post, those kinds of stop jobs on shutdown used to happen to me all the time when I used manjaro(i know, i know), and i found that it's a gnome bug see also , though
Jace Reyes
kys fag
Parker Torres
excellent arguments, reddit
Evan Murphy
>using google Retard
>guy has random problem >lmao switch your DE for max meme points xD Retard
Isaiah Sullivan
why are gnome devs so retarded?
Jaxon Brown
samefag
Brody Lewis
...
Charles Diaz
>waiting for the gnome blog link. *popcorn*
Eli Scott
I'm using i3 with dmenu on my laptop and by default dmenu is bound to Win key + d. I really like dmenu, but I don't like the way it's configured out of the box. I know that I can customize dmenu on the go by typing options after dmenu_run, like in the following lines: dmenu_run -b - l 3 *this displays dmenu at the bottom of the screen on 3 vertical lines instead of the usual horizontal line*
The problem is that once I run dmenu by pressing Win key + d like I usually do, dmenu displays in the default way. Could you tell me how I could make dmenu changes permanent? Thank you
what are the differences between tmpfs and ext4? i've been people using tmpfs for persistent memory on disk drives
Justin Baker
>Set up a system, like a web server with a database for example >Decently understand the core components and underlying system to the point where it works and is maintainable >There are also thousands of libraries, modules, plugins, files, widgets, gadgets, whatsits, and whosits that are a mystery to me beyond knowing what component they're associated with Are there people that know and understand every component of a system like this? Can this be expected of anybody? This is leaving hardware and actual source code out of the equation. I'm installing mastodon on ubuntu server and there are currently 291,910 files on the disk. Is there anyone that could be doing this that would know what every file is and does?
Thank you. exec --no-startup-id dmenu_run -b -l 3 [write other options here like colours and font settings] Would these lines in my i3 config file do the trick?
Lincoln Martinez
that would just run dmenu_run once when you start i3wm. you should already have a line with dmenu_run, it's been a while since i used i3 but it should look something like bind $mod+d dmenu_run add your options to that
Jaxson Peterson
Oh right! Thank you for reminding me about that, how couldn't I think about it earlier?
Jose Edwards
there's little advantage to using slow settings on the first pass, the first pass is just to figure out distribution, the actual video result is discarded
Nathan Lewis
So Im trying to get this look of conky, but after I modificate config file following these steps: linuxconfig.org/system-monitoring-on-ubuntu-18-04-linux-with-conky#h7-conclusion , conky just disappears from desktop and no matter what i do i cant get it back... Did I miss something or am I just retarded? (I checked for this issue on stackoverflow, nothing helped so far)
So it's good practice to keep /home on a different partition, but on the user side I assume there's no practical difference with /home in the same partition as the installation? As in, pictures/documents etc links in the file manager points correctly, as is application dot files too?
Cameron Bell
Is there any shop where I can buy decent Tux plush?
James Stewart
Why would you want to do this?
James Perez
the point of having separate partition is for convenience backup
Asher Scott
>aurman dev threw another fit and is now done with public deving wew
Christopher Johnson
the only difference backup-wise is whether you use your tools "one filesystem" option or "include/exclude" option, that's all it's not really a good reason by itself
Wyatt Miller
I installed Ubuntu onto my laptop and for some reason i can't connect to wi-fi, it always asks me to enter the password, after i do so it says that it's connecting and after a little while it asks for the password again, i didn't make any mistakes while writing the password i tried to do this over 20 times now, i then installed mint thinking that installing another distro would help but it seems to change nothing
Oliver Miller
Try changing the wifi channel for your wireless router.
Nolan Hughes
maybe you are doing something wrong during booting new system into your laptop... I would check stackoverflow, 95% of your problems are solved there for years
Nathan Robinson
I want to put something on desk, I find Tux cute, so why not. Its small footprint will go nice there. I am also considering a horse or zebra plush, but can't really find a decent and not creepy looking one for cheap.