/srv/irclogs.ubuntu.com/2021/11/02/#ubuntu.txt

=== zzz is now known as yin
=== yin is now known as zero
=== Sven_vB_ is now known as Sven_vB
=== M4he is now known as mahe
rwinnerHi, 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...03:54
webchat24After 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:28
alkisgwebchat24: the .iso file system is read only, its contents cannot be changed04:35
alkisgWhich file is reported to be different?04:35
usbddI 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:39
alkisgYes because your drive has a different size than the iso04:41
alkisgIf you only check the first X bytes, it should be the same04:41
[code]they left. again.04:41
alkisgDid you see the answer as webchat24 ?04:42
usbddNo, can you please paste it again, for some reason webchat disconnects04:42
alkisgYes because your drive has a different size than the iso04:43
alkisgIf you only check the first X bytes, it should be the same04:43
usbddI did specify bs and count correctly when doing dd command feeding data to sha256sum04:44
usbddActually, 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 iso04:45
alkisgWhich commands are you running exactly?04:45
usbddI did diff on last  (size-4K) and they were identical04:46
alkisgAlso, when Ubuntu.iso boots, it again md5sums the contents04: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 installs04:46
usbddYes, but what if my system that I used to dd original iso into USB is tainted?04:47
[code]usbdd: then check the pgp signature04:47
usbddBut if the system I am running it on is tempered, how would that help?04:47
[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
usbddI can verify the iso, but not what my (potentially tempered system) writes into uab04:48
alkisgIf 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:48
[code]if not go off and write templeOS 2.0 and share the crazy04:49
[code]usbdd: more seriously. do you have a reason to suspect your machine is not trustworthy?04:50
usbddSo, 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:50
[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:51
[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
usbddYes, but I did it from a potentially tempered system04:52
alkisgPaste the EXACT commands that you use to compare04:52
usbddYes, it was always the same number of bytes04:52
alkisgYou probably oversaw something04:53
[code]usbdd: $5 says it's not tampered in a way that would prevevt you from writing an ISO to a usb disk safely04:53
usbddDd if=/dev/sdc bs=1791655936 count=1 status=noxfer | sha256sum04: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
usbddPlease 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 different04:54
[code]that's very interesting04:55
usbddLook, I can write a program that can do that, so I am sure a hacker can do it too …04:56
usbddI wonder if it is the Casper image, or whatever that persistent storage that Ubuntu has04:56
alkisgYou can recreate a squashfs with the same size?04:56
[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 hacked04:57
usbddCode: 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 from04:58
usbddCode: it could be one way to spread, or retain persistence04:58
[code]so verify the checksum on dd04:59
[code]it's well known04:59
[code]and yes i knwo about the compiler, compiler trust problem.04:59
alkisgCan you upload the first 512 bytes that are different somewhere?05:00
[code]usbdd: the live bootdisk does05:01
usbddOk, so is it possible that during boot from usb Ubuntu modifies some content on usb?05:01
[code]yes05:01
alkisgPersistence doesn't work if you used dd05:01
[code]which is why i said to check it _before_ booting05:01
usbddCode: I did check it before booting, and it was OK …05:01
[code]usbdd: so you should know05:02
=== mkv is now known as m4v
[code]is your web browser tampered with? It might be replacing chat messages with disinformation.05:03
usbddI will upload the first 1k bytes that differ shortly …05:04
usbddDon’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 data05:18
alkisgusbdd: 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 result05:19
alkisgI highly doubt that Ubuntu modifies it, even as a bug05:19
alkisgDid you try to install grub to /dev/sdc while installing it?05:19
alkisgYou can use xxd to upload the contents in any pastebin05:20
usbddI did not install anything05:20
alkisgubuntu46: is that xubuntu-21.10-desktop-amd64.iso ?05:23
usbddFor usb: https://pastebin.com/iHknivB1 and for iso: https://pastebin.com/UpJeXuEs05:27
alkisgusbdd: I just booted  xubuntu-21.10-desktop-amd64.iso in a VM and it's sha256sum is still c6eeb0fea343770f6a97701df1794c0b16f3b5e203407db564521e65ebb944b105:28
alkisgusbdd: what you uploaded is not  xubuntu-21.10-desktop-amd64.iso05:28
alkisgWhich iso exactly are you using?05:29
usbddOk, 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
usbddSorry, 20.04.305:29
alkisgAs iso. I'll download 20.04.3 and dd it into a disk and test05:29
usbddThanks05:29
alkisgusbdd: you are correct05:40
alkisgI would file a bug report for this; although they abandoned isolinux in the newer CDs05:41
alkisgSo I'm not sure if that's still the case in 21.x05:41
usbddalkisg: I actually just tried it in qemu, and in my case it did not modify the image :(05:41
alkisgTo 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 start05:41
alkisgOf course booting the .iso directly doesn't, as then it's presented as a CD and it's not writable05:42
usbddyou are right, I just booted the iso05:42
alkisgIt might be something as innocent as "updating grubenv" (grub is used in uefi mode), but still, it shouldn't do it05:44
usbddbtw, 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
alkisgSecure boot in Ubuntu doesn't help as the initramfs isn't signed05:45
usbddoh, thats convenient, lol05:45
alkisgPersons can still get root with it; they miiiight be prevented from loading unsigned modules though05:46
alkisgIf 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 iso05:46
usbddthanks ... i think it is too much work for me though05:48
alkisgSince we verified that the problem is with xubuntu.iso, you have no reason to research it further05:50
alkisg(regarding a possible hack, that is; while you could research why xubuntu.iso does that...)05:50
alkisgInside my VM, I see an iso9660, a vfat and and ext4 partition. Not sure why. Maybe it's related to one of them.05:51
alkisgHmm, I wonder if newer casper has code to automatically create an ext4 partition for persistence...05:57
alkisg(or logs/user data)05:58
alkisgThat would explain everything05:58
usbddthats 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 iso05:59
alkisgBoot the stick and check if you have an ext4 partition that fills the disk06:00
usbddbut then it would suck ... what if I write my hidden crypto data at the end of the disk?06:00
alkisgResize first, put hidden data later06:00
alkisgNow YOU are the hacker...06:01
usbddI watched to many documentaries on netflix recently ...06:01
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:28
KBarHey. 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:30
ivo_the latest unstable ubuntu06:31
ivo_I just did apt install06:31
KBarJammy 22.04 yesterday's build?06:31
ivo_and am trieng to install some app from flathub. The green progress bar remains completely inactive ad nothing happens06:32
ivo_Ohh I meant 21.10 (the latest non lts)06:32
KBarivo_ it already has Ubuntu Software.06:35
KBarInstalling 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:36
KBarI 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 store06:37
KBarNot familiar with servers, sorry.06:37
ivo_Kbar, you are right :).06:37
ivo_*I use it as a desktop ... but the non functioning app store ui is annoying06:38
ivo_the snap-store works better, maybe will switch06:39
KBarsnap-store is the default now.06:39
ivo_yep ... but sadly doesn't search the flathub :(06:40
ivo_and looks a bit glitchy06:40
ivo_*fonts are weird06:40
nshiremy rpi on 21.10 doesn't want to connect to wifi with the appropriate settings in network-config06:40
KBarYes, it doesn't support flatpaks.06:40
nshiredoes SSID need to be in quotations? heard opposing advice06:41
nshire    access-points:06:41
nshire      "$NAME":06:41
KBarivo_ you may wish to file a bug report with `ubuntu-bug PACKAGE_NAME`.06:42
ivo_KBAr, will find out where and maybe will.06:43
ivo_*It is kinda low prio06:43
KBarivo_ 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:44
KBarnshire no, it doesn't. Is the connection at least listed?06:45
nshireits running headless06:45
ivo_Ohh KBar I just realized ubuntu-bug is an app I can just execute. I'll report it right away.06:46
KBarivo_ great! Thank you.06:47
work106:53
ceco@nop07:06
=== pah is now known as pa
=== funman_ is now known as funman
zetherooUbuntu 20.04 - Thinkpad P14s08:58
zetherooInternet, not LAN, connectivity fails after some minutes when connected only via Ethernet connection (WiFi connection does not have a problem).08:58
zetherooEthernet and WiFi connections are both DHCP.08:58
zetherooI 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
zetherooAny ideas?08:58
jeremy31Have you looked at the syslog to see what happens when the connection drops?09:01
zetherooyes, there was nothing09:02
zetheroothe connection doesn't drop. Only Internet access to down.09:03
zetherooI can still access everything on the local network09:03
jeremy31Can you ping 8.8.8.809:04
zetherooI don't know if this message got through -> it just happened again - ping 8.8.8.8 fails09:24
zetherooSomeone 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-though09:25
zetherooI guess I'll give that a try :/09:25
=== diskin is now known as Guest2347
=== diskin_ is now known as diskin
VIAhttps://ibb.co/PG3p0Tt09:57
VIA^^hey all! can anyone tell me if this means smthn/what it means??09:57
VIAi was prolly just slashing my kb fixing it, not sure09:57
KBarIs there any way to rebind Control-Backspace (in gtk) to Alt-Backspace (traditional readline/Emacs)?10:05
KBarI keep mixing them up. :-(10:07
zetherooI re-installed the Ethernet driver in Windows and so far it's working without Internet failing (45min) ...10:22
pankajHello, Is their anybody here?10:23
lotuspsychje1000 users are pankaj10:24
lotuspsychjehow can we help you today pankaj10:24
pankajlotuspsychje: I need help with microservices in react?10:25
jeremy31zetheroo: is hybrid shutdown disabled in Windows?10:25
zetheroojeremy31: yes10:26
zetherooone of the first things I do on any Windows 10 install10:26
jeremy31zetheroo: Are you shutting down Windows and booting into Ubuntu or just rebooting?10:27
zetheroojeremy31: this time I shutdown Windows and powered on into Ubuntu10:28
=== pah is now known as pa
=== Juan- is now known as Juan
pikapikaWhats the best recommended steps to copy over an installation to a new machine?11:06
pikapikaAn exact copy isn't necessary, think of it more as a migration11:06
EriC^^pikapika: clonezilla maybe11:07
pikapikaEriC^^, its a different model laptop11:07
pikapikawould that be a problem11:07
EriC^^no11:07
zetheroopikapika: +1 clonezilla11:07
pikapikaCan this clonezilla store the image in an external hard disk or something11:08
EriC^^pikapika: worst case scenario you migh thave to chroot into the install and rerun update-initramfs or something11:08
EriC^^unlikely scenario though11:08
pikapikaoh ok11:08
EriC^^should be able to, you can always just 'dd' the hdd to an img file on the external hdd if you have the space11:10
pikapikaEriC^^, does clonezilla do anything essentially deeper than a dd?11:11
EriC^^i think it can expand the filesystem or shrink it as well11:11
zetherooYes, 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:12
zetherooThe size of the image will be more or less the size of the the disk space used, not the full disk size.11:13
zetherooIf 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
pikapikaSince its an independent live iso I imagine choosing the Debian version or the Ubuntu version of clonezilla should not make much difference right?11:14
EriC^^yeah shouldnt be much different11:16
zetherooRight. I have used both (the the Debian more often) and they both perform the same functions more or less.11:16
zetheroomain difference I noticed was if I used the cmdline11:17
pikapikaIf I keep a manual migration as the alternative, what are the files I should copy over besides the home directory configs, theme files etc11:18
EriC^^basically get the list of installed packages, reinstall on fresh install11:20
pikapikaYeah obviously thats the first step11:20
pikapikaafter which I copy over my configs11:20
pikapikaand theme files11:20
pikapikaany other files of note to copy over?11:20
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 -y11:21
EriC^^that's about it, for a standard install11:21
pikapikaOh of course11:21
pikapikaI might do some manual pruning first11:21
pikapikabecause some of that stuff might be outdated dependencies in the new install11:22
pikapikabut yeah11:22
pikapikathe last remaining thing then remains11:22
pikapikaa good way to do a diff and merge of two directories11:22
pikapikaie copy a file from src to dest if it isn't already in dest, otherwise show diff and ask to manually check11:22
pikapikaI followed a similar procedure when upgrading 16->18 so I guess the approach should also work for just copying over 18 to a new laptop11:25
pikapikaoh11:26
pikapikaapparently 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 files11:27
pikapikaWow, Clonezilla seems to be nicely documented with lots of pictures11:39
pikapikaDefinitely going to be trying clonezilla first11:39
pikapikaEriC^^, 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
zetheroopikapika: correct11:42
zetherooyou will end up with a directory containing several files.11:42
pikapikazetheroo, yeah mainly what I was saying.11:43
pikapikaI hope it doesn't erase anything else on that disk11:43
no_gravityPlaying with snap, I noticed that this file changes when you uninstall a snap: snap/snap-store/common/.cache/gnome-software/appstream/components.xmlb11:50
no_gravityAny ideas what this is and how to read its content?11:50
=== Starmina_ is now known as Starmina
KBarno_gravity try `file snap/snap-store/common/.cache/gnome-software/appstream/components.xmlb`11:55
aesirhello11:58
no_gravityKBar: What is that? It outputs "data".11:59
aesiris this a regular chat box? i'm a new user of linux..so..12:00
no_gravityaesir: How did you get here?12:00
KBarno_gravity the `file` command is used to "determine file type".12:01
aesirjust search for chat application..then HEXchat came up. i joined..and i'm here. shouldn't i join here?12:01
aesirsearched*12:01
KBarno_gravity `man file` for more details. Since it's data, you can try reading it `xxd /path/to/file | less`12:01
aesiri think it's a kind of tech-forum.Is this a tech-support channel?12:04
KBaraesir it's a Ubuntu support channel. Ubuntu is Debian-based Linux distribution.12:04
no_gravityaesir: I see. Welcome, it is cool you are here!12:04
no_gravityKBar: 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
Milenchoanyone using pci-e wifi card - to suggest a brand/model that works out of the box on ubuntu/linux12:06
Milenchosome Atheros/intel chipset (after everyupdate of the kernel realtek shitty driver is causing some troubles)12:07
aesirohh, 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
aesirthank you, no_gavity and Kbar.12:08
KBaraesir try the #kubuntu channel for support and guidance.12:09
KBaraesir and welcome to the world of Linux and Ubuntu!12:09
aesirohh, thank you. :) Have a great day..you guys are awesome.12:10
KBarno_gravity you can try dumping it without any specialized software. `xxd` and `hexdump` can dump binary data to hex and ASCII.12:10
KBarno_gravity a quick Google search gives this: https://www.ehow.co.uk/facts_7256253_file-extension-xmlb_.html12:12
KBarI don't know how accurate it is, though.12:12
=== Starmina_ is now known as Starmina
no_gravityKBar: Yes, I can dump it. But if there is structured xml in there encoded somehow, I would prefer to read the actual xml.12:17
KBarno_gravity for that you're going to need XMLBCUI Compiler/ DeCompiler IDE, as mentioned in the article.12:19
no_gravityKBar: I see. Thanks.12:20
KBaryw12:21
Guest11on 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 keystrokes12:26
Guest11nothing happend other fn keystrokes works12:26
KBarGuest11. No. Linux Mint is not an Ubuntu flavor.12:27
Guest11i 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 beginning12:28
KBarGuest11 try irc.spotchat.org #linuxmint-help12:28
KBarIt's on a different network.12:29
Guest11oh thank you!12:29
Guest11would look there12:29
Guest11<312:29
Guest11you next time12:29
KBargl and yw12:30
dunz0rI 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
dunz0rThe 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:35
DXRdoes anybody know if it is possible to currently update 16.04 to 18.04?12:55
coz_DXR, it should be simple12:58
mybalzitchDXR: sudo do-release-upgrade12:59
KBardunz0r try apt install crash13:01
KBarand use that tool13:02
BluesKajHi all13:06
coz_hey BluesKaj %)13:06
BluesKajhey coz_13:07
=== Guest905 is now known as westor
coz_BluesKaj, glad to see a few are still around %)13:08
BluesKajyup13:14
rajbm9Hello13:16
coz_hey13:16
rajbm9I have installed ubuntu latest version on virtual box . can i use emulator inside it ?13:17
ThinkT510you want to use an emulator inside an emulator?13:18
KBarrajbm9 are you talking about an Android emulator?13:18
rajbm9because i am getting KVM error13:19
rajbm9KBar, yes13:19
KBarrajbm9 if your system is powerful enough, it should be possible, yes.13:19
rajbm9i guess its not possible to run android emulator inside ubuntu virtual box13:19
rajbm9ThinkT510, yes you are correct , emulator inside emulator is not possible i think so13:20
ThinkT510rajbm9: depends on the emulator but it is possible13:21
ThinkT510don't expect it to be fast13:21
rajbm9ThinkT510, How? i have gone through online documents it says virtualisation is utilised by vbox and not by android amulator13:22
rajbm9i tried it but its not working13:23
KBarIt's usually a pain in the back and not worth the hassle.13:23
ThinkT510I was speaking generally (emulator in emulator is possible). not familiar with which android emulator you are using or how it works.13:23
rajbm9i am talking about android studio13:24
rajbm9inside ubuntu within virtual box13:25
rajbm9i have used fedora in the past this is the first time i am using ubuntu13:27
rajbm9:)13:27
=== LabMonkey is now known as Mechanismus
weedmicI 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
weedmicecho "body of the e-mail" | mail -a "/home/respeaker/hhogsv2.py" -s "subject line" -- weedmic@vanweede.net13:47
KBarweedmic are you sure the mailutils package is installed?13:50
weedmicno, i can add that13:50
KBarMake sure it's installed (mailutils is the name).13:51
weedmicworks, but didn't do attachments (which are not needed att)14:10
=== genii-core is now known as genii
weedmicty14:10
no_gravityHello! I cannot find Chromium in the "Ubuntu software" thingy anymore. Any ideas why?14:17
BluesKajit's now a package now14:31
no_gravityBluesKaj: How do you mean?14:31
BluesKajsnap package14:31
BluesKajsry14:31
no_gravityBluesKaj: Doesn't snap packages show in the "ubuntu software" thing?14:31
BluesKajyes, it should, it shows here on muon14:32
no_gravityYeah, it showed here too usually. But it does not anymore.14:32
no_gravityInstalled it via "snap install chromium" now.14:32
no_gravityCrazy thing: That does not make it show under the "installed" software either.14:33
no_gravityMakes me wonder if it will get updates.14:33
BluesKajno_gravity, maybe a logout/login will fix that14:34
no_gravityBluesKaj: Good idea.14:35
kperkinswhat's the _correct_ way to change my power profile on my ubuntu laptop?14:39
kperkinscat /etc/tuned/active_profile == balanced14:40
=== Poster` is now known as Poster
coconutAnyone knows if firefox 94.0 is coming any time soon to ubuntu 21.04?15:06
AdiabaticguestI want to build a little web app to change network parameters. What is the safest way to do this?15:07
Fatal_Sushicoconut: maybe in the upcoming days or next week15:10
coconut:)15:11
alkisgAdiabaticguest: be more specific, what kind of network parameters?15:11
AdiabaticguestIP, gateway, mask. basics to conect the interface15:12
Walex2kperkins: 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 group15:13
Walex2kperkins: some are GUI framework applets, some are command lines ones.15:13
Walex2kperkins: 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:16
Walex2kperkins: underneath most there is 'pm-utils', look at '/etc/pm/config.d/15:18
alkisgAdiabaticguest: 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 commands15:18
alkisgBut I'm sure frontends like that already exist, if you want to search the ubuntu repositories15:18
kperkinsWalex2, thanks for the comments; I also have a thinkpad (x1) and have tlp installed, but don't have powerman (Yet)15:25
=== vigumnov is now known as victori
Adiabaticguestalkisg, 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 idea15:45
alkisgAdiabaticguest: 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-level15:56
robertparkerxI forgot.. how do you copy a directory to another directory?16:00
leftyfbrobertparkerx: you mean rename?16:03
robertparkerxleftyfb well I want to copy the folder and its content to another path16:05
robertparkerxI tried cp -r16:05
robertparkerxwait it worked16:07
Gallomimiais there an intelligent way to banish snaps from my system forever?16:23
leftyfbGallomimia: sudo apt remove snapd. And then don't install snaps16:24
Gallomimiashould i verify that i don't have any snaps first?16:25
leftyfbGallomimia: you seem hell bent on removing snap, I figured you didn't care16:25
Gallomimiai mean.... yeah. seems wise to make sure nothing is running on snaps and finding a remedy before removing snapd right?16:26
leftyfbsure16:27
Gallomimiaargh. unbelievable. firefox is on a snap16:28
Gallomimiayeah. this will take a moment to figure out16:28
coconutleftyfb, doesn't ubuntu install snap packages from inside apt these days?16:40
vlmseem 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:41
leftyfbcoconut: not from what I understand. But the GUI software & updates tool doesn't distinguish between apt and snaps16:46
Gallomimiaif you examine where it says "source" in the GUI software app, you can tell which are snaps when the source is snapcraft.io16:47
=== pah_ is now known as pa
=== diskin_ is now known as diskin
tomreyncoconut, 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:03
leftyfbtomreyn: are you sure that's a thing for Firefox for 20.04?18:04
leftyfbon my 20.04 I have 93.0+build1-0ubuntu0.20.04.1 installed with 93.0-1 being the snap18:05
tomreynleftyfb: i don't think 20.04 LTS uses a firefox snap (unless introduced post 20.04.0)18:05
=== pah is now known as pa
tomreyni 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.0418:09
=== lotuspsychje_ is now known as lotuspsychje
iomari891greetings, 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:17
ioriaiomari891, that pkg is not nvidia driver specific18:20
leftyfbioria: you understand all of those servers will need to be upgraded in 6 months right?18:22
leftyfber18:22
leftyfbiomari891: ^18:23
sarnoldiomari891, leftyfb, three months :) 21.04 EOLs in january18:25
leftyfbah, right, misread18:25
ioriaiomari891, you probably have a Desktop env installed on those two (ubuntu-desktop-minimal in particular)18:28
alkisgDoes 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:29
sarnoldalkisg: chfn for the full name; passwd for the password18:30
alkisgsarnold: 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:31
alkisgI filed a bug report like 10 years ago about it... but... :)18:32
lotuspsychjealkisg: mate doesnt got something built-in like gnome does to edit users?18:34
alkisglotuspsychje: yeah it's mate-about-me, but for some strange reason it only allows changing the password and .face; nothing else :/18:35
alkisglotuspsychje: what's the name of the gnome dialog nowadays? It was gnome-about-me18:35
alkisgMaybe I can install just that, if it's not bundled with the whole gnome control panel18:35
lotuspsychjealkisg: hmm not sure, apt cache doesnt show much on gnome users18:36
alkisglotuspsychje: you could find it with `ps`, after opening the dialog18:37
* alkisg checks xubuntu first, in case it has something...18:38
lotuspsychjealkisg: its baked into gnomes system settings18:39
ioriagnome-system-tools18:40
alkisgOuch, ty :/18:40
ioriaalkisg, the bin is '/usr/bin/users-admin'18:40
alkisgioria: thank you, checking...18:41
ioriano prob18:41
iorianot intuitive, i suggest a 'dpkg -L gnome-system-tools  | more'18:42
lotuspsychjeioria: says not installed here18:43
iorianope, it's not lotuspsychje18:43
alkisgioria: 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
ioriaok18:44
=== JL is now known as Guest963
=== Hash is now known as LordOfThePings
spagooteI don't understand why passwordless sudo isn't working for me: https://paste.ee/p/i4B3r20:14
mybalzitchspagoote: and you logged out fully ?20:16
spagooteyes20:16
mybalzitchmy format is slightly different20:16
mybalzitch   (ALL : ALL) ALL20:16
mybalzitch    (ALL) NOPASSWD: ALL20:16
spagooteah. there was a leftover file from the installer in /etc/sudoers.d/20:21
pikapikaWhy does Ubuntu perform raid speed tests during boot?20:22
sarnoldto figure out which implementations of the raid algorithms to use at runtime20:26
sayemaHello20:35
sayemaI'm facing a problem on Ubuntu 20.04.320:36
pikapikasarnold, what is raid being used for?20:37
EriC^^!details | sayema20:37
ubottusayema: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.20:37
sarnoldpikapika: trying to keep disks online in the face of disk failure20:38
pikapikasarnold, I have only one disk20:38
sarnoldpikapika: ah.20:38
sayemaokay. Whenever i turned off my wifi , there flight mood turned on automatic20:38
sayemaHello20:40
sayemaHello , can anyone please help me how can i turn my browser notification on on gnom 3.3620:42
ioriasayema, for the wifi issue, i suggest this : https://askubuntu.com/questions/1241011/airplane-mode-turns-on-automatically20:44
oerhekspikapika, they your bios is set to Raid, not AHCI ?20:44
sayemaOKay ioria20:45
MonsieurBonHi everyone20:45
MonsieurBonToday, 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:47
sarnoldMonsieurBon: inspect your /etc/resolv.conf file, make sure it makes sense20:48
MonsieurBonsarnold, I already did that. It looks exactly the same as on my other computer (which is working fine).20:52
sarnoldMonsieurBon: oh, nice, another machine to compare against :)20:53
sarnoldMonsieurBon: how about the output of resolvectl on both?20:54
oerhekshttps://askubuntu.com/questions/1361940/how-to-uninstall-protonvpn20:54
oerheksand remove the cruft..20:54
oerheksoh, and 'kill switch' must be disabled before the app, what a joke20:55
oerhekshttps://protonvpn.com/support/linux-ubuntu-vpn-setup/20:55
sarnoldoerheks: eww20:56
MonsieurBonoerheks, thx for the links.21:03
MonsieurBonoerheks, hooray, the internet has been fixed! :)21:05
MonsieurBonI'll write the proton vpn support about this. That should be done when uninstalling the package!21:06
oerhekswell, they do mention it, else i would be stuck too21:06
oerheksbut sure, let them give it more attention21:07
dreadhi21:09
dreadwhat's going on there?21:09
=== Erisa6 is now known as Erisa
=== genii is now known as genii-core
neko_Hola23:46
neko_Hi23:47
mhoney\o23:53

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!