|
Use DuckDuckGo OP
|
# ? May 17, 2023 15:22 |
|
|
# ? May 31, 2024 02:26 |
|
Dyscrasia posted:How do Chromebooks do with Linux? I've been looking for a tablet of some sort, a Chromebook running Linux would solve my difficulties with various android tablets. What does the install look like? Does vendor matter? Is this all side by side with chrome os? I use a Pixelbook as my main machine at home. Occasionally I have to boot up the X220 in order to address certain older Arduinos, but otherwise it's just dandy. If you use the Linux subsystem in ChromeOS (which could be what you mean by "side by side with ChromeOS"), the install is just a couple button clicks, vendor doesn't matter. If you want to blow away ChromeOS and have Linux running on the metal, it's probably more involved. I've never done this, though.
|
# ? May 17, 2023 15:24 |
There's also Termux if you need a basic unix-like terminal. It runs on android and chromebooks should run those apps natively. You can also use PRoot in Termux to create environments more like regular distros, but I don't know if the Chromebook kernel has the needed stuff for namespaces and so on to do stuff like run Podman or Docker.
|
|
# ? May 17, 2023 16:09 |
|
The Chromebook question comes down to "is it an arm or x86 chromebook?" If its arm, it does all the androidy stuff well, if its x86 its easy to install linux on. Its basically impossible to install linux on an arm one, because the uefi layer to bootstrap from there only exists for chromeos, and even if you find a replacement its not trivial getting it on, and there is apparently no going back.
|
# ? May 17, 2023 17:08 |
|
cruft posted:If you want to blow away ChromeOS and have Linux running on the metal, it's probably more involved. I've never done this, though. See https://mrchromebox.tech/ for up to date info on which devices have full UEFI roms available. Most semi-recent chromebooks require the battery to be disconnected to disable firmware write protect.
|
# ? May 17, 2023 17:16 |
|
Dyscrasia posted:How do Chromebooks do with Linux? I've been looking for a tablet of some sort, a Chromebook running Linux would solve my difficulties with various android tablets. What does the install look like? Does vendor matter? Is this all side by side with chrome os? The easiest way to run "Linux" on a (recent) Chromebook is to enable the "Linux development environment" option in Settings. This installs Crostini, which is a sandboxed Debian Linux container. You can replace Debian with other flavors, like Arch, if you want. Otherwise it works pretty seamlessly. Recently (a year or two ago?) Google updated Chrome OS to serve as a Wayland compositor, so you can run Wayland or X11 apps under Crostini and they appear on the Chome desktop just like native and Android apps do. The downside to this setup is you don't have access to the bare metal so if you need to directly interact with hardware or the network then this might not be the most viable option. Another option is to run Chrome OS in Developer Mode. This is more-or-less equivalent to running rooted Android, but with Google's blessing, and all Chrome OS devices support it. The main difference here is that Developer Mode directly gives you a root shell within Chrome OS itself. From there you can run "dev_install" to get a barebones Chrome OS developer environment. Since Chrome OS is based on Gentoo, there's an additional set of packages you can emerge too. As a general statement I'd say that Chrome OS isn't really intended to run this way so the software selection isn't ideal. I'm also not sure if you can run GUI apps directly from Developer Mode (that is, I'm not sure if the Chome compositor is "directly" exposed without going through the Crostini plumbing). Related to Developer Mode is the project Crouton, that allows you to install Debian/Ubuntu/etc in a chroot environment with some better Chrome OS integration than you'd get with plain Developer Mode. This has been something of a moving target for a decade now, but recently (also about a year ago) the project has gone into maintenance mode as Crostini is generally the preferred Linux solution where it's viable, and the primary developer of Crouton left Google where this was his 20% project. Still, I continue to use it on my machines since I can do things like run packet captures. The final option is to replace Chrome OS entirely with a full Linux install. This may not be a viable option for the very latest hardware since not all Chrome OS driver support may have been upstreamed yet, but it may make sense for older Intel Chromebooks, especially those that are no longer supported*. The key issue with replacing Chrome OS is that the firmrware and bootloader are custom, and you have to replace it with a UEFI-based firmware in order to boot a standard distribution. MrChromebox.tech is the main source for UEFI/custom firmware builds. This method will require you to do a bit of research to make sure that UEFI and Linux are compatible with a specific Chromebook hardware, but on the plus side, it's a much more open-source setup than your typical UEFI-based PCs. * I'm amused by the idea of installing UEFI on a no-longer-supported Chromebook in order to run Chrome OS Flex. ExcessBLarg! fucked around with this message at 17:27 on May 17, 2023 |
# ? May 17, 2023 17:21 |
|
drk posted:Most semi-recent chromebooks require the battery to be disconnected to disable firmware write protect.
|
# ? May 17, 2023 17:24 |
|
This could maybe go in the printer thread, but I also want scanning, so here goes. I'm tired of loving around with CUPS and leaving a computer on all the time to print things. My wife has an iPhone and a Windows laptop, our daughter has an iPad from school and an old Chromebook running Arch, and I have an Android phone and a host of machines running Arch. I want a (cheap if possible) networked multifunction monochrome laser (or LED I guess) that will let me print and scan from basically anything. I prefer ethernet over Wi-fi, but I'll take what I can get. I don't really want to be locked into any kind of app ecosystem and I don't want any cloud dependence. I would maybe also consider one of those ink jets with the tanks if the ink doesn't blur when you highlight. I would prefer to avoid HP and Lexmark because they seem to always be the two companies trying to use DRM for their own nefarious purposes. PBCrunch fucked around with this message at 18:50 on May 17, 2023 |
# ? May 17, 2023 18:41 |
|
ExcessBLarg! posted:There's a few different options depending on what you're trying to do: You can, but getting all your library versions to align can be a real chore. It is far preferable to use Crostini.
|
# ? May 17, 2023 19:10 |
|
PBCrunch posted:This could maybe go in the printer thread, but I also want scanning, so here goes. I like our Brother laser printer. It is networked and works seamlessly with Windows and several flavors Linux I've used. I had to download some files from the Bother website for Linux but it was very well explained, and was easy to set up. Haven't used their multi function units though.
|
# ? May 17, 2023 19:30 |
|
effika posted:I like our Brother laser printer. It is networked and works seamlessly with Windows and several flavors Linux I've used. I had to download some files from the Bother website for Linux but it was very well explained, and was easy to set up. I've owned a few different Brother laser printer/scanner and they've all been great with Linux once you install the drivers. I'm doing document feeder scans over the network like a pro
|
# ? May 17, 2023 21:18 |
|
cum jabbar posted:I've owned a few different Brother laser printer/scanner and they've all been great with Linux once you install the drivers. I'm doing document feeder scans over the network like a pro This is good to know! I have a B&W Brother laser that prints like a champ other than sometimes needing to be manually awakened from deep sleep, and have been pondering an upgrade to multifunction.
|
# ? May 17, 2023 21:19 |
|
I've been using the same Brother laser since 2008 and it's been a champ. They support PostScript ("BR-Script"), IPP, and explicitly mention Linux support, so they're pretty hassle free. Taking a brief look though on Amazon it looks like they might be doing the DRM thing now or at least pushing their subscriptions? I mean, I'm not a high-volume printer I've probably replaced toner once and the drum never, and I'm not so cheap that I wouldn't purchase OEM anyways. But I'd take note of it.
|
# ? May 17, 2023 21:56 |
|
cum jabbar posted:I've owned a few different Brother laser printer/scanner and they've all been great with Linux once you install the drivers. I'm doing document feeder scans over the network like a pro In my experience installing drivers for printers in 2023 is the wrong move. Pretty much everything supports IPP, and you don't have to worry about trying to extract some obscure binary from a decade old rpm package. Don't get me started about label printers that are still super cursed though
|
# ? May 17, 2023 22:06 |
|
Thanks for all the Chromebook details, ive got some evaluations in front of me!
|
# ? May 17, 2023 22:42 |
|
drk posted:In my experience installing drivers for printers in 2023 is the wrong move. Pretty much everything supports IPP, and you don't have to worry about trying to extract some obscure binary from a decade old rpm package. Label printers that speak ZPL II are fine and good as long as you're comfortable with handwriting your label code. Dump ASCII over TCP or serial or serial-over-USB and all is fine. On windows you can use the "Generic/text only" driver that's presumably kept around for dot matrix printers or something, type some ZPL in notepad, and it'll work. I can only imagine how trashy the "pretend to be a normal printer"-drivers for linux are, though.
|
# ? May 18, 2023 03:21 |
|
.
Mescal fucked around with this message at 23:39 on Aug 25, 2023 |
# ? May 19, 2023 22:17 |
|
"pip3 list -v" should list where your currently installed packages are. pip normally installs packages in /usr/lib/python3.x/site-packages if you run it as root or in your home directory otherwise, probably in .local/lib/python3.x/site-packages But if you're using a customized Python installation or virtual environment all bets are off.
|
# ? May 19, 2023 23:22 |
You should be able to use whereis to search your $PATH and find the location of a binary.
|
|
# ? May 19, 2023 23:24 |
|
If you have: -Ran pip as root (or through sudo) -Installed anything directly to / then now your system is cursed and nothing will ever work correctly. Give up. The fact that pyradio launches even though you hadn't installed it yet should be your first clue that something spooky is going on.
|
# ? May 19, 2023 23:26 |
|
Would it be reasonable to use something like truss to track every open call pyradio makes, and grep for the config file name to see which paths it tries - or is that way overthinking things?
|
# ? May 19, 2023 23:28 |
|
VictualSquid posted:If you have: That would be a relief.
|
# ? May 19, 2023 23:36 |
|
If you're trying to install and run python applications, use pipx otherwise you're in for a world of pain, either now or next time you do a distro upgrade
|
# ? May 20, 2023 00:09 |
|
Mr. Crow posted:If you're trying to install and run python applications, use pipx otherwise you're in for a world of pain, either now or next time you do a distro upgrade Its vaguely (if you squint at it sideways) like AppImage for python
|
# ? May 20, 2023 00:11 |
|
Mr. Crow posted:If you're trying to install and run python applications, use pipx otherwise you're in for a world of pain, either now or next time you do a distro upgrade code:
|
# ? May 20, 2023 00:16 |
|
It's like Simon Says. Sudo apt install this, sudo apt install that, sudo apt install again, sudo pip3 install oops I mean, I didn't say "oops" out loud cause I didn't know yet, but you know. It's a habit. E: I was just trying pyradio again cause of my pride, obviously my system's more important. Mescal fucked around with this message at 00:56 on May 20, 2023 |
# ? May 20, 2023 00:23 |
|
You can still keep doing things the old way, just tell it --break-system-packages, no big deal.
|
# ? May 20, 2023 00:47 |
|
So how do I look at my backups and know if they were done before or after i sudo pip'd?
|
# ? May 20, 2023 01:32 |
|
The best way to recover would be to use your package manager to list python packages installed, diff it with pip and uninstall all pip packages not in that list, then whatever your package managers version of reinstall is for the Python packages. The last part is probably unnecessary but
|
# ? May 20, 2023 02:15 |
|
To be honest ive never had problems with sudo pip but it is potentially overwriting system packages
|
# ? May 20, 2023 02:17 |
|
Mescal posted:So how do I look at my backups and know if they were done before or after i sudo pip'd? You could try checking /var/log/auth or /var/log/secure to find out when you ran the sudo command. Timestamped Bash history can also be very useful, put in your .bashrc the following. code:
|
# ? May 20, 2023 02:41 |
|
Mr. Crow posted:The best way to recover would be to use your package manager to list python packages installed, diff it with pip and uninstall all pip packages not in that list, then whatever your package managers version of reinstall is for the Python packages. The last part is probably unnecessary but A minute ago you said I was hosed? Saukkis posted:You could try checking /var/log/auth or /var/log/secure to find out when you ran the sudo command. Timestamped Bash history can also be very useful, put in your .bashrc the following. Good tip ty. Excellent tip.
|
# ? May 20, 2023 03:42 |
|
Mescal posted:A minute ago you said I was hosed? No?
|
# ? May 20, 2023 04:02 |
|
I did say you are hosed, because you do not sound skilled enough to fix whatever you have done with your system without reinstalling. Anyway I checked the pyradio github and followed the instructions there and here is how it looks on a not cursed system. And it automatically created the config file when I started pyradio the first time, as promised by the manual. code:
VictualSquid fucked around with this message at 11:18 on May 20, 2023 |
# ? May 20, 2023 10:43 |
Am I crazy or are 9/10 Nix users insufferable elitist pricks? I'm in a discord that the Dev for Fleek uses which is a wrapper for Nix's home manager which allows you to use imperative commands like a regular package manager to create the declarative Nix file. It basically simplifies the dreadfully complex Nix workflow into simple "install this" or "update" commands while still producing a reproducible nix file you can upload to github to rebuild your installed environment easily. I don't personally use this because I don't have a complicated setup that can't be easily recreated with a handful of flathub installs. However the discord is just a constant stream of Nix users driving by saying they are using Nix wrong and they should shut down the project or not use it. Every other place I've seen Nix come up its just the users interjecting in unrelated topics to espouse the superiority of Nix over ostree or whatever. Is this the experience other folks have had with the Nix userbase too?
|
|
# ? May 20, 2023 12:19 |
|
I use Arch
|
# ? May 20, 2023 12:26 |
|
Nitrousoxide posted:Am I crazy or are 9/10 Nix users insufferable elitist pricks? I'm in a discord that the Dev for Fleek uses which is a wrapper for Nix's home manager which allows you to use imperative commands like a regular package manager to create the declarative Nix file. It basically simplifies the dreadfully complex Nix workflow into simple "install this" or "update" commands while still producing a reproducible nix file you can upload to github to rebuild your installed environment easily. I haven't had the pleasure, but this seems like a general problem with any project that invents a different way to do something, especially if it has a clear philosophy of how things work now - people get weirdly invested. (This is not limited to software.)
|
# ? May 20, 2023 12:38 |
|
Nitrousoxide posted:Am I crazy or are 9/10 Nix users insufferable elitist pricks? I'm in a discord that the Dev for Fleek uses which is a wrapper for Nix's home manager which allows you to use imperative commands like a regular package manager to create the declarative Nix file. It basically simplifies the dreadfully complex Nix workflow into simple "install this" or "update" commands while still producing a reproducible nix file you can upload to github to rebuild your installed environment easily. This sounds like every software project ever, except mod_virgule
|
# ? May 20, 2023 14:34 |
|
Wow I literally forgot Advogato existed.
|
# ? May 20, 2023 14:36 |
|
|
# ? May 31, 2024 02:26 |
|
Raph is a cool dude and working with his code was a real pleasure.
|
# ? May 20, 2023 14:44 |