[00:09] <noarb> seems like a fulls cups is needed even to be a client: https://lists.cups.org/pipermail/cups/2015-October/027229.html
[00:45] <BinarySavior> when i use apt remove libqt5gui5, apt automatically installs libqt5gui5-gles at the same time, why does that happen?
[00:50] <tomreyn> BinarySavior: most likely to satisfy a dependency which was previously provided by libqt5gui5
[01:13] <BinarySavior> where can i find the full thread trace for a segfault?
[01:13] <BinarySavior> i see the segfault in dmesg but it's lacking the details i'm looking for
[01:15] <tomreyn> in /var/crash if it was handled by apport
[01:16] <tomreyn> see apport-unpack
[01:31] <BinarySavior> thank you tomreyn
[01:36] <BinarySavior> apport-unpack crashed lol
[01:36] <BinarySavior> ValueError: ['separator'] has no binary content
[01:36] <BinarySavior> but it looks like it got most of the info unpacked already
[01:37] <tomreyn> maybe it's incomplete, or your systems' python installation is broken
[03:23] <luizfrds> so i have these .img files that were partitioned on 32GB Sd cards. But i'm aware that they actually hold like 1GB of data
[03:23] <luizfrds> what is the right procedure to reduce its size?
[03:23] <luizfrds> can it be done in the .img itself?
[03:26] <clark> Is anyone there?
[03:27] <toddc> clark: post your question and someone will answer
[03:29] <toddc> luizfrds: I think the .img is compressed so no. any changes must be made to the installed image
[03:30] <luizfrds> i don't think so. why would it have the full partition size?
[03:30] <luizfrds> like 32GB
[03:32] <toddc> luizfrds: I used the raspbeery pi image often. I write it the disk the expand the partition  to the disk size
[03:32] <luizfrds> yeah.. i might want to do the oposite
[03:33] <luizfrds> if possible doing on the .img files would be awesom
[03:33] <luizfrds> but this isn't an issue to be fair
[03:34] <toddc> https://itstillworks.com/drive-not-mounting-mac-terminal-12058343.html
[04:37] <forgotmynick> In hosts.deny I can do `sshd: all except /some/file`. Can that /some/file contain comments?
[07:08] <varan> Hello, I have duplicate icons on the desktop after upgrating to ubuntu 21.04
[07:11] <varan> The duplicates cannot be removed
[07:11] <varan> Where is the problem?
[07:46] <JordanBerlyn> varan: Do you have multiple versions of the desktop icons extension added? You can check with the Gnome Extensions app.
[08:04] <ipatrol> Hm, it looks like the only way I'm going to be able to move my setup to my new laptop is with an HDD transplant via expansion bay, because the new device's built-in SDD isn't even big enough to hold my /home directory!
[08:10] <Berlyn> Hey all. How straight forward is it to dual boot Windows 10 and Ubuntu on two separate drives?
[08:10] <EriC^^> Berlyn: pretty easy
[08:11] <EriC^^> if you're using uefi, i'd use an efi partition for each one on its drive so they're stand-alone installs
[08:12] <Berlyn> Yeah, running UEFI. Would that just mean when I want to swap between operating systems, I just select the boot priority during boot.
[08:12] <ipatrol> Berlyn: Not as easy as it used to be. In particular, some computer models require reconfiguration first
[08:13] <ipatrol> I can say this because I just spent the last ~5 hours on that project
[08:13] <alkisg> What kind of reconfiguration?
[08:14] <ipatrol> alkisg: Some machines now by default are set to use a proprietary device driver for their hard drive, which is not available for Linux.
[08:15] <alkisg> ipatrol: and how is this related to dual boot? Wouldn't that be an issue in single boot too?
[08:16] <ipatrol> The BIOS can be configured to use the open standard instead, but on such computers the Windows install doesn't by default include those drivers, so making that change without fixing the driver issue on Windows will cause it to fail to boot.
[08:17] <Berlyn> I'm still trying to solve a performance issue on Ubuntu, hence wanting to dual boot for the interim.
[08:19] <ipatrol> Also, on most UEFI systems, you have to enter the boot order systems from within the Windows OS, just FYI.
[08:19] <ipatrol> (I think GRUB can also do that once it's configured)
[08:20] <EriC^^> Berlyn: just set ubuntu up as the boot priority, and in its grub you'll have windows and be able to boot that from there, if you ever remove the ubuntu hdd windows will still have its efi partition on its own drive
[08:22] <ipatrol> EriC^^: If the AHCI setting isn't configured, Ubuntu will be unable to recognize the hard disk.
[08:23] <Berlyn> I'm having a really strange issue on Ubuntu with my GTX1070. I have the proprietary drivers installed but whenever I watch a video on Firefox, everything starts to run really slow.
[08:23] <Berlyn> Windows moving around, resizing, etc.
[08:23] <Berlyn> And my CPU will sit at like 30-40%.
[08:23] <Berlyn> Doing the same thing on Windows, get like 2-3% CPu usage. It's almost as if Firefox isn't utilising my GPU to play the videos.
[08:23] <ipatrol> Is that an Ubuntu issue or a Firefox issue?
[08:24] <Berlyn> I am not experiencing the same issue on Firefox on my laptop which also uses an NVIDIA dGPU.
[08:26] <alkisg> Go to about:support and search for differences between these systems
[08:26] <alkisg> (that's a url in firefox address bar)
[08:27] <ayrus> Hi, please let me know if there is any  opensource REST client, which I can install on Ubuntu Server?
[08:28] <ipatrol> I'm sure there is, though "REST client" is a fairly broad term
[08:29] <ayrus> ipatrol: I'm looking for postman kind of software which can run on ubuntu server and members can use after login.
[08:32] <ipatrol> Not familiar enough with that to help on the matter
[08:32] <ayrus> ipatrol: ok, thanks!
[08:32] <Berlyn> alkisg, Compositing is set to WebRender (Software).
[08:32] <ipatrol> God  *
[08:33] <ayrus> what's happening ? so many people terminated at once?
[08:33] <ipatrol> Netsplit!
[08:33] <ayrus> are they bots?
[08:34] <ayrus> ipatrol: oh!
[08:34] <ipatrol> Apparently IRC still hasn't fixed the netsplit problem
[08:38] <varaindemian> tried to install python on 32 bits on an ubuntu x64 and failed
[08:38] <varaindemian> `sudo apt python3:i386 `
[08:38] <varaindemian> any idea how I can accomplish this?
[08:38] <ayrus> varaindemian: what is the error message?
[08:39] <varaindemian> ayrus: installation successfully, restarted the machine and I had no gui
[08:40] <ayrus> I think you need `ia32-libs`
[08:41] <ayrus> varaindemian: dpkg -l ia32-libs  if that is present in your system then the output should be like this (ii   ia32-libs ...)
[08:42] <ayrus> varaindemian: python2.7 -c 'import struct;print( 8 * struct.calcsize("P"))'
[08:43] <varaindemian> ayrus: I restored the setup
[08:43] <ayrus> ok
[08:43] <varaindemian> now I have a clean install and I am looking for a way to have python3 32-bit on ubuntu 20.04 x64
[08:44] <ayrus> varaindemian: you can have a virtual box of ubuntu 32 bit and install python on that one.
[08:44] <hajonnes> is there a log of all the responses that is printed in the term. i.e. like 'history' but for responses.
[08:45] <ayrus> hajonnes: what kind of responses, I didn't get that?
[08:45] <varaindemian> ayrus: I know but my current CAPEv2 sandbox setup requires python3 on 32 bits but most of the things I'd like to detonated in that sandbox are on 64 bits so they won't work
[08:46] <ayrus> varaindemian: oh!
[08:47] <varaindemian> ayrus: hajonnes probably refers to commands output
[08:47] <hajonnes> ayrus, I tried to install with 'apt' and got response in termial that some of the things were already added to certain files. I would like to review that message again. is it possible?
[08:47] <hajonnes> varaindemian, yes that is  it
[08:48] <ayrus> hajonnes: oh, yes you can log. but by default I don't think so ubuntu logs the output of the command.
[08:48] <ayrus> hajonnes: you can use `script` to log
[08:48] <ayrus> hajonnes: or you can use https://asciinema.org/ to log all output input and play it later using this.
[08:49] <hajonnes> ayrus, thank you! that looks good. otherwise 'script' you mean I should build a script that does it?
[08:50] <ayrus> hajonnes: no, there is command named as script, which you can record the output to a txt file
[08:50] <ayrus> hajonnes: script terminal.log
[08:51] <ayrus> hajonnes: like this, it will log all the output to that file.
[08:51] <geirha> hajonnes: And don't cross-post. I just gave the same answer (script(1) or ascineema) in #linux
[08:51] <geirha> *asciinema
[08:52] <hajonnes> ayrus, nice. Thanks again. do you by any chance know where to put the command if I want to auto load it at startup?
[08:53] <hajonnes> geirha, ok. but sometimes you do not get an answer in one channel, then you try an other.
[08:58] <ayrus> hajonnes: you can put it on ~.bash_profile and ~.bash_logout and save the output to the dynamic current timestamp and file path.
[09:18] <hajonnes> ayrus, I do not really understand dynamic current timestamp and file path, what do you mean?
[09:21] <ayrus> hajonnes: it's basically shell scripting. you need to create a variable to store the current timestamp, so that when you log on to terminal it will start script and store the output the different file every time.
[09:22] <ayrus> hajonnes: like variable TIMESTAMP=$(date +%Y-%m-%d-%H.%M.%S), then use it as "script $TIMESTAMP.terminal_log.txt" in your bash profile.
[09:23] <hajonnes> ayrus, ok I will have to look in to and learn som shell scripting, it is good to know anyway.
[09:24] <ayrus> hajonnes: yes, it's good to learn shell scripting if you are working in linux for automation.
[09:25] <hajonnes> ayrus, on that note. I would like to run 'setxkbmap eu' every time gnome has started. do you have a suggestion on how to do that. why I would like to do that is because I can not select my keymap in gnome.
[09:27] <ayrus> hajonnes: you can use crontab to run it at the time of restart. It will run after the server start, but not when the gnome start.
[09:28] <alkisg> cron doesn't have access to the current session nor to DISPLAY, it won't work
[09:28] <ayrus> hajonnes: or you can run the shell script to start the gnome and after that put a line for this command also.
[09:28] <alkisg> You can run setxkbmap from /etc/xdg/autostart; but as I said a couple of days ago, it would be better to run `sudo dpkg-reconfigure keyboard-configuration` instead
[09:28] <ayrus> hajonnes: then run that shell script
[09:29] <ayrus> alkisg: oh, thanks for the information.
[09:30] <ice9> how can I make nvidia primary GPU in wayland?
[09:31] <ayrus> alkisg: will that not run by the cron by `@reboot any_command` ?
[09:32] <alkisg> ayrus: the setxkbmap command needs access to xorg, like running e.g. xterm
[09:32] <alkisg> Running xterm at reboot from cron won't work either
[09:32] <alkisg> As there's no DISPLAY to draw to
[09:32] <oldgalileo> Does anyone here have a good solution for building `systemd` in a docker image?
[09:33] <ayrus> alkisg: ok, I got it. he got different scenario.
[09:34] <hajonnes> alkisg, I tried your suggestion, will try to reboot and see if it worked.
[09:35] <ayrus> oldgalileo: https://medium.com/swlh/docker-and-systemd-381dfd7e4628
[09:39] <oldgalileo> ayrus: Thanks for the link. I'm talking about building `systemd` itself, rather than a unit file
[09:39] <ayrus> oldgalileo: ok
[09:40] <oldgalileo> ayrus: Was having a bit of trouble getting it built on a not-so-fresh machine :/
[09:40] <hajonnes> alkisg, It did not work. I tried it when you suggested it a couple of days ago also but it did not work then either. only 'setxkbmap eu' works. the problem is that I can not find my keyboard layout when running dpkg-reconfigure. and when I run 'setkbmap eu' and then dpkg-reconfigure and choose keep keyboard map the setting is not persistent between boots.
[09:41] <hajonnes> do you know what is wrong?
[09:43] <hajonnes> alkisg, I think one of the problems is that I do not know where the 'eu' settings is. the settings are ordered by country. the eu keymap is a us keymap with european special symbols under altGr combinations.
[09:45] <hajonnes> so to use your suggestion I first have to know under what country the eu keymap is registered if it at all exists. Do you know how to see that?
[09:49] <ledeni> hajonnes, you looking for '£'?
[09:50] <hajonnes> ledeni, I'm using åäö since I'm swedish.
[09:56] <ledeni> hajonnes,did you try English uk
[10:01] <hajonnes> ledeni, Haha... perhaps you solved it....I will try. I thought there were a difference between us and uk english keyboard and since I think eurkey uses us layout I must have missed it.
[10:02] <ledeni> hajonnes, 👍
[10:02] <Berlyn> How stable are non-LTS versions for every day use on a desktop machine?
[10:02] <hajonnes> ledeni, the eurkey does not exist in dpkg-reconfigure under uk. but I found it in gnome setting when I scrolled under uk...
[10:05] <hajonnes> ledeni, sometimes you need to have someone point out stuff to you because you have spent to much time struggling with a problem that you can not think outside your own circle of thoughts. I will try to reboot and see if the settings persists.
[10:05] <hajonnes> thanks.
[10:05] <oldgalileo> Berlyn: blaze forward on the righteous path of non-LTS releases and pave the way for the next generation
[10:06] <Berlyn> oldgalileo, Almost all of my servers are always running the LTS, I've only just recently started experimenting with Linux on the desktop
[10:06] <Berlyn> Running 20.04 on this laptop, just because it's what I know
[10:12] <oldgalileo> Berlyn: Haha just giving you a hard time
[10:12] <Berlyn> oldgalileo, You're the only one convincing me right now. 1 vote to me upgrading to 21.04, 0 votes against haha
[10:16] <hajonnes> ledeni, it worked! Thank you. :D
[10:16] <ledeni> hajonnes, great 👍
[10:18] <hajonnes> alkisg, sorry for 'frustrating' and thanks for your input, it is people knowledgeable as you that makes this irc channel truly marvelous! :D
[10:19] <alkisg> hajonnes: sorry I was afk, did you find the solution?
[10:19] <alkisg> What's the keyboard layout name for swedish?
[10:20] <alkisg> From what I can see, `setxkbmap se` should allow you to type the euro key with right alt + e
[10:21] <hajonnes> alkisg, 'se' I think but it was a long time since I used it, I have a us layout kinesis keyboard and I touch type us and for special signs I use altGr combinations.
[10:23] <hajonnes> alkisg, it is not the euro sign eurkey manages but it is a us layout with a lot of, if not all the speical characters you find in european languages reached by altGr combinations. If you want to take a look: https://eurkey.steffen.bruentjen.eu/layout.html
[10:24] <alkisg> The us(euro) layout has the euro key in right alt + 5
[10:24] <alkisg> I think you're looking for that one? Let me upload a screenshot...
[10:24] <hajonnes> ayrus, thanks for your help as well :)
[10:25] <ayrus> hajonnes: your welcome :)
[10:25] <hajonnes> ayrus :)
[10:25] <oldgalileo> This feels extraordinarily stupid, but how do I install a package from the source found here: https://launchpad.net/ubuntu/+source/systemd/234-2ubuntu13
[10:25] <oldgalileo> I've grabbed the 1debian.tar.xz1
[10:26] <oldgalileo> *`debian.tar.xz`
[10:26] <hajonnes> alkisg ok
[10:26] <oldgalileo> In that tarball, there isn't a make file, autoconf, or anything like that
[10:26] <oldgalileo> :/
[10:26]  * alkisg uploaded an image: (56KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JJSKIRVTVmenjDQyplsJCpGf/us-euro.png >
[10:26] <alkisg> hajonnes: did matrix sent a picture link above? ^
[10:26] <alkisg> (I'm not using an IRC client, I'm using matrix to irc bridge)
[10:26] <oldgalileo> alkisg: That's sick.
[10:27] <alkisg> These are the keys of `setxkbmap us(euro)`
[10:27] <oldgalileo> alkisg: That worked really seamlessly.
[10:27] <hajonnes> alkisg, yes it worked.
[10:27] <alkisg> oldgalileo: nah, it's actually a very modern and slick way to use IRC
[10:27] <alkisg> Great, drag'n'drop, no more imgur :D
[10:28] <oldgalileo> Damn maybe I'll have to set that up.
[10:28] <oldgalileo> Just hopped onto a new M1 mac and haven't gotten around to configuring `wechat`
[10:28] <hajonnes> alkisg, how did you do that with the picture, I'm on hexchat can I do the same or do I need matrix?
[10:28] <oldgalileo> Was looking around for a better IRC client and the pickings are slim on `macOS`
[10:28] <alkisg> hajonnes: I don't see a description of a "eu" layout in `man xkeyboard-config`
[10:30]  * alkisg uploaded an image: (76KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/UwzGWAiUJdxwYlLCvyeqXtfx/eu.png >
[10:30] <alkisg> That's the `setxkbmap eu` layout ^
[10:30] <hajonnes> alkisg, the eu layout is preinstalled in ubuntu. according to the eurkey homepage it is shipped with xkeyboard-config 2.12 and newer it if it is applicable.
[10:31] <hajonnes> alkisg, that is the one I wanted but could not find in dpkg-reconfigure keyboard-configuration
[10:32] <alkisg> Maybe it's not there yet, in which case you'd need to put it manually in /etc/default/keyboard-configuration
[10:32] <alkisg> Then xorg will pick it up and use it in the login screen and in all the desktop environments
[10:32] <alkisg> dpkg -L xkb-data | grep -w eu
[10:32] <alkisg> /usr/share/X11/xkb/symbols/eu
[10:33] <alkisg> Let me see if it's available in keyboard-configuration...
[10:34] <hajonnes> alkisg, ok
[10:35] <oldgalileo> Okay I seriously feel stupid
[10:35] <oldgalileo> I do not understand how to build this: https://launchpad.net/ubuntu/+source/systemd/234-2ubuntu13
[10:39] <alkisg> hajonnes: no it's not; a bug report should be filed; in the mean time you can put it in /etc/default/keyboard manually
[10:40] <hajonnes> alkisg,could you file the bug report? I do not really know how.
[10:41] <dimk> WHO #channel
[10:41] <dimk> WHO #ubuntu
[10:41] <alkisg> hajonnes: no, sorry, but I'm sure there are many tutorials for reporting bugs
[10:42] <EriC^^> !bug | hajonnes
[10:42] <hajonnes> alkisg, ok I do it. should I file it to ubuntu? or some package maintainer?
[10:43] <hajonnes> alkisg, sorry for my ignorance but what package is it?
[10:44] <lotuspsychje> hajonnes: first you need a launchpad account, then pinpoin the right package to bug against
[10:44] <lotuspsychje> hajonnes: after that you can ubuntu-bug your-package from a terminal
[10:44] <hajonnes> lotuspsychje,ok I will try to make it...
[10:46] <hajonnes> alkisg, so I would make a text file in /etc/default/ with the name keyboard-configuration and in the text file I should give the path to the eu keyboard layout?
[10:49] <alkisg> hajonnes: the file /etc/default/keyboard should already be there; you should be able to edit it
[10:50] <alkisg> And yes, ubuntu-bug keyboard-configuration
[10:50] <hajonnes> alkisg, do you know how to set the same keyboard configuration in 'tty mode'
[10:50] <ice99> how can I make nvidia primary GPU in wayland?
[10:51] <alkisg> hajonnes: from the same file, it should also affect console
[10:54] <hajonnes> alkisg, the settings are: BLAYOUT=eurkey
[10:54] <hajonnes>    2 BACKSPACE=guess in /etc/default/keyboard. Is it already correct?
[10:54] <hajonnes> sorry should be: BLAYOUT=eurkey
[10:54] <hajonnes>   BACKSPACE=guess
[10:54] <alkisg> The settings are reported if you run `setxkbmap -query`
[10:54] <alkisg> You can then put the same settings in the configuration file
[10:56] <alkisg> Also, when you say "BLAYOUT" I guess you mean "XKBLAYOUT"...
[11:00] <hajonnes> alkisg, yes. that is true. my keyboard file looks like this now https://pastebin.com/56H1qPE4
[11:00] <hajonnes> I commented out the previous settings.
[11:01] <hajonnes> does it look ok?
[11:01] <hajonnes> I changed pc105 to kinesis since I use a kinesis keyboard.
[11:02] <hajonnes> alkisg, ^
[11:03] <oldgalileo> FWIW: Learned how to build that stuff I linked earlier.
[11:03] <oldgalileo> The `.dsc` instructs `dpkg` on how to patch and build
[11:04] <oldgalileo> Now I'm in dependency downgrade hell, but that's a whole 'nother can of worms
[11:06] <hajonnes> alkisg,brb I will try to reboot.
[11:24] <alkisg> hajonnes: if I understood you correctly, you were looking for layout: eu, not eurkey,us
[11:24] <alkisg> But, whatever works for you :)
[11:40] <hajonnes> alkisg, I think they are one and the same 'setxkbmap eu' is the command to get eurkey via setxkbmap. then in gnome I can set 'eurkey' under UK keyboards. but eurkey does not work under tty...I know there are two different systems in xwindows and tty. I'll look in to it.
[11:40] <jaggz> where's /etc/default/locale come from?
[11:43] <jaggz> looks like update-locale will create it.. hrm
[11:44] <alkisg> hajonnes: no, eurkey is one key, while eu is a whole keyboard layout with many keys
[12:00] <hajonnes> alkisg, With all the settings I have done I'm not totally sure that I'm right. but in gnome settings>region & launguage > Input Sources, I can select UK>EurKEY and get the same layout as if I would use the command 'setxkbmap eu'. The homepage of the layout calls it EurKEY as well. https://eurkey.steffen.bruentjen.eu/
[12:02] <alkisg> hajonnes: you can set whatever you want in gnome (I don't have gnome); then, type `setxkbmap -query` and see the result
[12:03] <alkisg> But in general, you don't need to set anything in gnome; it should respect whatever you have set in xorg
[12:04] <alkisg> (which is the same as in the console, so one file for everything is enough)
[12:04] <hajonnes> alkisg, ok. then the layout is: 'eurkey,us'. have you looked at the pastebin I sent you. is the format correct? https://pastebin.com/56H1qPE4
[12:05] <alkisg> setxkbmap eurkey
[12:05] <alkisg> Error loading new keyboard description
[12:05] <alkisg> It's not a valid layout
[12:05] <alkisg> So it won't work in the config file either
[12:06] <hajonnes> I just pasted the return from "setxkbmap -query"
[12:07] <hajonnes> in the /etc/default/keyboard
[12:07] <hajonnes> and commented out the previous settings.
[12:08] <PizzaBurger> Hello! Can't boot to login screen on my Ubuntu 20.10 laptop, drive encrypted with ZFS.  After I unlock the drive I get taken to Emergency Mode with the following message: https://paste.ubuntu.com/p/tZX6yMJ2P6/. After pressing Ctrl+D I get this message: https://paste.ubuntu.com/p/KRFnnYJkCS/. Does anyone know how to troubleshoot this? Thanks!
[12:08] <hajonnes> alkisg, try setxkbmap eurkey,us it works for me.
[12:17] <BluesKaj> Hi all
[12:17] <alkisg> hajonnes, $ setxkbmap eurkey,us
[12:17] <alkisg> Error loading new keyboard description
[12:17] <alkisg> hajonnes: i'm on ubuntu 20.04, what are you using?
[12:18] <hajonnes> alkisg, strange. I do not get any errors.
[12:18] <alkisg> On 20.04?
[12:19] <hajonnes> yes. ubuntu default flavour 20.04
[12:19] <alkisg> On xorg or on wayland?
[12:20] <hajonnes> if you run 'setxkbmap eu' and then do 'setxkbmap -query'. I do not know I just installed it and do not know how to check.
[12:21] <alkisg> Pastebin the output of `xrandr` to see if it says XWAYLAND or not
[12:21] <alkisg> setxkbmap eu works properly
[12:22] <oldgalileo> Has anyone gotten `systemd >237` running on 18.04.05 LTS?
[12:23] <hajonnes> alkisg, what does setxkbmap -query return?
[12:25] <hajonnes> alkisg, I think I'm on Xorg. https://pastebin.com/ybpRmnMw
[12:27] <hajonnes> I did test from https://newbedev.com/how-can-i-tell-if-i-am-running-wayland, Im on Xorg.
[12:27] <hajonnes> alkisg, ^
[12:40] <hajonnes> alkisg, you know, it does not matter so much to me. now all is well and all works. so if you are satisfied with it I'm as well and thanks for your help :)
[12:45] <alkisg> $ setxkbmap -query
[12:45] <alkisg> rules:      evdev model:      pc105 layout:     eu
[12:45] <alkisg> hajonnes: sure!
[12:45] <hajonnes> alkisg, :)
[12:46] <hajonnes> I should install 'gcc make perl' for my distribution to get virutalbox to work. I 'sudo apt-get install build-essentials'. I know I get gcc then. but how do I find the other things?
[12:47] <hajonnes> well I need pearl. I have make
[12:48] <hajonnes> I use 'which make' to see if I have make, and so on, is that correct.
[12:48] <hajonnes> ?
[12:49] <ioria> hajonnes, i prefer 'type -a perl'
[12:53] <hajonnes> ioria, what is the pros of type -a?
[12:54] <ioria> hajonnes,  type --help
[12:55] <EriC^^> hajonnes: for one type also shows if it's an alias or not
[12:56] <hajonnes> EriC^^, ioria, nice! thanks for the tip :)
[12:57] <ioria> ok
[12:57] <arizal> what is this?
[13:18] <frodo> Hi, I have an old, old PC that I'd like to connect to my network, but the only way to do that with stuff I have would be over a serial null modem. Is there a simple way in Ubuntu to share a connection over a serial null modem?
[13:28] <hajonnes> If I want to install e.g. perl language to program in perl. is there an easy way to determine what packages to install without searching the net? I have tried 'apt search perl' and 'aptitude search perl' and get flooded with packages.
[13:33] <leftyfb> hajonnes: perl-base should already be installed by default. No need to install anything else to use perl
[13:36] <hajonnes> leftyfb, you are probably right. I just wanted to have a general idea of how to use search functions. Like is there a hierarchy among packages. i.e. to use perl all packages need some fundamental perl to work. then how do I decipher which packages are the fundamental ones?
[13:37] <leftyfb> hajonnes: fundamental is relative
[13:39] <leftyfb> hajonnes: in the case of just "perl" , I looked up where perl exists on my machine using "which perl", which gave "/usr/bin/perl" and then used apt-file to search for which packages that binary could come from; "apt-file search /usr/bin/perl". Looking through the list of packages I determined that perl-base made the most sense and checked to make sure it's installed by default by looking at a fresh ubuntu 21.04 lxd container
[13:40] <alkisg> No need for apt-file: $ dpkg -S /usr/bin/perl
[13:40] <alkisg> perl-base: /usr/bin/perl
[13:40] <leftyfb> hajonnes: "perl" is a very bad example since anyone who is familiar with perl should know that perl is made up of hundreds of perl libraries, utilities, IDE's, etc.
[13:41] <leftyfb> hajonnes: searching apt for the term "perl" is like searching google for "a"
[13:52] <jabberwock> Hi all. I have miraculously enabled all 3 displays (including an external GPU). The one thing that didn't seem to be honored from /etc/X11/xorg.conf is the layout. I had to do that with whatever ubuntu uses (I think xrandr). My question is: Where is xrandr's config?
[13:53] <jabberwock> I want to get this into an article and hopefully save days of peoples' lives
[13:55] <leftyfb> jabberwock: it doesn't http://www.ubuntugeek.com/how-change-display-resolution-settings-using-xrandr.html
[13:56] <jabberwock> leftyfb, Thanks. That leaves my question as "Where is my layout saved?"
[13:56] <leftyfb> jabberwock: maybe check ~/.config/monitors.xml
[13:57] <jabberwock> That looks golden! Thank you :) Is this a ubuntu-specific config?
[13:58] <leftyfb> jabberwock: probably gnome-specific
[13:58] <jabberwock> Er, right. I tend to collapse them into one as I use the default install. I appreciate you being specific
[13:59] <jabberwock> because by that logic we should all be in #linux lol
[13:59] <SnoopJ> you can configure XRandR from xorg.conf I believe, but I've always just talked to the command-line tool from wm initialization when needed
[13:59] <jabberwock> \o SnoopJ
[13:59]  * SnoopJ bewares jabberwock
[14:00] <jabberwock> SnoopJ, I've gone from kubuntu to manjaro+xfce, to manjaro+sway, to ubuntu/gnome. kubuntu seems like a vast expanse of dominoes; when they fall... it's impractical to find the origin
[14:00] <jabberwock> lol, SON!
[14:01] <jabberwock> So far I love kubutnu/kde/plasma visually, but I can't deal with the bugs. I've also submitted fixes. for e.g. icloud sync in korganizer, but no movement on it
[14:01] <jabberwock> so... back to good ol' faithful
[14:03] <SnoopJ> I go between GNOME/i3 these days, but not so much i3 at the moment.
[14:04] <jabberwock> I really love the simplicity and speed of i3 and sway. I was going to burst a blood vessel if I spent any more time trying to get this display arrangement working
[14:05] <SnoopJ> More than a few dalliances with Lubuntu, but thankfully wms are a little less variable these days
[14:05] <jabberwock> and that was my first experience with wayland so it's probably pure ignorance on my part
[14:05]  * jabberwock nods
[14:05] <SnoopJ> I used to be a "fluxbox and only fluxbox" sort, but now I'm not
[14:05] <jabberwock> hehe. That was me and Enlightenment
[14:09] <hajonnes> leftyfb, ok. apt-file is good to know, thanks for the information. Yes you are right, a lot of hits. but it would be interesting if you had a search term and then got the results and  inside the resluts you could compare what packages in the search result are most used as dependencies for the other packages int the search result. Then you could make a qualified guess of what packages are the most important. is there a function like that?
[14:11] <jabberwock> hajonnes, can you present something as if it has just been released?
[14:11] <jabberwock> s/something/this idea
[14:24] <hajonnes> jabberwock ?? I do not understand what you mean?
[14:28] <hajonnes> jabberwock s /apt search / apt search | histogram over # of times a file is listed as dependencies
[14:29] <hajonnes> ^e.g.
[14:29] <bruc> hi
[15:49] <user217_> !ping
[16:39] <mago> Hello, do you know how to stitch multiple jsons into one?
[16:53] <alkisg> Using what tool? You can just replace the last } with a comma in an editor...
[16:54] <pk__> i installed openvpn , put config as /etc/openvpn/client.conf    and uncommented AUTOSTART="all" line in /etc/default/openvpn
[16:55] <pk__> but still the config is not loaded automatically when i start service
[16:55] <pk__> please help me :(
[17:00] <diskin> pk__, I'm not an expert in openvpn, but you mentioned service (server), and your config is for client?
[17:01] <pk__> on server side also openvpn serverice runs in server mode   and on client side openvpn service runs as client mode
[17:07] <pk__> ok i had forgotten to do systemctl daemon-reload after uncommenting AUTOSTART="all"  in /etc/default/openvpn
[17:07] <pk__> now it works
[17:09] <Safiyyah> hi all, need help mounting an external hdd via usb, it isn't loading
[17:16] <leftyfb> Safiyyah: what have you tried? What error are you getting? What format is it? What version of ubuntu are you running?
[17:16] <matsaman> Safiyyah: what does lsblk -f say?
[17:18] <leftyfb> matsaman: I'm a fan of lsblk -o +type -e7 -o +FSTYPE
[17:19] <matsaman> leftyfb: hahaha
[17:19] <Safiyyah> leftyfb, I am on ubuntu mate 20.04, nothing is coming up
[17:19] <Safiyyah> the drives lights are on but nothing
[17:19] <matsaman> Safiyyah: coming up from what?
[17:20] <leftyfb> matsaman: open a terminal and type:    lsblk -o +type -e7 -o +FSTYPE | nc termbin.com 9999  # and share the URL here
[17:20] <matsaman> Safiyyah: can you run 'lsblk -f' and pastebin the output somewhere?
[17:23] <Safiyyah> matsaman, https://pastebin.ubuntu.com/p/3K6tjzKsvs/
[17:23] <matsaman> holy snappocalypse
[17:24] <leftyfb> -o +type e7 :)
[17:24] <matsaman> Safiyyah: this output does suggest that your drive is not detected
[17:24] <leftyfb> Safiyyah: try unplugging the usb, then open a terminal and run "dmesg -Tw"   then plug the flash drive in.
[17:24] <matsaman> Safiyyah: are you expecting there to be data on it already?
[17:24] <leftyfb> Safiyyah: then anything that changes in the dmesg window, pastebin here
[17:25] <Safiyyah> matsaman yes there is data
[17:28] <matsaman> Safiyyah: data put on there from what OS?
[17:28] <ioria> Safiyyah, as said above, unplug the device, plug in again and run  'dmesg | tail -20 | nc termbin.com 9999'
[17:28] <Safiyyah> https://pastebin.ubuntu.com/p/p7jvrcyHkg/
[17:28] <Safiyyah> it is just hanging
[17:29] <Safiyyah> from ubuntu mate 20.04 and the previous LTS mate
[17:29] <Safiyyah> the data is from ubuntu mate lts current and previous one
[17:30] <matsaman> this is from an Ubuntu you have installed and are running, not from a live OS?
[17:30] <leftyfb> Safiyyah: the only thing that has been plugged in is a usb mouse
[17:31] <Safiyyah> https://termbin.com/jszw
[17:31] <leftyfb> Safiyyah: is this what you are plugging in? https://media.accobrands.com/media/560-560/368572.jpg?width=680px&height=449px
[17:32] <Safiyyah> leftB thats for the mouse
[17:32] <Safiyyah> I can take it out
[17:32] <leftyfb> Safiyyah: right, that is the only thing that is being unplugged and plugged in according to your kernel
[17:32] <matsaman> Safiyyah: try a different USB port
[17:32] <ioria> that ^
[17:32] <Safiyyah> https://termbin.com/qvzw
[17:33] <Safiyyah> https://termbin.com/qvzv
[17:33] <Safiyyah> https://termbin.com/wb13
[17:34] <matsaman> Safiyyah: did you try a different USB port yet?
[17:34] <matsaman> Safiyyah: did you try every USB port you have?
[17:34] <Safiyyah> I did but I will do it again
[17:35] <matsaman> not looking for dmesg output so much as looking for the drive to show up normally
[17:35] <matsaman> but you can check dmesg if you want
[17:35] <leftyfb> matsaman: dmesg is step #1
[17:35] <Safiyyah> https://termbin.com/pdfx
[17:35] <matsaman> so far it's been like steps 1-8
[17:36] <leftyfb> Safiyyah: there are zero mass storage devices being plugged in.
[17:36] <leftyfb> Safiyyah: or if so, you have a hardware issue
[17:36] <Safiyyah> I don't know how to prove to you that the drive is plugged in
[17:36] <matsaman> if you try every usb port and it works on none of them, you very well could have a hardware issue
[17:37] <matsaman> try every port, put your hand on the drive and feel if it's spinning each time
[17:37] <leftyfb> Safiyyah: your kernel is not picking up anything being plugged in at all. You have a hardware issue. Cables or the devices itself.
[17:37] <ioria> or a power issue
[17:37] <leftyfb> or ^
[17:37] <leftyfb> oh
[17:37] <Safiyyah> I don't know how to prove to you that the drive is plugged in
[17:37] <leftyfb> Safiyyah: what model device is this?
[17:37] <matsaman> Safiyyah: you don't need to
[17:38] <Safiyyah> its a Western Digital
[17:38] <leftyfb> model# please
[17:40] <ioria> Safiyyah, you know, the only way is to take it out and connect it irectly to the MB (unless it's a laptop, and i guess it is); or find another pc or try to change the cable (sometimes a double-usb cable might solve the issue)
[17:40] <matsaman> but you should try every USB port first
[17:40] <Safiyyah> WD elements SE 14198 CbAdCa
[17:41] <ioria> the common problem is the autosuspend thing
[17:42] <leftyfb> my guess is, this is a USB3 drive that requires a bit more power and we're plugging it into a usb2 drive
[17:42] <leftyfb> drive/port
[17:42] <ioria> yeah
[17:42] <leftyfb> Safiyyah: what color is the usb port you are plugging into?
[17:42] <leftyfb> on the inside
[17:43] <matsaman> it doesn't matter what color =P
[17:43] <matsaman> it either works on one of the ports out of all the ports or it doesn't
[17:43] <Safiyyah> black?
[17:43] <Safiyyah> I am trying on the other laptop
[17:43] <Safiyyah> also on mate
[17:43] <leftyfb> matsaman: black is not a good indication of being a usb3 port
[17:43] <matsaman> it's literally irrelevant
[17:43] <matsaman> if you want to look for something, look for 'SS'
[17:43] <leftyfb> Safiyyah: what model laptop were you trying originally?
[17:43] <matsaman> but it's still irrelevant
[17:44] <matsaman> because we have no idea if he's tried the other ports yet
[17:44] <matsaman> 'cause we're talking about colors
[17:44] <matsaman> =P
[17:44] <leftyfb> matsaman: it's not irrelevant, if none of the ports are usb3 and the drive is, it's probably not getting enough power to spin up
[17:44] <matsaman> hence trying other ports
[17:45] <leftyfb> matsaman: we do know: https://pastebin.ubuntu.com/p/dddvzTbc6g/
[17:45] <Safiyyah> https://termbin.com/pa31
[17:45] <leftyfb> Safiyyah: what model laptop were you trying originally?
[17:45] <Safiyyah> https://termbin.com/pa3l
[17:46] <matsaman> leftyfb: yeah but he said that after I asked two different questions =P
[17:46] <Safiyyah> first machine is old acer laptop
[17:47] <Safiyyah> second machine is a dell insspiron 14 5000
[17:47] <Safiyyah> I just got that today
[17:47] <matsaman> Safiyyah: what computer have you used this drive with before?
[17:47] <Safiyyah> the acer
[17:47] <matsaman> Safiyyah: what OS is on the acer?
[17:47] <leftyfb> Safiyyah: what model is the acer laptop?
[17:49] <Safiyyah> a very old acer
[17:50] <leftyfb> Safiyyah: ok, since you can't give the model#, we're going to assume it's so old it doesn't support usb3 power specs and will not work with that drive. Unless you can give the model# and we can confirm
[17:50] <matsaman> Safiyyah: can you confirm that for the dell you tried each USB port?
[17:50] <leftyfb> Safiyyah: the Dell you have has 2x usb3.2 ports on the left side (the right side is usb2)
[17:51] <leftyfb> Safiyyah: lets continue troubleshooting with the Dell.
[17:52] <matsaman> anyway your options are: you haven't used the right USB port, the drive has a weird FS, the drive is broken, your kernel is messed up in a super rare way, some or all of your USB ports are broken somehow, or some mixture of those
[17:52] <leftyfb> Safiyyah: plug the usb drive into a port on the left side of the dell and watch dmesg -Tw
[17:53] <leftyfb> matsaman: the filesystem of the usb drive is completely irrelevant to the device being detected by the kernel. It can have any or no OS and it will still show up in dmesg if all is well
[17:53] <leftyfb> OS/filesystem
[17:53] <matsaman> that's false, but I admit it's very unlikely
[17:53] <matsaman> most likely all the USB ports haven't been tried yet =P
[17:54] <leftyfb> matsaman: name one filesystem that will prevent a usb mass storage device from being detected by the kernel and showing up in dmesg
[17:54] <matsaman> I was replying to 'It can have any or no OS and it will still show up'
[17:54] <leftyfb> it will
[17:55] <matsaman> the FS is pretty irrelevant, not to Safiyyah's problems but to our little discussion
[17:56] <leftyfb> matsaman: any mass storage device, regardless of filesystem will show up in dmesg as it is detected and drivers loaded, THEN it attempts to detect and mount the filesystem if there is one
[17:56] <matsaman> drivers, I'm sure the kernel has something to do with that
[17:57] <matsaman> but again it's very unlikely to be relevant
[17:57] <safiyyah_> https://pastebin.ubuntu.com/p/YHJqMKmr23/
[17:58] <safiyyah_> sorry I went to get hexchat on the new laptop
[17:58] <leftyfb> safiyyah_:  plug the usb drive into a port on the left side of the dell and watch dmesg -Tw
[17:58] <safiyyah_> I can't see it picked up here either
[17:58] <matsaman> Safiyyah: what's this paste?
[17:58] <leftyfb> nothing we asked for
[17:59] <safiyyah_> fdisk -l
[17:59] <leftyfb> and doesn't help
[17:59] <TJ-> safiyyah_: has this device ever worked on any PC?
[17:59] <leftyfb> safiyyah_:  plug the usb drive into a port on the left side of the dell and watch dmesg -Tw
[17:59] <matsaman> TJ-: he claimed it did on an "old" acer he also has
[18:00] <TJ-> matsaman: thanks, I asked since the WD docs, in small print has "Disclosures: 1. Internet activation required"
[18:00] <leftyfb> we're not going to worry about the acer because we have no way of knowing if it's got usb3 ports on it which I think might be why the storage device isn't being detected by the kernel (not enough power)
[18:01] <TJ-> leftyfb: I tend to agree but we would still see a USB device appear and then fail
[18:01] <leftyfb> TJ-: that will be for their Windows software which isn't needed to be used as a normal mass storage device
[18:01] <TJ-> leftyfb: indeed :)
[18:01] <TJ-> safiyyah_: what cable are you using?
[18:03] <JanC> probably best to waitt for dmesg output first
[18:03] <JanC> otherwise we can keep speculating
[18:03] <safiyyah_> https://pastebin.ubuntu.com/p/8QSV3MxchR/
[18:03] <safiyyah_> thatis dmesg
[18:03] <safiyyah_> I moved the drive
[18:03] <leftyfb> safiyyah_: that is not the output I asked for
[18:03] <leftyfb> safiyyah_:  plug the usb drive into a port on the left side of the dell and watch dmesg -Tw
[18:04] <leftyfb> safiyyah_: I'm asking for -T so we can human readable timestamps so we can get a better idea of timeline of events
[18:05] <leftyfb> safiyyah_: leave dmesg -Tw running, then plug and unplug the drive into a port on the left side multiple times, then give us the dmesg output
[18:05] <safiyyah_> right I am sending my son to plug it on the main windows desktop
[18:05] <JanC> well, assuming that was after the USB drive got plugged in, it looks like the USB chip in that external drive is toast
[18:05] <leftyfb> wait a few seconds between each
[18:06] <safiyyah_> I think this is a last try
[18:06] <JanC> or the cable is broken
[18:06] <leftyfb> safiyyah_: ok, good luck. Let us know when you are ready for us to help you troubleshoot by following our steps as suggested
[18:06] <safiyyah_> what a useless HDD
[18:06] <safiyyah_> after it took £70 from me!
[18:06] <JanC> you're not using one of those power-only USB cables, right?  :)
[18:07] <TJ-> JanC: yes :)
[18:07] <matsaman> safiyyah_: well if it works on one of the other computers, it's probably fine
[18:07] <leftyfb> JanC: the cable should look like this https://www.technologygalaxy.com/images/productimages/309976x1x250.jpg
[18:08] <leftyfb> that's the connector on that drive
[18:08] <leftyfb> (on the right)
[18:08] <leftyfb> safiyyah_: feel free to confirm
[18:08] <safiyyah_> no they sold it with a connector that goes inot half of it
[18:08] <leftyfb> :/
[18:08] <leftyfb> WTF
[18:09] <leftyfb> TJ-: nailed it then
[18:09] <JanC> right, so that would not be a power-only cable
[18:09] <leftyfb> safiyyah_: get the right cable, then it will work
[18:09] <safiyyah_> but it worked fine until now...
[18:09] <TJ-> hang on hang on, that's not necessarily the case. Those USB 3 microconnectors have USB2 on the standard micro-USB and the USB 3 additional data lines on the extended connector. I know since I have them.
[18:10] <leftyfb> never would I have guessed someone would plug a usb micro into that port and expect it to work
[18:10] <JanC> if it looks like the one in the photo I mean, if it's only "half that", then the problem is obvious
[18:10] <leftyfb> safiyyah_: unlikely
[18:10] <safiyyah_> I am so pissed about this
[18:10] <TJ-> if you plug in just a standard micro-USB you get USB2 speeds
[18:10] <JanC> hm
[18:11] <safiyyah_> well that is what they sold it with... I have had no problems until now
[18:11] <leftyfb> TJ-: usb2 speeds and power, which is more than likely not enough
[18:11] <leftyfb> safiyyah_: where did you buy it? Was it new in a sealed Western Digital box?
[18:11] <safiyyah_> i need to get a USB hub and see
[18:11] <TJ-> leftyfb: you still get connect/disconnect messages on the bus as the controller firmware starts first, then it dies when the drive spins up
[18:11] <safiyyah_> yeah new and sealed
[18:12] <leftyfb> safiyyah_: you should get the correct cable
[18:12] <webchat24> hey all, I removed full /etc/X11 dir, I reinstalled xserver-xorg but the dir is not coming back
[18:12] <webchat24> any idea what do i do?
[18:12] <safiyyah_> from staples
[18:12] <JanC> there are lots of packages that install files in there
[18:13] <JanC> webchat24: the fastest is probably to re-install the system
[18:13] <webchat24> ugh thats my problem, this is a cloned system and it only works in recovery mode
[18:13] <webchat24> I am lazy to setup the whole thing all over so, but I may have to
[18:14] <JanC> you could also try re-installing all packages that are somehow Xorg-related, and maybe other GUI-related stuff...
[18:14] <webchat24> my problem is that I dont know which packages are those :D
[18:15] <leftyfb> safiyyah_: I have several of those drives and other models of the same form factor and brand, every single one of them comes with the proper cable. I've never heard of it coming with a usb micro cable
[18:18] <JanC> webchat24: you could try looking at stuff that depends on X11, then maybe stuff that depends on that, etc.; at some point it most start working again...
[18:18] <JanC> obviously re-installing the OS would be faster...
[18:18] <love_> is there an easy way to enable screensavers on ubuntu linux?
[18:18] <webchat24> yea I will do that JanC
[18:21] <lotuspsychje> love_: xscreensaver works great
[18:21] <JanC> love_: you still have a CRT monitor?   :P
[18:25] <jjjan> Can someone past a url? I'm testing some stuff :)
[18:25] <lotuspsychje> jjjan: click something from the topic
[18:26] <jjjan> Nope, it has to be pasted
[18:26] <lotuspsychje> jjjan: https://ubuntu.com/
[18:26] <jjjan> Thanks
[18:26] <jjjan> :*
[18:27] <jjjan> Cheers!
[19:07] <Walex> JanC: many LCDs do have image persistence, even if some have a tool to cycle it away...
[19:47] <oldgalileo> Okay
[19:47] <oldgalileo> This is a comical-to-describe issue
[19:47] <oldgalileo> But I'm trying to setup a script from a script from a script, and the middle script needs to have $1, $2, etc. in it
[19:47] <oldgalileo> I cannot get the outermost script to print those variables in plaintext
[19:48] <oldgalileo> If I escape the dollar sign, it prints the dollar sign without the number
[19:49] <leftyfb> oldgalileo: you might be better off asking in #bash, since this is a bash issue
[19:49] <sarnold> oldgalileo: gah I've read scripts like that. *hated* it.
[19:50] <sarnold> I didn't know you could even do dependency injection in bash, but they did it..
[19:50] <sarnold> I begged htem to rewrite the code in a real language, any language.
[19:51] <oldgalileo> sarnold: Read or written?
[19:51] <sarnold> oldgalileo: read
[19:51] <oldgalileo> Hahaha
[19:51] <sarnold> yeah, I'm not brave enough to try it myself, hehe
[19:51] <oldgalileo> Yeah. Might rewrite this in C since it's so small and I want it to just work.
[19:52] <oldgalileo> Really annoying though. Like, I'm SURE there's a solution here.
[19:54] <sarawara> Hello (ifor info 'm a simple ubuntu and pi user, not a fullblown programmer, i use codeblocks for my course to solve dif equations)
[19:54] <sarnold> oldgalileo: yeah, you can probably make something work, but the time spent making it work, and then the time spent trying to maintain it in the future, might just swamp the time it'd take to rewrite it in python or C or golang or rust or whatever
[19:54] <sarawara> I have tried to download codeblocks on my pi (i'm new to it) but i think it has not fully loaded
[19:55] <sarawara> should i remove it then and re install? thank!
[20:01] <sarawara> the world has changed, i remember when this chat was like a highway, has ubuntu changed that much, or is the communication elsewhere?
[20:06] <sarawara> ha! it works, i was just talking to myself, goodevening all :) (yeah i'm the funny one)
[20:06] <alkisg> There's a forum, discourse, and askubuntu and other areas of support
[20:06] <alkisg> Also, people have moved on to vscode from codeblocks :D
[20:07] <sarawara> yeah, always has been (i'm on ubuntu since feisty fawn ;) ) i need it for my exams, no choice
[20:07] <alkisg> 👍️
[20:09] <sarawara> i guess ubuntu has become too good for people to need support :) bye
[20:09] <SnoopJ> that's pretty hasty
[20:10] <SnoopJ> not really sure what problem you're seeing, but if you are encountering an error message of some sort, you should share it with the channel. Probably you can't hurt anything by reinstalling it.
[20:14] <sarawara> ok i've reinstalled it and it works
[20:14] <sarawara> never had that before so didn't think of reinstalling right away
[20:15] <sarawara> so if i'd have a codeblocks question (might occur haha) i should search for a vscode channel?
[20:16] <oldgalileo> sarnold: Lol base64 encoded the child script and then decode at write time.
[20:16] <oldgalileo> No C or Go rewrite for me :sunglasses:
[20:16] <oldgalileo> 8)
[20:16] <SnoopJ> why a vscode channel? It seems weird to ask for help with editor A in a channel for editor B
[20:16] <sarnold> oldgalileo: https://www.trendmicro.com/en_us/research/21/f/bash-ransomware-darkradiation-targets-red-hat--and-debian-based-linux-distributions.html ? :)
[20:17] <oldgalileo> Lmfao honestly it would make me feel LESS dirty if this was for malware
[20:17] <oldgalileo> Nope. Production server.
[20:18] <oldgalileo> Where we're going, not even god can save us
[20:21] <SnoopJ> every day we compute farther from god's light
[20:31] <TJ-> oldgalileo: are you perhaps looking for \\\$1 ?
[20:36] <mago> Hello, how do  i rename all files in folder to this pattern: 1x.mp3, 2x.mp3, 3x.mp3 ...?
[20:41] <sarnold> mago: what pattern do they have now?
[20:41] <mago> 19 Aug, 22.01.mp3   by the minute time, and if its the same minute 19 Aug, 22.03(3).mp3
[20:43] <sarnold> oh man, that's a bit of a jump..
[20:43] <Guest3081> why I can't download ubuntu server version from site?
[20:43] <mago> sarnold what you mean?
[20:43] <TJ-> mago: is thw 1x, 2x the minute ?
[20:44] <mago> no, i just want to rename to 1x.mp3, 2x.mpr becaus its easier to feed a mylist.txt to another command then..
[20:44] <TJ-> mago: what would you rename "22.03(3).mp3" to ?
[20:44] <mago> Thath should be 2x.mp3
[20:44] <sarnold> Guest3081: what error message do you get when you try?
[20:44] <Guest3081> I can't find a link to that
[20:44] <mago> Sorry, that one would be 3.mp3
[20:45] <sarnold> mago: normally people rename things to change extensions or remove spaces or swap multiple parts around .. but if there's no simple piece of the input file names that carries over directly to the output file names it's a much harder problem
[20:45] <TJ-> mago: so the 'x' is a literal 'x' character, not a placeholder?
[20:45] <Guest3081> I can't find a link to that
[20:45] <mago> TJ- yes literal
[20:46] <mago> It could be x, y, z but its not a variable.. Is becaus im going to combine them with other files that are already named 1.mp3, 2.mp3, 3.mp3
[20:46] <sarnold> Guest3081: hmm, dang, irc works best with error messages, but if you don't have any, that complicates things. what have you tried? where did it stop?
[20:46] <mago> So i will combine 1x.mp3 wth 1.mp3 with 2x.mp3 with 2.mp3
[20:46] <TJ-> mago: OK I'm just trying to get a clear pictue in my head of the before and after!
[20:46] <mago> I can do it by hand, but if i can batch process with a command is much better..
[20:47] <sarnold> mago: the two usual tools I use are rename.pl and mmv -- I don't immediately know which one would work better, and I'm not sure if either one is really going to work :(
[20:47] <TJ-> mago: can you show us a directory listing as an example? "pastebinit <( ls -1 ) "
[20:47] <mago> With the quotes or without the quotes?
[20:48] <Guest3081> sarnold on the site
[20:48] <TJ-> mago: I use the quotes to show where the command starts and ends
[20:49] <mago> https://paste.ubuntu.com/p/vGXRKDDzYr/
[20:49] <mago> The 1x.mp3, 2x.mp3 at the end are becaus i have started to rename manually..
[20:50] <TJ-> mago: right... so  22.03(3).mp3 = 3.x.mp3,  22.03(6).mp3 = 4x.mp3 and so on?
[20:50] <mago> It be easier if the naming convention tracked the seconds too right?
[20:50] <deliver> It makes a fck
[20:50] <sarnold> is that sort order exactly correct?
[20:50] <mago> TJ- yes
[20:50] <mago> Yes
[20:50] <deliver> Check all filesytems
[20:51] <deliver> Do yo hace inci?
[20:51] <mago> Is that question for me?
[20:52] <sarnold> mago: you could do something like: for f in * ; do echo mv $f $((i = i + 1)).mp3 ; done   .... though, running it a *second* time, i see that it kept the value of $i from one run to the next. it's not perfect.
[20:52] <mago> What does that mean?
[20:52] <TJ-> mago: that should be easy then. We really shouldn't abuse 'ls' output in scripts, but... "count=3; while read infile; do echo mv "$infile" "${count}x.mp3"; let count=$((count + 1)); done < <(ls -1)"
[20:53] <TJ-> mago: this'll echo the commands it could execute so won't actually change anything until we're happy it is correct
[20:54] <deliver> (ALT-F2) termminal: man inxi
[20:55] <deliver> {°]
[20:56] <deliver> Entschuldigung, ich trolle
[20:58] <deliver> *https://www.youtube.com/watch?v=imcb2obRIe4
[20:58] <mago> TJ- Command works but only the first time, then i need to reopen the terminal..
[20:58] <mago> TJ- How do i run it for real now?
[20:59] <TJ-> mago: that seems weird - it should repeat without any problems - are you ensuring the initialisation "count=3;" is done on the repeat?
[21:00] <TJ-> mago: to make it do the rename for real, remove the "echo" in front of the "mv" so it is just "... do mv ..."
[21:00] <mago> Ok.. Thanks
[21:02] <mago> TJ- I get that >
[21:03] <mago> Lol, one " too much..
[21:04] <TJ-> mago: right the >" is the next-line indicator from 'readline' (the thing that reads your commands) and it is telling you there's a continuation until you close a quote mark, bracket, or some other block-type container
[21:08] <mago> Ok, it worked thanks a lot..
[21:09] <ash_worksi> so my laptop (20.04) just overheated
[21:09] <ash_worksi> is there a way I can derive, perhaps through journald what process caused that?
[21:09] <mago> Is for my radio show Pumpkin Pie tonight, you can listen to it, it starts at 10 UTC: https://anonradio.net/
[21:09] <ash_worksi> (the ambient temp is actually pretty low right now, so I am kinda shocked)
[21:10] <TJ-> mago: just in time then!
[21:11] <mago> Yea, thanks for the help. :)
[21:48] <shimbles> do-release-upgrade from bionic to focal did not work, because the upgrade could not be calculated
[21:48] <shimbles> however, this left the active version of the OS as focal, even though the upgrade was not applied
[21:48] <shimbles> so, I ran sudo apt upgrade, which is installing
[21:48] <shimbles> how, after that, do I finish the release upgrade?
[21:50] <shimbles> hello?
[21:51] <almostdvs> That's what I would do
[21:51] <almostdvs> You will probably have some errors you will need to resolve
[21:51] <Hash> That usually happens when you have third party packages
[21:51] <Hash> out out of repo packages
[21:51] <Hash> or*
[21:52] <Hash> make sure to follow all do-release-upgrade tips and requirements
[21:52] <shimbles> well, see, that's just not cool
[21:53] <Hash> What is not cool?
[21:54] <almostdvs> reading, obviously
[21:55] <Hash> https://ubuntu.com/blog/how-to-upgrade-from-ubuntu-18-04-lts-to-20-04-lts-today
[21:55] <Hash> Advanced options & third-party software
[21:56] <Hash> read this part too
[21:58] <Hash> it's probably due to third party packages and their dependencies causing you issues. disable them all, then update, then apply do relesae upgrade, then reinstall third party repos
[21:59] <Hash> I upgraded my server using this method from 18 to 20 and it went fine
[22:05] <shimbles> when the kernel updated i was offered to modify two files; i declined the first and accepted the second; the second was grub; what was the first? (I thought it was 'rinit' but can't find any matches)
[22:15] <almostdvs> I'm having trouble setting up a simple networking bond
[22:16] <almostdvs> Is netplan the way to go?  I keep getting addresses that aren't defined in my yaml file
[22:19] <almostdvs> https://www.hastebin.com/aguvopibah.yaml
[22:21] <shimbles> [4:05:52 PM] <shimbles> when the kernel updated i was offered to modify two files; i declined the first and accepted the second; the second was grub; what was the first? (I thought it was 'rinit' but can't find any matches)
[22:21] <shimbles> [4:06:55 PM] → ur5us has joined
[22:22] <leftyfb> shimbles: why would you decline something when you don't know what it is or what it does?
[22:22] <almostdvs> It would be a file you had modified
[22:22] <leftyfb> almostdvs: not always
[22:24] <almostdvs> something else has to be messing with my network configuration
[22:25] <shimbles> apologies, it was removing a line indicating a past kernel entry. IIRC it was linux*generic, in favor of linux-aws. my file system is acting very badly now, so i'd like to try removing this line, but i tried apt install --reinstall linux-aws but it did not attempt this same reconfigure step
[22:25] <shimbles> leftyfb because i am in the cloud :/
[22:36] <shimbles> i had a bad kernel upgrade possibly because i declined to accept the maintainers new version of a file; now my file system is _insanely_ slow. which file might this have been?
[22:37] <shimbles> it had something to do with the kernel; and my kernel upgrade was related to disk, so that part is to be expected, if a configuration is wrong
[22:42] <almostdvs> Why is my ubuntu-20.04 not respecting my netplan config?
[22:43] <leftyfb> almostdvs: (ls -l /etc/netplan/* ; cat /etc/netplan/* ; cat /etc/os-release ; ip a ) | nc termbin.com 9999
[22:44] <almostdvs> https://termbin.com/5pk3l
[22:47] <leftyfb> almostdvs: are you running a desktop environment?
[22:47] <almostdvs> I'm pretty sure I am not
[22:47] <leftyfb> almostdvs: you have 2 netplan files
[22:47] <almostdvs> ya, one wasn't working so I simplified it
[22:48] <almostdvs> the desired one has a .yaml~ extension
[22:48] <leftyfb> almostdvs: they are both specifying the same interfaces. That is ungood. Delete one of them
[22:48] <almostdvs> but the simple one isn't setting the nameservers correctly; i'm getting other addresses
[22:48] <leftyfb> almostdvs: step #1, delete 1 of the netplan files. Stick with 2
[22:48] <leftyfb> sorry, stick with 1
[22:48] <almostdvs> the .yaml~ shouldn't be picked up
[22:49] <almostdvs> anyways I just moved it to my home dir for now
[22:50] <leftyfb> almostdvs: ( sudo netplan apply ; cat /etc/netplan/* ; ip a ) | nc termbin.com 9999
[22:50] <almostdvs> just did another sudo netplan apply and I still have this .193 address on eno1 and it is using the router for dns instead of 8.8.8.8 or 1.1.1.1
[22:52] <leftyfb> almostdvs: ( sudo ip link set eno1 down ; sudo netplan apply ; cat /etc/netplan/* ; ip a ) | nc termbin.com 9999
[22:53] <almostdvs> https://termbin.com/nt6o
[22:55] <leftyfb> almostdvs: so a couple things. You don't need a route on eno1? Also, if you don't want eno2 pulling an ip via dhcp, set it up with dhcp4: false
[22:56] <leftyfb> almostdvs: networkctl | nc termbin.com 9999
[22:58] <almostdvs> leftyfb: I figured the gateway4 set the route
[22:58] <almostdvs> one moment
[22:58] <leftyfb> oh, damn, I missed that
[22:59] <almostdvs> https://termbin.com/oonk
[22:59] <sarnold> interesting
[23:00] <leftyfb> almostdvs:  sudo journalctl -u systemd-networkd.service
[23:02] <almostdvs> added dhcp4: false and eno1 still has this .193 and nameserver is still 10.10.5.1
[23:02] <almostdvs> https://www.hastebin.com/wolivibeci.apache
[23:03] <sarnold> Aug 19 22:59:29 cms systemd-networkd[5097]: eno1: Could not set route: Nexthop has invalid gateway. Network is unreachable
[23:03] <almostdvs> seems like netplan is not the only thing configuring my network
[23:03] <sarnold> netplan only translates yamls into systemd-network configs
[23:03] <almostdvs> i saw that sarnold
[23:04] <almostdvs> not sure why it thinks it is invalid
[23:04] <almostdvs> so far, I am not a fan.  me and /etc/network/interfaces never had any issues
[23:09] <almostdvs> Jun 11 18:30:51 cms systemd-networkd[804]: eno1: Link is not managed by us
[23:11] <almostdvs> oops, that's real old
[23:12] <leftyfb> almostdvs: ( ls -l /etc/systemd/network/* ; cat /etc/systemd/network/* ) | nc termbin.com 9999
[23:13] <almostdvs> there is nothing in that folder leftyfb
[23:14] <leftyfb> ok, that's good
[23:15] <leftyfb> almostdvs: what customization's have you done to this machine?
[23:15] <leftyfb> almostdvs: anything with grub/udev settings to change interface nams?
[23:15] <almostdvs> I have two docker containers, an app and pihole set up
[23:16] <almostdvs> leftyfb: only think I could think of is upgrading from 18.04
[23:16] <almostdvs> I haven't manually messed with grub/udev
[23:16] <leftyfb> ah
[23:16] <leftyfb> hold on
[23:16] <leftyfb> almostdvs: sudo apt remove --purge ifupdown
[23:17] <almostdvs> not installed
[23:17] <leftyfb> sudo systemctl disable networking.service
[23:18] <almostdvs> does not exist
[23:20] <leftyfb> almostdvs: ( for i in /sys/class/net/* ; do echo $i $(cat $i/operstate);done ) | nc termbin.com 9999
[23:21] <leftyfb> almostdvs: do you have an ethernet cable plugged into eno1 and is the link light on?
[23:21] <almostdvs> https://termbin.com/9esx leftyfb
[23:21] <leftyfb> hm, looks like maybe yes
[23:21] <almostdvs> yes
[23:22] <almostdvs> I had these two interfaces bonded on 10.10.5.10 when the server was 18.04
[23:22] <almostdvs> but ever since the upgrade has been a struggle
[23:22] <leftyfb> almostdvs: did you enough LLDP on your switch?
[23:22] <leftyfb> enough/enabl
[23:22] <leftyfb> enough*
[23:23] <almostdvs> no, its a dumb switch
[23:24] <almostdvs> active-backup is the goal
[23:27] <plarke> How do I make update-grub find my new kernel?
[23:28] <plarke> I copied vmlinuz and System.map to /boot
[23:30] <plarke> also did $sudo make modules_install
[23:30] <plarke> modules_install
[23:30] <merpnderp> I'm checking for updates on a fresh install and I'm getting "Unable to download updates from "ours.gnome.rog" the ssl handshake failed.
[23:31] <merpnderp> Anyone know what that's about?
[23:31] <almostdvs> merpnderp: should it be ours.gnome.org ?
[23:31] <merpnderp> Yeah, that was my typo
[23:31] <merpnderp> I'm on 21.04
[23:32] <almostdvs> I can't resolve that domain merpnderp
[23:32] <merpnderp> It's odrs.gnome.org
[23:32] <merpnderp> I'm typing this on a Mac and it is autocorrecting everythign :(
[23:33] <sarnold> merpnderp: there's nsec records proving that hostname doesn't exist https://dnsviz.net/d/ours.gnome.org/dnssec/ -- what set up that address in the first place?
[23:33] <sarnold> oh
[23:33] <sarnold> merpnderp: please copy-and-paste error messages exactly :)
[23:33] <sarnold> anything else leads to wasted time
[23:34] <merpnderp> It's in the Ubuntu Software tool and it is a popup and I can't select the error text
[23:34] <sarnold> ew. that's worth a bug report.
[23:34] <merpnderp> I'm on the Ubuntu machine now.
[23:35] <merpnderp> I hit the refresh button in the upper left corner and that error pops up
[23:35] <almostdvs> leftyfb: netplan --debug apply     https://www.hastebin.com/abozolaqid.yaml
[23:36] <merpnderp> Now it is saying "Unable to download updates from "fwupd": failed to download https://cdn.fwupd.org/downloads/-firmware.xml.gz.jcat: SSL handshake failed"
[23:38] <tomreyn> plarke: can you run    sudo file /boot/vmlinuz*   and how the output? also, what's this kernel image you are trying to boot - did you build it yourself?
[23:38] <merpnderp> Can anyone else check for updates?
[23:38] <tomreyn> plarke: also share    ls -l /boot    output and this:   echo -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
[23:40] <tomreyn> pacmann: since you share the same username and ip address as plarke, did you just connect because you lost access to the chat as "plarke"?
[23:41] <tomreyn> merpnderp: the location you posted returns a 404 for me, but i can access that fine, no SSL/TLS warnings.
[23:42] <merpnderp> That's weird. I can't search for software either.
[23:42] <merpnderp> With the software app
[23:42] <pacmann> tomreyn: just wanted to change nick
[23:42] <tomreyn> i don't have this software installed, can't test
[23:42] <merpnderp> Ubuntu Software is the name of the app
[23:42] <merpnderp> But I closed it and retried and now I can search
[23:42] <sarnold> merpnderp: I was able to apply fwupdmgr updates fine
[23:42] <tomreyn> pacmann: okay, so you read what i wrote? you can change nicknames using /nick newnick
[23:43] <pacmann> tomreyn: here's the output from those commands https://paste.ubuntu.com/p/J5YPmyrZNH/
[23:44] <merpnderp> sarnold: this is weird because now it is searching for updates without issue and is saying I'm up to date.
[23:44] <merpnderp> Maybe there was a hiccup with the CDN's.
[23:44] <pacmann> tomreyn: Its kernel version 5.12.14, I compiled it myself but didn't change anything. Just want to test compiling and installing a kernel.
[23:45] <sarnold> merpnderp: possibly, yeah :/ I hate not knowing what's up
[23:47] <pacmann> tomreyn: Thanks, also new to irc
[23:49] <tomreyn> pacmann: hmm, there's just one thing that sticks out: vmlinuz file ownership - it's -rw-r--r-- while it's -rw------- normally
[23:49] <merpnderp> In the terminal app, what's the hot key for a new window?
[23:49] <merpnderp> And does it support tabs?
[23:49] <pacmann> tomreyn: Ok ill change it.
[23:50] <tomreyn> pacmann: i think you should also try renaming it to vmlinuz-5.12.14-custom or similar
[23:50] <merpnderp> What do you all use for your password manager?
[23:50] <tomreyn> vmlinuz-5.12.14-1-custom rather
[23:51] <merpnderp> n/m shift-ctrl-t :D
[23:53] <merpnderp> Is there a canonical password manager that everyone uses?
[23:53] <merpnderp> Like something everyone trusts?
[23:55] <sarnold> merpnderp: I hear good things about https://www.passwordstore.org/
[23:56] <toddc> merpnderp: keepassXC
[23:56] <sarnold> merpnderp: I also hear good things about https://bitwarden.com/open-source/ but it's vastly bigger
[23:58] <Berlyn> I use Bitwarden, absolutely love it. Although I don't run a copy of it myself, I use their regular cloud offering.