[00:44] hello, how can i convert a file which has [00:44] } [00:44] { [00:44] to [00:44] }, [00:44] { [00:45] Guest62: on different lines? [00:46] BadAtom, } and { are on different lines. I need to add a comma between them [00:46] Guest62: Your are guilty of flooding the channel - please use a paste bin site when thbe quiet is lifted. [00:46] so I can treat the file as a json [00:46] Bashing-om : yeah :S [00:46] Guest62: :D [00:48] Guest62: something similar: sed -i 's/^}$/},' foo [00:48] Guest62: this doesn't do any sort of checking for the { on the next line [00:48] and the -i updates the file directly, so be careful with it :) [00:49] i think you missed a / in this sed regexp [00:49] argh that's possible [00:49] Guest62: something similar: sed -i 's/^}$/},/' foo [00:52] but it's a json doc [00:53] so it has other } too and that'll mess up [00:54] how many are the only character on their own line? [00:59] sarnold, thanks for the help but I tweaked a SO answer and got it working [00:59] https://stackoverflow.com/questions/27659164/how-to-read-multiple-dictionaries-from-a-file-in-python one [01:00] Guest62: woot :) what answer was helpful? [01:00] hehe thanks === greknod6 is now known as greknod [01:02] of those answers, I like the 'simplejson' one the most; I don't know if that actually fits your problem well, but it feels the most robust to me [01:02] yeah that's the one I used [01:02] and it's working fine [01:04] it's nice to see this here, every now and then these "big pile of jsons" show up and I don't know good tools for handling them, hehe === M4he is now known as mahe === sig is now known as bebop [02:21] "apt purge thunderbird" seems broken in 20.04: it still remembers the default outgoing server [02:21] puring doesnt remove files from user folder [02:21] you probably have something in .config or .local/share or something [02:24] hmm yup, "apt purge thunderbird; rm -rfv .thunderbird; apt install thunderbird;" worked, it forgot everything! === LabMonkey is now known as Mechanismus === Psil0 is now known as Psil0Cybin === Psil0 is now known as Psil0Cybin === diskin is now known as Guest6353 === diskin_ is now known as diskin === Psil0 is now known as Psil0Cybin [06:10] peace be upon you all === greknod7 is now known as greknod [06:11] I am wondering do I need to keep IPV6 for my server ? [06:11] Like from ISP I have only IPV4 [06:21] acu: Can not hurt to keep that IPV6 capability - who know maybe your ISP will catch up someday :D === psil0cybin[m] is now known as Psil0Cybin[m] === RaGE_Syria9 is now known as RaGE_Syria === Psil0Cybin[m] is now known as Psil0[m] [08:00] bluetooth has suddenly become unreliable on my ubuntu 20.04 system. When I switched it off via gnome settings, the window says its disabled, but the button looks like it's on. From a shell, systemctl stop bluetooth.service takes a long time, then shows, "bluetoothd[1052]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)" [08:01] Why is this suddenly happening after working perfectly for 2 years? No changes have been made except the normal updates [08:03] I've just run systemctl start bluetooth.service, and systemctl status bluetooth.service, and the output seems correct, but gnome doesn't reflect that bluetooth is running === SteelRose_ is now known as SteelRose [08:05] If I now run hcitool dev, no devices are listed [08:06] the output of systemctl status bluetooth.service looks fine [08:06] clarkk, if the software has been fine for years, and suddenly things go bad. must be the hardware [08:10] rfm, do you mean the laptop hardware or the bluetooth device (headphones)? [08:12] rfm, just so you know, my irc client doesn't recognise your username. I've never noticed that in the years I've been using irc, Strange! [08:13] ah, he's gone :D [08:13] Anyone else able to help me through this, please? === datv__ is now known as nulldoot [08:23] * enyc meows [08:24] clarkk: I would be trying this from a bootable ubuntu-22.04 or derivative USB-stick -or- indeed an older ubuntu 20.04 stick [08:24] this may help confirm does/doesn't work with different software set etc. [08:25] enyc, by older ubuntu 20.04, do you mean to see if an update broke it? [08:26] clarkk: or any other settings file who-knows! [08:27] I mean, I understand, "I would be trying this from a bootable ubuntu-22.04 or derivative USB-stick". What is your aim with older ubuntu 20.04? [08:27] updates issue? [08:28] clarkk: it could be any changes, not just update packages.... [08:28] clarkk: or it could indeed be broken hardware [08:28] ok thanks for your help [08:28] clarkk: if it suddenly works from 22.04 stick then you know the hardware must be workable, which will be useful info [08:29] clarkk: if so, i'd do full backup and do the system update 20.04 -> 22.04 in THAT particular case [08:29] I've managed to attach a different set of headphones. They're exactly the same model. No issue. It seems that the headphones cause the whole ubuntu bluetooth subsystem to fail [08:30] 'faulty headphones likely then [08:30] but why would that bring the whole system down? [08:30] clarkk: good question, isn't software fun =) [08:30] not when it costs me time :D [08:30] don't assume etc=) [08:31] assume what? [08:31] don't assume software or firmware magically fits your expectations =) [08:32] Are the jammy ddebs broken? I can no longer install libglib2.0-0-dbgsym === mrkubax101 is now known as mrkubax10 [09:41] greetings. What should the permissions be on the files in the folder /var/lib/bind? The OS is Ubuntu 22.04 [09:41] sounds more like a question for #ubuntu-server [09:46] anyone who uses ubuntu 22.04 gnome wayland, does suspend mode break drag and drop files between windows (nautilus -> chromium browser) [10:03] hi [10:06] hi [11:01] hello [11:02] why is 22.04 not set as stable for 20.04 upgrade ? [11:03] i dont get any notification about a 22.04 upgrade on 20.04 server ? [11:07] jhave: it will when 22.04.1 is out 4th August [11:07] so in 28 days [11:09] ok thanks :) [11:14] quick help how can i know the size of blocks im using on my hard drive === cm315 is now known as cm3105 === cm3105 is now known as csm3105 [11:16] Hi, I would like to record a video using OBS, for a charity, using my bluetooth headset mic. It's not available. Is there any way I can record high quality audo using my bluetooth headset mic? [11:18] jadenlian: sudo fdisk -l ? [11:18] jeronimo:thanks === ViktorasCNC is now known as sinvet === greknod1 is now known as greknod [11:28] im guessing that when youre installing the os thats when decide how big your block sizes will be or can i change those now on my file system even if it would mean major restructuring on the drive [11:33] jadenlian: what's the actual problem you're having? [11:35] jadenlian: disk you can use a partition manager to resize partitions, when you use a live disk , you can resize filesystems that are normally an use. [11:36] in use* [11:39] its just that i have a 64G harddrive and i want to make sure im optimzing my storage use and when i do on a file with only 300 bytes the output is 4.0 k which im guessing is that my file is been stored in a 4k blocksize [11:40] and i usually keep multiple small files so id like to bring down my blocksizes to optimize until im able to get a bigger drive [11:41] i dont think it matters to actual storage jadenlian, in the sense that you'll be able to store the same amount of actual data regardless [11:43] erick^^: i know but the remaining bytes from a 4k blocksize thats only storing 300 bytes can be used for something else [11:44] jeronimo: how can i resize my filesystem on my disk [11:46] i see jadenlian [11:47] jadenlian: using a partition manager [11:47] jeronimo:fdisk? [11:47] jadenlian: i think you'll have to create a fresh fs with that blocksize then copy the data over [11:48] jadenlian: do you have a gui or do you need to use the commandline? [11:49] commandline [11:49] jeronimo: he wants to modify the blocksize used in the fs, not increase/decrease the fs size [11:49] jadenlian: https://askubuntu.com/questions/546621/how-do-i-create-an-ext4-file-system-with-block-size-1024-and-no-reserved-blocks [11:50] EriC^^: ah k, yeah then you need to recreate the filesystem probably [11:50] I don't know. [11:51] yeah i think so as well, i dont think it can be done on the fly [11:53] jadenlian: you can try to google the problem but if google doesn't show you good results on how to do it. It probably can't be done [11:55] yeah ill google it but im guessing it can be done because its sort of like defragmenting the disk [11:56] jeronimo: did you try the obs-studio package? [12:03] EriC^^: actually the problem is not obs, I think I've got to switch to pipewire to get the appropiate AD2P profile [12:03] I thinnk it means I have to upgrade my system to 22.04 and then switch to pipewire [12:04] ah === esv_ is now known as esv [12:47] how can I check when did specific package version entered archive? On debian this information is at tracker.debian.org [12:50] hi, it appears than package "aufs-tools" is missing in jammy 22.04 LTS, I need it as a dependency, do you need I can find a quick way to install it from an other place ? [13:03] kryl, https://tracker.debian.org/news/1160103/aufs-tools-removed-from-testing/ [13:03] and: https://bugs.launchpad.net/ubuntu/+source/aufs-tools/+bug/1947004 [13:04] Launchpad bug 1947004 in docker.io (Ubuntu) "Please remove src:aufs-tools from Ubuntu Jammy" [Undecided, Fix Released] [13:17] Hi all [13:56] ogra, thank you ;) === ootput2 is now known as ootput [14:49] hi folks. I'm wondering if there's a way to force the installation of PHP 7.4 instead of 8.1 on Ubuntu 22.04 and keep it in a way that it's never upgraded until WordPress has support for 8.1? [14:54] PeGaSuS, there probably is if you resort to PPAs [14:55] I mean, without PPA.. I'm wondering if there's something like version pinning [14:55] PeGaSuS, google for Ondřej Surý ... (note that we do not support PPAs in here ) [14:56] 7.4 is not in the 22.04 archive ... how would you pin aganst something non-existing ? [15:00] Is there a way to determine what program/service is preventing my computer from hibernating? I noticed that the screen was still on despite having been away for long enough, and I expected the screen to be blanked. [15:04] Do we have anything similar to QtCreator for GNOME? I really like QtCreator. it's probably the best open source IDE out there. But, do we have something developed with GTK+? [15:04] GBGames: `journalctl -b` [15:04] inhibitors should show up in the journal [15:05] GBGames: note that hibernation is very different to screensavers. If you expected it just to be blanked, you need to enable power management in the settings. if you want hibernation, you need to have a swap set up [15:06] (aka suspend to disk in that case) [15:10] KBar: Ah, ok, I am being imprecise. I have my system setup so that it never powers down, but after so many minutes of no activity, it blanks the screen. Today, however, I noticed that it wasn't doing so, which is normally due to a video playing fullscreen or something else that is running and preventing it. [15:10] The only other thing I can think of is that I recently had the system update, and it didn't require a reboot, but maybe it is in a weird state. [15:13] [15:13] is achronym for? [15:14] git rm [15:14] how do I remove file before I commit on linux [15:17] Guest92, try asking in #git ? [16:33] Helo [16:34] I have been referred here to ask a PCRE question.  I am trying to find out what /* means, could anyone on here please enlighten me? [16:35] I dunno what PCRE means, but /* looks like the way to begin a comment [16:35] enigma9o7: Perl Compatible Regular Expressions [16:36] OliverUK: I'd try #perl for this. This is an Ubuntu technical support spot, and there's probably more knowledgeable people in #perl (I had to look up PCRE just now). [16:38] "zero or more of the '/' character" [16:44] rob0: Thank you for your help === brassado is now known as sam_sepi0l [17:07] Does anyone know where Ubuntu saves its icons? /usr/share/icons is not the right place [17:09] Many icons are probably compiled into binaries. What in particular are you looking for? [17:11] The Standard Evolution Icon [17:15] Arsimael: No idea what that is. Is there an icon labeled "Standard Evolution" that appears somewhere? If so, where? [17:16] I am searching the icon which is shown for the evolution mail client. [17:16] maybe it is just called evolution? [17:16] yep. But I can't find it. [17:17] I get tons of results from different icon themes, but not the 'standard' one [17:18] I could get it from wikipedia, but thats just 'working on symptoms' - I have no Idea where the original one is located. [17:18] Yaru ? /usr/share/icons/Yaru/32x32@2x/apps/evolution.png [17:18] and there are more themes and sizes,.. [17:19] find /usr/share/icons/ -name "evolution*" [17:20] Yaru is not the right one [17:20] https://upload.wikimedia.org/wikipedia/commons/1/1c/Evolution_icon_Tango_48px.svg [17:21] that one is not in /usr/share/icons [17:22] Is there an Ubuntu Artwork archive somewhere? [17:26] is api.snapcraft.io down? [17:27] https://status.snapcraft.io/ [17:27] yes sir [17:27] thanks [17:27] Arsimael, $ dpkg -L evolution-common|grep evolution.svg [17:27] /usr/share/icons/hicolor/scalable/apps/evolution.svg [17:28] that should be the default icon [17:39] mybalzitch, there is a bigger server migration going on, i think something went really wrong during that (launchpad has also some issues) [17:44] ogra, thanks [17:46] !info evolution [17:46] evolution (3.44.1-0ubuntu1, jammy): groupware suite with mail client and organizer. In component universe, is optional. Built by evolution. Size 290 kB / 461 kB [17:50] And the only application which kann hookup to MS365 in a way which synchronizes without a ton of errors and compliant to certain security policies., === mrkubax101 is now known as mrkubax10 [18:15] is there a way to turn off the annoyatron "Software Updater" ? [18:16] I'm doing `apt-get update and upgrade` multiple times a day [18:16] I don't need a stupid gui to annoy me [18:18] Arsimael: Does MS no longer provide a standard IMAP/POP interface? [18:20] https://status.snapcraft.io/ all systems up. [18:46] jhutchins, This is not what MS provides. This is about Enterprise compliance and policies [18:49] Arsimael: That's not really what I asked. [18:49] I understand that the Microsoft mail system provides additional services such as interfaces for surveilance and control of end-user content. [18:57] I think MS still provides such interfaces. Actually I don't know. [18:57] for my own stuff I am not using MS services. and at Work, I am not using imap/pop/smtp. [19:05] jhutchins, yes, You can enable Pop3/Imap as long as you can do "Modern Authentication". I know Thunderbird on Windows can do it and I assume Thunderbird on Ubuntu can as well. === Bencraft14193 is now known as Bencraft1419 [19:11] What on earth is this vulgar speech about proprietary systems here? Shame on you! :P [19:12] elias_a: LOL some of us have to get good software to work with systems like that. It happens. [19:13] arraybolt3[m]: That is a temporary problem. :) [19:13] 👍️ [19:14] So. I was here before about my laptop without a screen. I got it running nicely. I set up SSH and Plex and Qbittorent. So now from my desk I can access it. (desk is Windows 10). Only thing I can't do is adding a folder to Plex. I don't get why? I can on the laptop (Ubuntu and Plex) go to plek and go to /home/XoLox/ but in plex I can't go on to the [19:14] folders there. [19:17] XoloX: Hmm, that's odd. I think this is on-topic, so you can wait for someone to help, but you might also try joining #plex in case they know more. You will need to register with NickServ before you can join there, instructions to do so are here: https://libera.chat/guides/registration, once registered, "/join #plex" will take you there. [19:17] XoloX: How are you trying to add a folder to Plex? Are you using Plex's UI, or are you using some other method? [19:19] XoloX: That sounds a lot like permissions/ownership issues. If you don't have write permission, you can't create a sub-directory. If you don't have Execute, you can't see the contents. [19:27] Maybe? How do I set the Permission all open? It's just on my own network at the moment [19:28] XoloX, https://github.com/dfialho/plexmediaserver-snap/issues/1 ... :) ... i guess you will have to access your files via /var/snap/plexmediaserver/current ... or via /var/snap/plexmediaserver/common ... there is also the opportunity to use external media with it [19:28] Issue 1 in dfialho/plexmediaserver-snap "Let users add content from their home directories" [Open] [19:28] ogra: That's only if XoloX is using Snap. I think they also considered using Docker. [19:28] arraybolt3[m], well ... yeah ... indeed [19:30] XoloX: If you want to set the permissions on a folder to about as open as possible, open a terminal in the folder that contains the folder you want to change (so if you're trying to change /home/user/myfolder, open the terminal in /home/user), and then run "chmod -R 0777 ./myfolder". Make sure to make no typos, or you might open up way more permissions than you intend to. [19:30] (And make good and sure you're in the right folder before running the command.) [19:31] No I just installed it on the laptop. In plex I can go add library to /home/myname/ and than there is nothing. I download detectorists complete in home/myname/plex/tvSeries/detectorists/ I am on localhost:32400 [19:32] XoloX: What method did you use to install Plex? Snap? Apt? Script file? [19:34] https://linuxhint.com/install_plex_ubuntu-2/ [19:34] XoloX: https://support.plex.tv/articles/200288586-installation/ Make sure your media is named the way Plex wants it - turns out it's very picky about file names. [19:35] But I should see folders like desktop, downloads, documents and so on no? [19:36] XoloX: I would think you could. And you installed it from a .deb file, so it shouldn't be too tricky to make this work. Hmm... [19:38] Xolox: Found this command on Reddit, looks like it should do the trick: "usermod -a -G plex" [19:39] So if your username is "xolox", do "usermod -a -G xolox plex" [19:41] I did "usermod -a -G xolox plex [19:41] This should let Plex read anything that's in your user's group (it adds the plex user to the xolox group). [19:41] permission denied. [19:42] But than SUDO "the same": [19:42] And no error! [19:42] XoloX: The sudo ought to do it. Try adding your stuff in Plex now. You just gave the Plex user group-level access to your files. [19:43] that might only affect things if plex logs in via PAM as part of startup; that seems unlikely to me [19:43] adding the group to the systemd service file that starts plex feels more likely to work [19:43] Still I go in Plex to /home/myname/ and than nothing. Should I reboot? [19:44] XoloX: Hmm. sarnold: How would you do that? (I have no clue.) [19:45] I have a laptop with no screen and a tv hooked up to it. I would just tell Ubuntu to reboot. I can see what's going on on the TV! [19:46] XoloX: Many people online say it's a permissions issue, but fixing permissions shouldn't require a reboot to make it work. [19:46] arraybolt3[m]: systemctl edit plex.service or something like that -- match the service name -- in the [Service] section, add a SupplementaryGroups= field with the group in question [19:47] sarnold: OK. [19:48] XoloX: Can you run "sudo systemctl edit plex.service" and tell me what happens? [19:51] I reboot and now it works! [19:52] Fuck me! [19:52] XoloX: woah woah, watch your language pls [19:52] XoloX: Oh, nice! [19:52] Have you tried to turn it off and turn it on again. [19:52] XoloX: (Also, don't get mad at yourself - I've made similar mistakes. We all do.) [19:52] F*ck me? [19:53] (We try to avoid language like that for the sake of other users in the channel.) === ootput6 is now known as ootput === lucas_ is now known as lucascastro === tekisui is now known as fabrizio [20:44] Anybody here who can help me figure out why aws vpn client on Ubuntu 18.04 and 20.04 is not working? [20:51] pagnol: That's probably up to AWS support. I hear they're not impossible. [20:54] I know it's a little bit of topic, but maybe you will be kind enough to help me with this. So I'm working on this script. What I want to do is to find a product by it's bar code on a given website and download the name of the product (echo it in the script). So my way of thinking was like this: if I can go to the url and at the of it put /search?keywords=product code (I will show an example in a second) so I can find the [20:54] product I can then use wget to download the website and extract from it everything I need. But I only know the bar code and search?keywords barcoded doesn't work. Here's the example: https://business.currys.co.uk/catalogue/computing/laptops/macbook/apple-macbook-air-13-3-2020-m1-256-gb-ssd-space-grey/N314812W [20:55] On the right of the picture you will see the product code, but you need to scroll down and click specifications to find EAN which is products bar code. [20:56] no, how inconveniant, e4 [20:57] oerheks, thank you. I'm not very good at this it's just my hobby and I barely know anything about html. [20:57] i think it is not really an Ubuntu issue, but maybe you can look at the source of the page? [20:57] any browser gives such option [20:58] oerheks, it's defenitely there, I can find it no problem. It's just I need to know which website I need to look into knowing only barcode of the product. [21:02] in normal Ubuntu, how do I turn off "Alert Sound"? [21:02] there's five options, Default, Bark, Drip, Glass, and Sonar, but apparently no option for "NO ANNOYING NOISES EVER PLEASE" [21:03] mute system sounds in that window, perhaps? [21:04] it's how I have it [21:04] I didn't even remember :) [21:04] system sounds are turned right down [21:04] okay, sudo rm -rf /usr/share/sounds it is then [21:04] there is a mute icon on the right [21:05] ahasenack: it is set to muted [21:05] I have that selected too, besides the volume bar all the way to the left [21:05] it is still making sounds [21:05] then I don't know, maybe you have multiple sound cards and it's acting on the wrong one [21:06] gordonjcp, try dmesg |grep -i error maybe you'll find something there why it behaving like that. [21:06] Is it virtual? [21:12] ok gtg. cheers to all. [21:23] gordonjcp: Does changing the setting change what it sounds like? (If not, it's some other subsystem.) [21:23] gordonjcp: Is it coming through the speakers, or the motherboard? [23:52] why does ubuntu 20.04 still have rc.d files laying around? thought this was a totally systemd setup.. [23:53] because cleaning them up would introduce additional maintenance costs over debian -- when we import from debian, we can either sync over directly with very little cost, or we can perform a merge (where we retain ubuntu-specific changes) at a great deal of expense [23:53] I wish we cleaned them up, but I don't pay the bills [23:54] debian is using systemd too, no? so why do they keep them around? [23:56] because debian is also using sysvinit-utils, runit, s6, and probably half-dozen more I've forgotten.. [23:59] heh, i see. thanks [23:59] makes sense now