=== jkotra5 is now known as jkotra === madmax_ is now known as madmax [01:03] hi [01:03] What is the worst that could happen, if I run a "dist-upgrade", having a ton of backports and private repos in my sources.list ? [01:03] My Ubuntu version is 18.04 [01:04] it fails and leaves you with a broken system [01:04] worst thing that can happen is that you have to restore your backup [01:05] dist-upgrade without having a backup would not be wise, would it? [01:05] not having a backup is never wise [01:05] ok, I take a backup first. [01:05] should I remove all private repos then before dist-upgrade? [01:05] i am not sure what you think that command does [01:06] sorry, my bad, I meant an other command [01:06] the one with the release upgrade [01:06] a release upgrade with unknown packages is always a risk [01:06] it was never tested in QA that way [01:06] do-release-update [01:07] So I better do a clean re-install? [01:07] that is what i usually do. but if you have a backup there is not much to lose [01:07] gotcha. Thank you! [01:08] but a clean 22.04 install sounds great :) [01:08] would you recomment sticking with LTS versions or always upgrading to the latest Ubuntu version? [01:08] LTS [01:09] what do you do, when you need a newer version of a software then? [01:09] e.g. I had to use backports when it came to node and mysql [01:09] and many other things [01:10] on servers i really needed anything newer than i got on the archives. except PHP maybe [01:10] archives? That sounds like old stuff rather than new stuff? [01:10] ubuntu is never bleeding edge [01:11] and PPAs are not always bad. they are just difficult for upgrades [01:11] you can use ppa-purge for example to remove everything and then do the upgrade [01:12] how can I reliably find out all my PPAs ? [01:12] but im not sure if a clean install takes a lot longer if you know how to setup stuff [01:12] not all the PPAs were added to the sources.list [01:12] many are in directories within /etc/apt/ [01:13] apt only really reads the sources.list.d dir [01:13] no way, I know for sure that it also reads the file /etc/apt/sources.list [01:13] yes [01:13] but that is a file [01:13] not a dir [01:13] yep, true that [01:13] so is there an apt command to show all PPAs ? [01:13] or must I manually look through it? [01:14] https://github.com/ericj112/ppa-tool is pretty handy [01:14] thank you! [01:15] yw. backups are still a good idea :) [01:15] no backup no mercy [01:15] ^^ [01:17] ravage, am I understanding this right? [01:17] sudo ./ppa-tool -r [01:17] and then I pick the number, e.g. 24 [01:17] and then said PPA will be purged (or just removed?) [01:18] the author of the "ppa-tool" did not include a LICENSE file... :-(( [01:19] it will try to find the packages that were in that PPA and remove it afterwards [01:20] will it also remove the repo from /etc/apt/*/ ? [01:20] yes [01:20] thank you! [01:20] https://p.haxxors.com/9vqgq7y1.txt [01:20] ravage, if you know the author, please let him know about the missing License-file [01:21] im sure EriC^^ has as "i dont give a F" attitude [01:21] thank you ravage for the paste! [01:21] but i can ask him :) [01:21] thank you! [01:21] *a [01:21] so the author is in this channel?! [01:21] that's cool :)))) [01:21] yes [01:25] thank you for your help! [01:25] bye! [01:25] bye [02:05] hmm.. crap.. just did minor apt update, and seems to have broken my postfix config.. "unsupported dictionary type: pcre" [02:05] anyone run into this with latest patch? just googling around.. [02:15] Macwinner, see https://www.prosinger.net/debian-ubuntu-unsupported-dictionary-type-pcre-or-mysql-with-postfix/ [02:15] maybe it applies to you too [02:15] yes! [02:15] literally just found this and it fixed it [02:15] oke [02:15] thanks! [02:16] have fun! [02:16] this is crap.. why did the update automatically change my /etc/postfix/dynamicmaps.cf files [02:16] anyway, glad it's fixed.. will be more careful in future [02:17] 2 interesting answers https://serverfault.com/questions/972173/unsupported-dictionary-type-pcre-postfix-header-checks [02:17] 'old-style' regular expressions, while pcre, well, as the name implies, are Perl Compatible Regular Expressions [02:17] amd https://serverfault.com/questions/972173/unsupported-dictionary-type-pcre-postfix-header-checks [02:17] err [02:18] postmap /etc/postfix/virtua' without 'pcre:' [02:18] which missing the l [02:26] oerheks: yeah.. the problem was we had a working config.. but apt update updating postfix-pcre. which changed the /etc/postfix/dynamicmaps.cf file without asking me if it's ok [02:27] worth a bugreport, including fix [02:30] I guess it's quite possible I'm not supposed to update /etc/postfix/dynamicmaps.cf directly.. will research that first [02:33] it happened before, change of ownership] === keypushe- is now known as keypusher === catties is now known as Catty [03:43] Hello, I am trying to dial boot windows and on a laptop, do I disable secure boot in the bios ? [03:43] Dual" [03:46] secureboot is oke, fastboot should be disabled [03:48] good evening all [03:49] can anyone recommend a 1GB wireless card for ubuntu please? [03:49] feel free to dm me [03:50] w0ls0n, pick yours https://wireless.wiki.kernel.org/en/users/devices [03:51] https://deviwiki.com/wiki/List_of_Wi-Fi_Device_IDs_in_Linux [03:59] oh yea nice [03:59] I got a henti link === RaimondR- is now known as RaimondRaj [05:39] Mrs. Skilton gets her holes filled and satisified by Rush's Geddy Lee. Later, Geddy meets Jean Pierre Manikariza, her husband, and gets filled by his big black cock! Read all about it! https://pastebin.com/1ExdrDQA [05:52] lol are we drunken === shokohsc3 is now known as shokohsc [07:59] ciao [08:06] !it | mario_ [08:06] mario_: Vai su #ubuntu-it se vuoi parlare in italiano, in questo canale usiamo solo l'inglese. Grazie! (per entrare, scrivi « /join #ubuntu-it » senza virgolette) [08:11] #ubuntu-it [08:14] ciao === bad_1 is now known as badbodh [09:24] https://www.youtube.com/watch?v=J7-3Qj_oVMM [09:28] not here please luna [09:30] Where are the config files for app shortcuts in Activities stored? [09:34] ubuntu users are so stupid. [09:35] Whenever a ubuntu user asks a question a pertinent response would be RTFM. [09:35] Ubuntu users are typically a phenotype of the Linux users but retrograded. [09:36] gnulinuxuser: that topic does not fit in this channel [09:36] It's like they had evolved backwards compared to other Linux users. [09:36] Ubuntu users are very dumb compared to other genotypes of Linux users. They lean on a giant Company called Canonical. [09:37] stop it gnulinuxuser [09:37] now +b me [09:37] !guidelines | gnulinuxuser [09:37] gnulinuxuser: The guidelines for using the Ubuntu channels can be found at https://wiki.ubuntu.com/IRC/Guidelines [09:43] I have two shortcuts in Activities for the same app - OpenShot. One opens version 3.0.0 and the other version 3.1.1, and I would like to remove the former. [09:43] They were made with AppImages. Not sure how to remove them. [09:45] zetheroo: wait for me searching [09:45] zetheroo: Are you using GNOME? [09:46] gnulinuxuser: of course I already tried searching online for a solution. And I looking in the default locations. [09:46] Yes, Gnome. [09:48] zetheroo: I am not familiar with GNOME, but I think it conforms to the freedesktop spec [09:49] zetheroo: https://specifications.freedesktop.org/ [09:50] zetheroo: Does that help? [09:53] hey? [09:54] Thanks for the link. I'll have to check out the info when I have more time later on today. [09:54] I guess it's not that straightforward. [09:55] Do you mind reading that? [09:56] It is a lot. [10:02] Like I said, I'd have to wait till I have more time later. Have to run. Ciao. === Forza_ is now known as Forza [10:22] has someone had problems with Ubuntu 23.04 on old laptops with the hybrid graphic cards?? intel+nvidia? [10:34] phonixgeist: i think the volunteers had a few reports of booting issues into 23.04 desktop [10:34] phonixgeist: can you explain whats happening exactly to your system? [10:50] @lotuspsychje after I install nvidia drivers with "ubuntu-drivers autoinstall" and reboot the system the DE does not start... (black-screen)... then I installed bumbleblee-nvidia and it worked but I lost my second (HDMI) monitor... not only during ubuntu execution but even from the boot of the OS... [10:51] phonixgeist: bumblebee is not the way to go anymore, use nvidia-prime instead for optimus cards [10:52] @lotuspsychje jmm.. noted.. i'll do in the next attempt... [10:52] phonixgeist: check ubuntu-drivers list for your driver versions, and nvidia-smi to see your current loaded driver [10:53] @lotuspsychje yes I did checked that... and the driver version was installed correctly... [10:53] phonixgeist: ok, check nvidia-prime to see wich card is active [10:54] @lotuspsychje ok.. will do on my next attempt... had to go back to 22.10... [11:00] test [11:02] 1 [11:03] 1 2 1 2 [11:08] hmm.. is everything working alright at your end, rick__ ? [11:20] It is, gary thanks for asking. Just testing this polari program [11:24] this is good [12:42] Hi all === cryocaustik1 is now known as cryocaustik === oerheks1 is now known as oerheks [16:00] Reported a glitch in the new installer when performing a dual boot installation on a second NVMe where the first NVMe already has Windows 11. [16:00] https://bugs.launchpad.net/ubuntu/+bug/2017432 [16:00] -ubottu:#ubuntu- Launchpad bug 2017432 in Ubuntu "subiquity installer doesn't create /etc/default/grub" [Undecided, New] [16:04] what is the actual bug here? the system does not boot? [16:05] howarth: you don't have to report bugs here after reporting them in launchpad. [16:11] Just curious if anyone else noticed this glitch [16:12] Basically, when you install a dual boot using the 'Erase and install Ubuntu' or 'Something else' options under Installation Type, the subiquity installer claims a successful completion but the /etc/default/grub file isn't created. [16:13] So you don't end up with a Windows Boot Manager option in the resulting grub menu at boot [16:14] howarth: you need to change the ubuntu package to subiquity and try to attach some logs from setup [16:15] so the developers can debug your bug better and see whats going on [16:16] not sure if apport-collect works on -server? maybe someone else might know that [16:16] Where would setup logs exist? I don't see any in /var/log. [16:16] Ah [16:17] In /var/log/installer === ubuntu-mate is now known as Someone [16:19] I don't believe subiquity exists as a package to file against === Someone is now known as Someone_ [16:21] howarth: https://bugs.launchpad.net/subiquity/+bugs?field.tag=lunar [16:25] Pondering a second bug report on the 'Install Ubuntu alongside Windows Boot Manager' [16:25] howarth: please check the existing 23.04 bugs before you file new bugs [16:25] hi. I already had problem with 23.04 when installing in a VM. I had to use UEFI. and BIOS was not working. Now on a machine with 23.04, I got a black screen after a "GRUB" message after choosing "TRy and install Ubuntu". Using BIOS. Is BIOS still supported? if so, then what is the problem? [16:26] howarth: is this bug not what you experience? bug #2016367 [16:26] -ubottu:#ubuntu- Bug 2016367 in subiquity "request to /storage/v2/edit_partition crashed with ValueError" [Undecided, New] https://launchpad.net/bugs/2016367 [16:26] I'm on a X570 UD v1.1 motherboard with Ryzen 5600x under the latest F37 bios. [16:27] I get a usable grub for booting Ubuntu but it is missing the Windows Boot Manager option [16:27] No surpise as the installer failed to populate /etc/default with a grub template file [16:28] The partitions were created as expected [16:29] However the 'Install Ubuntu alongside Windows Boot Manager' option doesn't present the NVMe if it has no partitions on it. [16:29] !os-prober [16:29] I think that mode is tuned to installing a dual boot on the same drive [16:30] os-prober was present [16:30] howarth: Was it run? [16:30] If the /etc/default/grub file isn [16:30] howarth: It's disabled by default in current versions. [16:31] They still need to be creating a /etc/default/grub [16:31] that file should exist after an installation [16:32] I must admit that I was shocked at how quickly the new installer completes an installation [16:32] howarth: It's not necessary, it exists to allow changes in the grub configuration. [16:36] I suspect it still should exist as a placeholder for where users can make modifications === bad_1 is now known as badbodh === matrixy is now known as matrix^y === matrix^y is now known as may^flower [17:00] Hello experts, can someone tell me why I am still getting these errors on my webiste, I fix everything and close my website, after 2-3 days the error comes again https://imgur.com/a/ZVI5kq9 https://imgur.com/a/mQJcgAl [17:02] Toni69: pretty sure you've been compromised. [17:03] heyyy, what do you mean? [17:03] Toni69: you really should just setup your marketing website on something like wix.com. [17:03] I still don't get it === may^flower is now known as zest^fully^clean [17:05] Is like wix better or something? And can I just shift without stopping my website from working? [17:05] Toni69: your ssh host key has changed without you making any changes, your wordpress site has changed without you making any changes, and you took zero of my previous advice about locking down your public server. You still have 9 ports open to the world, ssh listening on 22 with probably zero hardening config [17:06] I don't know how to lock them though I am not a coder === Rahoul1782 is now known as Rahoul178 [17:06] Toni69: it's fine you have no interest in learning the requirements of running a public server. That means you should let someone else do it for you. Try wix or some hosted wordpress site where marketing isn't the admin [17:06] do you know someone I can hire or someone that can help me maually with that? [17:06] Toni69: make your website on wix [17:06] wix.com [17:07] can I just shift without stopping my website? [17:07] Toni69: your website is already broken [17:07] And can you help me with a guide or something? [17:07] Toni69: that's beyond the scope of the help provided here. Maybe call wix.com support and see if they can help you [17:07] ohh so I need to stop everything? [17:08] okay thanks? [17:08] Toni69: since your server is more than likely contributing to malware/spam/scams on the internet, that would be recommended [17:08] One more question so wix isn't self hosted? [17:08] Toni69: http://wix.com [17:09] Toni69: there's also squarespace.com [17:09] and plenty of others you can google for [17:09] what do you recommend as the best? [17:09] Toni69: you're looking for WYSIWYG websites where you aren't the admin [17:09] oh okay [17:10] Toni69: I don't. I recommend doing your research and picking one that best suits your needs and budget [17:11] okay thanks\ [17:13] one more question can I use wix with wordpress? === zest^fully^clean is now known as supreme^buffer^1 [17:15] Toni69: no. You need to actually go to the website to learn what it is [17:17] Toni69: if you need wordpress, then I suggest going through wordpress.com to pay for their services [17:18] I wanna continue with wordpress but get a better hosting server where they actually help me [17:18] Toni69: I do not recommend that [17:18] On my current hosting server I am the admin [17:19] Toni69: try wordpress.com [17:19] I use wordpress.com [17:19] I am not on wordpress.org [17:20] no you don't. You use wordpress installed on Vultr hosting [17:20] ohhhhhhhhhhhhhhhhh [17:20] that is why I am responsible of everything [17:20] correct [17:21] so if I go on wordpress.com things would turn out elswhere [17:21] thanks a lot [17:21] good luck. We are well beyond the scope of the support provided here. [17:23] so I need to go with this https://imgur.com/a/JGKrWXp [17:23] yes [18:01] I'm aware of Ubuntu MATE, but I need to install MATE from Ubuntu to reproduce a bug. However, in Ubuntu 22.04 it's easy to install MATE with "sudo apt-get install ubuntu-mate-desktop" and choose LightDM during the installation, after reboot it will use LightDM, and MATE after I've logged in. However, when I'm trying to do this in Ubuntu 23.04, LightDM is used bug when I'm logged in, Unity is used instead of MATE. How can I make it use MA [18:01] TE? [18:06] a default ubuntu desktop install does not even come with Unity. it uses gnome [18:09] ravage: Sorry, I meant GNOME [18:10] *GNOME is used instead of MATE. How can I make it use MATE? [18:10] Hello everyone. I just upgraded from 18.04 Mate with compz to Ubuntu 22.04. I understand that compz can not be used. But what I am really looking for a some app to allow me configure extra mouse buttons on my Logitech mouse. I like to enable at least one button to show activity / workspaces. [18:11] David_Hedlund: cant you test that bug with an Ubuntu Server install? that comes with no DE at all [18:11] Anyone can suggest a add on, app, etc? [18:12] !info solaar [18:12] solaar (1.1.8+dfsg-2, lunar): Logitech Unifying Receiver peripherals manager for Linux. In component universe, is optional. Built by solaar. Size 301 kB / 1,528 kB [18:12] https://www.makeuseof.com/manage-logitech-unifying-devices-on-linux/ [18:12] ravage: That's a good idea, thanks! [18:17] !info input-remapper [18:17] input-remapper (1.5.0-1.1, lunar): Input device button mapping tool (metapackage). In component universe, is optional. Built by input-remapper. Size 2 kB / 9 kB [18:17] Guma: ^ try this [18:19] https://github.com/sezanzeb/input-remapper/blob/main/readme/usage.md#usage [18:25] Thank you both for suggestion [18:34] Hello. I've just ran the update to 23.04 and it's giving me a tty not a desktop. I have network connectivity but startx just brings me a terminal that I can't interact with. Using Kubunutu, any clues on what I should try? [18:39] Have tried sudo apt install kubuntu-desktop but I get the error "could not locate package" [18:40] first run "sudo apt update" before installing packages [18:40] I did yeah [18:41] the package kubuntu-desktop does exist, though [18:41] maybe you have "universe" disabled in apt sources? [18:41] !info mate-desktop [18:41] mate-desktop (1.26.0-1ubuntu1, lunar): Library with common API for various MATE modules. In component universe, is optional. Built by mate-desktop. Size 27 kB / 111 kB [18:41] https://ubuntu-mate.org/ [18:41] alex_: it's probably still installed, though, and what's failing is actually your graphics driver [18:42] jhutchins: ? [18:42] alex_: It sounds like a video driver problem. What video chipset do you have? Did you install a special driver previously? [18:42] Unless the upgrade script disabled it, then I don't think I would have disabled universe [18:43] jhutchins: note alex_ asked about kubuntu-desktop, not mate ( unless there was previous chat which i may have missed) [18:43] Don't think I had a special driver installed, installed from live CD [18:43] tomreyn: I think there was a previous chat with David_Hedlund that you may have missed. [18:44] I should probably have tagged him. [18:44] LSPCI is saying I'm using on-board intel graphics [18:44] right, it seemed a bit out of context. ok [18:45] tomreyn: I specialize in out-of-context. [18:45] :) [18:46] alex_: does apt list --installed kubuntu-desktop list it as installed? [18:46] if not, can you run sudo apt update && sudo apt full-upgrade && sudo apt install kubuntu-desktop and share all their outputs? [18:47] It doesn't so I will [18:49] I think all of the popular desktop alternatives have a -desktop meta tag so that they're easy to install. There aren't a lot of people running multiple desktops, so it's hard to tell if there's a conflict. They're supposed to be able to be installed together at the same time. [18:50] Wasn't installed, only 3 hits on update (lunar main, lunar-security main and lunar-upgrades main) unable to locate on the install kubuntu-desktop [18:51] you'll need to sudo add-apt-repository universe [18:52] also restricted [18:52] i'm not sure how this would happen, loosing official apt repositories [18:53] Interesting, both kubuntu-desktop and plasma-desktop exist and appear to be different. [18:53] software-properties-common isn't installed but I can do that, but yeah that seems to work [18:54] no idea how this happened though but if it fixes it then we're all good [18:54] would you say your release upgrade (from which version, using which tool?) did generally seem to succeed and quit without errors? [18:55] Hrm, there was one thing. I had to remove the ppa for kubuntu backports before updating [18:55] I did that, then did a full apt upgrade, update etc and then the installer worked [18:55] but it went through and failed giving that problem firstly [18:55] which installer? [18:56] First time was the GUI installer (the KDE one, not sure of the name) - I did the rest through the cli as the GUI wasn't really providing much info [18:57] alex_, tomreyn: also do a "sudo add-apt-repository universe" for good measure. [18:57] i see, thanks for the feedback. maybe that'll be useful in #kubuntu or #kubuntu-devel, if you don't mind reposting [18:57] alex_,^ [18:57] It sounds to me like the Universe repo is missing from that system. [18:57] I think I already did but will do again once it's installed kubuntu-desktop [18:57] Easy fix. [18:57] Eickmeyer: i did suggest adding the universe repo [18:58] Ah. [18:58] The system installer for Kubuntu is Ubiquity. [18:58] FYI [18:58] but this seems to be about a release upgrade [18:58] Oh, then it's Ubuntu's release-upgrader [18:59] No code difference there. [18:59] Both the kubuntu-desktop and the plasma-desktop meta packages include components from universe. [19:00] ... or at least they attempt to. [19:00] Well I've put it in #kubuntu for what it's worth, not sure if it'll be reprodusable but might help [19:02] packages seem to be installing, so hopefully that's me sorted - I'll reboot soon and if you don't see mme again then it's all solved. Thanks so much for the help [19:02] alex_: at leats now the more kde-folks have a better chance to see this feedback and, if there will be more like this, choose to investigate. thanks. [19:03] tomreyn: Honestly, they'll do nothing. It looks like a bug in release-upgrader to me. [19:04] Eickmeyer: and i think such has happened before, but it'll probably take more and more qualified feedback to pinpoint the issue. [19:04] * Eickmeyer is now afk [19:04] tomreyn: The qt frontend isn't the issue though. [19:04] okay, that's good to know, thanks. [19:07] ravage, jhutchins: I just selected "MATE" in LightDM, solved! [19:07] GNOME was pre-selected. [19:08] David_Hedlund: Yay! [19:08] Yeah, gnome is the default if installed. It's pushy like that. Gnome knows what's good for you. [19:08] jhutchins: Interestingly, the bug has been solved in Ubuntu 23.04. [19:08] Does the 23.04 upgrade preserve user preference? [19:09] jhutchins: I did not upgrade, I'm evaluating the bugs with virt-manager [19:09] I'm evaluating 22.10 now [19:11] jhutchins: I could reproduce the bug in 22.10 as well [19:56] hi again. a new client, I will not disconnect this time. so same question. is it possible to boot 23.04 with a BIOS only machine. an old one. because after choosing "Try or install Ubuntu", I only a biref message "GRUB" then nothing but a black screen. I already had some similar problem with the beta when installing in a VM where I had to use UEFI [19:56] to get it installed. If iti is possible, then, is longer? do I have to wait a long time for the boot to complete? or waht could be the problem? === shokohsc3 is now known as shokohsc [20:07] solsTiCe, it's certainly possible to boot 23.04 in legacy bios, in fact by the time you see "Try or Install Ubuntu" it's alredy booted the live CD. [20:07] solsTiCe: the release notes at https://discourse.ubuntu.com/t/lunar-lobster-release-notes/31910 do NOT mention that the new (23.04) ubuntu desktop installer is only compatible with UEFI installations, or that it takes a long time to install classic BIOS based installations (I can't think of why that would be the case also). [20:08] solsTiCe, unfortunately I have no idea what could be wrong, unless it's a hardware problem with this old machine [20:09] solsTiCe: did you check whether the iso image downloaded correctly AND was correctly written to the installer media? [20:11] if you are (for some reason?) convinced that the iso download is fine and it was also written to the installer media fine, then you can also try the legacy installer available at https://cdimage.ubuntu.com/releases/23.04/release/ [20:14] https://ubuntu.com/tutorials/how-to-verify-ubuntu discusses how to verify the iso downloaded correctly. to ensure the correctly downloaded iso was also written properly to the installer media, you can either user a utility such as balena etcher or test the data written using shell commands https://unix.stackexchange.com/a/75513 [20:16] rfm: That exact problem is most often caused by a corrupt boot image. [20:24] Hi [20:25] `systemd-analyze blame` shows that plymouth took 5.4s to startup, and fwupd-refresh took 5.0s, is this normal? is there ways to identify why it's slow and speed them up? [20:26] I have ubuntu 20.04.6 LTS and am thinking to upgrade to 22.04.2 LTS - When new LTS released I have read in a few forums that it had issues with grub. (while having dual boot, 1) ubuntu 2) windows). What do you advise? Shall I upgrade or stay as I am now? [20:26] I'm afraid to upgrade because of the grub issue that I have read. Not to be able or to lose my files in Windows. [20:28] Hi all. When I installed ubuntu recently, my WIFI worked on the live install usb media, but I don't see it after the system is installed. Does the install media include drivers that aren't available by default in the install? [20:40] nathan-web: Post URL from terminal for> lspci -nnk | grep -iA3 net|nc termbin.com 9999 [20:41] Jeremy31: https://termbin.com/y3u9 [20:46] nathan-web: Post URL after this is finished> wget -N -t 5 -T 10 https://github.com/jeremyb31/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info [20:48] nathan-web: Note that you are downloading a file from a third party. === sintax_ is now known as sintax [20:48] press y when it asks you to upload to default pastebin [20:48] Wow, running foreign code even. [20:49] jhutchins: It is a newer version than the ubuntuforums one [20:52] nathan-web: If you want to run the ubuntuforums version see https://ubuntuforums.org/showthread.php?t=370108 [20:53] Still have to type y when it asks to upload, then post URL so the results don't spam the chat [20:54] rfm tomreyn the iso was ok. I did not check the resulting usb key though. I have nt the machien at hand, but I will try in a VM agin just to see [20:56] Jeremy31: Here is the ubuntuforms version: https://termbin.com/pzfh [20:57] Is there a compelling reason to use the git version instead? [20:57] nathan-web: post URL after> cat wireless-info.txt|nc termbin.com 9999 [20:58] nathan-web: I thought I had my github version updated for that wifi driver-mt7921e but I need to fix that [20:58] Jeremy31: that is what I pasted. [20:59] nathan-web: That is the script itself not the results [21:00] Oh, hah, didn't include the txt [21:00] nathan-web: what about URL for> sudo dmesg | grep mt7921e|nc termbin.com 9999 [21:01] Jeremy31: https://termbin.com/gw58 [21:01] dmesg didn't have anything matching that. [21:05] nathan-web: nothing for > sudo dmesg | grep mt7921e [21:05] Correct [21:06] nathan-web: try> sudo modprobe -v mt7921e [21:07] Modprobe usually works instantly right? It prints `insmod /lib/modules/6.2.0-20-generic/kernel/drivers/net/wireless/mediatek/mt76/mt7921/mt7921e.ko`, but it doesn't complete. [21:10] nathan-web: it usually works quick, try a reboot after> sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf [21:10] Okay, brb [21:15] Jeremy31: That seems to have done the trick. [21:15] !cookie | Jeremy31 [21:15] Jeremy31: Wow! You're such a great helper, you deserve a cookie! [21:15] Jeremy31: could you repaste that line here? I want to take note of it, but it didn't save in my bash history. [21:16] nathan-web: sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf [21:16] nathan-web: That keeps Network Manager from enabling wifi power management [21:17] I didn't think it was a big factor with mt7921e module [21:17] Is this a bug in the driver/firmware, or hardware? [21:17] Anyone knows where ungoogled chromim cache files are located with the tabs that are currently open? [21:17] Mine is frozen and i can't afford to loose the tabs in question! [21:17] * **Anyone knows where ungoogled chromim cache files are located with the tabs that are currently open?** [21:17] **Mine is frozen and i can't afford to loose the tabs in question!** [21:18] nathan-web: Some drivers don't perform well with power management on, some drivers crash with it on [21:18] u8353v[m], just drag that tab away from chromium, as its own instance [21:18] Jeremy31: That's a shame. It is interesting that it worked on the live install. [21:18] Jeremy31: Thanks for your help! [21:19] oerheks: No. the whole thing blacked out! [21:19] I have two windows open. Completely frozen! [21:19] To be sure i won't loose anything i need to access the cache files. [21:19] how do i find where the browser cache files are located? [21:19] nathan-web: have fun [21:19] i tried dpkg-query -L ungoogled-chromium [21:20] no idea howto to determin what cache in ~ /.cache/chromium is a tab, sorry [21:20] u8353v[m]: Usually you can re-open tabs in chrome after a crash. Is that not the same in ungoogled-? [21:21] nathan-web: i believe so. yes! [21:21] it's just vauable tabs i really don't want to loose! [21:21] for some strange reasons ungoogle chromium is not showing under /home/user/.cache/ [21:21] google-chrome is [21:24] anything that i can try is most welcome! [21:24] i just can't find the folder related to unggogled-chromium install [21:24] s/unggogled/ungoogled/ [21:24] me neither, also it is officially not supported by us [21:27] oerheks: 100% [21:27] I just wanted to know what commands i can use to find it's install location? [21:27] I'll google around [21:27] u8353v[m]: dpkg -L [21:27] maybe google has an opinion about ungoogle chromium [21:27] tomreyn: i tried dpkg-query -L ungoogled-chromium [21:31] bing does not tell me either [22:15] Wouldn't that be either ungoogled-chrome or just chromium? [22:15] Ungoogled chromium seems redundant. [22:16] how can I troubleshoot custom gnome keybindings? my script does nothing when run as a keybinding but works fine when running from terminal [22:16] this likely produces exit codes or stderr output, is that available somewhere? [22:17] "We want to use this great browser you made, but we also want to hate on you for it, so we stripped brand name off and called it something else. [22:18] torbjorn1: your script probably relies on some ENVARS that are only available in your shell from a terminal [22:18] torbjorn1: I would recommend putting some debug lines in your script, writing out to a file as a log to see what it's doing or not doing [22:19] torbjorn1: if it's a shell script, try adding -x to your #!/bin/bash -x [22:20] where might I the commands as they are executed? [22:20] and what does it take to just make things as they appear in my gnome-terminal? [22:21] torbjorn1: what language is the script written in? [22:21] bash [22:21] I'm itching to ask why it isn't already setup, ie. why would I rather have a trimmed down thing that is less than the environment I normally work in when I execute my custom keyboard shortcuts [22:22] torbjorn1: what? [22:22] leftyfb: suggested my environment is different from the one I have in my normal graphical terminal [22:23] (and he's probably right) [22:23] torbjorn1: right, because calling it from hotkeys is different than from your terminal [22:23] well maybe you have something in your bash profile or whatnot [22:23] torbjorn1: follow my troubleshooting steps [22:23] leftyfb: yes, that much I gather and I believe you, I was asking about the design behind this [22:23] torbjorn1: we can't answer that until you debug and find out what is missing [22:24] when you open a terminal, it starts a shell in interactive mode [22:24] which is going to be differnet than running a random script fro ma keybeinding [22:24] leftyfb: I see my debug echo "hello"'s in an arbitrary file, I added -x but I asked where I am supposed to see where bash prints the commands as they are executed. I don't see them anywhere. [22:24] torbjorn1: you need more debugging than that [22:25] torbjorn1: feel free to /join #bash and ask there for more debugging tips [22:25] rbox: yes, and yes, but why? [22:26] passwd says my shell is bash, why would gnome do things differently in a keyboard shorcut as compared to its terminal? [22:26] I am using the default gnome terminal after all [22:27] rbox: I mean whats the idea behind this, why am I better off having a different environment in my gnome shortcut rather than in my gnome terminal [22:28] the bash man page expalins all the modes it has and all the files it reads [22:28] leftyfb: dont you think people in #bash will tell me this is a gnome problem and not a bash problem? [22:29] right, its 6418 lines long [22:29] torbjorn1: step #1 figure out the problem. You don't have that figured out yet. You do that within bash to debug what is missing/not working [22:29] torbjorn1: you have a 6418 line bash script? [22:29] no [22:29] that was for rbox [22:29] the manual is that long [22:30] well, if you're going to compalin about bash [22:30] better understand bash before complaininga bout it [22:30] torbjorn1: good luck [22:31] leftyfb: i will get to it, i was hoping I could first understand why there are differences , knowing the bigger picture or philospohy behind something just makes it easier to udnerstand the downstream implications [22:32] i just told youw how to undersatnd the differences [22:32] royks: so INVOCATION explains login shell and interactive shell [22:32] torbjorn1: running a shell script outside of your shell will not run all of the envars, functions, profile and settings from your specific user [22:32] leftyfb: yes, I believe you [22:33] I'm really just asking why this is a good thing [22:33] so you can have a diffferent enviromnet in an interactive shell versus not [22:34] torbjorn1: it's not matter of being "good" or not. I don't know how to explain it any other way. You didn't run the script from your personal environment so none of your personal environment settings are included [22:35] yes, different environments in my gnome terminal compared to my keyb shortcut, I get that, I just dont see the benefit [22:35] I mean its being done deliberately, right? [22:35] peopel like to do really stupid things [22:35] in a login shell [22:35] that would break if it happened every time you ran a script [22:36] ah [22:38] so im protected from myself [22:38] no [22:38] you can still do really stupid things at any poitn [22:38] torbjorn1: it has nothing to do with being a "benfit" or "good". It's how it works. [22:39] leftyfb: most thing that work in a specific way, do so for a reason. [22:39] that's not this [22:39] I find it hard to belive this isn't a deliberate design choice for a particular reason [22:39] it's not [22:41] running a script from a terminal, any terminal, including gnome-terminal or terminator or konsole, will all open up your specified shell and environment per your .profile and .bashrc (if you're running bash). Running a script outside of that has no concept of that environment because it didn't run from there [22:43] its still a design choice, right? they chose to read thos files in the interactive terminal, and not in those other cases one might want to run a script [22:43] i already told you [22:43] so you can do stupid things in a login shell [22:43] tahts not gonna happen every time you rn a script [22:44] yes, im really just answering leftyfb who seemed to have a somewhat different take on it [22:44] torbjorn1: I think it's just not clicking for you and I don't know how to put it any other way [22:44] torbjorn1: regardless, good luck with your script [22:45] i still have not seen the script, reading back [22:45] leftyfb: i understand what youre saying perfectly. in a keyb shrotcut and crontab and whatever other context bash doesnty read my ~/.bash_profile , but in my interactive terminal it does [22:45] I'm just asking why the interactive terminal does these extra things (which rbox has now answered) [22:46] because the former was not run from your shell environment [22:46] oerheks: I just wanted to get to the bottom of these environment differences [22:47] leftyfb: right, but to me I see the bash in my shebang, why should that be any different in these different contexts? bash is my shell after all, its right there in passwd [22:47] torbjorn1: i ALSO already told you to read the man page [22:48] yes, I found the INVOCATION section, it explains about login shells and interactive shells and probably lists which reads whihc file. I thought your explanations with the doing stupid things was fine. [22:48] torbjorn1: good luck [22:50] Someone told me in order to install ubuntu i have to do pic related: https://filetray.co/uploads/xRgTth.jpg the thing is I have no experience in hardware or "SPI" or serial interface stuff. Can anyone shed light on this please? [22:50] what I wanted to get to was this, when I develop my bash script, I'll have an editor with it open, tinkering, and I'll be sitting in my gnome-termial running it , iteratively completing it till it works. Then when I want to run it in cron or keyboard shortcut or who knows where, I have to add all these bits that are only there for the shell environment, be that .bashrc or profile. [22:51] so I source them and then it works, and at that point, why was it idfferent in the first place [22:51] !ops [22:51] Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [22:51] as I said, rbox seems to have a good explanation, [22:51] fine ill drop it [22:51] tyrell_willick6[, leave this network, thanks [22:51] torbjorn1: the ops wasn't for you [22:51] oh [22:51] its ok i can drop it anyway [22:53] the script just runs a single rdesktop call, it uses secret-tool to look up the password needed, and it runs a bash function defined in .bashrc to find the ip of the host (its virual so behind virbr0, meaning I'll find it sticking out in the arp cache), I have added export -f to that function in my .bashrc, I have added . $HOME/.bash_profile to make sure .bashrc gets loaded [22:53] oerheks: ok mom [22:53] torbjorn1: define the function in your script [22:53] if I echo $? to a temp file I see 64, which isn't really helping, I knew alerady it want working. It'd be much more useful I could see the stderr stream [22:54] leftyfb: re-define? [22:54] yes [22:54] just stick it in a script in ~/bin [22:54] shodun't be randomly sourcing bash profile in random scripts [22:54] since your ~/.bashrc doesn't exist as far as the script is concerned when run outside your environment [22:54] well my profile isnt random, its quite useful for the things I do in bash [22:55] bash_profile is meant from interactive shells [22:55] well, i dont mind, my interactive shells are useful to me [22:55] torbjorn1: ~/.bashrc and ~/.profile do not exist outside of your environment [22:55] and its where I spend all my time anyway [22:55] apparently not\ [22:55] leftyfb: but I can still source them right? theyre just files [22:55] since your running a script outside of an interactive shell [22:56] rbox: :) [22:56] s/all/most of/ [22:56] torbjorn1: yes. Though sourcing environments from ~/ is probably not the best idea [22:56] just stick the function you need in the script [22:56] leftyfb: so what about my interactive environment makes it not suitable for things like this? [22:58] most of things I install at a user level modifies .bashrc, node/npm for example. installing that put 'export NVM_DIR="$HOME/.nvm"' in my ~/.bashrc. I won't have npm unless that gets executed [22:58] I have my rootless docker socket defined in .bashrc, won't get long without that [22:59] etc etc. All kinds of things that I work with are put in .bashrc by defaylt. If theres no other way I'll rip them out and put them elsewhere, but thats not fixing my solution. its just treating a symptom then [22:59] the symptom of you not reading the man apge and undersatnding how bash works? [22:59] i mean, theres an esay fix for that [23:00] rbox: the world around me is putting the things I need in my .bashrc, I could fight that or live with it [23:00] * rbox gives up [23:01] leftyfb: is consistently telling me I shouldnt source my ~/.bash* files in my scripts [23:02] because scripts run from your interactive shell already know about it. scripts run outside of your interactive shell should have said functions and/or envars set within them or as part of a system-wide setting [23:02] tyrell_willick6[: please do not PM [23:02] !op | troll here posting garbage in the channel and in PM [23:02] troll here posting garbage in the channel and in PM: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [23:03] !op | tyrell_willick6[ [23:03] tyrell_willick6[: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [23:03] el, see tyrell_willick6[ (~tyrellwil@2001:470:69fc:105::3:4bd8) [23:03] stop posting my ip [23:04] or i will kiss your forehead [23:05] find. the man page. man bash at line 13729 starts a section titled INVOCATION. the paragraph starting with "When bash is invoked as an interactive login shell" lists what files are read when and in what order. It does not say what login shell, any mentions of it just says see the INVOCATION section, which does not explain what it is. [23:05] s/find/fine/ [23:07] googling it, it says the login shell is the first process that is executed with your user id when you log into an interactive session. why should that be important to me, I just code things in a script and want to execute it. if my shell is the first or last process has no relevance to me with what im doing [23:07] yes I can copy that function definiion and put it into every script that needs it. which is maintenance nightmare. [23:07] but ill take that question to #bash [23:07] torbjorn1: you should continue this in-dept discussion about bash in #bash [23:15] hello [23:17] Guest6412 hello [23:17] hello Jari-- [23:19] Guest6871 want a cup of coffee? === Guest6871 is now known as Nevermets [23:19] Jari--: lets not [23:19] Nevermets: do you need support with ubuntu? [23:19] Jari-- thank you [23:20] leftyfb may be in future, thank you. : ) [23:20] just exploring chatrooms [23:20] new to libera === Nevermets is now known as info === info is now known as Nevermets === docmax is now known as Guest9208