[00:08] is anyone having an OOM issue with lightdm onn 21.04? usually upon login? [00:09] ran an apport-retrace -g on it /var/crash log and it's a memory issue [00:09] digging through the net, basically confirmed that this *was* an issue way back in 14.04, but nothing of recent [00:10] there were no proposed solutions though. just the reporting [00:25] Are there any good strategies for avoiding the annoying entries in 'df' that are caused by snaps? [00:30] df -ha | grep -v snap [00:41] found the bug, it's upstream. lightdm is leaking mem like a sieve. changed to gdm and issues went away. now off to see if this issue has been reported [00:41] Okay, so the real issue is that now, udev is NOT setting up any audio devices. I'm not sure what the hell, because I didn't do _anything_ with udev [00:42] * kevr sighs === M4he is now known as mahe [01:15] Croran: df -x squashfs [02:55] leftyfb: nice [02:56] leftyfb: dfc -t -squashfs [02:56] leftyfb: if you like dfc (i do) === _miruoy is now known as miruoy [03:19] Hello, trying to get my wifi working on a new install, on linux mint the fix was to install linux-oem-osp1, but using ubuntu 20.04 it tells me that it doesn't exist. I downloaded a .deb of it as well and it said not supported. Kernel is 5.11, I think mint might have been 5.13? [03:19] I also tried installing linux-oem-20.04, but it didn't change anything, unless there's something else I need to do there> [03:22] krickit, the package you mention is there `linux-oem-osp1 | 5.4.0.81.85 | focal-updates | amd64 [03:22] ` but you're using the HWE kernel and it's for GA [03:26] I don't know what those are. How would I change kernel? Or is there a different version of the package for HWE? [03:27] !HWE | krickit [03:27] krickit: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [03:28] Okay, I'll try the downgrade listed there, thanks for the help [03:38] Hey guys [03:39] so far my system has 17,289 packages installed [03:39] we are on the road to a complete Ubuntu system, finally! [03:39] Theres always another package to install [03:40] its never ending [03:40] i doubt i will able to install all packages; some of them are mutually exclusive of eachother [03:40] very true but you can atleast try lol [03:40] however, I think I have come up with a method to install as many as possible [03:41] Im working on a project right now where I'm running ubuntu VMs in the cloud for gaming, any advice on how to go about it? [03:42] each time ive tried ive hit a brickwall with error after error [03:42] you can do that on AWS; use the nvidia drivers they link to in the documentation, with the recommended instance types [03:43] tried that, my problem is that im using google cloud so its a near impossible task to do anything [03:43] i hate gcp so so much [03:43] linux-oem-osp1 is still not found by apt... [03:43] i cannot help on gcp; you should use aws for that project [03:44] uname -sr -> Linux 5.11.0-31-generic [03:44] Ah you see gcp have the cheapest gpus, hence the stupid choice [03:44] gcp is too technical. you will need to use kubernetes on gpu instances, with nvidia docker [03:45] right now Im just struggling to run a game on these stupid vms - keep getting errors where the vm isn't using the nvidia card to power the game - defaults to a vga controller instead [03:46] use nvidia docker [03:46] alongside kubernetes? - down the rabbit hole i go [03:46] !info linux-oem-osp1 focal | krickit [03:46] krickit: linux-oem-osp1 (5.4.0.81.85, focal): Depends on the generic kernel image and headers (dummy transitional packages). In component main, is optional. Built by linux-meta. Size 2 kB / 18 kB. (Only available for amd64.) [03:47] !info linux-image-generic focal | kri [03:47] kri: linux-image-generic (5.4.0.81.85, focal): Generic Linux kernel image. In component main, is optional. Built by linux-meta. Size 3 kB / 18 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.) [03:50] linux-image-generic is installed? [03:53] krickit: Maybe - what shows ' dpkg -l | grep linux- ' ? [03:54] https://pastebin.com/QapUfmua [04:00] krickit: Nope - must be a fresh install 0f 20.04.3 - the HWE link has instructions to install the Generally avaiiable kernel (5.4.0-81-generic). [04:01] ii linux-image-generic 5.11.0.31.33 [04:02] Is listed, tehre, do I need 5.4 specifically? [04:05] krickit: As your apt is not finding the taget package and we have the advisory "Depends on the generic kernel image and headers"; I am assuning that yes you need the 5.4 kernel. - but what shows ' apt list linux-oem-osp1 ' ? [04:06] Nothing. [04:08] krickit: My return on the 5.4 kernel " sysop@2004x-c:~/uwn$ apt list linux-oem-osp1 >> linux-oem-osp1/focal-security,focal-updates 5.4.0.81.85 amd64". [04:08] Imma reboot to try Robin Reni's fix: https://askubuntu.com/questions/1263279/intel-wi-fi-6-ax200-adapter-not-found-on-ubuntu-20-04 [04:12] Kristine: "sudo add-apt-repository ppa:canonical-hwe-team/backport-iwlwifi" looks to be the saner approach here, to maintain our support - once you go with tht mainline kerenl it is then out of our ball park. [04:13] Kristine: Yukkie - soory for the bad highlight there :( [04:14] Didn't work though :D Imma assume changing from the HWE kernel to GA probably messes with that fix, so I'm going to reinstall Ubuntu and try again [04:14] I've kept browser history so I can try changing kernels again if I need [04:14] also I'll use Ubuntu 21 this time too just in case [04:14] Kristine: did you try the PPA approach ? [04:15] I did, rebooted and iwlwifi still is acting the same [04:15] Kristine: And yes - 21,10 may have the updated WIFI driver :) [04:17] Thanks so much for your help Bashing-om [04:19] Kristine: Not much help - but sometimes hand holding is a good thing .. and it is 21.04 vice .10 :( [04:20] !info linux-image-generic hirsute [04:20] linux-image-generic (5.11.0.31.33, hirsute): Generic Linux kernel image. In component main, is optional. Built by linux-meta. Size 3 kB / 18 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.) === Casper26_ is now known as Casper26 === ilmais1n is now known as Guest1400 === vquicksilver is now known as Guest8645 [06:25] wqe [06:29] hi === EriC^ is now known as EriC^^ === pasiz8 is now known as pasiz === EriC^ is now known as EriC^^ [08:02] hey all [08:04] ubuntu 20.04. all my desktop icons are gone. is that a nautilus issue or did i accidentally flick a switch? [08:12] lavaball, nautilus is file manager ,you maybe have problem with gnome-shell === diskin_ is now known as diskin [08:16] sir i understand the value of baba [08:16] whos rong windo [08:17] oh, i just duckduckwent around and i found something about nautilus-desktop being the issue. anyway, i guess it isn't. so what do i do now? i liked the content of ~/desktop being display on well, the desktop. [08:21] lavaball, did you install any gnome-shell-extension [08:21] lavaball:reboot first? it could be gnome-shell problem. [08:22] didn't install anything. [08:22] lavaball, did you update system [08:23] like a week ago. [08:23] ran fine since. [08:23] from 18.04 to 20.04 [08:23] icons where there and everything. [08:23] were [08:31] gsettings show org.gnome.desktop.background |grep show-desktop-icons says false. but they are also false on my 18.04 box. [08:39] this value in my 20.04 is alos false, and my desktop-envirment is xfce4. [08:45] milicat, thanks. [08:50] i keep reading about gnome disabling desktop icons all together. is that the case? do i need to install this gnome-shell-extension thing i also keep reading about? [09:16] hm, reboot fixed it. [09:19] if i have a desktop application shortcut and i start it, i d on't have a symbol in the left launcher dock thing. [09:28] Hi. Was the package mlton (in universe) removed from ubuntu 20.10 onwards? It was there in 20.04 https://packages.ubuntu.com/search?keywords=mlton [09:29] famubu: Tip. You can check on the status and publishing history of any *source* package on Launchpad using the initial URL https://launchpad.net/ubuntu/+source/$SOURCE where in your case $SOURCE=mlton [09:30] famubu: then top-right choose "View full publishing history" [09:31] famubu: from that you'll see it was removed from Debian so consequently was removed from Ubuntu [10:13] TJ-: Oh... Thanks! Had no idea such records were accessible. [11:08] Hi all [11:58] hey how do I install a2enmod in 18.04 [12:04] Ronalds_Mazitis_, #ubuntu-server? [12:05] found answer [12:05] https://devopspoints.com/ubuntu-server-18-04-installing-additional-apache-modules.html [12:06] just sayin server talk in server channel....glad you have answer to you issue [14:22] Hi all. Does one need multipathd on an Ubuntu server VM if one doesn't use it? (No configs, no SAN, etc.) [14:39] locsmif: maybe more luck at #ubuntu-server ? [14:52] weird breakage right now with 20.04/Xubuntu/Xorg. Soon after logging in something seems to trigger a context right-click, a contect dialog pops up and mouse interaction via pressing mouse buttons, or keyboard navigation, fails, as if something has grabbed the focus and won't let go. Happened about 5 times now. Currently in a tty console with weechat, with the GUI sleeping on tty7. Not spotted [14:52] anything in --system or --user journal logs. Looking for ideas [15:03] TJ-: could it be related to bug #1941933 [15:03] Bug 1941933 in linux (Ubuntu) "[HONOR BOD-WXX9] sticks the mouse pointer when using the touchpad" [Undecided, Confirmed] https://launchpad.net/bugs/1941933 [15:05] lotuspsychje: I'm in console so can't visit links! Don't think so because so far as I recall the touchpad is disabled since I'm using Bluetooth keyboard and mouse - plus, not touching the laptop at all so unless touchpad is generating spurious input ... [15:06] lotuspsychje: thanks [15:07] Another question: is it true that Ubuntu is moving towards Snap as the package manager rather than Apt? I heard a rumour to that effect today. [15:08] lotuspsychje: hmmm, but looking at the GUI's Settings for Mouse etc; several VERY strange device names show up, including some "Realtek Reference Design" thing, and the USB<>Serial adapter! [15:13] TJ-: wich kernel are you on? [15:15] lotuspsychje: just checked that - noticed the USB<>serial reported by lsusb as a PS/2 mouse. Un/Re-plugged and its back to a USB RS232 adapter. Kernel 5.14-rc5 [15:16] doubt its the kernel since PC has been running that build since August 12th [15:17] TJ-, you should really stop using serial mice, even through USB-Serial adapters ... its 2021 after all ! [15:17] 😄 [15:17] ogra: :P [15:17] lol [15:17] serial mice are easier to catch [15:17] because they come in rows ? [15:17] whereas cereal mice hide in the oats [15:17] ! [15:18] ba-boom! [15:19] This all started about an hour ago when the builtin RTL wifi device went pear-shaped, so lost bluetooth as a side-effect, with the driver reporting something to the effect of "cannot get firmware out of lps mode" which I inferred as Low Power State so did a reboot, and now this. [15:20] i'm trying to install the wine-staging on ubuntu focal but I'm having a problem with the i386 libraries, is it possible to workaround or some solution? [15:32] TJ-: reminds me a little bit of an older apple magic mouse issue on a 18.04 kernel where i had to click several times to get the mouse active on BT [15:33] I suspect it was one of those /weird/ devices generating spurious input. I'm back in Xorg now and - so far - it hasn't happened again [15:33] hmm [15:33] I disabled all but the expected devices in Settings [15:47] I'm trying to check how many VSCode integrated terminals are running at any one time. I can test against "$TERM_PROGRAM" == "vscode" in the current shell, and I can get a count of shells with `ls /dev/pts/ | wc -l` ... is there a way to check how many existing shells has that env variable set? [16:01] noarb I suppose you could look in /proc/*/environ, could readlink /proc/*/exe to check if the proc is a shell, or readlink /proc/*/fd/0 to see if stdin is a tty [16:03] https://defuse.ca/b/bPZACAZlht5CzX87ClgV52 - when i try to mount this disk -> wrong fs type, bad option, bad superblock on /dev/sdc, missing codepage or helper program, or other error. [16:03] any ideas on how to fix this drive? [16:03] noarb: this should work: " for pro in /proc/[1-9]*/environ; do [ -r $pro ] && cat $pro | xargs -0 | tr \ \\n | grep -q TERM && cat ${pro%/*}/cmdline | xargs -0; done " [16:03] noarb: change TERM to whatever you want to match [16:08] TJ-: I'm going to study that snippet for a little bit, but right now it seems to be janky due to tmux sessions [16:09] I'm trying to maintain manually how many integratged terminals there are open and add them to their own window in a "vscode" tmux session [16:10] noarb: I ran it from tmux :) [16:12] noarb: all it does is read the environment of each non-privileged process current $USER can read, convert the zero-terminated string to space-separate, convert spaces to linefeeds then pipes into grep which, if it matches, cats that process's cmdline through xargs to convert the zero-terminator of arg[0] to a space so it is readable [16:12] this is what I got: https://bpa.st/SCDA I have one gnome terminal with tmux (irssi and two bash shell windows), then I have three vscode windows open, one of which is connected to the tmux session [16:13] so I would have suspected to currently have only one shell with vscode, although I could see there being three (or four) if something was going on behind the scenes [16:13] noarb: you probably want to alter what is output when there's a match to include process ID [16:14] noarb: you're matching on TERM not TERM_PROGRAM there [16:15] Childs processes will also have TERM_PROGRAM, you'll want to also check the exe [16:15] Or, check if the parent is: `/usr/share/code/code /usr/share/code/resources/app/out/bootstrap-fork --type=ptyHost` === ajfriesen4 is now known as ajfriesen [16:49] hi, I'm having trouble extending a disk on a virtual machine. I increased the storage from 20GB to 25GB and I'm now trying to resize the partition that contains my LVM. but in parted, I get "Error: Can't have overlapping partitions." anyone see what I am doing wrong? https://lf.ms/fdisk.png [16:50] lifeforms: yes [16:50] TJ-: nice :) [16:51] lifeforms: that device has an msdos disk label, which only supports 4 primary partitions. You have partion #5 which inferes there is an extended partition to contain partion #5. You need to enlarge the extended partition first, then partition #5 [16:51] ahhhh! [16:51] lifeforms: so first enlarge #2 then it'll have free space for # 5 [16:51] nostalgia! [16:52] thank you [18:08] if I create a tmpfile in my ~/.bashrc, will the same PID $$ be used in ~/.bash_logout to clean that file up? Or do I need to keep track a different way? [18:10] rather than checking how many terminals are vscode, I think I could keep track a little easier this way, just counting files of a template. I wonder what best practices would be for that === Metamorphosis is now known as A-cat [18:39] I'm having an issue with a bluetooth speaker. When I first add it, it works fine. If I turn off the bluetooth speaker and turn it back on to use at a later time, ubuntu will disconnect / reconnect in a cycle about every 45 seconds or so. (The playback continuously switches between the laptop speakers, then the bluetooth ones, then back, etc) -- I can fix this be forgetting the bluetooth device and re-pairing it. Does anyone know a few things to try to [18:39] make the reconnecting work properly? [18:55] noarb: have you explained your end goal? Why are you keeping track of the terminals? [18:59] octav1a: did you set the device to 'trusted' status [19:00] I mentioned it up above. I'm trying to keep track of vscode integrated terminals so I can join them to a dedicated vscode tmux session. I want that so I can switch the window to a different session if I want to continue the work in vscode. If the window just joins the regular session, like another instance of gnome terminal it will restrict the window size. So I think a dedicated tmux session for vscode, [19:00] with each vscode integrated terminal in a new window in that session would solve the problem [19:01] I think a /tmp/vscode-shell.$$ file created in bashrc, and then count those files to know what window to create, VSCODE_COUNT=$(ls -l /tmp/vscode-shell.* | wc -l) [19:05] noarb: you could create ~/bin/bash that checks with the TERM* variable or with PPID if it's called from vscode, and if so, it would call tmux, otherwise it would exec /bin/bash "$@" [19:05] noarb: eww really? /tmp/vscode-shell.$$?? what does vscode do with those files? [19:05] vscode searches for bash in the path, so it would invoke your ~/bin/bash instead of /bin/bash [19:05] sarnold: no bad ideas in brainstorming :-) [19:06] noarb: oh, is this *your* pathname, not vscode? [19:07] yes, I'm creating it in bashrc. (or, I'm debating creating it in a bashrc to keep track of how many vscode integrated terminals are open, to keep track of where to place a tmux window in a dedicated vscode session) [19:07] noarb: aha, cool. I was afraid I was going to have to report a security issue to vscode folks ;) [19:08] noarb: please do switch to mktemp before sharing the script around :) hehe [19:09] is that a security issue? I'd like to research more and do it correctly [19:09] noarb: here's an example, if you put this to ~/bin/bash, it'll show a message if and only if it's launched inside vscode: https://termbin.com/wala [19:10] So instead of the message, put your tmux command there, to launch bash directly inside the tmux window or whatever else you like [19:10] yeah; on ubuntu kernels the default settings of sysctls fs.protected_symlinks etc mitigate the worst of the effects of using predictable filenames in /tmp but not everyone runs ubuntu kernels, nor do all kernels implement these features [19:11] alkisg: I'm able to detect if I'm in a vscode terminal in .bashrc via [ "$TERM_PROGRAM" == "vscode" ], is overriding ~/bin/bash better or safer? [19:11] sarnold: thanks, I'm going to read up on that more [19:11] noarb: with a wrapper, you can run stuff on "enter", on "exit", and even replace what gets to run (e.g. run bash inside tmux) [19:12] While if you only want to increase a counter etc, then sure .bashrc is fine [19:13] can I use one of these VM images with gnome boxes? [19:13] https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ [19:14] TJ-: yes [19:17] octav1a: not sure what is going on UNLESS another device is also connecting to the speaker (a phone maybe?) and they're playing ping-ping [19:22] hmmm, apt-key del ... - doesn't! [19:23] got an old expired key in trusted.gpg but apt-key doesn't delete it despite reporting "OK" on command line [19:25] TJ-: My note: "Deleting a key ('apt-key del '), or removing a repository; one has to manually remove the empty keyring files, in addition to removing package repositories. !!!". [19:27] Bashing-om: this key is in the main /etc/apt/trusted.gpg keyring [19:29] Had to use gpg manually: " gpg --homedir . --no-default-keyring --keyring trusted.gpg --delete-keys "Skype Linux Client Repository " " [19:29] (executed as root in /etc/apt/0 [19:30] iconoclasthero: the vmware images may work. gnome-boxes is a frontend for qemu-kvm, which has native support for vmdk format v5 [19:31] well shut, i guessed the wrong one on a 7 gb download. :( [19:31] TJ-: That is some kind of an invoation there :D note for future reference ? [19:32] Bashing-om: I seem to recall this apt-key issue from years ago too [19:33] Bashing-om: apt-key is a wrapper around gpg to make it easier to use and setting the correct homedir, so what I did manually is what apt-key does (badly!) [19:33] Bashing-om: if you're going to store the command line, use the following [19:33] Had to use gpg manually: " gpg --homedir /etc/apt --no-default-keyring --keyring /etc/apt/trusted.gpg --delete-keys "${KEYID}" " [19:34] Bashing-om: and remember that will only remove keys from the primary trusted.gpg - it will never delete files in /etc/apt/trusted.gpg.d/ - those have to be removed manually [19:37] iconoclasthero: you can convert between most image file formats. [19:37] TJ-: So noted - thanks. [19:38] what i have downloaded is MSEdge.Win10.VirtualBox.zip [19:38] it's great that ubuntu uses torrent for distribution. i always grab new images that way! [19:38] it looks like boxes will accept the unzipped .ova image. [19:40] Bashing-om: have you considered a 'power users corner' in the newsletter? [19:41] does 20.04 require anything special for gnome boxes out of the gate (e.g., like 18.04 does w/ the kvm, etc., pkgs?) [19:46] TJ-: Well things along that line - I would be receptive to a change in the format :( .. issue 698 is soon now to happen. [19:46] Bug 698 in glabels (Ubuntu) "glabels should depend on at-spi" [Medium, Invalid] https://launchpad.net/bugs/698 [19:48] lol buggie bug hunter [19:49] TJ-: ^^ To be Honest - we just do not get enough feed back from our readers to make a determination of what changes to make. [19:50] Bashing-om: right; I think we had this discussion a year or so ago, that being a major failing of the format [19:56] TJ-: For sure would be good to add a section for those things we know of that fall out of "in this week's events". [19:57] TJ-: With your consent will add your suggestion to the want list :) [20:06] Does Ubuntu work with miracast? [20:07] oe anycastZ? [20:07] or anycast? === A-cat is now known as Metamorphosis [21:42] why does dragging and dropping windows on linux suck? [21:43] I haven't used a window manager that offered that for a long time, but I don't remember anything super bad about it when I did it [21:43] Batzy: Does it??? Probably depends on the Desktop Environment you use... [21:43] minimec i've noticed it on multiple DEs and multiple distros [21:43] if i try to drag a browser tab out [21:43] to another screen [21:43] holy hell does shit go down [21:44] Batzy: What's your GPU? [21:44] nvidia rtx 2060 super [21:44] Batzy: no problems here with amdgpu [21:44] Batzy: Ok... ;) Blame it on 'team green'... As Linus said... Nvidia... Fuck you... [21:44] Xubuntu 20.04 [21:45] Batzy: I had problems with my nvidia gtx1060 on Enlightenment, but they are gone now. [21:46] Batzy: The Nvidia driver can be a bit tricky with some cards. [21:46] oh, I always stick with intel onboard, that might be part of it [21:47] Batzy: Try some configuration options in nvidia-settings... https://blog.desdelinux.net/en/how-to-improve-the-performance-of-your-nvidia-card-in-linux/ [21:47] i dont think it's performance [21:47] Batzy: https://www.google.com/search?channel=fs&q=nvidia+optimize+nvidia+performance+linux [21:47] like i can play games [21:47] 3d games just fine [21:47] but if i try to move a tab out of my web browser [21:47] it's actually hilarious [21:48] Batzy: It is not only 'performance' in regard of speed, but of 'features'... [21:51] does your guide address that [21:54] Batzy: First link I posted, probably not... Try the arch wiki for example. Often the arch wiki gives some good tips and tricks [21:54] Batzy: https://wiki.archlinux.org/title/NVIDIA === EriC^^_ is now known as EriC^^ [22:43] #join #html [23:41] Hello, i'm using ubuntu 20.04 is it possible to disable the update popup notification that appears when i do "apt update" ? thx [23:46] i was tinking of deleting the file /etc/apt/apt.conf.d/99update-notifier but i'm not sure it's the right way ? [23:46] Guest08: in "software and updates" you could make the updates show weekly only or not at all if you want [23:47] i've done that already but it doesnt stop the popup [23:49] oh well it's not a huuuge problem i can live with it for now, thx anyway