[02:11] <mcc> Maybe I'll ask on the Ubuntu forums
[04:22] <bobdobbs> in the default desktop environment in Ubuntu, how can I get a screenshot of the screen in it's current state?
[04:23] <bobdobbs> If I hit the 'prtscrn' button, the state of the screen changes, and I lose the state that I'm trying to capture.
[04:24] <bobdobbs> Yesterday I needed to get a screenshot of the screen in the current state, and the only way to do it was to a KDE tool that gets video capture... then I opened the video capture in vlc... which I then used to find the right frame. But that's horribly inefficient.
[04:26] <bobdobbs> Basically I'm making some documentation and I need to show the context menu when my browser is active. But hitting 'print screen' closes that menu
[04:29] <bobdobbs> Just now I've tried OBS, but OBS doesn't capture the context menu. It's invisible to the video caputre!
[04:34] <bobdobbs> There's linux tool called 'vokoscreenNG' that is similar to OBS. That doesn't capture the right-click menu either
[04:34] <toddc> bobdobbs: have you tried the built in screenshot tool?
[04:36] <bobdobbs> yes. The built-in screenshot tool changes the state of the screen, which is precisely what I want to capture
[04:36] <bobdobbs> toddc: If I hit the 'prtscrn' button, the state of the screen changes.
[04:38] <bobdobbs> toddc: in particular, I need to show an image that show the open context menu in a web browser
[04:38] <toddc> mine stays the same same size no notible changes  testing a bit more
[04:39] <bobdobbs> toddc: that menu closes when you either use the "instant screenshot" feature of ubuntu's screenshot tool, or if you open the print screen options.
[04:41] <toddc> what version of ubuntu?
[04:42] <bobdobbs> 22.04
[04:44] <toddc> same here I fill out a search window on a web page then used selection option and it saved the test window data for me but it may also be that the web page you are looking at has added scurity
[04:46] <toddc> no idea maybe someone else can diag more
[05:27] <theh> I noticed a package in the universe repo being outdated. I think there's no dependency conflict to prevent an update. How can I request this? The launchpad page for the package?
[07:02] <arraybolt3> theh: Ubuntu packages in a stable release aren't generally updated to new versions, but rather bug and security fixes are back potted to the old versions.
[07:03] <arraybolt3> and he's gone already
[07:03] <Unit193> They're potting plants now?
[07:03] <arraybolt3> and CrimeOS horribly typoed "backported"
[07:03] <arraybolt3> *ChromeOS
[07:04] <arraybolt3> good grief
[07:04] <Unit193> I liked that typo better, even.
[07:05] <arraybolt3> Sounds like what you would call a Kali Linux variant focused on web apps
[07:09] <arraybolt3> My problem is that the keyboard to this thing broke so I'm having to rely on a touch keyboard and AutoIncorrect to type using my Chromebook now. Sometimes it works worse than others.
[07:57] <valued-customer> Hi.  The last few times I booted up my ubuntu 20.04 system popped up a message that there were a couple problems, and I've been having random crashes when watching video.  I am hoping I can get some advice about what to do to fix the problems.
[08:06] <gry> valued-customer: hi
[08:06] <gry> valued-customer: check output of 'dmesg', it may have a copy of these errors
[08:06] <gry> oops..
[09:13] <valued-customer> Hi.
[09:27] <arminx> Hi super hackers, I have been using ubuntu for like 20 years .. I always struggling with sudo apt-get update command... if you do regular update your system you get trouble. https://pastebin.com/H6GkxGV9 how can i fix? thanks in advance
[09:28] <ravage> arminx: your Ubuntu release is not supported anymore
[09:28] <ravage> !eolupgreade | arminx
[09:29] <ravage> !eolupgrade  | arminx
[09:29] <ravage> in your case i suggest to reinstall a supported release
[09:31] <arminx> i cant dup release upgrade every time i start a old machine for lab prupose
[09:31] <arminx> why cant i use old repos?
[09:31] <arminx> do they remove it?
[09:32] <ravage> because they do not exist on the archive servers anymore
[09:32] <ravage> there is https://old-releases.ubuntu.com/
[09:32] <ravage> see the link
[09:35] <elias_a> arminx: In your case, just run the old installation but never connect it to public Internet.
[09:37] <arminx> ravage you are my hero thanks alot
[09:37] <arminx> also i must complain over the NIC why in this world has it changed to ensxxx instead of the real deal ethX
[09:38] <arminx> elias_a of course not
[09:38] <elias_a> arminx: Good. Just wanted to make sure. :)
[09:38] <ravage> arminx: https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
[09:38] <elias_a> arminx: But if the os works, what do you need the repos for?
[09:45] <arminx> elias_a need few tools
[09:50] <elias_a> arminx: Ok.
[11:26] <kotgc> Hello, the Ubuntu printer is not printing on both sides? I have selected the option in Ubuntu settings, PDF settings.
[11:34] <CosmicDJ> kotgc: you do have a duplex printer, right?
[11:41] <kotgc> CosmicDJ, I don't know what duplex means, but I have printed on both sides with LinuxMint, but I've moved onto Ubuntu.
[12:17] <StucKman> I'm running KDE on ubuntu and for the first time I realize the sessions didn't start with a ssh-agent. is tehre any toggle I shoul touch?>
[13:37] <BluesKaj> Hi all
[13:45] <webchat12> Hey guys need help
[13:45] <webchat12> Anyone active rn?
[13:46] <ravage> !ask | webchat12
[13:49] <webchat12> I have a issue that is executing  grub-install/dev/nvme0n1 failed this is a fatal error please someone help me out by sharing the reason they this issue happens ( I am trying a clean install (not even dual boot)) please help.
[13:56] <mtn> webchat12: what were you doing when you got this error?
[14:00] <BluesKaj> webchat12, make sure you have an EFI boot partition of 512mb or so.
[14:15] <iomari891> greetings, is there a working repo to install boot-repair on 23.10?
[14:27] <toddc> iomari891: https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair should work but I am not on 23.10 to test
[14:29] <chilversc> what's happened to the mainline repositories such as git://kernel.ubuntu.com/virgin/linux.git ? Is it a case that the wiki hasn't been updated with the new location?
[14:52] <ruser> does ubuntu come with systemd installed by default these days? or what is in it as an alternative?
[14:53] <ruser> or   Installing the systemd package will not switch your init system unless you boot with init=/lib/systemd/systemd or install systemd-sysv in addition.
[14:53] <ruser> so, i think this might be my answer
[14:53] <Melon> brb
[14:59] <iomari891> Greetings, after updating to 23.10,my grub is screwed. I can't even run grub-mkconfig without this error:  "/etc/grub.d/proxifiedScripts/linux: 1: version_find_latest: not found"
[15:31] <ogra> ruser, ubuntu switched to systemd in 2016
[15:32] <ogra> (and it has been the default since)
[15:34] <tennisanders> I have a couple Peak-CAN dongles I need to use on a HIL system, but with a Mac pc as the host. Which seems impossible to achieve. Would it be possible to run a docker container with ubuntu and have it link up the can dongles?
[15:37] <leftyfb> tennisanders: As long as you know the dongles run on ubuntu, the rest is building the docker container and then asking for support in #apple getting the docker container to work properly on mac
[15:38] <tennisanders> leftyfb, Ok thanks!
[15:46] <ruser> ogra: thnx.  i'm trying to figure which of the systemd scripts are causing me to get root auto login, and disable it.  i can't seem to track it down, you wouldn't happen to know anything about it?
[15:46] <ruser> I just setup an absolute barebones system
[15:46] <jj_> Sorry for the noob question, but if I'm running Ubuntu Budgie, am I alright to install Gnome apps? If there's a Gnome version and a GTK, should I go with GTK? (I'm not sure what the difference is to be honest)
[15:47] <leftyfb> ruser: no default ubuntu install will autologin as root
[15:47] <ogra> yeah ...
[15:47] <ruser> leftyfb: so am i in recovery mode then?
[15:48] <leftyfb> ruser: did you boot into recovery mode? Does it say you are in recovery mode?
[15:48] <ogra> jj_, gnome apps have some extra dependencies they install, if you are not massively short on diskspace, it should be fine to install anything you like ...
[15:48] <ruser> leftyfb:  no, it says hostname login: root (automatic login)
[15:48] <ogra> that doesnt sound like anything a proper ubuntu install would ever do
[15:48] <leftyfb> ruser: then you or someone else customized that install of ubuntu to do that
[15:49] <ogra> how did you install this ?
[15:49] <ruser> yes, i think i just found it
[15:49] <ruser> hang on
[15:52] <jj_> Thanks ogra!
[15:53] <ruser> you are both correct, i missed as a part of the install script the following https://bpa.st/JYVA however i was installing 20.04 and since then done dist upgrade to 22.04.  And now i don't see either of these files, any idea where upgrade might have moved them?
[15:54] <ruser> I tried grepping fror autologin in the system of the systemd dir and didn't find anything useful
[15:54] <leftyfb> they're more than likely gone
[15:54] <ruser> s/useful/anything/
[15:54] <ruser> Then how did the autologin persist?
[15:54] <leftyfb> ruser: good luck messing with that custom script
[15:54] <ruser> leftyfb:  yeah, i'm down the rabbit hole, i'm re-learning a lot but definitely shot myself in the foot repeatedly
[15:55] <leftyfb> ruser: I would recommend doing a fresh install of ubuntu 22.04 and not running that script
[15:55] <ruser> except, i want encrypted boot and root :/
[15:55] <ruser> and zfs
[15:55] <ruser> raidz1
[15:56] <leftyfb> then go through the script and manually run only the commands that set that up for you
[15:57] <ruser> that's fair, i dont' really want to do the reinstall so i think i'm stuck chasing where getty@tty1.service.d/override.conf  got moved during the upgrade
[15:58] <ruser> thank you both ogra leftyfb
[16:00] <ruser> I guess i'm learning systemd, which not a bad thing in it's own.  `systemctl cat getty@tty1` shows the autologin, looks like i'm on the right track
[16:02] <ruser> but yes, i picked up a large foot gun unfortunately
[16:09] <ruser> yes, success. `systemctl edit getty@tty1` got me to the goal, idk how grep -R missed it, oh well. But learned something new
[16:13] <ruser> does anyone here use fail to ban?  are default options good enough to stop getting my logs spammed? :)
[16:15] <leftyfb> ruser: I use fail2ban but your question is a loaded one
[16:15] <leftyfb> ruser: f2b parses logs for certain regex's and reacts to matches, typically with iptables DROP rules
[16:16] <leftyfb> I'm pretty sure the default jail is only for ssh
[16:16] <ruser> leftyfb: and how do you mean loaded? I guess i'm asking to wide of a question wrt to logs?
[16:16] <leftyfb> ruser: it depends on what logs you're referring to
[16:17] <ruser> gotcha
[16:18] <leftyfb> ruser: if you set your ssh port to a non-standard one, you'll get a lot less hits to your log
[16:18] <leftyfb> and will be slightly more secure(obscure)
[16:18] <leftyfb> I also recommend disabling password auth and certainly not allow root to login with ssh
[16:18] <ruser> I should read up on sshd hardening. i'd like to remove the banner for example (i wonder if it's a config option these days)
[16:19] <leftyfb> removing the banner provides zero security
[16:19] <ruser> are you saying bots these days try to run any and all exploits?
[16:20] <ravage> i get a SSH connect like every 20 seconds on my server ip
[16:20] <ravage> i dont think they care about your banner
[16:20] <leftyfb> bots don't care about banners nor do people attempting to gain access
[16:20] <ruser> ravage: you get bruteforce attacks
[16:20] <leftyfb> and yes, bots and people are constantly trying any and all exploits
[16:21] <ruser> leftyfb: so you are saying it's not worth the effort. are there good recent hardening guides available?   like way back when there grsec kernel patches, etc. I have dropped out from the field for a while  and have to re-learn
[16:22] <leftyfb> ruser: start with my advice above
[16:22] <ruser> leftyfb:  already on a diff port, and disabled direct root login, and moved to key auth
[16:23] <ruser> leftyfb:  and yet i still see bruteforce attacks in logs
[16:23] <ravage> why do you care about that?
[16:23] <leftyfb> they're not getting in with passwords, it doesn't really matter
[16:23] <ravage> install fail2ban if you want
[16:24] <iomari891> greetings, how to I change the ubuntu screen when the system is booting?
[16:24] <ruser> i care about reducing target vector, and hardening overall
[16:24] <ravage> ruser: disable the network interface
[16:25] <leftyfb> or power it off
[16:26] <leftyfb> ruser: the only way to stop attempts is to not be accessible
[16:26] <ruser> not an option, this machine is going to be used remotely
[16:26] <ruser> i get that, but let's not slide to the extreme
[16:26] <leftyfb> ruser: you're running on a non-standard port, you've disabled password auth. As far as bot attacks, you're covered
[16:27] <leftyfb> also disabled root ssh
[16:28] <ruser> I want to reduce the attack surface, and information leakage
[16:28] <leftyfb> congrats, you did that
[16:29] <ruser> lol
[16:29] <ruser> Either way, thank you for your help and knowledge, I do apprecite it
[16:30] <leftyfb> ruser: feel free to /join #security if you care to "slide to the extreme"
[16:31] <ruser> leftyfb: thank you
[18:09] <blackbird_0> Hi guys
[18:09] <blackbird_0> I have a serious issue: using any Nvidia driver freezes the OS, with X server the only resolution I have is 800x600. I searched a lot on google, but in vain. Please, Help
[19:55] <nunya> I've run out of ideas. I need help.
[19:55] <nunya> PARDON THE PASTE:
[19:55] <nunya> >Had a Windows system- very old, but still working.
[19:55] <nunya> >Have installed Linux 100 times in the past, always go back to Winblows
[19:55] <nunya> >Install Lubuntu as dual-boot (so I thought)
[19:55] <nunya> >Lubuntu is pretty tight (STILL CAN'T FUCKING PRINT)
[19:59] <nunya> My apologies ... I've seen you prefer this:  https://pastebin.com/377Q1JGK
[20:01] <leftyfb> nunya: please watch the language
[20:01] <leftyfb> nunya: you want #windows for support with Windows
[20:01] <leftyfb> your Windows install has nothing to do with Ubuntu
[20:02] <leftyfb> also, this isn't the appropriate place to ask where to buy used hardware
[20:02] <leftyfb> nunya: I would start with running SMART checks on your storage device
[20:02] <leftyfb> nunya: good luck
[20:06] <nunya> It isn't purely windows support question, since clearly the problem was a direct result of the Lubuntu install. However, terse statements like that do simplify the support task.
[20:07] <nunya> Also, I haven't used IRC in 20 years.
[20:07] <leftyfb> it's unlikely Ubuntu had anything to do with the issues with your Windows partition
[20:07] <leftyfb> unless you deleted files from it or modified system file on it
[20:09] <nunya> >unless UBUNTU deleted files from it or modified system files
[20:09] <leftyfb> nunya: ubuntu does not modify anything on other partitions
[20:09] <leftyfb> unless you tell it to
[20:12] <nunya> It's fine. I've spent 8+ hours trying to find a solution to what appears to be a common problem resulting from dual-boot systems. I've typed nonsense into a black screen over and over, with inconsistent results. Just another day using Linux.
[20:13] <de-facto> is there any working sound server available in ubunut? pulseaudio and pipewire are too unstable for everyday usage, they always stutter on playback
[20:21] <marc|gonzalez1> Hello everyone, on Ubuntu 22.04 ESM, a program crashes, I think because of the recent update of a library. Is it possible to temporarily downgrade the dependency to test this hypothesis?
[20:21] <leftyfb> marc|gonzalez1: which library and what version are you running?
[20:22] <marc|gonzalez1> leftyfb: running vlc/jammy-apps-security,now 3.0.16-1ubuntu0.1~esm1 and library is ffmpeg/jammy-apps-security,now 7:4.4.2-0ubuntu0.22.04.1+esm2
[20:23] <marc|gonzalez1> ffmpeg was recently updated to esm2, and I think it caused a regression
[20:23] <marc|gonzalez1> I want to test again with esm1
[20:23] <leftyfb> ffmpeg isn't a library
[20:24] <marc|gonzalez1> OK, libavcodec58/jammy-apps-security,now 7:4.4.2-0ubuntu0.22.04.1+esm2 installed as a dep of ffmpeg
[20:24] <leftyfb> I don't think the "esm1" versions are available anymore
[20:25] <marc|gonzalez1> Maybe I could test with the non-ESM release?
[20:25] <leftyfb> you could try: sudo apt install libavcodec58=7:4.4.2-0ubuntu0.22.04.1+esm1   # but I doubt it'll work
[20:25] <marc|gonzalez1> OK will give it a try, be right back
[20:25] <leftyfb> sudo apt install  libavcodec58=7:4.4.2-0ubuntu0.22.04.1
[20:25] <leftyfb> that one is available ^
[20:25] <marc|gonzalez1> And to go back to the "normal" lib?
[20:26] <leftyfb> that's the non-esm library
[20:26] <leftyfb> the 2nd one I posted
[20:26] <marc|gonzalez1> No I mean to revert back to nominal?
[20:26] <marc|gonzalez1> How to undo the change I'm about to do
[20:27] <marc|gonzalez1> So that everything updates normally in the future
[20:27] <leftyfb> define nominal. If you mean the latest (esm2), and apt upgrade will probably upgrade it to the latest
[20:27] <marc|gonzalez1> OK noted, thanks
[20:31] <ruser> is there a better way to list installed packages other thank dpkg?
[20:31] <marc|gonzalez1> apt list --installed ?
[20:31] <ruser> I guess I should have opened man for apt, my bad
[20:32] <marc|gonzalez1> No worries, I'm battling apt, so I just typed the command a minute ago :)
[20:33] <candlejack> What's the correct way to configure Ubuntu server and workstation to install updates on a schedule?
[20:34] <candlejack> I've used the unattended-upgrades package but that never seems to actually install or reboot
[20:34] <ruser> candlejack: have you looked in the logs for it?
[20:35] <annexseven> On servers unattended-upgrades only installs security updates by default. I’ve never set the config option to have it reboot automatically though because I don’t want it to do that.
[20:36] <leftyfb> candlejack: you want your server to reboot automatically?
[20:36] <leftyfb> I do not recommend that
[20:36] <ruser> ^^
[20:36] <candlejack> Yes I do
[20:37] <ruser> there is a non-zero risk it won't come back from the reboot, just fyi
[20:38] <candlejack> Yes I'm aware of that, I've been running ubuntu as my primary computing OS for the past 17 years
[20:38] <ruser> so when you say it never seems to install anything,  have you confirmed that via logs?
[20:38] <leftyfb> and you don't know how to setup a cron/timer to do automatic updates and reboots?
[20:40] <annexseven> @candlejack The settings you need should all be in /etc/apt.conf.d/50unattended-upgrades
[20:41] <leftyfb> candlejack: https://www.kolide.com/features/checks/ubuntu-unattended-upgrades   first result on google for "ubuntu unattended-upgrades"
[20:41] <annexseven> By default it only installs security updates, but the options to reboot and install regular updates are commented out. You can uncomment them to enable them.
[21:08] <marc|gonzalez1> leftyfb: apt is a nightmare to tweak a single lib, it's just not a supported use-case
[21:08] <leftyfb> I didn't think it would be
[21:08] <marc|gonzalez1> I downloaded libavcodec58_4.4.2-0ubuntu0.22.04.1_amd64.deb
[21:08] <marc|gonzalez1> And unpacked it in /tmp
[21:08] <leftyfb> marc|gonzalez1: I would not recommend doing that
[21:09] <marc|gonzalez1> then ran vlc with LD_PRELOAD=local version of libavcodec
[21:09] <marc|gonzalez1> Why would you not recommend??
[21:09] <leftyfb> marc|gonzalez1: maybe try the snap version of vlc and ffmpeg?
[21:09] <marc|gonzalez1> leftyfb: I'm trying to prove that the problem is in the ESM lib
[21:09] <marc|gonzalez1> I just did
[21:09] <marc|gonzalez1> With LD_PRELOAD, vlc works fine
[21:10] <marc|gonzalez1> So they introduced a regression when they did the latest update
[21:10] <leftyfb> !bug | marc|gonzalez1
[21:10] <impermanence> is it possible to select audio inputs and output from terminal?
[21:10] <leftyfb> impermanence: yes
[21:10] <impermanence> leftyfb: how?
[21:11] <leftyfb> impermanence: pacmd "set-default-sink <sink id>
[21:12] <leftyfb> impermanence: pacmd list-sinks
[21:12] <impermanence> very nice thank you
[21:15] <impermanence> leftyfb: so...hm. What am I looking at here? Is this input and output or just ah...?
[21:16] <leftyfb> this is just output
[21:16] <sybariten> Hey. So, basically, what happens if i've installed something like node.js with apt-get and then try to install it with snap? I have yet to understand exactly where snap stands in the area of package management on linux
[21:17] <leftyfb> impermanence: pacmd --help
[21:18] <leftyfb> sybariten: snap has it's own package management. In your scenario, you would have a copy of each node.js package
[21:19] <sybariten> leftyfb: Wow. So potentially conflicts?
[21:19] <leftyfb> not likely
[21:19] <leftyfb> only 1 will be default
[21:20] <leftyfb> sybariten: run: which node  # to see which is default
[21:20] <leftyfb> the apt package won't have "snap" in the path
[21:20] <impermanence> leftyfb: thanks
[21:21] <sybariten> I'm asking because i just tried installing node using the command line "sudo snap install node --classic --channel=20" . Then i did node --version and it says v12.22 . And I'm realizing I may actually have installed node earlier, in the past, but forgotten about it. I definitely didn't know about snap back then so maybe i used apt? Is there a way to see if i may have done that, some sort of apt
[21:21] <sybariten> package install history?
[21:22] <leftyfb> zgrep node /var/log/dpkg.*
[21:22] <sybariten> leftyfb: oh so a snap package will even run from a snap related path, once installed?  My which node gives a normal usr bin path
[21:23] <leftyfb> sybariten: right, your apt package install of node.js is the default
[21:24] <leftyfb> sybariten: run this:    type -a node
[21:25] <sybariten> leftyfb: your zgrep command line spits out a lot... its from febryary 2023 so it wasnt that long ago after all. But yeah then it seems installed via apt.
[21:26] <sybariten> leftyfb: interesting! What is the type command actually showing me? It finds it in usr bin node, bin node, and snap bin node. So three places. One being a link i suppose
[21:26] <leftyfb> all possible paths for the command
[21:27] <leftyfb>  /usr/bin/node is probably a link to /bin/node for compatibility ... or the other way around, I forget
[21:27] <sybariten> sweet. I guess i will try de-installing the apt one and maybe the snap one too, and reinstall the snap one just to do it correctly.
[21:28] <leftyfb> you don't need to reinstall the snap
[21:28] <leftyfb> it'll just become the default
[21:29] <sybariten> you think it'll work out?
[21:29] <leftyfb> yes
[21:29] <leftyfb> the snap doesn't care if it was installed before or after the dpkg
[21:31] <sybariten> okay
[21:36] <sybariten> Okay, so this is interesting. Maybe i messed something up. I did, ofcourse, not follow your advice. First i purge removed the apt installation. THen i purge removed the snap installation. Then i installed snap with the same command that i've used before, as quoted earlier. No complaints, node 20 installed according to snap. But i dont have it in my path! Is that common?
[21:47] <leftyfb> sybariten: log out and back in
[21:49] <sybariten> leftyfb: ah
[21:50] <Guest1982> Can I speak here?
[21:51] <leftyfb> you just did
[21:51] <sybariten> leftyfb: thank you!
[21:51] <Guest1982> Fantastic. I am having an issue updating/upgrading 20/focal
[21:57] <sybariten> leftyfb: btw the snap linking structure is anything but intuitive.   :-)    installed packages thats are seemingly living in /snap/bin are in fact pointing to... all the same binary in /usr/bin ?
[21:57] <sybariten> i mean, for someone that doesn't know about snap
[22:04] <tomreyn> Guest1982: if you'd like help with this, you'll need to provide more info
[22:07] <lantech19446> having a weird issue with ubuntu 23.10 when the computer locks itself nothing will wake it up and it's ignoring the system settings telling it not to lock and not to turn off the screen. Any ideas?