[00:11] boa note === Peon8 is now known as Peon [00:37] is there any way to have a script still register keyboard input even if the window is minimized or similar? [00:38] I asked in bash but they told me to come here [00:50] that is called malware/keylogger [00:56] haha [00:57] yeah I guess that would be one way [00:57] 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] desktop 20.04 [00:58] 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 === chris14_ is now known as chris14 [01:14] 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] https://justpaste.it/Reese_Fucks_Edna_Skilton_Malcolm [01:15] not here please MuXtraCrdit === ubuntu is now known as Guest4510 === luc14n0_ is now known as luc14n0 [02:02] 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] I don't know for a fact its related to running that comman === NewtonTrendy is now known as NewtonPumpkin [03:07] after executing "sudo chsh -s /bin/bash" , i can't switch "zsh" to "bash" [03:13] xxy, how are you switching, and what error message do you get? [03:16] hi [04:11] heloooWW.!! [04:12] welcome to the jungle..!! [04:13] ahhh ubuntu oficial [04:13] yeah.. [04:13] congratulations..!! for free OS studio [04:14] beatifull system [04:15] znc.in? [04:16] (chrfle) [04:16] phishing? je.!! [04:17] ttranslation (overcluker) [04:19] cluck.. jaja [04:20] AI trembles [04:22] Successfully connecting to an IRC channel is something [04:23] Thanks to Ubuntu it became possible [04:25] telia - telecom? [04:26] znc [04:27] llego el latino fumanchu [04:28] znc yeah.. === remy_ is now known as Remy [06:38] I can't hear the audio output from google-translate extension in Emacs. I run Ubuntu 22.04.3 LTS [06:38] Is it about Emacs or Ubuntu [06:39] Is it related with Emacs or Ubuntu [06:42] I'm installing mplayer [06:45] ! [06:47] my system was working fine but then i went and folowed inte [06:48] l's instructions for setting up the Arc video card, and now Xorg fails to start [06:48] lightdm hangs at a flashing cursor, but other ttys still available [06:49] 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] 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] Xorg is crashing when lightdm tries to start it. stack trace has the iris module in there along with libc stuff [06:57] not sure whether that's a hint. should the iris module be involved for an Arc A380? [07:58] hello, my Ubuntu lts 22 hangs infinite on my laptop asus x50gl ... what should I do ?> [07:59] I should have added [07:59] that it is the installer which hangs ... [08:00] paul424: do get to the grub menu? [08:00] the last info on screen was ...starting kernel crash submission whoopsie service [08:00] toddc, yes [08:00] "whoopsie.service" [08:02] paul424: that is the error reoring service so ignore at this time is youe computer 32bit or 64 bit [08:02] 64 [08:03] what video card if you know? [08:03] we have one Ubuntu at school already , so Iwanted all laptops to run ubuntu if they run linux [08:03] video card is ati ...'\ [08:04] sorry it's [08:04] nvidia int. gfx [08:04] 1 sec [08:04] 2 sec [08:04] 3 sec [08:04] :P [08:06] https://forums.opensuse.org/t/newbie-asus-x50gl-help/26036 [08:06] "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] ahh that's 14 years old post [08:08] 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] yeah that's what I read here on some forum ... [08:09] oki brb [08:09] may be need to hit space bar to set nomodeset [08:09] I was looking for a you tube guide for you [08:12] https://www.addictivetips.com/ubuntu-linux-tips/fix-ubuntu-live-usb-not-booting/ [08:13] F6 [08:14] paul424: then after you install and reboot I update it the do the addl drivers and pick the one listed as recommended [08:14] or recommeded tested [08:29] how do I log in to Ubuntu "Try me" , what user what password ? [08:30] besides I would like to test how the xfce4 works , not only kde [08:32] no password that is part of the live usb feature so no data is save---basily running off the usb drive [08:32] I have logged out [08:34] How do I try XFCE4 ? ?? [08:34] The username should be ubuntu, and the password is blank [08:36] 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] toddc, oki why ? [08:41] 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] toddc, oki thanks for the info, time to go , see you O_/ [08:41] there are people here with great skills than can usually fix any issues === zofrex2 is now known as zofrex [10:42] hey, is alpine linux based on ubuntu? [10:42] do they use the same packages or are they entirely different things? [10:42] nothing in common [10:43] ravage is ubuntu more secure than alpine linux? How do I determine that? [10:45] no idea. and offtopic for this room [10:45] !discuss | Guest76 [10:45] Guest76: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [10:45] ok, thank you === EriC^^ is now known as Guest6270 === Guest6270 is now known as EriC^^ === rafael_ is now known as ruffleS [12:37] 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] ruffleS: I would say **stick around** in the channel whatever you do don't disconnect, let people reply tomorrow etc... THEN [12:38] ruffleS: please give info: has it worked on other ubuntu versions or other linux distros generally (give details!) ? [12:40] 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] 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] today I move my final laptop to ubuntu making it my last 'windows' machine [12:49] 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] 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] SrPx: what release of ubuntu? [13:19] sorry, ubuntu 22.04.3 LTS [13:20] if I do "sudo dhclient eth0" it says "Cannot find device 'eth0'" [13:20] SrPx: server or desktop? [13:20] desktop [13:20] with an UI interface im accessing right now [13:21] SrPx: make sure the contents of /etc/netplan/01-network-manager-all.yaml match this: https://pastebin.ubuntu.com/p/xwgZGvGhXz/ [13:21] remove all other files that are in /etc/netplan/ [13:22] Hi all [13:23] leftyfb: it does match already, and there is nothing else on netplan [13:23] SrPx: ok, then look through your network manager network settings [13:35] got it, ty === pick is now known as pickanick === SCVM___ is now known as SCVM === rafael_ is now known as ruffleS [14:20] 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] eN_Joy: run: sudo apt autoremove [14:21] leftyfb: No, that won't do... [14:21] why not? [14:22] I ran that, nothing happened... those packages still hang there marked `deinstall`... [14:24] eN_Joy: are the packages causing issues for you? [14:25] Not at all, just curious if I could reclaim some storage space... === dob1_ is now known as dob1 [14:49] 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] to I mean the new one, not the old one with some update [14:50] 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] 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] mbeierl: I know i t's the new one [14:55] wasn't expecting that [14:57] 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] sebsebseb: yes, snap packages will update on their own as needed [14:57] sebsebseb: also, problem with your keyboard? [14:58] yes got some problems with the space bar [14:58] does that show [15:01] Thunderbird 115.3.,1 (64bit) I wasn't expecting to get that version just yet [15:01] or maybe they have dropped maintaiing the old version [15:04] 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] hi [16:03] Does anybody have issues with stylus input on XWayland? [16:07] 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] 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] I would like to know if this is reproducible on other Wayland compositors [16:25] How to select mulitple files with Nautilus? [16:25] ctrl + mouse doexy not work [16:26] AngryTom: CTRL+left-click [16:26] AngryTom: if it's not working for you, you have something misconfigured/wrong [16:27] hm [16:27] works for me [16:30] the context menu appears [16:31] AngryTom: that is right-click [16:31] and with ctrl left click [16:32] ah, when I right click it kind of works [16:32] strange [16:46] what should i do https://dpaste.com/4FNMGQFVA [16:47] i cannot update the system or install something [16:50] spinningCat: looks to me like tr.archive.ubuntu.com doesn't work as a repo [16:50] i didnt change it anytime [16:51] it is default sources.list [16:51] spinningCat: it's not the default [16:51] i mean [16:52] when you install ubuntu sources.list is created right [16:52] i didnt add any address thats what i meant [16:52] !kinetic [16:52] Ubuntu 22.10 (Kinetic Kudu) is the 37th release of Ubuntu and the previous regular release – Download at https://ubuntu.com/download :: Release notes at https://discourse.ubuntu.com/t/kinetic-kudu-release-notes [16:52] MMM that's still supported? [16:53] spinningCat: regardless, 22.10 is EOL. You'll need to upgrade [16:53] 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] leftyfb, upgrade to new version? [16:56] Ubuntu 22.10 (Kinetic Kudu) reaches End of Life on July 20 2023 [16:57] In Ubuntu 22.04 is there a command to find the fastest update mirror? [16:59] spinningCat: upgrade to a current version of ubuntu or downgrade to a Long Term support version [17:00] In Kubuntu 22.04 is there a command to find the fastest update mirror? [17:00] 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] !repeat | pickanick [17:00] pickanick: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [17:01] 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] For context: the malfunctioning app is Xournal++ run under XWayland [17:02] pickanick: ubuntu should autmaticlly find the fastest/closest at that second with default setttings [17:03] toddc: netselect isn't a valid command in ubuntu [17:07] leftyfb: so it is invalid looking for correct [17:07] leftyfb : please note, I was not repeating myself, I was correcting myself: Ubuntu -> Kubuntu [17:08] pickanick: in the case of mirrors, it doesn't really matter [17:08] In any case I found that the discover app settings has a button to find the mirror responding fastest to ping. [17:14] 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] !op | b1ldramer [17:15] b1ldramer: 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 [17:15] hi leftyfb [17:16] Long time no see [17:16] b1ldramer: please stop [17:16] Remember c h i m p o u t . c o m [17:16] your favorite site [17:28] ardeatina === DTD-878 is now known as Beowulf878 === nckx_ is now known as nckx === nckx is now known as nckhexen [18:22] Does newest ubuntu 22 -- still supports BIOS/MBR style of booting ? [18:23] yes [18:23] So all I need to do is to choose to mount and install a /boot partition at custom partitioning, right [18:24] paul424: why do you need custom partitioning? [18:24] I got windows on the same disc [18:24] on the same hdd [18:25] pretty sure the ubuntu installer will account for that [18:25] damn it, I forgot to pay the electricity bill ! [18:29] leftyfb, so what shall I do ? The installer keeps warning that the efi partition wasn't choosen and this might cause problems [18:30] ah, so Windows is using EFI then? Then you would need Ubuntu to also use EFI [18:31] leftyfb, no no , The windows is old windows 7 installation [19:41] 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] gnome-screenshot -w --display 0 | cannot open display: 0 - how to fix it? [20:13] try display 1 [20:14] same [20:14] I have two monitors and need to make screen shot on 0 or 1 by choose [20:19] Yakov: --display isn't for multiple monitors [20:29] @ 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] xrandr XWAYLAND1 connected primary 2560x1600+1920+0 (normal left inverted right x axis y axis) 290mm x 180mm [20:30] gnome-screenshot -w --display=XWAYLAND1 or gnome-screenshot -w --display XWAYLAND1 same error [20:34] Yakov: xrandr --query|awk '/ connected/ {print $1}' [20:35] bentbrewer: except that doesn't work at all [20:35] XWAYLAND0 [20:35] XWAYLAND1 [20:35] Yakov: pretty sure gnome-screenshot will only work on Xorg and not Wayland [20:36] bentbrewer: https://pastebin.ubuntu.com/p/STVPqzPvpv/ [20:57] what is screenshot tool for wayland ubuntu? [21:03] Yakov: standard gnome has a built in one called ---- screenshot [21:03] grim [21:03] grim is a command-line utility to take screenshots of Wayland desktops. [21:03] grim [21:03] compositor doesn't support wlr-screencopy-unstable-v1 [21:04] Yakov: assumming 22.04 wayland standard Gnome [21:04] toddc, share syntax pls [21:04] I dont understand those things, gimme syntax pls [21:06] 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] Description:    Ubuntu 22.04.3 LTS === michaelni_ is now known as michaelni [21:09] is it so complicated to make screen shot on second monitor? [21:12] 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] Yakov: settings-about will tell you a lot [21:13] toddc: ? nobody is mentioning teamviewer [21:13] toddc, i dont understand, give me full syntax pls [21:13] settings about what? [21:13] toddc: what are you talking about? [21:14] leftyfb: correct those screen tools did not work on early wayland [21:15] what is early wayland? [21:15] 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] trying to find out which verion and DE he has settings about I am looking for a guide for him 1 sec === diew_78 is now known as diew_ [21:22] 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] host-only, nat with firewall? thx [21:27] Yakov: does your desktop look like this? https://owncloud.azloco.com:8081/index.php/s/5rfMAn7as7TmRdo [21:29] cant open the link [21:29] loading [21:29] infinite [21:30] Hello [21:30] is there a way to make screen shot of specific app? [21:31] Yakov: 1 sec [21:32] No hello b [21:32] Yakov: yes [21:33] Yakov: Try link now I had it blocked for outside usa [21:34] same issue [21:35] Yakov: 9 dots in lower left? [21:35] @Druid [21:35] yes [21:37] Yakov: click the nine dots type screenshot in top window then click the bult in screenshot tool [21:38] Bitchx [21:38] diew_: hi, do you have an ubuntu support question? [21:38] Yakov: screenshots will be saved in pitures/schreenshots [21:39] tomreyn [21:39] Not [21:40] 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] Ok [21:41] Tkz [21:48] 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] 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] (which means it may be a better idea to just do a fresh install and restore backups) [21:53] tomreyn, yeah, i think i formatted that partition vfat as well [21:53] i was in the middle of trying to do too many things at once on too many different machines [21:54] 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] 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] toddc, i know that, but I need 1) make screen shot with cmd 2) make screenshot only from monitor #2 [21:58] 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] yeah, i hadnt thought to do that...chrooting into it from a live env [21:59] 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] i can chroot into it and then format / mount the /boot partition [22:00] i'd still want to engage witht he package manager though i should think [22:01] would i just try to reinstall whatever ubuntu calls the linux kernel package? [22:01] or would i want to mount the /boot partition outside of the chroot environment? [22:01] i should think the latter [22:02] 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] you mount all the file systems of the on-disk system first, then chroot into the system with the empty /boot. [22:03] then you (optionally purge, then) reinstall the kernel package [22:03] yah, it wouldt work the otehr way, because that partition would be unknown [22:03] oh, purge, that's a thing [22:03] 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] apt list --installed linux-image-* [22:04] what about the bootloader? [22:04] 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] 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] for the bootloader, you need to grub-install [22:05] 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] but if this is a uefi booting system then the boot loader would be on a separate partition [22:06] it is not...mbr [22:06] Yakov: if you have the mouse on the second monitor press alt+ PrintScreen? screenshots entire scond monitor assumming terminal is full screen [22:07] https://beebom.com/how-take-screenshot-ubuntu/ [22:07] 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] toddc, there is no print screen button on mac -> i use F11 as shorkey to make screenshot [22:10] 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] i can do app or full monitor 2, app is full screen on monitor two [22:13] Yakov: switch from Wayland to Xorg, then use (install first) wmctrl -l # to list your applications you have open and then run: wmctrl -a ; gnome-screenshot -w [22:13] omg is it possible? [22:13] on current hardware? [22:13] yes, I just tested it [22:14] any risks of switching? [22:14] resource consuming or bugs? [22:14] unlikely [22:14] tomreyn, cool, i didnt realize there was a way to remove damaged packages and reinstall them [22:14] the chroto idea wasnt something that had occurred to me [22:14] leftyfb, thanks a lot :) [22:14] which is wild, since i use chroot to do a ton of things in embedded work [22:15] Yakov: wmctrl -a puts the window you want in focus and then gnome-screenshot -w take a screenshot of the window that is in focus [22:17] gmcastil: hope it works for you - it should. [22:17] yeah i think so [22:23] same issue https://pastebin.com/vn4nqdE1  |  5 min trying option with windows targetting [22:29] Yakov: don't bother with --display [22:29] leave that out like I posted above [22:29] leftyfb please paste command for wmctrl [22:30] not sure about syntax i use : wmctrl -a 0x9c [22:30] Yakov: switch from Wayland to Xorg, then use (install first) wmctrl -l # to list your applications you have open and then run: wmctrl -a ; gnome-screenshot -w [22:30] put the name of the window in quotes [22:31] is it ids for wmctrl use only? [22:31] so good [22:31] use the Window name [22:31] the part after your hostname [22:33] wmctrl -a 0x03400006; gnome-screenshot -w [22:34] does screen shot of terminal which is on second monitor [22:34] not target app [22:40] done, needed to use text name not its id :) thanks a lot leftyfb [22:40] have second big concern - how to minimize only left screen or right screen [22:44] is it possible to make exact path and name for screen shot we make with gnome? [22:53] tomreyn, i have three linux-image-* that are generic [22:54] gmcastil: namely? [22:54] linux-image--generic (two different ones) and then a linux-image-generic-hwe-20.04 [22:54] (VM doesnt have extensions installed in it, so i cant copy and paste) [22:55] oh by "generic" i did not mean "include the word 'generic'" but rather "do not include a version number" [22:55] 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] so i was referring to llinux-image-generic and inux-image-generic-hwe-20.04 only [22:56] and then reinstall the latest one of the kernel packages then [22:56] yes to what you just said / asked [22:56] ok, i was pretty sure that's what you meant [22:56] thanks leme see what happens here [22:56] you can also re-install both of the `uname -r` ones [22:57] so you'll have a fallback, which is the standard setup [22:57] oh, i guess that makes sense [22:57] complaining about not being able to write logs...which i do not think i care about because i know why.... [22:58] you mounted /var read-only? [22:58] no, its trying to do some /dev/pts stuff [22:59] oh, you should have mounted those virtual file systems before chroot'ing [22:59] gah and probably proc too [22:59] https://superuser.com/questions/111152/whats-the-proper-way-to-prepare-chroot-to-recover-a-broken-linux-installation#answers [23:00] dev, proc, sysfs [23:00] yeah, that's more specific, yeah i didnt realize that the package manager needed to touch all of that stuff [23:00] https://help.ubuntu.com/community/LiveCdRecovery is actually a better guide, not focring the file system (ext3) [23:02] grub needs to access some of those virtual file systems to determine how to boot from where properly [23:02] i mean grub-install [23:02] and/or update-grub [23:02] hopefully my attempts didnt break something [23:03] what apt-? command should i try to make sure everything is updated? [23:03] apt update [23:03] then apt upgrade [23:03] apt update && apt upgrade && apt full-upgrade [23:04] 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] i'd liek to get the system booting on its own first [23:06] 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] i meant the package manager [23:07] if you'll just re-re-install those packages after mounting the VFS and chroot-ing again you'll be fine [23:07] apt --fix-broken install gave me an error because it claims /dev/pts isnt mounted (/dev is) === kentucky4441 is now known as kentucky444 [23:08] i hate blindly trusting the damn package manager [23:08] you ust have used just "mount" not "mount --bind" for /dev then [23:08] install, reinstall, purge, remove, autoremove [23:08] i did mount bind [23:08] gmcastil: you need to mount /dev/pts separately [23:09] it's a separate mount on top of /dev [23:10] dpkg failed this time because it cant create a symlnk...not a surprise, its vfat [23:10] --bind should have included it if pts was mounted on the host [23:10] vfat on which file system? [23:10] boot [23:11] why? is this embedded, too? [23:11] no, but thats how i formatted it when i screwed up [23:11] for i in sys proc dev dev/pts ; do sudo mount -o bind /${i} /path/to/chroot/${i}/ ; done [23:11] i can fix that... [23:12] and you have to make sure /dev is mounted first, then mount /dev/pts on top [23:12] ah lefty is right, i meant to say --rbind, not just --bind for /dev [23:12] hm [23:13] TIL -R --rbind [23:13] it shows udev is on /dev and devpts is on /dev/pts [23:13] so i should be set [23:14] this sounds right [23:15] and you probably want something with journalling on /boot, ext4, ext2, btrfs, xfs or whatever [23:15] yeah i already reformatted it ext4...now i'm getting failures because its tryhing to rebuild the virtualbox guest additions [23:15] this is almost certainly because i'm in a VM [23:15] and i'm not sure that it matters right now [23:16] there shouldn't be any symlinks in /boot regardless [23:16] its symlinking the kernel to kernel-old [23:16] because its the only one in there [23:17] ah right, yup [23:17] 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] the vmlinuz and initrd [23:17] but /boot has stuff in it now [23:17] and it looks bootworthy, so that's nice [23:18] now to fix grub, i just run grub-install /dev/bootpart ? === kentucky4442 is now known as kentucky444 [23:20] khjkhkjhkjhkjkjhkjhkjhkjhkjhkhkjh [23:20] more like /dev/bootdevice [23:21] hm.. [23:21] that will install grub files into /boot as well? [23:21] i mean you probably want /dev/sda (raw device / MBR) or something, not /dev/sda1 (partition) [23:21] yes, that's what i was asking [23:22] no, grub won't go into /boot [23:22] 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] i guess that makes sense [23:22] dafuq...says it was installing for i386-pc platform [23:24] 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] ok, so i rebooted and just have a grub> menu now, but thankfully, no rescue prompts [23:24] i think "installing for i386-pc platform" is how grub says "in bios mode on x86-like systems" [23:25] yeah i can believe that [23:25] and no one cares that its misleading as hell because..uh..reasons, sure [23:26] i'm almost certain it is well enough documented. ;) [23:26] probably right [23:27] so ther's a grub directory in /boot now [23:27] and i386-pc :) [23:27] 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] as in it cant find the rootfs? should still be able to load a kernel though right? [23:28] 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] 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] i havent used grub in ages - there used to be a grub.conf file but now...? [23:29] there still is, in /boot/grub [23:30] grub.cfg though, not grub.conf [23:30] ....i have a fonts/, i386-pc/ and grubenv (which is a bunch of 0x23 [23:31] i just looked at a different VM running ubuntu and it has that, but i'm missing one [23:31] is that something i can rebuild? [23:31] from a chroot after mounting the file systems and VFS, yes [23:32] so i need to bind mount /dev and /dev/pts right? [23:32] you could also try your luck from the grub> prompt but i'm not sure i want (or can) guide there [23:32] naw, i'm already putting the chroot back together [23:32] yes you need both available [23:33] there's a grub-mkconfig or something..i remember running into this a while back [23:34] so do i just run that from the chroot and grub2 will build one for me from the defaults? [23:35] or do i run updaet-grub instead...the /etc/default/grub file recommends the latter [23:36] update-grub && grub-install /dev/sdX (or whichever target device it should be) [23:37] update-grub is a wrapper around (i think not only) grub-mkconfig [23:37] yep, that looked promising, because it found both the -83 and -84 [23:37] yeah, it did a bunch of stuff beyond rjnning grub-mkconfig [23:37] i wasn't gonna run it blindly - i remember there being a responsible way to do it and a hamfisted way [23:39] i'd be shocked if i dont have to rebuild the virtualbox extensions again, but thats not ap roblem [23:39] ok, so its booting now and doing some fsck which is nice [23:40] unless it's an indication that you overwrote more than you think you did ;) [23:40] no, its not that, its complaining that UUID changed i think [23:40] because i reformatted that partition [23:41] or something of that nature [23:41] gmcastil: edit /etc/fstab [23:41] yeah no doubt [23:41] oh right we forgot about that [23:41] cant remember if i have stuff in there by uuid or not [23:41] i dont htink i did [23:41] purple screen...i dig it [23:42] system recovery three steps removed...yikes [23:42] guest exetensions still work [23:43] awesome...that was a great way to spend my afternoon, but thanks, you saved my bacon mate - i owe you a brewsky [23:43] we're two, though ;) [23:53] 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] keep a sharp eye out kids and dont go nuking partition tables via 3 layers deep in ssh [23:56] this is weird [23:56] https://bpa.st/BVFA [23:56] there's the /etc/fstab and fdisk output [23:57] what's weird? the partition type of sda1? [23:59] the (outdated) reference to sda5?