[00:11] <lubuntu> boa note
[00:37] <impermanence4> is there any way to have a script still register keyboard input even if the window is minimized or similar?
[00:38] <impermanence4> I asked in bash but they told me to come here
[00:50] <ravage> that is called malware/keylogger
[00:56] <impermanence4> haha
[00:57] <impermanence4> yeah I guess that would be one way
[00:57] <guiverc> impermanence4, you've not said what Ubuntu product you're using, but what will have control of the keyboard will be determined by whatever is running (desktop its usually the active window), or if SysRq etc that will be handled by kernel etc
[00:57] <impermanence4> desktop 20.04
[00:58] <guiverc> if using Wayland very likely not; Xorg has lower security (why remote desktop is easy with xorg) but that would need to be setup to allow for it I'd bet
[01:14] <MuXtraCrdit> Reese Wilkerson Does Edna Skilton - Malcolm in the Middle Season 8 Episode 1  Barely legal and after his graduation, Reese Wilkerson is at Bovina Fields Mall in Star City shopping for new jeans where he runs into Edna Skilton from Regina, Saskatchewan, who is in town for a body art convention. They hit it off and get jiggy with it later in Reese's bedroom where his shit is hot pocketed into her panochota!
[01:14] <MuXtraCrdit> https://justpaste.it/Reese_Fucks_Edna_Skilton_Malcolm
[01:15] <lotuspsychje> not here please MuXtraCrdit
[02:02] <frib> I ran `sudo screen /dev/tty1` on my remote ubuntu server and now it becomes intermittently unresponsive over ssh for 5 seconds every 5 seconds
[02:03] <frib> I don't know for a fact its related to running that comman
[03:07] <xxy> after executing "sudo chsh  -s /bin/bash" , i can't switch "zsh" to "bash"
[03:13] <gry> xxy, how are you switching, and what error message do you get?
[03:16] <jq> hi
[04:11] <studiotv> heloooWW.!!
[04:12] <studiotv> welcome to the jungle..!!
[04:13] <studiotv> ahhh ubuntu oficial
[04:13] <studiotv> yeah..
[04:13] <studiotv> congratulations..!! for free OS studio
[04:14] <studiotv> beatifull system
[04:15] <studiotv> znc.in?
[04:16] <studiotv> (chrfle)
[04:16] <studiotv> phishing? je.!!
[04:17] <studiotv> ttranslation (overcluker)
[04:19] <studiotv> cluck.. jaja
[04:20] <studiotv> AI trembles
[04:22] <studiotv> Successfully connecting to an IRC channel is something
[04:23] <studiotv> Thanks to Ubuntu it became possible
[04:25] <studiotv> telia - telecom?
[04:26] <studiotv> znc
[04:27] <studiotv> llego el latino fumanchu
[04:28] <studiotv> znc yeah..
[06:38] <hwpplayer1> I can't hear the audio output from google-translate extension in Emacs. I run Ubuntu 22.04.3 LTS
[06:38] <hwpplayer1> Is it about Emacs or Ubuntu
[06:39] <hwpplayer1> Is it related with Emacs or Ubuntu
[06:42] <hwpplayer1> I'm installing mplayer
[06:45] <Croran> !
[06:47] <Croran> my system was working fine but then i went and folowed inte
[06:48] <Croran> l's instructions for setting up the Arc video card, and now Xorg fails to start
[06:48] <Croran> lightdm hangs at a flashing cursor, but other ttys still available
[06:49] <Croran> only issues i can see in dmseg are some imei 'FW not responding' lines and then some lines indicating BAR failed to resize
[06:50] <Croran> vainfo gives an error for both DRM drivers it reports but different for each. returns 1 for iHD-drv and -1 for i965_drv
[06:57] <Croran> Xorg is crashing when lightdm tries to start it. stack trace has the iris module in there along with libc stuff
[06:57] <Croran> not sure whether that's a hint. should the iris module be involved for an Arc A380?
[07:58] <paul424> hello, my Ubuntu lts 22 hangs infinite on my laptop asus  x50gl ... what should I do ?>
[07:59] <paul424> I should have added
[07:59] <paul424> that it is the installer which hangs ...
[08:00] <toddc> paul424: do get to the grub menu?
[08:00] <paul424> the last info on screen was ...starting kernel crash submission whoopsie service
[08:00] <paul424> toddc, yes
[08:00] <paul424> "whoopsie.service"
[08:02] <toddc> paul424: that is the error reoring service   so ignore at this time    is youe computer 32bit or 64 bit
[08:02] <paul424> 64
[08:03] <toddc> what video card if you know?
[08:03] <paul424> we have one Ubuntu at school already , so Iwanted all laptops to run ubuntu if they run linux
[08:03] <paul424> video card is ati ...'\
[08:04] <paul424> sorry it's
[08:04] <paul424> nvidia int. gfx
[08:04] <toddc> 1 sec
[08:04] <paul424> 2 sec
[08:04] <paul424> 3 sec
[08:04] <paul424> :P
[08:06] <paul424> https://forums.opensuse.org/t/newbie-asus-x50gl-help/26036
[08:06] <paul424> "I have this notebook(Asus X50GL) and really want to install some linux distro on it. I keep running into all sorts of troubles though. The laptop won’t power off, Fn keys don’t work, wi-fi and bluetooth leds are always on, graphics card isn’t recognised. "
[08:07] <paul424> ahh that's 14 years old post
[08:08] <toddc> as I recall --at the grub menu hit the right shift key tab down to nomodset then enter and continue the install   after the install use addl drivers to install the nividia drivers they are not open source so not included
[08:09] <paul424> yeah that's what I read here on some forum ...
[08:09] <paul424> oki brb
[08:09] <toddc> may be need to hit space bar to set nomodeset
[08:09] <toddc> I was looking for a you tube guide for you
[08:12] <toddc> https://www.addictivetips.com/ubuntu-linux-tips/fix-ubuntu-live-usb-not-booting/
[08:13] <toddc> F6
[08:14] <toddc> paul424: then after you install and reboot I update it the do the addl drivers and pick the one listed as recommended
[08:14] <toddc> or recommeded tested
[08:29] <paul424> how do I log in to Ubuntu "Try me" , what user what password ?
[08:30] <paul424> besides I would like to test how the xfce4 works , not only kde
[08:32] <toddc> no password that is part of the live usb feature so no data is save---basily running off the usb drive
[08:32] <paul424> I have logged out
[08:34] <paul424> How do I try XFCE4 ? ??
[08:34] <paul424> The username should be ubuntu, and the password is blank
[08:36] <toddc> paul424: download xubuntu install to a usb the use live or install same ubuntu and it can be changed from ubuntu to xubuntu but I avoid changing them if I can
[08:38] <paul424> toddc, oki why ?
[08:41] <toddc> when changing from a installed desktop to another once in a while things go wrong --it usually works fine but if you do not have any data on it a clean install is my preferd way
[08:41] <paul424> toddc, oki thanks for the info, time to go , see you O_/
[08:41] <toddc> there are people here with great skills than can usually fix any issues
[10:42] <Guest76> hey, is alpine linux based on ubuntu?
[10:42] <Guest76> do they use the same packages or are they entirely different things?
[10:42] <ravage> nothing in common
[10:43] <Guest76> ravage is ubuntu more secure than alpine linux? How do I determine that?
[10:45] <ravage> no idea. and offtopic for this room
[10:45] <lotuspsychje> !discuss | Guest76
[10:45] <Guest76> ok, thank you
[12:37] <ruffleS> Hi. My touchpad doesn't work every time I boot into Ubuntu. And I also couldn't get my sound card to work either. I've tried unmutting the Speaker in alsamixer (which is what made it work for me on Fedora) but it didn't work on Ubuntu 23.04. I'd appreciate if anyone could help. Cheers!
[12:37] <enyc> ruffleS: I would say **stick around** in the channel whatever you do  don't disconnect, let people reply tomorrow etc... THEN
[12:38] <enyc> ruffleS: please give info: has it worked on other ubuntu versions or other linux distros generally (give details!) ?
[12:40] <ruffleS> I've tried Fedora and PopOS. On Fedora I could have the sound working by messing with alsamixer. However, on both Ubuntu and PopOS I could never hear any sound at all
[12:41] <ruffleS> As for the touchpad behavior, it's the same on all distros that I've tested. It works as long as I move my finger over it as the notebook is booting onto the OS. Otherwise it will not work
[12:42] <danjalical> today I move my final laptop to ubuntu making it my last 'windows' machine
[12:49] <ruffleS> and here's what I get from lspci: 00:0e.0 Multimedia audio controller: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 06)
[13:16] <SrPx> We installed ZeroTier in an Ubuntu machine. Recently, we uninstalled it. Since then, the internet has completely stopped working. I have no idea what is going on, it just doesn't connect to anything. I believe ZeroTier messed up system files somehow. How can I do a clean reset of all network related system files and config, given that I don't have internet? Is that possible without requiring another computer?
[13:18] <leftyfb> SrPx: what release of ubuntu?
[13:19] <SrPx> sorry, ubuntu 22.04.3 LTS
[13:20] <SrPx> if I do "sudo dhclient eth0" it says "Cannot find device 'eth0'"
[13:20] <leftyfb> SrPx: server or desktop?
[13:20] <SrPx> desktop
[13:20] <SrPx> with an UI interface im accessing right now
[13:21] <leftyfb> SrPx: make sure the contents of /etc/netplan/01-network-manager-all.yaml  match this: https://pastebin.ubuntu.com/p/xwgZGvGhXz/
[13:21] <leftyfb> remove all other files that are in /etc/netplan/
[13:22] <BluesKaj> Hi all
[13:23] <SrPx> leftyfb: it does match already, and  there is nothing else on netplan
[13:23] <leftyfb> SrPx: ok, then look through your network manager network settings
[13:35] <SrPx> got it, ty
[14:20] <eN_Joy> running `dpkg --get-selections` I got quite a few packages marked `deinstall`, such as `linux-modules-5.15.0-1018-oracle                deinstall`, are those packages safe to be removed? If it is, what is the correct syntax to remove them? Thanks!
[14:20] <leftyfb> eN_Joy: run: sudo apt autoremove
[14:21] <eN_Joy> leftyfb: No, that won't do...
[14:21] <leftyfb> why not?
[14:22] <eN_Joy> I ran that, nothing happened... those packages still hang there marked `deinstall`...
[14:24] <leftyfb> eN_Joy: are the packages causing issues for you?
[14:25] <eN_Joy> Not at all, just curious if I could reclaim some storage space...
[14:49] <sebsebseb> Hmm   did   others  also,  suddenly   get  updated    without  knowing,   to the  latest  new  proper  version  of   THunderbird?  on  Ubuntu  23.04   ?    I  wasn't  expecting that,  but  I guess  it's possible  if  Thunderbird,  is a  snap  to  just  get  updated
[14:50] <sebsebseb> to  I mean the  new  one,  not the old one with some  update
[14:50] <sebsebseb> Thundebird    Super nova
[14:51]  * sebsebseb waits  for a  hopefull    reply,  since  it's  2023  and  IRC  is   no  longer  what it used to be
[14:54] <mbeierl> sebsebseb, it looks like beta got a new release yesterday, but stable has not updated since Sep 26.  snap info thunderbird should show you what you've got
[14:55] <sebsebseb> mbeierl: I know i t's  the new  one
[14:55] <sebsebseb> wasn't  expecting  that
[14:57] <sebsebseb> mbeierl: yep  tha  command  did nice  output,  but yes it's  definetly  a  snap  that's  givern me the later  version  as well
[14:57] <leftyfb> sebsebseb: yes, snap packages will update on their own as needed
[14:57] <leftyfb> sebsebseb: also, problem with your keyboard?
[14:58] <sebsebseb> yes   got some problems  with the space  bar
[14:58] <sebsebseb> does  that show
[15:01] <sebsebseb> Thunderbird  115.3.,1  (64bit)    I  wasn't  expecting to get  that  version  just  yet
[15:01] <sebsebseb> or  maybe  they  have dropped  maintaiing  the old  version
[15:04] <sebsebseb> leftyfb: hmm  so  snap packages   will   and ccan  auto  update,  ok  I guess that's why they are trying to do a  more  snap  based  Ubuntu as well  now,   or going that direction
[15:49] <imran> hi
[16:03] <throwthecheese> Does anybody have issues with stylus input on XWayland?
[16:07] <throwthecheese> I have to run some applications, Xournal++ to be precise, under XWayland on KDE as they won't cooperate with the appmenu widget otherwise but whenever I try to write something with my stylus pen the beginning of the stroke gets this smudgy or leaky thin line
[16:08] <throwthecheese> Example: https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd.it%2Fl4ovbtq3o5sb1.png%3Fwidth%3D1345%26format%3Dpng%26auto%3Dwebp%26s%3D38a90dc43f833f7806d055b7a2bd081dc1c6e586
[16:11] <throwthecheese> I would like to know if this is reproducible on other Wayland compositors
[16:25] <AngryTom> How to select mulitple files with Nautilus?
[16:25] <AngryTom> ctrl + mouse doexy not work
[16:26] <leftyfb> AngryTom: CTRL+left-click
[16:26] <leftyfb> AngryTom: if it's not working for you, you have something misconfigured/wrong
[16:27] <AngryTom> hm
[16:27] <toddc> works for me
[16:30] <AngryTom> the context menu appears
[16:31] <leftyfb> AngryTom: that is right-click
[16:31] <AngryTom> and with ctrl left click
[16:32] <AngryTom> ah, when I right click it kind of works
[16:32] <AngryTom> strange
[16:46] <spinningCat> what should i do https://dpaste.com/4FNMGQFVA
[16:47] <spinningCat> i cannot update the system or install something
[16:50] <leftyfb> spinningCat: looks to me like tr.archive.ubuntu.com doesn't work as a repo
[16:50] <spinningCat> i didnt change it anytime
[16:51] <spinningCat> it is default sources.list
[16:51] <leftyfb> spinningCat: it's not the default
[16:51] <spinningCat> i mean
[16:52] <spinningCat> when you install ubuntu sources.list is created right
[16:52] <spinningCat> i didnt add any address thats what i meant
[16:52] <xangua> !kinetic
[16:52] <xangua> MMM that's still supported?
[16:53] <leftyfb> spinningCat: regardless, 22.10 is EOL. You'll need to upgrade
[16:53] <mguy> I have an issue where one user can run a python script that uses selenium, but another user cannot run the same script in the same pythong environment. 22.04. How can I figure out what the differences are between the users? https://pastebin.run/ft4b4hq-jmnk
[16:55] <spinningCat> leftyfb, upgrade to new version?
[16:56] <toddc> Ubuntu 22.10 (Kinetic Kudu) reaches End of Life on July 20 2023
[16:57] <pickanick> In Ubuntu 22.04 is there a command to find the fastest update mirror?
[16:59] <toddc> spinningCat:     upgrade to a current version of ubuntu or downgrade to a Long Term support version
[17:00] <pickanick> In Kubuntu 22.04 is there a command to find the fastest update mirror?
[17:00] <toddc> pickanick: sudo netselect -v -s10 -t20 `wget -q -O- https://launchpad.net/ubuntu/+archivemirrors | grep -P -B8 "statusUP|statusSIX" | grep -o -P "(f|ht)tp://[^\"]*"`
[17:00] <leftyfb> !repeat | pickanick
[17:01] <throwthecheese> Ummm.... does anybody know why does this happen? https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd.it%2Fl4ovbtq3o5sb1.png%3Fwidth%3D1345%26format%3Dpng%26auto%3Dwebp%26s%3D38a90dc43f833f7806d055b7a2bd081dc1c6e586
[17:02] <throwthecheese> For context: the malfunctioning app is Xournal++ run under XWayland
[17:02] <toddc> pickanick: ubuntu should autmaticlly find the fastest/closest at that second with default setttings
[17:03] <leftyfb> toddc: netselect isn't a valid command in ubuntu
[17:07] <toddc> leftyfb: so it is invalid  looking for correct
[17:07] <pickanick> leftyfb : please note,  I was not repeating myself, I was correcting myself: Ubuntu -> Kubuntu
[17:08] <leftyfb> pickanick: in the case of mirrors, it doesn't really matter
[17:08] <pickanick> In any case I found that the discover app settings has a button to find the mirror responding fastest to ping.
[17:14] <b1ldramer> Garfield Has Sex with Nermal in Minecraft - Garfield lures Nermal into a Minecraft world and gangbangs him with Steve, the Ender Dragon, and Creeper. https://justpaste.it/Garfield_Sex_Nermal_Minecraft
[17:15] <leftyfb> !op | b1ldramer
[17:15] <b1ldramer> hi leftyfb
[17:16] <b1ldramer> Long time no see
[17:16] <leftyfb> b1ldramer: please stop
[17:16] <b1ldramer> Remember  c h i m p o u t . c o m
[17:16] <b1ldramer> your favorite site
[17:28] <ioria> ardeatina
[18:22] <paul424> Does newest ubuntu 22 -- still supports BIOS/MBR style of booting ?
[18:23] <leftyfb> yes
[18:23] <paul424> So all I need to do is to choose to mount and install a /boot partition at custom partitioning, right
[18:24] <leftyfb> paul424: why do you need custom partitioning?
[18:24] <paul424> I got windows on the same disc
[18:24] <paul424> on the same hdd
[18:25] <leftyfb> pretty sure the ubuntu installer will account for that
[18:25] <paul424> damn it, I forgot to pay the electricity bill !
[18:29] <paul424> leftyfb, so what shall I do ? The installer keeps warning that the efi partition wasn't choosen and this might cause problems
[18:30] <leftyfb> ah, so Windows is using EFI then? Then you would need Ubuntu to also use EFI
[18:31] <paul424> leftyfb, no no , The windows is old windows 7 installation
[19:41] <gmcastil> i'm on ubuntu 20.04.3 LTS and I inadvertently deleted the partition table (its in a VM) - i recovered the partition table (i had a vfat in for boot and ext4 for /) but the boot partition is empty (i'm on an ISO live) - do i just need to reinstall grub and manually install the kernel and so forth or is there an easier way?
[20:13] <Yakov> gnome-screenshot -w --display 0 | cannot open display: 0 - how to fix it?
[20:13] <leftyfb> try display 1
[20:14] <Yakov> same
[20:14] <Yakov> I have two monitors and need to make screen shot on 0 or 1 by choose
[20:19] <leftyfb> Yakov: --display isn't for multiple monitors
[20:29] <bentbrewer> @ leftyfb: --display is for multiple monitors. The format of the display is what is incorrect. "gnome-screenshot --display=[DISPLAY] is the correct command where you will need to run "xrandr --query to find the correct display value. The value is in the form VGA-0 or HDMI-1 or what have you, the output of the xrandr command will inform the monitor location desired.
[20:30] <Yakov> xrandr XWAYLAND1 connected primary 2560x1600+1920+0 (normal left inverted right x axis y axis) 290mm x 180mm
[20:30] <Yakov> gnome-screenshot -w --display=XWAYLAND1 or gnome-screenshot -w --display XWAYLAND1 same error
[20:34] <leftyfb> Yakov: xrandr --query|awk '/ connected/ {print $1}'
[20:35] <leftyfb> bentbrewer: except that doesn't work at all
[20:35] <Yakov> XWAYLAND0
[20:35] <Yakov> XWAYLAND1
[20:35] <leftyfb> Yakov: pretty sure gnome-screenshot will only work on Xorg and not Wayland
[20:36] <leftyfb> bentbrewer: https://pastebin.ubuntu.com/p/STVPqzPvpv/
[20:57] <Yakov> what is screenshot tool for wayland ubuntu?
[21:03] <toddc> Yakov: standard gnome has a built in one called  ---- screenshot
[21:03] <zniavre> grim
[21:03] <zniavre> grim is a command-line utility to take screenshots of Wayland desktops.
[21:03] <Yakov> grim
[21:03] <Yakov> compositor doesn't support wlr-screencopy-unstable-v1
[21:04] <toddc> Yakov: assumming 22.04 wayland standard Gnome
[21:04] <Yakov> toddc, share syntax pls
[21:04] <Yakov> I dont understand those things, gimme syntax pls
[21:06] <toddc> what version on ubuntu are you using I.E 22.04    and desktop  I.E Xubuntu Kubuntu Lubuntu or standard ubuntu desktop or server
[21:07] <Yakov> Description:    Ubuntu 22.04.3 LTS
[21:09] <Yakov> is it so complicated to make screen shot on second monitor?
[21:12] <toddc> leftyfb: I had issues but screenshots remote desktop teamveiwer have been working 1+ year across my 5 local 22.04 Gmone desktops with no mods
[21:13] <toddc> Yakov: settings-about will tell you a lot
[21:13] <leftyfb> toddc: ?   nobody is mentioning teamviewer
[21:13] <Yakov> toddc, i dont understand, give me full syntax pls
[21:13] <Yakov> settings about what?
[21:13] <leftyfb> toddc: what are you talking about?
[21:14] <toddc> leftyfb: correct    those screen tools did not work on early wayland
[21:15] <Yakov> what is early wayland?
[21:15] <leftyfb> toddc: Yakov already knows they are running Wayland. Setting -> About isn't going to provide any useful information in this case. And nobody mentioned teamviewer
[21:17] <toddc> trying to find out which verion and DE he has   settings about I am looking  for a guide for him 1 sec
[21:22] <kubuntu> hi guys, I installed windows in virtual box for software and time reasons. I will only use it those rare times when it is essential. I wanted to ask you a question, what configuration can I implement on the virtual network card to eliminate the risk of contagion of any viruses coming from Windows to Ubuntu?
[21:22] <kubuntu> host-only, nat with firewall? thx
[21:27] <toddc> Yakov:  does your desktop look like this?  https://owncloud.azloco.com:8081/index.php/s/5rfMAn7as7TmRdo
[21:29] <Yakov> cant open the link
[21:29] <Yakov> loading
[21:29] <Yakov> infinite
[21:30] <diew_> Hello
[21:30] <Yakov> is there a way to make screen shot of specific app?
[21:31] <toddc> Yakov: 1  sec
[21:32] <diew_> No hello b
[21:32] <toddc> Yakov:  yes
[21:33] <toddc> Yakov:   Try link now I had it blocked for outside usa
[21:34] <Yakov> same issue
[21:35] <toddc> Yakov: 9 dots in lower left?
[21:35] <diew_> @Druid
[21:35] <Yakov> yes
[21:37] <toddc> Yakov: click the nine dots type screenshot in top window  then click the bult in screenshot tool
[21:38] <diew_> Bitchx
[21:38] <tomreyn> diew_: hi, do you have an ubuntu support question?
[21:38] <toddc> Yakov: screenshots will be saved in pitures/schreenshots
[21:39] <diew_> tomreyn
[21:39] <diew_> Not
[21:40] <tomreyn> diew_: then please remain calm until you do - this channel is for ubuntu support only. there are several other channels, if you're looking for other topics. you can get help with IRC in #libera
[21:41] <diew_> Ok
[21:41] <diew_> Tkz
[21:48] <tomreyn> kubuntu: host-only prevents network communication between host and guest, is thus the safer network configuration, but limits what you can do. NAT should also be safe enough, preventing network access from the guest to a firewalled (or no service exposing) host. you can get irc support for virtualbox on the irc.oftc.net IRC network (so not here on irc.libera.chat) in channel #vbox, or (better) on their web forum. they also provide documentation.
[21:50] <tomreyn> gmcastil: if the contents of your /boot file system have vanished along with your partition table, then apparently you did not just delete the partition table. or you did, but recovering did not succeed. one of the two, so your summary seems to not tell the full story of what happened.
[21:51] <tomreyn> (which means it may be a better idea to just do a fresh install and restore backups)
[21:53] <gmcastil> tomreyn, yeah, i think i formatted that partition vfat as well
[21:53] <gmcastil> i was in the middle of trying to do too many things at once on too many different machines
[21:54] <gmcastil> luckily, I NFS mount RO a large partition at /opt that has all of the stuff that takes a long time to restore
[21:54] <gmcastil> but transferring my home partition is goinig to take a while - if there is a quicker way to just reinstall the bootloader and a kernel, that'd be ideal
[21:55] <Yakov> toddc, i know that, but I need 1) make screen shot with cmd 2) make screenshot only from monitor #2
[21:58] <tomreyn> gmcastil: if you know the rest of the system is not broken (other than the lost and subsequently (correctly?) restored partition table and the lost /boot file system) then you can still do a chroot recovery on the on-disk system from a bootable live usb. *if* you are familiar with this process then it can be faster than a fresh installation / restoring backups.
[21:59] <gmcastil> yeah, i hadnt thought to do that...chrooting into it from a live env
[21:59] <gmcastil> i've got the VM open again with a live CD and the / partition is mounted at /mnt so i can transfer a bunch of stuff
[22:00] <gmcastil> i can chroot into it and then format / mount the /boot partition
[22:00] <gmcastil> i'd still want to engage witht he package manager though i should think
[22:01] <gmcastil> would i just try to reinstall whatever ubuntu calls the linux kernel package?
[22:01] <gmcastil> or would i want to mount the /boot partition outside of the chroot environment?
[22:01] <gmcastil> i should think the latter
[22:02] <gmcastil> i would really like to avoid having to reinstall - because i have a ton of non-standard packages installed as well as a lot of i386 stuff that i need as well
[22:02] <tomreyn> you mount all the file systems of the on-disk system first, then chroot into the system with the empty /boot.
[22:03] <tomreyn> then you (optionally purge, then) reinstall the kernel package
[22:03] <gmcastil> yah, it wouldt work the otehr way, because that partition would be unknown
[22:03] <gmcastil> oh, purge, that's a thing
[22:03] <gmcastil> last i checked, there were a number of kernels installed - so i guess query the package manager to see what it thinks is installed, purge it, and then reinstall it
[22:03] <tomreyn> apt list --installed linux-image-*
[22:04] <gmcastil> what about the bootloader?
[22:04] <gmcastil> when i try to boot the VM it just goes to a grub rescue prompt (and shows me the drive and partitions, now that i fixed that)
[22:05] <tomreyn> you will have one (or more) generally named kernel package, and one (or more) versioned one. the versioned one is the one you need to (re) install
[22:05] <tomreyn> for the bootloader, you need to grub-install
[22:05] <gmcastil> i seem to recall there was a grub- package of some sort that would reinstall a bootloader because presumabely, someone like windows had nuked it
[22:05] <tomreyn> but if this is a uefi booting system then the boot loader would be on a separate partition
[22:06] <gmcastil> it is not...mbr
[22:06] <toddc> Yakov: if you have the mouse on the second monitor press alt+ PrintScreen? screenshots entire scond monitor  assumming terminal is full screen
[22:07] <toddc> https://beebom.com/how-take-screenshot-ubuntu/
[22:07] <tomreyn> gmcastil: you need to "grub-install TARGET_DEVICE" then, where the target device is probably the same device as the one which you deleted the partition table on.
[22:08] <Yakov> toddc, there is no print screen button on mac -> i use F11 as shorkey to make screenshot
[22:10] <leftyfb> Yakov: do you need to screenshot the entire desktop on monitor 2 or is there just a specific application you need to screenshot?
[22:11] <Yakov> i can do app or full monitor 2, app is full screen on monitor two
[22:13] <leftyfb> Yakov: switch from Wayland to Xorg, then use (install first) wmctrl -l # to list your applications you have open and then run:  wmctrl -a <name of application window> ; gnome-screenshot -w
[22:13] <Yakov> omg is it possible?
[22:13] <Yakov> on current hardware?
[22:13] <leftyfb> yes, I just tested it
[22:14] <Yakov> any risks of switching?
[22:14] <Yakov> resource consuming or bugs?
[22:14] <leftyfb> unlikely
[22:14] <gmcastil> tomreyn, cool, i didnt realize there was a way to remove damaged packages and reinstall them
[22:14] <gmcastil> the chroto idea wasnt something that had occurred to me
[22:14] <Yakov> leftyfb, thanks a lot :)
[22:14] <gmcastil> which is wild, since i use chroot to do a ton of things in embedded work
[22:15] <leftyfb> Yakov: wmctrl -a <name of window>     puts the window you want in focus and then gnome-screenshot -w     take a screenshot of the window that is in focus
[22:17] <tomreyn> gmcastil: hope it works for you - it should.
[22:17] <gmcastil> yeah i think so
[22:23] <Yakov> same issue https://pastebin.com/vn4nqdE1  |  5 min trying option with windows targetting
[22:29] <leftyfb> Yakov: don't bother with --display
[22:29] <leftyfb> leave that out like I posted above
[22:29] <Yakov> leftyfb please paste command for wmctrl
[22:30] <Yakov> not sure about syntax i use : wmctrl -a 0x9c
[22:30] <leftyfb> Yakov: switch from Wayland to Xorg, then use (install first) wmctrl -l # to list your applications you have open and then run:  wmctrl -a <name of application window> ; gnome-screenshot -w
[22:30] <leftyfb> put the name of the window in quotes
[22:31] <Yakov> is it ids for wmctrl use only?
[22:31] <Yakov> so good
[22:31] <leftyfb> use the Window name
[22:31] <leftyfb> the part after your hostname
[22:33] <Yakov> wmctrl -a 0x03400006; gnome-screenshot -w
[22:34] <Yakov> does screen shot of terminal which is on second monitor
[22:34] <Yakov> not target app
[22:40] <Yakov> done, needed to use text name not its id :) thanks a lot leftyfb
[22:40] <Yakov> have second big concern - how to minimize only left screen or right screen
[22:44] <Yakov> is it possible to make exact path and name for screen shot we make with gnome?
[22:53] <gmcastil> tomreyn, i have three linux-image-* that are generic
[22:54] <tomreyn> gmcastil: namely?
[22:54] <gmcastil> linux-image-<uname -r>-generic (two different ones) and then a linux-image-generic-hwe-20.04
[22:54] <gmcastil> (VM doesnt have extensions installed in it, so i cant copy and paste)
[22:55] <tomreyn> oh by "generic" i did not mean "include the word 'generic'" but rather "do not include a version number"
[22:55] <gmcastil> ok thats what i thought you might have been referring to - so I want to leave the 20.04 and remove the other two then
[22:56] <tomreyn> so i was referring to llinux-image-generic and inux-image-generic-hwe-20.04 only
[22:56] <gmcastil> and then reinstall the latest one of the kernel packages then
[22:56] <tomreyn> yes to what you just said / asked
[22:56] <gmcastil> ok, i was pretty sure that's what you meant
[22:56] <gmcastil> thanks leme see what happens here
[22:56] <tomreyn> you can also re-install both of the `uname -r` ones
[22:57] <tomreyn> so you'll have a fallback, which is the standard setup
[22:57] <gmcastil> oh, i guess that makes sense
[22:57] <gmcastil> complaining about not being able to write logs...which i do not think i care about because i know why....
[22:58] <tomreyn> you mounted /var read-only?
[22:58] <gmcastil> no, its trying to do some /dev/pts stuff
[22:59] <tomreyn> oh, you should have mounted those virtual file systems before chroot'ing
[22:59] <gmcastil> gah and probably proc too
[22:59] <tomreyn> https://superuser.com/questions/111152/whats-the-proper-way-to-prepare-chroot-to-recover-a-broken-linux-installation#answers
[23:00] <tomreyn> dev, proc, sysfs
[23:00] <gmcastil> yeah, that's more specific, yeah i didnt realize that the package manager needed to touch all of that stuff
[23:00] <tomreyn> https://help.ubuntu.com/community/LiveCdRecovery is actually a better guide, not focring the file system (ext3)
[23:02] <tomreyn> grub needs to access some of those virtual file systems to determine how to boot from where properly
[23:02] <tomreyn> i mean grub-install
[23:02] <tomreyn> and/or update-grub
[23:02] <gmcastil> hopefully my attempts didnt break something
[23:03] <gmcastil> what apt-? command should i try to make sure everything is updated?
[23:03] <mybalzitch> apt update
[23:03] <mybalzitch> then apt upgrade
[23:03] <tomreyn> apt update && apt upgrade && apt full-upgrade
[23:04] <gmcastil> i meant to try to make sure i didnt screw somethign up by trying to remove packages and having it bail in the middle because of unmounted virtual filesystems
[23:04] <gmcastil> i'd liek to get the system booting on its own first
[23:06] <tomreyn> unless you installed grub to a different disk / file system than it should be, none of what you did should have been destructive as a result of non-mounted VFS
[23:06] <gmcastil> i meant the package manager
[23:07] <tomreyn> if you'll just re-re-install those packages after mounting the VFS and chroot-ing again you'll be fine
[23:07] <gmcastil> apt --fix-broken install gave me an error because it claims /dev/pts  isnt mounted (/dev is)
[23:08] <gmcastil> i hate blindly trusting the damn package manager
[23:08] <tomreyn> you ust have used just "mount" not "mount --bind" for /dev then
[23:08] <gmcastil> install, reinstall, purge, remove, autoremove
[23:08] <gmcastil> i did mount bind
[23:08] <leftyfb> gmcastil: you need to mount /dev/pts separately
[23:09] <leftyfb> it's a separate mount on top of /dev
[23:10] <gmcastil> dpkg failed this time because it cant create a symlnk...not a surprise, its vfat
[23:10] <tomreyn> --bind should have included it if pts was mounted on the host
[23:10] <tomreyn> vfat on which file system?
[23:10] <gmcastil> boot
[23:11] <tomreyn> why? is this embedded, too?
[23:11] <gmcastil> no, but thats how i formatted it when i screwed up
[23:11] <leftyfb> for i in sys proc dev dev/pts ; do sudo mount -o bind /${i} /path/to/chroot/${i}/ ; done
[23:11] <gmcastil> i can fix that...
[23:12] <leftyfb> and you have to make sure /dev is mounted first, then mount /dev/pts on top
[23:12] <tomreyn> ah lefty is right, i meant to say --rbind, not just --bind for /dev
[23:12] <leftyfb> hm
[23:13] <leftyfb> TIL -R --rbind
[23:13] <gmcastil> it shows udev is on /dev and devpts is on /dev/pts
[23:13] <gmcastil> so i should be set
[23:14] <tomreyn> this sounds right
[23:15] <tomreyn> and you probably want something with journalling on /boot, ext4, ext2, btrfs, xfs or whatever
[23:15] <gmcastil> yeah i already reformatted it ext4...now i'm getting failures because its tryhing to rebuild the virtualbox guest additions
[23:15] <gmcastil> this is almost certainly because i'm in a VM
[23:15] <gmcastil> and i'm not sure that it matters right now
[23:16] <leftyfb> there shouldn't be any symlinks in /boot regardless
[23:16] <gmcastil> its symlinking the kernel to kernel-old
[23:16] <gmcastil> because its the only one in there
[23:17] <leftyfb> ah right, yup
[23:17] <gmcastil> and i'm getting "Failed to connect to bus: no such file or directory" after trying to build the virtualbox guest additions module
[23:17] <leftyfb> the vmlinuz and initrd
[23:17] <gmcastil> but /boot has stuff in it now
[23:17] <gmcastil> and it looks bootworthy, so that's nice
[23:18] <gmcastil> now to fix grub, i just run grub-install /dev/bootpart ?
[23:20] <zecred> khjkhkjhkjhkjkjhkjhkjhkjhkjhkhkjh
[23:20] <tomreyn> more like /dev/bootdevice
[23:21] <gmcastil> hm..
[23:21] <gmcastil> that will install grub files into /boot as well?
[23:21] <tomreyn> i mean you probably want /dev/sda (raw device / MBR) or something, not /dev/sda1 (partition)
[23:21] <gmcastil> yes, that's what i was asking
[23:22] <tomreyn> no, grub won't go into /boot
[23:22] <gmcastil> how does it know that /dev/sda1 is my boot partition? or does it just not care and throws stuff into /boot (which is my mounted partition)
[23:22] <gmcastil> i guess that makes sense
[23:22] <gmcastil> dafuq...says it was installing for i386-pc platform
[23:24] <tomreyn> with classic BIOS booting from a DOS/MBR partitioned disk, grub usually goes next to the MBR. it can also try to 'embed into a partition', but it think current grub no longer supports this and it was always a metter of luck.
[23:24] <gmcastil> ok, so i rebooted and just have a grub> menu now, but thankfully, no rescue prompts
[23:24] <tomreyn> i think "installing for i386-pc platform" is how grub says "in bios mode on x86-like systems"
[23:25] <gmcastil> yeah i can believe that
[23:25] <gmcastil> and no one cares that its misleading as hell because..uh..reasons, sure
[23:26] <tomreyn> i'm almost certain it is well enough documented. ;)
[23:26] <gmcastil> probably right
[23:27] <gmcastil> so ther's a grub directory in /boot now
[23:27] <gmcastil> and i386-pc :)
[23:27] <tomreyn> the grub prompt suggests that either (a) the wrong grub installation was loaded (i.e. an old/different grub installation on a different disk was loaded) or (b) the right grub was loaded but it failed to access its configuration file from the boot file system
[23:28] <gmcastil> as in it cant find the rootfs? should still be able to load a kernel though right?
[23:28] <tomreyn> or (c) the configuration file on the boot file system was properly accessed but does not make sense / is outdated / was created while the VFS were not properly mounted
[23:29] <tomreyn> because grub's configuration file tells it where to load the kernel from, that can fail if the configuration file is not found or not correct
[23:29] <gmcastil> i havent used grub in ages - there used to be a grub.conf file but now...?
[23:29] <tomreyn> there still is, in /boot/grub
[23:30] <tomreyn> grub.cfg though, not grub.conf
[23:30] <gmcastil> ....i have a fonts/, i386-pc/ and grubenv (which is a bunch of 0x23
[23:31] <gmcastil> i just looked at a different VM running ubuntu and it has that, but i'm missing one
[23:31] <gmcastil> is that something i can rebuild?
[23:31] <tomreyn> from a chroot after mounting the file systems and VFS, yes
[23:32] <gmcastil> so i need to bind mount /dev and /dev/pts right?
[23:32] <tomreyn> you could also try your luck from the grub> prompt but i'm not sure i want (or can) guide there
[23:32] <gmcastil> naw, i'm already putting the chroot back together
[23:32] <tomreyn> yes you need both available
[23:33] <gmcastil> there's a grub-mkconfig or something..i remember running into this a while back
[23:34] <gmcastil> so do i just run that from the chroot and grub2 will build one for me from the defaults?
[23:35] <gmcastil> or do i run updaet-grub instead...the /etc/default/grub file recommends the latter
[23:36] <tomreyn> update-grub && grub-install /dev/sdX (or whichever target device it should be)
[23:37] <tomreyn> update-grub is a wrapper around (i think not only) grub-mkconfig
[23:37] <gmcastil> yep, that looked promising, because it found both the -83 and -84
[23:37] <gmcastil> yeah, it did a bunch of stuff beyond rjnning grub-mkconfig
[23:37] <gmcastil> i wasn't gonna run it blindly - i remember there being a responsible way to do it and a hamfisted way
[23:39] <gmcastil> i'd be shocked if i dont have to rebuild the virtualbox extensions again, but thats not ap roblem
[23:39] <gmcastil> ok, so its booting now and doing some fsck which is nice
[23:40] <tomreyn> unless it's an indication that you overwrote more than you think you did ;)
[23:40] <gmcastil> no, its not that, its complaining that UUID changed i think
[23:40] <gmcastil> because i reformatted that partition
[23:41] <gmcastil> or something of that nature
[23:41] <leftyfb> gmcastil: edit /etc/fstab
[23:41] <gmcastil> yeah no doubt
[23:41] <tomreyn> oh right we forgot about that
[23:41] <gmcastil> cant remember if i have stuff in there by uuid or not
[23:41] <gmcastil> i dont htink i did
[23:41] <gmcastil> purple screen...i dig it
[23:42] <gmcastil> system recovery three steps removed...yikes
[23:42] <gmcastil> guest exetensions still work
[23:43] <gmcastil> awesome...that was a great way to spend my afternoon, but thanks, you saved my bacon mate - i owe you a brewsky
[23:43] <tomreyn> we're two, though ;)
[23:53] <gmcastil> i was trying to explain to my wife a bit ago what i did today and i told her "I learned about the folly of trying to multitask"
[23:54] <gmcastil> keep a sharp eye out kids and dont go nuking partition tables via 3 layers deep in ssh
[23:56] <gmcastil> this is weird
[23:56] <gmcastil> https://bpa.st/BVFA
[23:56] <gmcastil> there's the /etc/fstab and fdisk output
[23:57] <tomreyn> what's weird? the partition type of sda1?
[23:59] <tomreyn> the (outdated) reference to sda5?