[03:54] <rwinner> Hi, my Ubuntu partition takes up the whole drive, I'd like to shrink it with parted down to 100 GB or so.  Is this generally safe? Ubuntu takes up about 22 GB right now...
[04:28] <webchat24> After dd the iso into a usb drive, booting from usb drive, and verifying sha256sum, I see it being different than the one posted. Does it mean that xubuntu changes something on usb drive when booting from it?
[04:35] <alkisg> webchat24: the .iso file system is read only, its contents cannot be changed
[04:35] <alkisg> Which file is reported to be different?
[04:39] <usbdd> I have downloaded uni to iso image, dded it into usb drive, booted from that usb drive, and run sha256sum on the usb drive (for the size of the original iso), and I see that sha256sum differs .  Is this expected?
[04:41] <alkisg> Yes because your drive has a different size than the iso
[04:41] <alkisg> If you only check the first X bytes, it should be the same
[04:41] <[code]> they left. again.
[04:42] <alkisg> Did you see the answer as webchat24 ?
[04:42] <usbdd> No, can you please paste it again, for some reason webchat disconnects
[04:43] <alkisg> Yes because your drive has a different size than the iso
[04:43] <alkisg> If you only check the first X bytes, it should be the same
[04:44] <usbdd> I did specify bs and count correctly when doing dd command feeding data to sha256sum
[04:45] <usbdd> Actually, i played with it, and it is the first (head) bytes that are different …
[04:45] <[code]> if you want to check the data was downloaded successfully then check the checksum on the iso. if it matches then you downloaded it successfully. the disk has a different size and won't generate the same checksum unless you constrain the comparison to the same number of bytes as the iso
[04:45] <alkisg> Which commands are you running exactly?
[04:46] <usbdd> I did diff on last  (size-4K) and they were identical
[04:46] <alkisg> Also, when Ubuntu.iso boots, it again md5sums the contents
[04:46] <[code]> also deb packages have builtin checksums. if you're concerned that your usb drive is bad or some how faulty, you'll get errors if it is as it installs
[04:47] <usbdd> Yes, but what if my system that I used to dd original iso into USB is tainted?
[04:47] <[code]> usbdd: then check the pgp signature
[04:47] <usbdd> But if the system I am running it on is tempered, how would that help?
[04:48] <[code]> you can cryptographically verify it wasn't tampered with by verfiying the gpg signature.
[04:48] <[code]> usbdd: what do you mean?
[04:48] <usbdd> I can verify the iso, but not what my (potentially tempered system) writes into uab
[04:48] <alkisg> If they tainted ALL executables, including dd and gpg and shasum, then ok. How possible do you think that is?
[04:48] <[code]> usbdd: at some point you're gonna have to "trust"
[04:49] <[code]> if not go off and write templeOS 2.0 and share the crazy
[04:50] <[code]> usbdd: more seriously. do you have a reason to suspect your machine is not trustworthy?
[04:50] <usbdd> So, I thought I would boot from USB, and run sha256sum on the USB, making sure it matches the advertised sha256sum … but it is not, because as it looks to me, when Ubuntu boots from USB, it writes something small at the beginning of the USB.  I am not sure if it is the Ubuntu, or perhaps the boot loader?
[04:51] <[code]> i don't think i've ever seen a rootkit or common hacker tools that patch dd to look for writing an ubuntu executable and inject compromised executables in to the usb disk. there are far easier ways in to a system than that. that's a bit "contrived"
[04:52] <[code]> usbdd: did you compare the checksum before booting?
[04:52] <[code]> usbdd: and did you constrain the check to the same number of bytes as the iso image?
[04:52] <usbdd> Yes, but I did it from a potentially tempered system
[04:52] <alkisg> Paste the EXACT commands that you use to compare
[04:52] <usbdd> Yes, it was always the same number of bytes
[04:53] <alkisg> You probably oversaw something
[04:53] <[code]> usbdd: $5 says it's not tampered in a way that would prevevt you from writing an ISO to a usb disk safely
[04:54] <usbdd> Dd if=/dev/sdc bs=1791655936 count=1 status=noxfer | sha256sum
[04:54] <[code]> usbdd: how exactly would dd "tamper" with a usb drive and the drive have the same bytes as the ISO?
[04:54] <[code]> is it gonna modify the ISO too?
[04:54] <usbdd> Please note that this is actually latest xubuntu iso, so the size matches the xubuntu … I run the s and command from potentially tempered system, and then from booted usb, and sums are different
[04:55] <[code]> that's very interesting
[04:56] <usbdd> Look, I can write a program that can do that, so I am sure a hacker can do it too …
[04:56] <usbdd> I wonder if it is the Casper image, or whatever that persistent storage that Ubuntu has
[04:56] <alkisg> You can recreate a squashfs with the same size?
[04:57] <[code]> why would a hacker do that when there are far easier ways in to a system?
[04:57] <[code]> there would be more obvious signs that the machine was hacked
[04:58] <usbdd> Code: you are saying that as if know a few backdoors … I just want to know if on boot Ubuntu modifies something on the usb drive it is booting from
[04:58] <usbdd> Code: it could be one way to spread, or retain persistence
[04:59] <[code]> so verify the checksum on dd
[04:59] <[code]> it's well known
[04:59] <[code]> and yes i knwo about the compiler, compiler trust problem.
[05:00] <alkisg> Can you upload the first 512 bytes that are different somewhere?
[05:01] <[code]> usbdd: the live bootdisk does
[05:01] <usbdd> Ok, so is it possible that during boot from usb Ubuntu modifies some content on usb?
[05:01] <[code]> yes
[05:01] <alkisg> Persistence doesn't work if you used dd
[05:01] <[code]> which is why i said to check it _before_ booting
[05:01] <usbdd> Code: I did check it before booting, and it was OK …
[05:02] <[code]> usbdd: so you should know
[05:03] <[code]> is your web browser tampered with? It might be replacing chat messages with disinformation.
[05:04] <usbdd> I will upload the first 1k bytes that differ shortly …
[05:18] <usbdd> Don’t know where to upload it … BUT, I did the hexdump, and then a diff and the only difference is the 16 bytes at offset 0x1e0 (480) … in the case of the iso it is all 0s, but in the case of the usb it is some non zero data
[05:19] <alkisg> usbdd: if Ubuntu was modifying the iso, it would mean that anyone that booted an .iso with a VM, and md5sum'ed it later, would get a different result
[05:19] <alkisg> I highly doubt that Ubuntu modifies it, even as a bug
[05:19] <alkisg> Did you try to install grub to /dev/sdc while installing it?
[05:20] <alkisg> You can use xxd to upload the contents in any pastebin
[05:20] <usbdd> I did not install anything
[05:23] <alkisg> ubuntu46: is that xubuntu-21.10-desktop-amd64.iso ?
[05:27] <usbdd> For usb: https://pastebin.com/iHknivB1 and for iso: https://pastebin.com/UpJeXuEs
[05:28] <alkisg> usbdd: I just booted  xubuntu-21.10-desktop-amd64.iso in a VM and it's sha256sum is still c6eeb0fea343770f6a97701df1794c0b16f3b5e203407db564521e65ebb944b1
[05:28] <alkisg> usbdd: what you uploaded is not  xubuntu-21.10-desktop-amd64.iso
[05:29] <alkisg> Which iso exactly are you using?
[05:29] <usbdd> Ok, to be exact, I am using xubuntu 20.04.2 … when you boot it in VM did you boot as iso or as usb?
[05:29] <usbdd> Sorry, 20.04.3
[05:29] <alkisg> As iso. I'll download 20.04.3 and dd it into a disk and test
[05:29] <usbdd> Thanks
[05:40] <alkisg> usbdd: you are correct
[05:41] <alkisg> I would file a bug report for this; although they abandoned isolinux in the newer CDs
[05:41] <alkisg> So I'm not sure if that's still the case in 21.x
[05:41] <usbdd> alkisg: I actually just tried it in qemu, and in my case it did not modify the image :(
[05:41] <alkisg> To be clear: dd'ing xubuntu-20.04.3-desktop-amd64.iso into a disk and booting a VM with it, modifies a few bytes at its start
[05:42] <alkisg> Of course booting the .iso directly doesn't, as then it's presented as a CD and it's not writable
[05:42] <usbdd> you are right, I just booted the iso
[05:44] <alkisg> It might be something as innocent as "updating grubenv" (grub is used in uefi mode), but still, it shouldn't do it
[05:45] <usbdd> btw, are ubuntu images signed?  in other words, is there a way to verify them using secure boot? (for now I always had secure boot disabled, but perhaps it is time for me to enable it)
[05:45] <alkisg> Secure boot in Ubuntu doesn't help as the initramfs isn't signed
[05:45] <usbdd> oh, thats convenient, lol
[05:46] <alkisg> Persons can still get root with it; they miiiight be prevented from loading unsigned modules though
[05:46] <alkisg> If you generate a bundle of kernel+initrd and sign it with your own MOK key, it's possible to have a somewhat more secure boot, but in your own kernel/initrd, not the stock iso
[05:48] <usbdd> thanks ... i think it is too much work for me though
[05:50] <alkisg> Since we verified that the problem is with xubuntu.iso, you have no reason to research it further
[05:50] <alkisg> (regarding a possible hack, that is; while you could research why xubuntu.iso does that...)
[05:51] <alkisg> Inside my VM, I see an iso9660, a vfat and and ext4 partition. Not sure why. Maybe it's related to one of them.
[05:57] <alkisg> Hmm, I wonder if newer casper has code to automatically create an ext4 partition for persistence...
[05:58] <alkisg> (or logs/user data)
[05:58] <alkisg> That would explain everything
[05:59] <usbdd> thats what I suspect too, but the diff bytes are only at the beginning in my case ... perhaps it is a pointer to the persistent storage later on the disk, beyond the original iso
[06:00] <alkisg> Boot the stick and check if you have an ext4 partition that fills the disk
[06:00] <usbdd> but then it would suck ... what if I write my hidden crypto data at the end of the disk?
[06:00] <alkisg> Resize first, put hidden data later
[06:01] <alkisg> Now YOU are the hacker...
[06:01] <usbdd> I watched to many documentaries on netflix recently ...
[06:28] <ivo_> Hey guys. I installed gnome software and tried installing software through it .... but it just hangs and seemingly does nothing. Using the cli works just fine. Did you also had similar issues?
[06:30] <KBar> Hey. No. You have to be more specific. You installed GNOME Software on what distro? What version? Is it a snap or a deb package?
[06:31] <ivo_> the latest unstable ubuntu
[06:31] <ivo_> I just did apt install
[06:31] <KBar> Jammy 22.04 yesterday's build?
[06:32] <ivo_> and am trieng to install some app from flathub. The green progress bar remains completely inactive ad nothing happens
[06:32] <ivo_> Ohh I meant 21.10 (the latest non lts)
[06:35] <KBar> ivo_ it already has Ubuntu Software.
[06:36] <KBar> Installing GNOME Software is redundant and frankly may mess everything up.
[06:36] <ivo_> Ohhh no it hasn't. It is the minimal server aarch64 version. I am using it on a mac mini m1. So needed to go a differen troute with the instalation.
[06:37] <KBar> I see. That's why you need to be more specific.
[06:37] <ivo_> I did the minimal install and than apt installed the ubuntu-desktop. And sadly there was no grafical app store
[06:37] <KBar> Not familiar with servers, sorry.
[06:37] <ivo_> Kbar, you are right :).
[06:38] <ivo_> *I use it as a desktop ... but the non functioning app store ui is annoying
[06:39] <ivo_> the snap-store works better, maybe will switch
[06:39] <KBar> snap-store is the default now.
[06:40] <ivo_> yep ... but sadly doesn't search the flathub :(
[06:40] <ivo_> and looks a bit glitchy
[06:40] <ivo_> *fonts are weird
[06:40] <nshire> my rpi on 21.10 doesn't want to connect to wifi with the appropriate settings in network-config
[06:40] <KBar> Yes, it doesn't support flatpaks.
[06:41] <nshire> does SSID need to be in quotations? heard opposing advice
[06:41] <nshire>     access-points:
[06:41] <nshire>       "$NAME":
[06:42] <KBar> ivo_ you may wish to file a bug report with `ubuntu-bug PACKAGE_NAME`.
[06:43] <ivo_> KBAr, will find out where and maybe will.
[06:43] <ivo_> *It is kinda low prio
[06:44] <KBar> ivo_ well, it's good to report it asap, because you may forget about the problem after you've found a workaround. But of course it's up to you.
[06:45] <KBar> nshire no, it doesn't. Is the connection at least listed?
[06:45] <nshire> its running headless
[06:46] <ivo_> Ohh KBar I just realized ubuntu-bug is an app I can just execute. I'll report it right away.
[06:47] <KBar> ivo_ great! Thank you.
[06:53] <work> 1
[07:06] <ceco> @nop
[08:58] <zetheroo> Ubuntu 20.04 - Thinkpad P14s
[08:58] <zetheroo> Internet, not LAN, connectivity fails after some minutes when connected only via Ethernet connection (WiFi connection does not have a problem).
[08:58] <zetheroo> Ethernet and WiFi connections are both DHCP.
[08:58] <zetheroo> I have already rebooted the Switch (which has over a dozen other systems connected to it ... without this problem), using a brand new Ethernet cable, changed to another Switch port and patch panel port.
[08:58] <zetheroo> Any ideas?
[09:01] <jeremy31> Have you looked at the syslog to see what happens when the connection drops?
[09:02] <zetheroo> yes, there was nothing
[09:03] <zetheroo> the connection doesn't drop. Only Internet access to down.
[09:03] <zetheroo> I can still access everything on the local network
[09:04] <jeremy31> Can you ping 8.8.8.8
[09:24] <zetheroo> I don't know if this message got through -> it just happened again - ping 8.8.8.8 fails
[09:25] <zetheroo> Someone solved the problem by re-installing the Windows drivers https://askubuntu.com/questions/653994/ubuntu-internet-stops-working-after-a-few-minutes-wifi-stays-connected-though
[09:25] <zetheroo> I guess I'll give that a try :/
[09:57] <VIA> https://ibb.co/PG3p0Tt
[09:57] <VIA> ^^hey all! can anyone tell me if this means smthn/what it means??
[09:57] <VIA> i was prolly just slashing my kb fixing it, not sure
[10:05] <KBar> Is there any way to rebind Control-Backspace (in gtk) to Alt-Backspace (traditional readline/Emacs)?
[10:07] <KBar> I keep mixing them up. :-(
[10:22] <zetheroo> I re-installed the Ethernet driver in Windows and so far it's working without Internet failing (45min) ...
[10:23] <pankaj> Hello, Is their anybody here?
[10:24] <lotuspsychje> 1000 users are pankaj
[10:24] <lotuspsychje> how can we help you today pankaj
[10:25] <pankaj> lotuspsychje: I need help with microservices in react?
[10:25] <jeremy31> zetheroo: is hybrid shutdown disabled in Windows?
[10:26] <zetheroo> jeremy31: yes
[10:26] <zetheroo> one of the first things I do on any Windows 10 install
[10:27] <jeremy31> zetheroo: Are you shutting down Windows and booting into Ubuntu or just rebooting?
[10:28] <zetheroo> jeremy31: this time I shutdown Windows and powered on into Ubuntu
[11:06] <pikapika> Whats the best recommended steps to copy over an installation to a new machine?
[11:06] <pikapika> An exact copy isn't necessary, think of it more as a migration
[11:07] <EriC^^> pikapika: clonezilla maybe
[11:07] <pikapika> EriC^^, its a different model laptop
[11:07] <pikapika> would that be a problem
[11:07] <EriC^^> no
[11:07] <zetheroo> pikapika: +1 clonezilla
[11:08] <pikapika> Can this clonezilla store the image in an external hard disk or something
[11:08] <EriC^^> pikapika: worst case scenario you migh thave to chroot into the install and rerun update-initramfs or something
[11:08] <EriC^^> unlikely scenario though
[11:08] <pikapika> oh ok
[11:10] <EriC^^> should be able to, you can always just 'dd' the hdd to an img file on the external hdd if you have the space
[11:11] <pikapika> EriC^^, does clonezilla do anything essentially deeper than a dd?
[11:11] <EriC^^> i think it can expand the filesystem or shrink it as well
[11:12] <zetheroo> Yes, you can either make a clone to image, or clone directly to another disk. You can only restore an image to a disk the same size as the original or larger.
[11:13] <zetheroo> The size of the image will be more or less the size of the the disk space used, not the full disk size.
[11:14] <zetheroo> If you restore the image to a disk larger than the original, you can use an Ubuntu LIVE session (gparted) to resize your restored partition to fill up the whole disk.
[11:14] <pikapika> Since its an independent live iso I imagine choosing the Debian version or the Ubuntu version of clonezilla should not make much difference right?
[11:16] <EriC^^> yeah shouldnt be much different
[11:16] <zetheroo> Right. I have used both (the the Debian more often) and they both perform the same functions more or less.
[11:17] <zetheroo> main difference I noticed was if I used the cmdline
[11:18] <pikapika> If I keep a manual migration as the alternative, what are the files I should copy over besides the home directory configs, theme files etc
[11:20] <EriC^^> basically get the list of installed packages, reinstall on fresh install
[11:20] <pikapika> Yeah obviously thats the first step
[11:20] <pikapika> after which I copy over my configs
[11:20] <pikapika> and theme files
[11:20] <pikapika> any other files of note to copy over?
[11:21] <EriC^^> this should get you close to them, need to fine tune a little "comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) > ~/installed_packages" then use sudo xargs -a installed_packages apt-get install -y
[11:21] <EriC^^> that's about it, for a standard install
[11:21] <pikapika> Oh of course
[11:21] <pikapika> I might do some manual pruning first
[11:22] <pikapika> because some of that stuff might be outdated dependencies in the new install
[11:22] <pikapika> but yeah
[11:22] <pikapika> the last remaining thing then remains
[11:22] <pikapika> a good way to do a diff and merge of two directories
[11:22] <pikapika> ie copy a file from src to dest if it isn't already in dest, otherwise show diff and ask to manually check
[11:25] <pikapika> I followed a similar procedure when upgrading 16->18 so I guess the approach should also work for just copying over 18 to a new laptop
[11:26] <pikapika> oh
[11:27] <pikapika> apparently diff has a means to show the diff between two directories inbuilt. So if I cp with some no overwrite like option, and then diff the two directories I can see the problematic files
[11:39] <pikapika> Wow, Clonezilla seems to be nicely documented with lots of pictures
[11:39] <pikapika> Definitely going to be trying clonezilla first
[11:42] <pikapika> EriC^^, zetheroo if I use the "disk to image" it will just store the image to a folder with the name I have chosen and not affect the rest of files on the external disk right?
[11:42] <zetheroo> pikapika: correct
[11:42] <zetheroo> you will end up with a directory containing several files.
[11:43] <pikapika> zetheroo, yeah mainly what I was saying.
[11:43] <pikapika> I hope it doesn't erase anything else on that disk
[11:50] <no_gravity> Playing with snap, I noticed that this file changes when you uninstall a snap: snap/snap-store/common/.cache/gnome-software/appstream/components.xmlb
[11:50] <no_gravity> Any ideas what this is and how to read its content?
[11:55] <KBar> no_gravity try `file snap/snap-store/common/.cache/gnome-software/appstream/components.xmlb`
[11:58] <aesir> hello
[11:59] <no_gravity> KBar: What is that? It outputs "data".
[12:00] <aesir> is this a regular chat box? i'm a new user of linux..so..
[12:00] <no_gravity> aesir: How did you get here?
[12:01] <KBar> no_gravity the `file` command is used to "determine file type".
[12:01] <aesir> just search for chat application..then HEXchat came up. i joined..and i'm here. shouldn't i join here?
[12:01] <aesir> searched*
[12:01] <KBar> no_gravity `man file` for more details. Since it's data, you can try reading it `xxd /path/to/file | less`
[12:04] <aesir> i think it's a kind of tech-forum.Is this a tech-support channel?
[12:04] <KBar> aesir it's a Ubuntu support channel. Ubuntu is Debian-based Linux distribution.
[12:04] <no_gravity> aesir: I see. Welcome, it is cool you are here!
[12:06] <no_gravity> KBar: Hmm.. yeah. I was hoping this is something like "xml in binary" or something and there is some tool to read the actual xml.
[12:06] <Milencho> anyone using pci-e wifi card - to suggest a brand/model that works out of the box on ubuntu/linux
[12:07] <Milencho> some Atheros/intel chipset (after everyupdate of the kernel realtek shitty driver is causing some troubles)
[12:08] <aesir> ohh, sorry to interrupt you. I'm really sorry. I'm using Kubuntu. I find it little more complex than windos OS. But inexchange i found a lot of customization.
[12:08] <aesir> thank you, no_gavity and Kbar.
[12:09] <KBar> aesir try the #kubuntu channel for support and guidance.
[12:09] <KBar> aesir and welcome to the world of Linux and Ubuntu!
[12:10] <aesir> ohh, thank you. :) Have a great day..you guys are awesome.
[12:10] <KBar> no_gravity you can try dumping it without any specialized software. `xxd` and `hexdump` can dump binary data to hex and ASCII.
[12:12] <KBar> no_gravity a quick Google search gives this: https://www.ehow.co.uk/facts_7256253_file-extension-xmlb_.html
[12:12] <KBar> I don't know how accurate it is, though.
[12:17] <no_gravity> KBar: Yes, I can dump it. But if there is structured xml in there encoded somehow, I would prefer to read the actual xml.
[12:19] <KBar> no_gravity for that you're going to need XMLBCUI Compiler/ DeCompiler IDE, as mentioned in the article.
[12:20] <no_gravity> KBar: I see. Thanks.
[12:21] <KBar> yw
[12:26] <Guest11> on my acer travelmate p414-51g my touchpad doesnt work with linux mint uma realease yes i know its not ubuntu directly but under the right? i hope someone can help me or show where i can find help sadly several boot options didnt help also xconfigs when execute lsusb i see my elantech touchpad but its not working also tried the fn keystrokes
[12:26] <Guest11> nothing happend other fn keystrokes works
[12:27] <KBar> Guest11. No. Linux Mint is not an Ubuntu flavor.
[12:28] <Guest11> i know sorry but there is no linux mint channel...and under the hood is it not based on ubuntu?...but yah youre right i mean on ubuntu itself the touchpad works from the beginning
[12:28] <KBar> Guest11 try irc.spotchat.org #linuxmint-help
[12:29] <KBar> It's on a different network.
[12:29] <Guest11> oh thank you!
[12:29] <Guest11> would look there
[12:29] <Guest11> <3
[12:29] <Guest11> you next time
[12:30] <KBar> gl and yw
[12:35] <dunz0r> I have an 18.04 machine that crashes, as in kernel-oops, fairly frequently. I want to analyze what has caused it. Are there traces stored anywhere?
[12:35] <dunz0r> The last thing I see in the journal is "kernel: BUG: Bad page state in process kworker/1:1  pfn:2bd24\nkernel: page:f6fd5da0 count:1 mapcount:0 mapping:00000000 index:0x0".
[12:55] <DXR> does anybody know if it is possible to currently update 16.04 to 18.04?
[12:58] <coz_> DXR, it should be simple
[12:59] <mybalzitch> DXR: sudo do-release-upgrade
[13:01] <KBar> dunz0r try apt install crash
[13:02] <KBar> and use that tool
[13:06] <BluesKaj> Hi all
[13:06] <coz_> hey BluesKaj %)
[13:07] <BluesKaj> hey coz_
[13:08] <coz_> BluesKaj, glad to see a few are still around %)
[13:14] <BluesKaj> yup
[13:16] <rajbm9> Hello
[13:16] <coz_> hey
[13:17] <rajbm9> I have installed ubuntu latest version on virtual box . can i use emulator inside it ?
[13:18] <ThinkT510> you want to use an emulator inside an emulator?
[13:18] <KBar> rajbm9 are you talking about an Android emulator?
[13:19] <rajbm9> because i am getting KVM error
[13:19] <rajbm9> KBar, yes
[13:19] <KBar> rajbm9 if your system is powerful enough, it should be possible, yes.
[13:19] <rajbm9> i guess its not possible to run android emulator inside ubuntu virtual box
[13:20] <rajbm9> ThinkT510, yes you are correct , emulator inside emulator is not possible i think so
[13:21] <ThinkT510> rajbm9: depends on the emulator but it is possible
[13:21] <ThinkT510> don't expect it to be fast
[13:22] <rajbm9> ThinkT510, How? i have gone through online documents it says virtualisation is utilised by vbox and not by android amulator
[13:23] <rajbm9> i tried it but its not working
[13:23] <KBar> It's usually a pain in the back and not worth the hassle.
[13:23] <ThinkT510> I was speaking generally (emulator in emulator is possible). not familiar with which android emulator you are using or how it works.
[13:24] <rajbm9> i am talking about android studio
[13:25] <rajbm9> inside ubuntu within virtual box
[13:27] <rajbm9> i have used fedora in the past this is the first time i am using ubuntu
[13:27] <rajbm9> :)
[13:47] <weedmic> I tried to send the following (it's an e-mail from the command line w an attachment).  I have both postfix AND mutt installed.  I get the error "bash:  mail:  command not found"
[13:47] <weedmic> echo "body of the e-mail" | mail -a "/home/respeaker/hhogsv2.py" -s "subject line" -- weedmic@vanweede.net
[13:50] <KBar> weedmic are you sure the mailutils package is installed?
[13:50] <weedmic> no, i can add that
[13:51] <KBar> Make sure it's installed (mailutils is the name).
[14:10] <weedmic> works, but didn't do attachments (which are not needed att)
[14:10] <weedmic> ty
[14:17] <no_gravity> Hello! I cannot find Chromium in the "Ubuntu software" thingy anymore. Any ideas why?
[14:31] <BluesKaj> it's now a package now
[14:31] <no_gravity> BluesKaj: How do you mean?
[14:31] <BluesKaj> snap package
[14:31] <BluesKaj> sry
[14:31] <no_gravity> BluesKaj: Doesn't snap packages show in the "ubuntu software" thing?
[14:32] <BluesKaj> yes, it should, it shows here on muon
[14:32] <no_gravity> Yeah, it showed here too usually. But it does not anymore.
[14:32] <no_gravity> Installed it via "snap install chromium" now.
[14:33] <no_gravity> Crazy thing: That does not make it show under the "installed" software either.
[14:33] <no_gravity> Makes me wonder if it will get updates.
[14:34] <BluesKaj> no_gravity, maybe a logout/login will fix that
[14:35] <no_gravity> BluesKaj: Good idea.
[14:39] <kperkins> what's the _correct_ way to change my power profile on my ubuntu laptop?
[14:40] <kperkins> cat /etc/tuned/active_profile == balanced
[15:06] <coconut> Anyone knows if firefox 94.0 is coming any time soon to ubuntu 21.04?
[15:07] <Adiabaticguest> I want to build a little web app to change network parameters. What is the safest way to do this?
[15:10] <Fatal_Sushi> coconut: maybe in the upcoming days or next week
[15:11] <coconut> :)
[15:11] <alkisg> Adiabaticguest: be more specific, what kind of network parameters?
[15:12] <Adiabaticguest> IP, gateway, mask. basics to conect the interface
[15:13] <Walex2> kperkins: there is no such thing as a power profile, because there are lots of different settings. However some programs help you set several of them as a group
[15:13] <Walex2> kperkins: some are GUI framework applets, some are command lines ones.
[15:16] <Walex2> kperkins: so you seem to be using 'tuned', I am not familiar with that. I have 'powerman' and because I have a ThinkPad I use mostly 'tlp'
[15:18] <Walex2> kperkins: underneath most there is 'pm-utils', look at '/etc/pm/config.d/
[15:18] <alkisg> Adiabaticguest: well, if you want to create something from scratch, you could use php or python or nodejs or whatever you prefer to create a web page that gets the data from the user, and then calls `ip addr add...` etc commands
[15:18] <alkisg> But I'm sure frontends like that already exist, if you want to search the ubuntu repositories
[15:25] <kperkins> Walex2, thanks for the comments; I also have a thinkpad (x1) and have tlp installed, but don't have powerman (Yet)
[15:45] <Adiabaticguest> alkisg, yes, i would like to start with something instead, but looking for something extremely simplified. I was worried calling ip addr add from php, python wasnt a good idea
[15:56] <alkisg> Adiabaticguest: well you could also generate configuration files (e.g. network-manager, netplan, systemd-networkd) and invoke the tools to use them if you prefer something higher-level
[16:00] <robertparkerx> I forgot.. how do you copy a directory to another directory?
[16:03] <leftyfb> robertparkerx: you mean rename?
[16:05] <robertparkerx> leftyfb well I want to copy the folder and its content to another path
[16:05] <robertparkerx> I tried cp -r
[16:07] <robertparkerx> wait it worked
[16:23] <Gallomimia> is there an intelligent way to banish snaps from my system forever?
[16:24] <leftyfb> Gallomimia: sudo apt remove snapd. And then don't install snaps
[16:25] <Gallomimia> should i verify that i don't have any snaps first?
[16:25] <leftyfb> Gallomimia: you seem hell bent on removing snap, I figured you didn't care
[16:26] <Gallomimia> i mean.... yeah. seems wise to make sure nothing is running on snaps and finding a remedy before removing snapd right?
[16:27] <leftyfb> sure
[16:28] <Gallomimia> argh. unbelievable. firefox is on a snap
[16:28] <Gallomimia> yeah. this will take a moment to figure out
[16:40] <coconut> leftyfb, doesn't ubuntu install snap packages from inside apt these days?
[16:41] <vlm> seem to regularly get a kernel page fault upon login which degrade the system, can this fault be generated by other hardware than ram, say faulty sata controller or so?
[16:46] <leftyfb> coconut: not from what I understand. But the GUI software & updates tool doesn't distinguish between apt and snaps
[16:47] <Gallomimia> if you examine where it says "source" in the GUI software app, you can tell which are snaps when the source is snapcraft.io
[18:03] <tomreyn> coconut, leftyfb: there is a mechanism for transitions from apt packages to snaps, i.e. installing chromium-browser on (maybe not just) >= 20.04 using apt would install a pseudo package which then ensures snap is installed (installs if not so, i think) and then installs chromium using the snap CLI.
[18:04] <leftyfb> tomreyn: are you sure that's a thing for Firefox for 20.04?
[18:05] <leftyfb> on my 20.04 I have 93.0+build1-0ubuntu0.20.04.1 installed with 93.0-1 being the snap
[18:05] <tomreyn> leftyfb: i don't think 20.04 LTS uses a firefox snap (unless introduced post 20.04.0)
[18:09] <tomreyn> i assume this mechnism is also used for other packages in this and later releases where the .deb was effectively replaced by a snap, though - such as Firefox.
[18:09] <lotuspsychje_> snap FF should be default on 21.10 and 22.04 but installable manual on 20.04
[18:17] <iomari891> greetings, I have 7 servers all with nvidia GPUs running ubuntu 21.04. However omly 2 of them have ubuntu-drivers-common intalled. Why is this?
[18:20] <ioria> iomari891, that pkg is not nvidia driver specific
[18:22] <leftyfb> ioria: you understand all of those servers will need to be upgraded in 6 months right?
[18:22] <leftyfb> er
[18:23] <leftyfb> iomari891: ^
[18:25] <sarnold> iomari891, leftyfb, three months :) 21.04 EOLs in january
[18:25] <leftyfb> ah, right, misread
[18:28] <ioria> iomari891, you probably have a Desktop env installed on those two (ubuntu-desktop-minimal in particular)
[18:29] <alkisg> Does anyone know of a tool that allows users to change their display names and their passwords? I was using "usermode" but it doesn't appear to work anymore...
[18:29] <alkisg> (on MATE; mate-about-me does allow password updates, but not display name updates)
[18:30] <sarnold> alkisg: chfn for the full name; passwd for the password
[18:31] <alkisg> sarnold: thank you but they're not GUIs and even more unfortunately chfn doesn't even allow non-ascii characters (which is a big problem with our Greek names here :))
[18:32] <alkisg> I filed a bug report like 10 years ago about it... but... :)
[18:34] <lotuspsychje> alkisg: mate doesnt got something built-in like gnome does to edit users?
[18:35] <alkisg> lotuspsychje: yeah it's mate-about-me, but for some strange reason it only allows changing the password and .face; nothing else :/
[18:35] <alkisg> lotuspsychje: what's the name of the gnome dialog nowadays? It was gnome-about-me
[18:35] <alkisg> Maybe I can install just that, if it's not bundled with the whole gnome control panel
[18:36] <lotuspsychje> alkisg: hmm not sure, apt cache doesnt show much on gnome users
[18:37] <alkisg> lotuspsychje: you could find it with `ps`, after opening the dialog
[18:38]  * alkisg checks xubuntu first, in case it has something...
[18:39] <lotuspsychje> alkisg: its baked into gnomes system settings
[18:40] <ioria> gnome-system-tools
[18:40] <alkisg> Ouch, ty :/
[18:40] <ioria> alkisg, the bin is '/usr/bin/users-admin'
[18:41] <alkisg> ioria: thank you, checking...
[18:41] <ioria> no prob
[18:42] <ioria> not intuitive, i suggest a 'dpkg -L gnome-system-tools  | more'
[18:43] <lotuspsychje> ioria: says not installed here
[18:43] <ioria> nope, it's not lotuspsychje
[18:44] <alkisg> ioria: heh, actually mate and xubuntu already have it installed; I was looking for a "user tool" but the "admin tool" is fine for simple users too :)
[18:44] <alkisg> (non sudoers)
[18:44] <alkisg> 👍️
[18:44] <ioria> ok
[20:14] <spagoote> I don't understand why passwordless sudo isn't working for me: https://paste.ee/p/i4B3r
[20:16] <mybalzitch> spagoote: and you logged out fully ?
[20:16] <spagoote> yes
[20:16] <mybalzitch> my format is slightly different
[20:16] <mybalzitch>    (ALL : ALL) ALL
[20:16] <mybalzitch>     (ALL) NOPASSWD: ALL
[20:21] <spagoote> ah. there was a leftover file from the installer in /etc/sudoers.d/
[20:22] <pikapika> Why does Ubuntu perform raid speed tests during boot?
[20:26] <sarnold> to figure out which implementations of the raid algorithms to use at runtime
[20:35] <sayema> Hello
[20:36] <sayema> I'm facing a problem on Ubuntu 20.04.3
[20:37] <pikapika> sarnold, what is raid being used for?
[20:37] <EriC^^> !details | sayema
[20:38] <sarnold> pikapika: trying to keep disks online in the face of disk failure
[20:38] <pikapika> sarnold, I have only one disk
[20:38] <sarnold> pikapika: ah.
[20:38] <sayema> okay. Whenever i turned off my wifi , there flight mood turned on automatic
[20:40] <sayema> Hello
[20:42] <sayema> Hello , can anyone please help me how can i turn my browser notification on on gnom 3.36
[20:44] <ioria> sayema, for the wifi issue, i suggest this : https://askubuntu.com/questions/1241011/airplane-mode-turns-on-automatically
[20:44] <oerheks> pikapika, they your bios is set to Raid, not AHCI ?
[20:45] <sayema> OKay ioria
[20:45] <MonsieurBon> Hi everyone
[20:47] <MonsieurBon> Today, local domain resolution is not working anymore. I get a correct response if I execute dig @192.168.0.1 google.com but I don't get anything when only executing dig google.com. I think this happened, after using Proton VPN last weekend. I already deinstalled all proton vpn packages. But it did not fix the problem. What else could I try?
[20:48] <sarnold> MonsieurBon: inspect your /etc/resolv.conf file, make sure it makes sense
[20:52] <MonsieurBon> sarnold, I already did that. It looks exactly the same as on my other computer (which is working fine).
[20:53] <sarnold> MonsieurBon: oh, nice, another machine to compare against :)
[20:54] <sarnold> MonsieurBon: how about the output of resolvectl on both?
[20:54] <oerheks> https://askubuntu.com/questions/1361940/how-to-uninstall-protonvpn
[20:54] <oerheks> and remove the cruft..
[20:55] <oerheks> oh, and 'kill switch' must be disabled before the app, what a joke
[20:55] <oerheks> https://protonvpn.com/support/linux-ubuntu-vpn-setup/
[20:56] <sarnold> oerheks: eww
[21:03] <MonsieurBon> oerheks, thx for the links.
[21:05] <MonsieurBon> oerheks, hooray, the internet has been fixed! :)
[21:06] <MonsieurBon> I'll write the proton vpn support about this. That should be done when uninstalling the package!
[21:06] <oerheks> well, they do mention it, else i would be stuck too
[21:07] <oerheks> but sure, let them give it more attention
[21:09] <dread> hi
[21:09] <dread> what's going on there?
[23:46] <neko_> Hola
[23:47] <neko_> Hi
[23:53] <mhoney> \o