[00:02] I'm doing it in a PPA, but yes the latest git builds [00:04] does it make a different that I am on zsh instead of bash? [00:29] I'm using dd to flash a micro sd card [00:29] according to ubuntu, there's no medium on the sd card afterward. [00:29] So either ubuntu isn't seeing the changes [00:30] or ubuntu isn't writing the changes. [00:30] f_ayx, it's just a different shell, use whatever you're familiar with. [00:30] --- [00:30] also, my raspberry pi isn't booting, so I suspect ubuntu isn't writing correctly [00:36] cluelessperson: download the raspberry pi imager and flahs the sd card with that [00:37] cluelessperson: are you sure the existing filesystem(s) on the sd card are unmounted before using dd? [00:46] Maik, no, I'm not installing random software on my computer. [00:46] leftyfb, yes. [00:47] * Maik shrugs [00:47] you're trying to run something on an rpi, but somehow the rpi imager is random software [00:47] cluelessperson: are you using the correct /dev/location for your microsd card? ( use lsblk) [00:47] using the option dd conf=fsync caused it to say 500+MB/s, and now it works. wtf [00:48] * cluelessperson tries other microsd card that also exhibited the same symptoms and tries it with the original options [00:48] leftyfb, yes, I verify by watching syslog as I insert usb drive [00:48] cluelessperson: The RPi Imager is made by the people who make the RPi. If you use their hardware, their software shouldn't be a concern. It has a built-in option to flash various Ubuntu releases. [00:48] cluelessperson: https://www.raspberrypi.org/software/ [00:49] So don't be rude to someone that's giving you a VERY good solution. [00:50] cws, A. I wasn't being rude. B. There's a difference between external hardware with nothing I value on it, vs a personal machine that handles funds or potentially secrets. C. None of that is a good rationale to install clutter on my personal machine, which shouldn't even remotely be required for any of this to work. [00:51] cws, You don't need some "imaging software" when literally `cat image > /dev/sda` generally does the job. [00:51] lol... clutter... a small program is clutter [00:52] Maik: Some people will pull out any asinine excuse to justify doing things the hard way. Let 'em. [00:52] probably the best [00:53] Maik, yes, random little programs where random developers often don't know so much as how to store things in proper places, is how things like your ~/.config or home directory get completely f'ed up and unmanagable. They also increase attack surface area. Potentials for malware, entry points to systems, and having to trust more and more developers and their software on your computer. [00:53] cluelessperson: cat is not the right tool for the job, regardless if it works for your case [00:53] Maik, again, there are countless reasons why installing it is dumb, and like I said, when `cat image > /dev/sda` should generally work. [00:54] do as you please, everybody his or hers. I use it and don't have a issue doing so. Have a good one. [00:55] Maik: Bet they'd be done and on their way if they just used the imager. [00:56] Maik, cws This is why some of my cryptocurrency forums are filled with "I don't know how malware would get on my computer" [00:57] cluelessperson: lets not exaggerate. You were recommended a very simple, light and very reputable application purpose-built for your exact scenario. No reason to keep going on about it. Glad you got dd working [00:58] You know what's reputable? dd purpose built for byte for byte copying images to block devices. [00:59] and that little imager program might even use it internally. [01:00] cluelessperson: all true statements. good luck with your project. Let us know if there's anything else you need help with [01:05] The other microsd card that was exhibiting the same symptoms, now shows up normally, without having changed the dd options [01:05] hi [01:05] So, considering I didn't change anything, this implies ubuntu / kernel is caching block device configuration perhaps. [01:05] terminhell, sup [01:06] thankfully, nadda now. done adulting for the day XD [01:06] you? === BenCraft3 is now known as BenCraft [01:06] terminhell: this is a support channel. Free free to chat in #ubuntu-offtopic [01:06] I did try partprobe , and fdisk /dev/sda showed "no medium found" [01:07] suspect kernel block device config caching, or possibly a bad reader connection (despite trying >3 times) [01:07] cluelessperson: nothing as far as the sd card is being cached. I literally just dd'd the latest raspiOS and then ubuntu 20.04 server to an sd card a couple hours ago without issue [01:07] the fact it shows up now proves it was written originally by dd. [01:09] Would it be a good idea to move and increase my swap to another drive? the server i have now only gave me like an 8gig swap. But i have 128gigs of ram [01:09] terminhell: with 128G of memory, you need exactly zero swap [01:09] sanity check my process?: tail -f /var/log/syslog to confirm device (/dev/sda), dd if=image of=/dev/sda bs=4M status=progress , sync , eject /dev/sda [01:10] I'm wondering if there's some kernel level usb caching/buffering going on and maybe eject interrupts it. [01:10] cluelessperson: use dmesg -Tw # over syslog, also I see no umount command in there [01:10] leftyfb: so i should probably just reclaim the partition and not worry about it? [01:10] terminhell: I would [01:10] leftyfb, I'd use umount -lf if I had mounted it, and I don't have the system configured to mount by default. [01:11] (I could be mistaken, but I don't think ubuntu mounts unless I actually click something and cause it to mount) [01:11] cluelessperson: you are mistaken [01:11] (and mount doesn't show anything mounted as far as I've checked in the past) [01:11] I'll double check then. [01:12] cluelessperson: I can almost guarantee you it's being mounted and this is your issue .... as I said originally [01:12] cluelessperson: plus in the SD card and : ls -l /media/$USER/ [01:13] leftyfb, yup, it is being mounted. However I'm confused, even if I don't unmount it correctly, I'd expect the /dev/sda partitions to show up correctly later, as they are lower level. [01:13] cluelessperson: your expectations are wrong [01:14] * cluelessperson tests [01:15] cluelessperson: watch dmesg -Tw # in a terminal ; # plug in sd card ; sudo umount /media/$USER/* ; confirm sd card location with lsblk ; then dd , then just yank it out since it's not mounted. You do not need to "eject" [01:16] leftyfb, mounting the filesystem is completely separate from the kernel not seeing the partitions though. [01:17] so even though it was being mounted after dd, it's not that I was editing files on it, nothing to corrupt. [01:17] cluelessperson: lets keep this simple. You cannot dd an image to a storage device when there are filesytems from said storage device mounted. [01:17] I think the original problem is /dev/sda showing up, but not /dev/sda{1,2} [01:26] cluelessperson: I take it unmounting and imaging solved your problem? [01:27] leftyfb, testing now, as expected, when I reflash the block device, the partitions are just remounted. [01:27] cluelessperson: they shouldn't be [01:27] I think this is an intermittent issue with ubuntu or the kernel. [01:27] it's not [01:27] the issue is not occuring now, but before it absolutely was only showing /dev/sda connected on the system. not the partitions. [01:28] leftyfb, Why would unmounting have anything to do with whether or not you can overwrite the block device at a lower level? [01:29] cluelessperson: I don't know the specifics of it. I just know it does not and will never work unless you unmount the filesystems. [01:30] I can understand the mounts perhaps not refreshing, or the files within the mounts. [01:30] I don't expect the kernel to care about mounts when refreshing plugged in block devices, and scanning for partitions though. [01:31] more reading to do! :P [01:31] cluelessperson: I don't argue with how it works, I just accept that it does and take actions accordingly [01:33] I don't know how the kernel typically handles it, but I'm pretty certain they're at different layers of abstraction. [01:35] I think other distributed block devices and file systems, like CEPH, gluster, and ZFS allow you to modify the block device (or sync between servers) apart from modifying files within mounts. [01:35] but then again, they tend to have more custom/dedicated kernel modules I think? dunno. [01:35] hint: 'low level' [01:36] one can grow an ext4 partition, mounted. but serious tasks as an iso image need more freedom. [01:38] yeah, makes sense. I figure the kernel handles fat and such common filesystems at a much lower level, even built in, because it needs to be able to load the kernel image and then the root FS. distributed filesystems are probably another story entirely. [01:41] leftyfb, thanks for your run through. I didn't realize ubuntu was automatically mounting. That might have been doing something to interfere with or lock the block device [01:42] I'll play with it to get a better sense of it and try to find documentation on it. === zbenjamin_ is now known as zbenjamin [02:48] Is ubuntu or xubuntu planning to switch to the gtk version with the copyless file chooser? [02:51] pikapika: if it's the default in GNOME, they will probably automatically "switch" to it [02:51] s/GNOME/GTK/ [02:51] matsaman, the one I have in xubuntu now has a fully functioning copy paste gtk file chooser [02:51] I have heard from (a Debian person) that a newer gtk removed/reduced the copy feature [02:51] (18.04 lat [02:52] (I am on 18.04 lts for the record) [02:52] Yeah, so I'm being very careful about mounting and such [02:52] ubuntu seems to be finicky about detecting partitions of block devices [02:53] GTK is open source, you can modify it however you please [02:53] fdisk -l /dev/sda shows the expected partitions [02:53] that doesn't mean its developers aren't subject to stupid choices made out of boredom, however [02:53] but `ls /dev/sda*` only shows /dev/sda [02:53] anybody who remembers the changeover from 2 to 3 should already know that GTK can make silly changes [02:53] and that GNOME, which influences GTK a lot, has done the same [02:54] cluelessperson: what's the problem? [02:54] matsaman, maintaining a personal fork is always painful [02:54] yes it is [02:54] but not as painful as replacing a software entirely [02:54] Certainly [02:54] matsaman, I plug in a micro sd card reader. the system shows /dev/sda it should be /dev/sda{,1,2} [02:54] I'll have to figure out how to fit my custom gtk build into the apt [02:55] cluelessperson: it should probably not be sda, but sdb or something [02:55] yeah bro [02:55] sda is probably your system disk [02:55] don't touch that shit [02:55] pikapika: I think the greater lesson here is to avoid software that has anything to do with GNOME [02:55] definitely 100% not my system disk. My system disk is /dev/nvme0n1 [02:55] that project is big on betrayal [02:56] perhaps even moreso than KDE at this point [02:56] The problem is I think xfce have to sort of follow its footsteps due to gtk [02:56] cluelessperson: is there something wrong with your partitions? [02:56] hands are tied [02:56] matsaman, only /dev/sda is showing, but the kernel is not detecting the partitions. [02:56] matsaman, something's wrong with the kernel not showing partitions, maybe [02:56] pikapika: I do think it unlikely Xfce will leave GTK anytime soon [02:57] I meant [02:57] xfce is forced to follow gnome to a degree because of gtk [02:57] cluelessperson: you can't mount your partitions? [02:57] pikapika: that's what I thought you meant yes [02:58] matsaman, the system doesn't detect the partitions [02:59] cluelessperson: you said fdisk does, didn't you? [02:59] matsaman, yes, fdisk literally reads the /dev/sda that does show up, and detects the partition structure on it [03:00] cluelessperson: so what's the problem? You can't mount the partitions? [03:00] matsaman, I'm not sure if you're reading what I'm writing [03:00] the system doesn't detect the partitions [03:00] ls /dev/sd* only shows /dev/sda [03:01] no sda1, sda2, when they should be there. [03:01] "fdisk ... reads ... and detecs the partition structure on it" [03:01] s/detecs/detects/ [03:01] fdisk is just a utility for interacting with disks directly [03:01] is 'ls /dev/sd*' crucial to your process somehow? [03:01] fdisk is not the system [03:02] when the microsd card is plugged in, the system detects it, creates a device file at /dev/sda, should scan it and also make sda1, sda2 for each partition it finds, it does not [03:03] why should it do that? [03:04] because it typically does that for any device you plug in [03:05] sounds like a real horrible problem === BrianG61UK_ is now known as BrianG61UK === BenCraft4 is now known as BenCraft [03:45] now wpa_supplicant won't connect to wifi [03:45] it's just reading disconnected [04:11] Hello [04:11] hi [04:12] anyone know about nvidiadrmfb ? [04:12] like radeondrmfb [04:13] Does anybody know how to stop unattended-upgrade? [04:13] spandex: Why would you want to? [04:13] Cause it does not allow me to install other packages. [04:14] Do you know any work around for that? [04:14] Then it is in the process of installing something, and you shouldn't try to stop it. Let it finish. [04:15] Can I disable it temporarily? [04:15] No, because its already running. Let it finish. [05:46] Hi all, I'm having Ubuntu 18.04.5 LTS PC. In my PC I see that kernel auto updates and I want to prevent kernel auto update feature.. Can someone help me on this? [05:47] Right now 5 different kernels are installed : https://pastebin.ubuntu.com/p/rFKbKRKYgW/ [08:04] I'm getting 'cups pki expired' when I try to print, anyone seeing this? [08:04] I've googled it, bit of a dead end [08:07] Ah interesting, one machine that did do-release-upgrade works fine [08:07] Two fresh installs, not so much [08:08] Printers... === Thargoid is now known as stwalkerster [08:26] i'm getting some serious "FAILED" notifications during the bootup of my ubuntu servers on virtualbox. I have a video here: https://www.youtube.com/watch?v=s5BWy7kTxxQ if anyone wants to take a look at it at advise what could fix this? [08:29] Does anyone know what the font is this? http://transfer.sh/NZBTl/Screenshot%20from%202021-03-29%2012:53:36.png [08:40] https://www.myfonts.com/WhatTheFont/ [08:47] Hi all. I've noticed that a php module I use (blackfire) saves itself in /etc/php/7.4/{cli,fpm}/conf.d/ as 99-blackfire.ini, a regular file, not a symlink to /etc/php/7.4/mods-available/blackfire.ini. I've modified this to be the case. However, using phpenmod and phpdismod doesn't "remember" this 99 sequence number, and when re-enabled, uses 20. Is there no mechanism to have this sequence number [08:47] persist across a disable/enable? Note that this isn't a module-specific issue - phpenmod and phpdismod do not appear to have any mechanism to restore the sequence number for any module. === Napsterbater_ is now known as Napsterbater [09:34] Ignore my previous message, it was an expired cert on the printer. tbh I thought that was just for the webgui [09:48] hi folks [09:49] hello imrjd [09:50] whts the channel for chit chat? [09:51] offtopic whic you schould know [09:51] !discuss [09:51] 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:47] Hi channel I am on Ubuntu 20.04 and I've installed KDE Plasma Desktop how do I upgrade to KF5 to 5.7* I'm currently on v5.69. thanks [10:54] f_ayx: how did you install plasma? [10:57] if it was through the default repositories then the short answer is there won't be an upgrade. if it is through a ppa then you'll need to contact the ppa maintainer to see if they will upgrade their packages. [10:57] via terminal [11:13] ThinkT510: Ah default repo :-/ [11:36] Hi. Could anyone help me using the e2undo command with /media/ubuntu/d5c220f8-bd51-4075-a8a6-e292e864572e/sda1_fsck/e2fsck-sda1_resize.e2undo ? [12:43] Hi folks [12:43] Hello, of you have a support question, say it here, if not, join #ubuntu-offtopic for offtopic discussion. [12:43] *if === BrianG61UK__ is now known as BrianG61UK_ [13:10] hey [13:10] look my /dev/input [13:11] by-id event0 event10 event12 event14 event16 event18 event2 event21 event23 event25 event27 event3 event5 event7 event9 mouse0 [13:11] by-path event1 event11 event13 event15 event17 event19 event20 event22 event24 event26 event28 event4 event6 event8 mice mouse1 [13:11] i have only 1 mouse [13:11] usb mouse [13:14] !pastebin [13:14] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. === lupulo is now known as Guest29906 === PowerTower_121 is now known as PowerTower_120 === BrianG61UK__ is now known as BrianG61UK === VMGuy234_ is now known as VMGuy234 [14:26] Hello [14:27] What sizes do you recommad for / and /home ? (ubuntu 20.04) ? [14:28] I guess I need at least 100 GB for /home but not sure about "/" [14:28] geez, I have less than 100GB for ubuntu in total! [14:29] 10GB for / should be enough [14:29] VMGuy23: it maybe depends of use.. Personnaly I use ubuntu for almost everything [14:29] Dro: How much space do you have in total? [14:29] cws: 1TO [14:30] You could easily give 50GB to /, including a swap file, and not even feel it. [14:30] jatt: I'm not sure 10GB will be enough, in my current system I have 27GB and its fully used [14:30] /dev/sdb5 27G 26G 132M 100% / [14:30] /dev/sdb3 64G 54G 7.1G 89% /home [14:31] The other question is, on a single disk, why bother splitting them at all? [14:31] yes it depends on your needs, for me I've: [14:31] /dev/nvme0n1p5 63G 7,7G 52G 13% / [14:31] with full xfce [14:32] cws: to make it easy when formating later (you can always have your //home data separated of the system) [14:32] Dro, use LVM instead of putting filesystems on partitions, keep most space unallocated, and resize LVs with filesystems when needed [14:33] extending LVs and most filesystems can be done online without downtime [14:33] jelly: the default ubuntu installation use LVM? [14:33] I don't remember [14:33] It's a checkbox. [14:33] but then you don't have to think about sizing in advance [14:34] jelly: but even when putting partitions, we can always remove a partition and add its space to ubuntu.. no need for unallocated space [14:37] Dro: Which is far more complicated than leaving unallocated space and being able to extend a logical volume with a single command. [14:37] cws: right! [14:38] So use LVMs, leave most of your space unallocated until you need to. [14:38] Dro, unless the geometry is _just right_ that might require downtime and moving things around [14:46] Dro: unless you have a specific need, you do not need separate partitions for anything, including swap if you have at least 16G of memory [14:46] Dro: anything else is personal preference for specific purposes or "just because" and isn't really useful [14:58] hello [14:58] when using snap where does the bin goes ? [14:59] I have vlc 3.0.8 installed with apt-get, I install vlc 3.0.12 with snap but vlc -V is still 3.08 [14:59] hi all, got a question about ubuntu 20.04... I disabled the gui with systemctl disable gdm3. On reboot it's still on tt7, but I want it to go to tty1... is this possible? So yes, how? [14:59] Where did the snap vlc go ? I see it in snap list [15:00] jil: remove the apt package if you want to use the snap [15:00] ok, I did apt-get remove vlc. Strangely vlc 3.0.8 is still there. [15:00] adm001mi: https://ubuntuhandbook.org/index.php/2020/05/boot-ubuntu-20-04-command-console/ [15:01] I did not dare do a apt-get remove vlc-* because to many package were going to be removed. [15:01] thx leftyfb [15:01] how safe do you think it is to do apt-get remove vlc-* ? [15:02] leftyfb: still I would like to understand where does snap install binaries ? [15:02] jil: /snap/bin/vlc [15:05] anyone have a link to the proper instructions on how to disable systemd-resolved? [15:12] imbezol: why do you want to disable systemd-resolved? [15:14] leftyfb: it has a bug that is breaking a lot of websites for me and until it's fixed i need to have DHCP set my DNS server directly in /etc/resolv.conf [15:15] imbezol: what bug? [15:15] or run dnsmasq, or whatever... just need to remove resolved [15:16] https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1921636 [15:16] Launchpad bug 1921636 in systemd (Ubuntu Groovy) "resolved CNAME redirect issues" [Undecided,New] [15:16] affects linkedin, google, hotmail, redhat, etc. [15:18] imbezol: I'd fix that installing dnscrypt-proxy [15:20] i have a cacheing DNS server 15 feet from me and i'm connected to it via 10 gig [15:21] putting another cache on my desktop is possible.. but really this is a temp fix and i'd like to be able to switch back and forth... [15:21] disable / enable systemd-resolved, so i can work this bug [15:21] really all i want to know is how to remove the cache [15:22] i can disable systemd-resolved easily enough... but how do i tell it to update /etc/resolv.conf normally with the DNS server given by DHCP? [15:24] leftyfb: thank you [15:28] I think I screwed up [15:29] running an Ubuntu 16.04LTS guest within esxi, I've increased the virtual disk, then ran gparted live iso, expanded it there, however now to get LVM to expand [15:29] I didn't realize it was an LVM [15:30] https://pastebin.com/mGD1Piup [15:33] bah [15:33] got it [16:02] Muligan, at work we setup VMs with a tiny 500MB or 1GB disk just for /boot, and second disk for everything else with LVM _without partitions_, that way we can grow the disk and PV and whichever LV without any downtime to resize partitions or having to reboot to make the kernel acknowledge new partition sizes [16:08] jelly, yep, I did that, and got it working [16:09] forgot about pv and lv resizing [16:09] usually w/lvm volumes, i just drop in another vmdk, and expand over to it [16:14] aye [16:14] Help! When I print from a PDF, it only prints on a corner of the page. How to fix this? Ubuntu Studio [16:26] hello everyone, I want to compile openssl 1.1.1k (latest) on ubuntu 16.04, over (OpenSSL 1.0.2g 1 Mar 2016), will it break anything? [16:28] narbeh: I would not do that. Your better solution would be to upgrade Ubuntu to a release that isn't going to be EOL next month [16:31] leftyfb: I see, thanks, and if there is no way to upgrade at the moment? [16:36] narbeh: there is a !pinning method but not sure thats adviced to do on openssl [16:36] narbeh: i would also go the route leftyfb said, mount higher ubuntu release with a higher package version === igorkovalenko is now known as i-garrison [17:53] hello, i'd like to be able to open ssh connections by clicking on a link on a website, if i click a link that starts with ssh:// i can choose a terminal to open it with but the terminal window doesn't open. does it need a certain syntax or something? [18:11] munsking: try https://chrome.google.com/webstore/detail/secure-shell-app/pnhechapfaindjhompbnflcldabbghjo [18:11] van777: i'd like to open the link with whatever program the user wants to, since it needs to work on windows and linux [18:12] As I've read, ssh:// is not supported mime type.. [18:13] hi, so when will Thunderbird 78.8 Update will be ready? [18:19] !latest | irgendwer4711 [18:19] irgendwer4711: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa. [18:21] the is a big bug in 78.7 [18:22] updats is in testing ppa for weeks... [18:23] when i try to delete a download with the same name and thus a (1) i get an error? bash: syntax error near unexpected token `(' [18:24] but then i can use sudo rm *.zip and everything works fine. why is that? [18:25] whats the command you run, which provides this bash error message? [18:25] and which ubuntu version are you running? [18:26] rm *.zip, 20.04 LTS [18:27] but didnt you just say that'erverything works fine' when you run 'rm *.zip'? [18:27] sorry, only when i do sudo rm *.zip [18:28] if i just do 'rm *.zip' then it will delete artifacts.zip but not the others [18:28] and i get the error message [18:29] you must have passed some argument containing the character'(' to get an error message of "bash: syntax error near unexpected token `('", though. [18:31] Hello [18:31] Do you think this partitions config will be good : 100 GB for / and 150 GB for /home ? [18:32] (for Ubuntu 20.04) [18:32] Dro: Just use LVM and leave space unallocated as what suggested previously. [18:32] Ditiris do you know that you can prefix special characters with a backslash "\" ? [18:32] Dro: There's no need to allocate that much space to the root. [18:33] these are downloads from firefox [18:33] but it happens even if i just create two files using touch [18:33] cws: the problem is that I don't have any idea about LVM.. I usually prefer the sure path :D (something that I already tried) [18:33] cws: for the root space, I found out that Docker containers uses too much space [18:33] LVM is a sure path. Now would be a great time to learn. [18:34] for my current system [18:34] and I have everytime to liberate space in / while I have 30GB currently [18:37] https://paste.ubuntu.com/p/W8QPssnGkZ [18:38] Ditiris: find ~/Downloads -name *.zip -exec rm {} \; [18:40] leftyfb: any idea why just 'rm *.zip' doesn't work? [18:40] Dimitris: globs [18:41] sorry, busy at the moment to get into more details [18:41] if you have too many files to delete, the * expansion will fail [18:41] Ditiris: it normally would, something must be special about your shell [18:41] simple test case, no error messages: mkdir -p /tmp/test; cd /tmp/test; touch 'file1.zip' 'file2.zip' 'file(3).zip' 'file(4).zip' '(f)ile(5).zip'; echo 'before rm:'; ls -1; rm *.zip; echo; echo 'after rm:'; ls -1 [18:42] (and deletion succeeds) [18:42] find will fork the rm, so infinite zip files won't break the request to delete them... also: find ~/Downloads -iname \*.zip -delete is a better version [19:09] so, I installed Ubuntu on a laptop with a broken screen, attached to an external monitor [19:09] now, I can't see the login screen anywhere [19:10] it's supposedly hidden at the left. is there any way to bring to the front on the external monitor (I don't have the normal monitor attached) === hacxman is now known as hexo [19:25] hi [19:25] so my intel i7 laptop [19:25] i put ubuntu liveiso [19:25] accidentally disconnect usb [19:25] screen goes black [19:26] i try to turn it off but IT WONT TURN OFF [19:26] please help [19:26] and it seems to NOT want to turn off [19:26] and makes some fan noises [19:26] superleaf1995: hold down the power button until it turns off [19:26] wont work [19:27] superleaf1995: it will, hold it longer [19:27] ok [19:27] superleaf1995: or unplug the power and battery(if accessible) [19:27] nope [19:28] cant deattach battery either [19:30] the laptop is an [19:30] intel i7 with nvidia geforce mx250 and u can touch the screen [19:35] superleaf1995: contact the manufacturer for help. This is not an ubuntu issue at this point [19:51] . [19:55] I eventually fixed my issue [19:56] it's amazing how there's always something online to solve small things on Ubuntu [19:56] PeGaSuS: true [19:59] took me a while to bypass the issue, but now all works as expected [20:00] uh [20:08] hey! does ubuntu keep track of commands run from the terminal? and does it do some automatic adjustments? I mean, I ran my program that does some search on a drive and printfs some progress alog with some debug info... and after a while, I can no longer see the printfs that are part of the search, until after I press CTRL+C ? [20:08] OK [20:08] so i waiteed for it to drain battery [20:08] guys i hope it turns on normally now :(((( [20:08] if not i will commit the scream [20:11] no way [20:11] it does not turn on normally [20:14] superleaf1995: you'll have to contact the manufacturer of the laptop. This is no longer an Ubuntu support issue [20:15] ok [20:15] today911: no, nothing gets recorded as far as what a script is doing unless you install something to do so === lordcirth__ is now known as lordcirth [20:17] leftyfb: thank you! [20:18] I just do not understand what could have happened then? I even put a fflush(stdout) in my while loop, doe not help; then I printf("press any key..."); getchar(); still I can not see the previously printed printfs? [20:21] I got it! I resized the terminal... and so, somehow it kept buffering stuff? [20:23] Is this a normal behaviour? === eliocamp8 is now known as eliocamp === Scotty_Trees2 is now known as Scotty_Trees [23:04] I'm running a 20.04.2 on my desktop and also have a server on AWS. Why do I get different formats for this command: /usr/bin/date -d '-2 days' [23:04] Locally I get ... Sat 27 Mar 2021 07:03:34 PM EDT [23:05] On server I get ... Sat Mar 27 23:05:48 UTC 2021 [23:05] ELFrederich: Check your $LANG or $LC_TIME variables. [23:06] LANG=en_US.UTF-8 vs LANG=C.UTF-8 === daniel is now known as Guest78762 [23:07] And there you go. [23:07] I'm trying to create a date that curl will accept with --time-cond === Guest78762 is now known as danielcg [23:07] If you set LC_TIME to something before running date, you can ensure a common format. [23:07] will this always work? LANG=C.UTF-8 /usr/bin/date -d '-2 days' [23:07] Yup. [23:08] ideally I'd get a UTC time [23:09] LANG=C.UTF-8 /usr/bin/date -u -d '-2 days' [23:09] LANG=C.UTF-8 TZ=UTC /usr/bin/date -d '-2 days' [23:09] ELFrederich: That SHOULD do what you need. [23:10] man... this AWS instance has some serious drift... it's in the future [23:10] Sat Mar 27 23:12:08 UTC 2021 [23:10] lolwat [23:10] That's two days ago, sure. [23:10] the minutes [23:11] Sure, its two days ago, UTC. [23:11] Not that far off. [23:11] I get what you mean, though. [23:12] I'd think anything more than a 5 seconds would be serious [23:13] The amount of clock skew that you can tolerate is determined entirely by what the server is doing. [23:13] Or if you have any kind of time-dependent crypto operations going on, like TOTPs. [23:14] hmmm, why doesn't this work? ssh my-server "bash -c LANG=C.UTF-8 TZ=UTC /usr/bin/date" [23:14] it works without setting the environment variables. [23:15] I put it before the bash and now it works. I wanted to get the dates right next to each other [23:16] ssh my-server 'LANG=C.UTF-8 TZ=UTC bash -c /usr/bin/date' && LANG=C.UTF-8 TZ=UTC bash -c /usr/bin/date [23:16] Mon Mar 29 23:18:11 UTC 2021 [23:16] Mon Mar 29 23:16:01 UTC 2021 [23:16] oh well... now I'm getting side tracked. Locally my clock is at least in sync with my phone and with Google [23:16] just AWS is ahead [23:20] And I doubt you can manipulate the local time of the AWS instance, e.g. ntp [23:26] I used to have a boyfriend named "ubuntu" ... he would "play the bongos" on my ass [23:26] hey wait-what [23:26] hi jess [23:26] sup? [23:26] nm u [23:26] bit tired, just had a fight with some spambots [23:27] now i have a tiny headache [23:27] were you paid [23:27] we're both freenode volunteers [23:27] the pay is doing a good job [23:27] and being proud of it [23:28] boy have i got some work for you [23:28] is it nice [23:28] lol [23:28] jess. I agree [23:29] I can't get rid of metanova unfortunately [23:29] why doesn't staff ban him? [23:29] they're not attentive enough [23:29] i'm very attentive :( [23:29] they don't know what a piece of shit he is [23:29] u know me :c [23:30] I'm sure you're attentive, but metanova is a pedophile, and they are very clever and careful [23:45] oops, too late [23:45] but still worth of a ban [23:46] well sigyn k-lines are, what, 3 days long? [23:47] ohm, that was sygyn... I stand corrected [23:47] aint she lovely [23:55] what app could I use to convert a x264 mkv into x265? Aim it to reduce size without losing quality [23:55] and, can I bulk convert? [23:56] frad: ffmpeg [23:57] ffmpeg seems to be awfully versatile... [23:57] ffmpeg -i foo.mkv -c:v libx265 bar.mp4 [23:57] yup, it's amazeballs [23:57] https://trac.ffmpeg.org/wiki/Encode/H.265 [23:57] wow [23:57] ffmpeg -i foo.mkv -c:v libx265 bar.mkv, where 'foo.mkv' is the output and 'bar.mkv' the input, correct? [23:58] no first the input, then the output [23:58] and there's not likely any reason to stick with mkv, I would just use mp4 [23:58] why would I want the output to be mp4? [23:58] the only reason to stick with MKV would be ... certain subtitle formats, I think [23:59] is mp4 with x265 smaller that mkv with also x265? [23:59] no, they're just container formats [23:59] h.265 is h.265 is h.265