[00:02] <clarkk> sarnold, I'm pleased to say, it's working now. :)   The only outstanding issue is why the process is listed as 1/init      https://paste.ubuntu.com/p/Sh6MxGNDJr/
[00:03] <pikapika> Where would I place some commands/script to be executed after X11 has started but before the display manager/login screen has started?
[00:04] <pragmaticenigma> clarkk: possibly in the way it's getting started?
[00:04] <pragmaticenigma> what application are you using for dnscrypt?
[00:08] <sarnold> clarkk: that's an excellent question. maybe use tcpdump or tshark to verify that *that* socket is the one that's being used?
[00:09] <pragmaticenigma> pikapika: I think you need to create a systemd config file for the application you want to start... may I ask what are you trying to get to start before GUI is available?
[00:17] <genii> pikapika: In /etc/gdm3 there are subdirectories with names like PostLogin, PostSession, PreSession and so on. You want to edit the /etc/gdm3/PreSession/Default file
[00:53] <pikapika> pragmaticenigma, disabling a keyboard
[00:56] <pragmaticenigma> pikapika: going to be hard to login in? no?
[00:57] <pikapika> Thats what the other keyboard is for
[00:58] <pikapika> Broken laptop keyboards are a "gift from the gods"
[00:58] <pragmaticenigma> ah, I see, not possible to open up the chassis and unplug the keyboard I'm guessing?
[01:00] <pikapika> Probably is, I don't know enough in order to trust myself to safely do that
[01:00] <pragmaticenigma> well, hopefully the suggestion from genii helps you out there pikapika
[01:01] <pikapika> genii, I think I found the equivalent in lightdm, thanks for pointing out where to look
[01:02] <genii> pikapika: Yes, each dm has it's own sort of method by a file in the /etc hierarchy someplace
[01:03] <genii> ..since you were asking in #ubuntu I did make the assumption you were on the default, which is gdm
[01:03] <pikapika> It's actually xubuntu
[01:04] <genii> Xubuntu uses lightdm, ubuntu uses gdm, kubuntu uses sddm, and so on
[01:04] <pikapika> But yes, thanks for letting me know the dm typically tends to have hooks for this purpose
[01:04] <genii> Glad to assist
[01:25] <clarkk> Thanks for your help.  It's working as expected now. Thanks also pragmaticenigma
[01:26] <clarkk> *** to sarnold ^^^
[01:26] <sarnold> clarkk: yay :)
[01:29] <pikapika> It works! Thanks genii and pragmaticenigma
[02:01] <fructose> I'm on kernel 5.0.0-38-generic, but when I apt source kernel-source, edit and build a driver, and insmod it, it fails and dmesg reports a version magic 5.0.21. How do I get that to match 5.0.0-38-generic instead?
[02:55] <TravisBarker> hi all
[04:35] <insanidade> hi all. how to list all services I have configured - no matter their statuses ?
[04:36] <insanidade> I know how to check the status of a single service, but I'd like to list all of them.
[04:37] <Bashing-om> insanidade: To see the list of available services, run ' sudo systemctl list-unit-files ' .
[04:38] <lotuspsychje> !info stacer | insanidade see also
[04:38] <lotuspsychje> hmm
[04:39] <insanidade> thanks, Bashing-om . I just tried systemctl --type=service and it looks pretty similar to what I want
[04:39] <lotuspsychje> nvm, seems like stacer will be on 20.04 and higher
[04:43] <Bashing-om> insanidade: :D
[04:54] <nt0> hello all. i've got a dell 9560 that i'm going to install some flavor of *nix on soon, and am leaning towards ubuntu as you guys seem to have the best (semi-modern) laptop support.  have read a few writeups on the web but many are old and haven't been updated.
[04:55] <nt0> if anybody here has experience with ubuntu on a 9560 and has advice/warnings/positive-surprises i'm all ears.
[04:55] <lotuspsychje> !hardware | nt0 start here
[04:56] <lotuspsychje> nt0: a good approach before buying is trying a liveusb on hardware, for experiences, maybe try #ubuntu-discuss
[05:02] <nt0> lotuspsychje: thanks!  #ubuntu-discuss sounds perfect.  i've read up on the compatibility w/ laptop for a couple of years, and at this point i'm just looking for realtime testimony if it's available
[05:07] <strive> !bugs
[06:19] <evilscrew> hey
[06:34] <nt0> evilscrew: hello
[06:34] <evilscrew> hey. need some assistance
[06:40] <nt0> what it is?
[07:01] <nt0> evilscrew: not sure if you're still here but i'll try to help
[07:02] <evilscrew> thank you
[07:02] <evilscrew> how do i change from graphics card sound to on board sound
[07:02] <nt0> hmm
[07:03] <nt0> i'm an ubuntu fan though i don't use it on my home rig.  i'll do my best to help in the hope that somebody corrects my advice
[07:03] <nt0> what shell are you using?  that is--gnome/kde/xfce/so on
[07:04] <nt0> *graphical shell
[07:05] <nt0> (ubuntu/kubuntu/xubuntu/etc)
[07:07] <nt0> evilscrew: i'm using the KDE environment and whatever audio daemon/status functions it has cooked up allows me to adjust levels of all sorts of sounds, from onboard to external usb to what have you
[07:08] <nt0> s/functions/functionality
[07:18] <vlt> CarlFK: Hello :-)  My problem with the silent audio track in olive-editor's rendered export could be fixed simply by `apt install pulseaudio`. Solved.
[07:19] <CarlFK> vlt: huh.  'good.
[07:20] <CarlFK> I thought pulseaudio was about providing interface to hardware (mics and speakers) not converting this data to that data.
[07:27] <vlt> CarlFK: That's what confuses me, too. I have no idea why olive needs an audio output interface to render and export sequences.
[07:30] <vlt> CarlFK: Speaking of sequences. I had a look at Shotcut. Is there a way to combine the contents of a timeline into one sequence object that I can use like a clip in another one?
[07:30] <vlt> (another timeline, that is)
[08:09] <kevr> so i have iproute2 installed, version 4.18.0-1ubuntu2.1, but it doesn't have the color option available that was introduced in this commit https://github.com/hustcat/iproute2/commit/d7bd2db52c1fcfe5159dda101f786020e8304820
[08:09] <kevr> as far as i can tell, everything above 4.13.0 has this commit in it, and i'm on 4.18.0
[08:10] <kevr> does ubuntu strip commits out of iproute2 when building?
[08:12] <kevr> oh i see
[08:15] <kevr> it's not actually a problem with iproute2, someone suggested i use `-c=auto` which doesn't work in my shell. perhaps thats a bash thing or something
[08:15] <kevr> `-c|--color` works fine alone
[09:25] <sassyn> hi all
[09:25] <sassyn> good morning.
[09:25] <sassyn> what is the use of ubuntu-18.04-server-amd64.template?
[09:25] <sassyn> .template?
[09:25] <sassyn> there is ISO, torrent and metalink but ubuntu-18.04-server-amd64.template? what is the use of this file? Googling it gives nothing
[09:36] <rory> sassyn: It's used for building custom ISO images, for example to standardise across an organisation
[09:36] <rory> sassyn: look into the "mkimage" command http://manpages.ubuntu.com/manpages/xenial/man1/jigit-mkimage.1.html
[09:46] <metnel> Hi, I have a mount point which with ls lists two files, however when I try to remove them with rm -i it says the files do not exists once I confirm deletion
[11:10] <sentiment> hi. I need help with running a Windows application using wine. what's the channel?
[11:15] <EriC^^> !wine | sentiment
[11:19] <evilscrew> achron banned me in linux mint
[11:22] <jeremy31> evilscrew: nobody here cares
[11:23] <evilscrew> start carin. cause were sick of gettin banned
[11:23] <evilscrew> and were gonna band together and revolt
[11:24] <jeremy31> evilscrew: ircs://irc.spotchat.org/#linuxmint-help
[11:25] <evilscrew> it wasnt spot chat
[11:26] <evilscrew> it was here on freenode
[11:26] <jeremy31> evilscrew: if you want help with Mint, use the official channel
[11:26] <evilscrew> okay
[12:18] <hemangpatel> Hello there. When I share my screen on Hangout or access my PC through Teamviewer, I see black screen. How can I fix ?
[12:31] <code1o6>  Hi everyone, I followed this tutorial https://help.ubuntu.com/community/LiveCDCustomization . Unfortunately, my resulting iso doesn't have a partition table. I'm able to boot my image from KVM but not from a usb
[12:31] <code1o6> the only step I didn't follow was cdrecord as I used dd instead.
[12:49] <BluesKaj> Howdy folks
[13:18] <takov751> Greetings I just have one specific edge case . I have installed discord trought snap and wanted multiple accounts. so i used snap parlell installs.I sucessfully created my second instance,however when i tryed to run the original discord snap its just does not start. ```/snap/discord/108/usr/share/discord/Discord: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory```
[13:18] <takov751> I have check the snap connections everything in the right places.
[13:18] <takov751> what did i missed
[13:20] <pragmaticenigma> takov751: Is it possible that, that particular snap doesn't work with that sort of setup?
[13:23] <takov751> @pragmaticenigma fair enough
[13:24] <takov751> WOW its works
[13:25] <pragmaticenigma> takov751: I'm guessing with it being a server, it's trying to use the same resources. It might be possible to configure each instance to use it's own stuff, but I'm not familiar enough with snaps
[13:25] <takov751> i just had to reinstall the original snap
[13:25] <pragmaticenigma> strange
[13:25] <takov751> I have successfully run both instance at once
[13:25] <takov751> both works
[13:25] <takov751> perfectly as it should be
[13:25] <takov751> :D
[13:26] <pragmaticenigma> cool
[13:41] <khanm78_> hey all, im a new to linux, tried to change to ubuntu but was having issues with 90% cpu usage on all cores (gnome shell acording to task view) so currently using kubuntu, kubuntu is running ok with no major issues im aware of but I realy wanted ubuntu.
[13:41] <khanm78_> dear god that nickserv hates me
[13:45] <khanm78_> also, the ubuntu was fresh clean install using all m.2 drive with no grub
[13:46] <leftyfb> khanm78_: they are both ubuntu. kubuntu just uses a different DE called KDE. The default DE is called Gnome/Gnome Shell
[13:46] <leftyfb> khanm78_: how did you install and running ubuntu with no grub?
[13:47] <khanm78_> maybe my lack of knowlage, im using "grub" as in not duel booting win / linux
[13:47] <khanm78_> just all linux on sdd
[13:48] <leftyfb> ok, then you are definitely using grub. That is the default boot loader for Ubuntu
[13:48] <khanm78_> ahh, kk knowlage updated
[13:50] <khanm78_> so im not duel booting is what i mean, full clean linux install. is there a fix for the high cpu usage on ubuntu atm or is it still in the fixing stage?
[13:52] <leftyfb> khanm78_: maybe look into better video drivers? Open up the Software and Updates util and go to the Addtional Drivers tab
[13:53] <khanm78_> so if im understanding the high cpu load on shell is due to video driver issues?
[13:55] <leftyfb> it's a theory
[13:55] <khanm78_> its a start :)
[13:58] <khanm78_> im a bit of an obsesive person, i know i can keep using kde kubuntu but i really really want ubuntu, any ideas would be great to get my machine to work on ubuntu, it has ok specs 7800cpu 16gb ram 1060 nvidia card, i dont realy play games and i want to use linux. :)
[13:59] <leftyfb> khanm78_: did you check the drivers tb?
[14:00] <leftyfb> tab*
[14:00] <khanm78_> if i can get it to work i can get my next 16gb of ram and knock of a bucket list goal
[14:01] <khanm78_> ahh sorry, no can do atm, im still on kubuntu typing here cause if this was ubuntu I couldnt even have opened xchat, i need to install ubuntu again. just trying to get info before the battle so to speak :D
[14:02] <leftyfb> technically you can do all this with the same install, but I'd recommend going from a clean vanilla install anyway
[14:03] <two4tea> Hi All
[14:04] <khanm78_> nice to know but my linux experiance is noob tbh, and i too think a clean fresh install is the best that way only one thing at a time to worry about.
[14:04] <khanm78_> Hi
[14:05] <pragmaticenigma> khanm78_: You can still check if there are graphics drivers available even in Kubuntu, and the interface will be the same if and when you move from a Kubuntu to an Ubuntu install.
[14:07] <khanm78_> on kubuntu i have nvidia drivers
[14:07] <pragmaticenigma> khanm78_: In the applications menu, just start typing "Software & Updates" or find it in the Applications => Settings => Software & Updates
[14:07] <pragmaticenigma> khanm78_: Then go to the "Additional Drivers" tab
[14:07] <pragmaticenigma> khanm78_: Did you use the ones Ubuntu provides? or did you install drivers from somewhere else?
[14:08] <khanm78_> sorry a little slow, looking for what you asked just slower
[14:09] <khanm78_> drivers were auto installed with instal
[14:11] <khanm78_> ok sorry for slow response, im currently using nvidia-driver-435 (recomended) on kubuntu
[14:12] <pragmaticenigma> Do you know if that driver was also installed when you did Ubuntu?
[14:12] <khanm78_> i also have available, nvidia 390, 430, and x.org x server
[14:13] <khanm78_> in all honesty ubuntu was so slow and laggy I couldnt even contrll mouse movement or type, one key stroke on ubuntu produced multiple letters
[14:13] <khanm78_> e was like eeeee
[14:14] <khanm78_> but we will see , i would liketo solve this, just gona be a while lol
[14:15] <pragmaticenigma> I think you're on the right driver khanm78_ ... I guess the question is what was potentially in use when you were in Ubuntu. Something you might be able to do (and can try now) is switch to TTY mode by pressing "Ctrl + Alt + F2" ... that will put you in a full screen terminal window. From there you can login like you would for the Graphical login. Then you can type the command "top" which will bring up a task/process manager. In
[14:15] <pragmaticenigma> there you might be able to see what program on your machine is using up all the resources.
[14:17] <khanm78_> when i was on ubuntu it was a clean fresh install of the 18 lts, i had nothing installed, it all ran smooth on the usb stick and no issues, as soon as it was done installing and rebooted the go slow started even before i logged in. took me 5 min to log
[14:18] <pragmaticenigma> khanm78_: A suggestion might be, don't check the box for "Install updates and additional software" during the install. That might have pulled down a buggy update
[14:18] <khanm78_> when i finaly saw the resource view i saw shell was the culprit and using all my cpu, 90% on all cores used, i freeked out restarted and dissabled hyperthredding but nothing changed
[14:19] <khanm78_> kk, will also keep that suggestion.
[14:19] <khanm78_> no updates :) see im learning
[14:20] <qfive> khanm78_: do you have an nvidia card in your pc?
[14:20] <khanm78_> yes a gtx 1060 3gb
[14:20] <togo> I have some sd cards I can't access or format anymore is there a special tool?
[14:21] <khanm78_> works well on kubutu, so drivers work good.
[14:21] <qfive> khanm78_: try running 'ubuntu-drivers autoinstall' (without the quotes) in a terminal. this will install the correct drivers which might help solve the issue
[14:23] <khanm78_> kk will do, but so were all in line, im currently on kubuntu due to the above ubuntu issues, just re downloading ubuntu to burn to usb and attempt a reinstall. will transfer xchat to laptop
[14:23] <khanm78_> dont want all you good people thinking im waisting your time. :p
[14:24] <pragmaticenigma> khanm78_: Please make sure you're using hexchat... xchat is no longer being maintained
[14:24] <khanm78_> kk, is hex chat available on windows?
[14:24] <pragmaticenigma> khanm78_: Yes, it available for both
[14:24] <BluesKaj> togo, if the sd cards were written to a lot then they might be "cooked", that's my experience with them
[14:25] <pragmaticenigma> khanm78_: To get it for windows go here: https://hexchat.github.io/
[14:25] <khanm78_> cool
[14:25] <pragmaticenigma> khanm78_: Just make sure to grab the Windows 7 version... the "Window 10 App" they are trying to charge money for
[14:26] <pragmaticenigma> The Windows 7 version will work just fine in Windows 10
[14:26] <togo> BluesKaj, you mean if the develop bad sectors? Or something fails in the circuitry that provides access?
[14:27] <khanm78_> np, cf trying to charge for a free program, it things like this is  why im changing to linux.
[14:27] <BluesKaj> togo, not sure, IME they just become inaccessible
[14:30] <BluesKaj> togo, don't think the circuitry on the device fails, just the card's storage area gets worn out from too many writes
[14:30] <chull> pragmaticenigma, there is a 'trial version' of HexChat on 10 that works fine too, and doesn't expire.
[14:31] <pragmaticenigma> chull: Thank you for the update
[14:31] <chull> :)
[14:32] <khanm78_> brb in a few  changing computers
[14:33] <togo> BluesKaj, Yes but don't they have some scheme to mark bad sectors because there is a chance that some fail and you can still work with the volume?
[14:34] <BluesKaj> togo, I haven't explored that possibility
[14:35] <pragmaticenigma> togo: I think some controllers have a threshold of how many bad blocks they'll tolerate before they just stop allowing any activity
[14:35] <BluesKaj> i was using them in my rpi3 and because they're cheap I just replaced them
[14:36] <pragmaticenigma> Most will allow infinite reads though, even if a memory cells can no longer write
[14:37] <tfm> I'm having trouble with preseeding, specifically partitioning with LVM. No matter what I do (custom recipe or the atomic recipe), the installer fails at the partitioning step with "No root file system". It works fine if I don't use LVM, but I would like to use LVM for snapshots. I'm at the end of my tether with this tbh, it should work but it doesn't. My preseed file is here: https://0x0.st/ibNA.cfg
[14:37] <togo> pragmaticenigma, I just made some progress with gparted and found that it sees one microsd that I thought was completely dead...
[14:37] <tfm> It seems to not even bother trying to partition when I set partman-auto/method to lvm.
[14:41] <togo> pragmaticenigma, however it asked for a gpart program when I wanted to recover data, and that program is not readily available in the software tool
[15:12] <khanm1978> yay kinda made it back
[15:13] <khanm1978> hey ppl, ook im the nub with ubuntu install issues, sorry for delay in returning
[15:14] <lotuspsychje> khanm1978: could you feedback what issue you solved?
[15:16] <khanm1978> jsut about to retry, so i had prev installed ubuntu 18 lts but got cpu overload, 90% on all cores, had to swap to kubuntu but got some advice here and about to try ubuntu install again. change gfx drivers to nvidia so far als have to install without updates to see if its a bad update file. ur now on my laptop so i can use pc to install.
[15:16] <khanm1978> going to install using live usb, clean install using full hdd.
[15:17] <lotuspsychje> ok good luck to you khanm1978
[15:17] <khanm1978> fingers crossed :)
[15:19] <khanm1978> can ubuntu use / find a unallocated drive? or do i need to format it?
[15:21] <sixwheeledbeast> the installer on the usb will find all the d
[15:21] <sixwheeledbeast> rives in the machine
[15:22] <khanm1978> :)
[15:25] <khanm1978> ok now the hard part.
[15:26] <khanm1978> before i reboot cn i alter the dispplay setting and drivers to use after reboot?
[15:26] <khanm1978> my level is neewbie
[15:27] <lotuspsychje> khanm1978: ubuntu will automaticly try to load drivers/modules at your boot
[15:28] <lotuspsychje> khanm1978: some cases, its possible a driver is not loaded by an error, but try first :p
[15:28] <khanm1978> im just worried abou gnome-shell using 90%+ ofcpu like last time, reboot under way
[15:30] <sixwheeledbeast> what version and what laptop
[15:31] <khanm1978> ok its stable :) but need to update lol
[15:32] <khanm1978> do i want live patch?
[15:44] <khanm1978> dont want to jinx it but all looks good
[16:29] <anden> so, say i wanted to temporarily mount a USB thumbdrive as read only, because i wanted to be extra careful with its content, which process do i kill to prevent it from automounting as RW in the GUI as usual, so i can manually issue the mount command? something related to gvfs/fuse maybe?
[16:32] <dragonriver> If your device automounts, you can use "sudo umount /dev/sdX to unmount it. I don't think the drive is mounted automatically though, usually it is mounted when you click on it.
[16:32] <anden> in my distro (lubuntu) it automounts when i plug it in, i don't need to click on it
[16:32] <anden> and i would like to prevent that
[16:35] <anden> i know i can manually unmount it, but like i said, if you want to be extra careful, it's better if it doesn't mount at all as rw at first, in case some program is running and automatically starts doing something to the drive
[16:35] <ioria> anden, you can temporary disableautomount
[16:35] <anden> great, that's what i was looking to do, how do i do that?
[16:36] <anden> i saw some gconf command for it or whatever, but i guess that's a bit distro-specific?
[16:36] <ioria> anden, gsettings set org.gnome.desktop.media-handling automount false
[16:36] <anden> maybe that would work under lubuntu too, i guess i could try
[16:36] <ioria> it should
[16:37] <anden> hm nope, it's still mounting
[16:38] <ioria> anden, gsettings get org.gnome.desktop.media-handling automount
[16:38] <anden> it returns "false"
[16:38] <anden> i'm not running gnome, though
[16:38] <ioria> yes
[16:38] <ioria> sorry
[16:39] <ioria> anden,  gsettings list-recursively | grep automount
[16:39] <anden> i get one like the previous command, but it's instead "automount-open true
[16:40] <dragonriver> If you aren't running gnome, what are you running?
[16:40] <ioria> anden,  maybe via pcmanfm :
[16:40] <ioria>     pcmanfm > edit > preferences > volume management
[16:40] <anden> LXDE, that's the default of Lubuntu
[16:40] <anden> ah.
[16:41] <anden> yeah, those settings appear to do the trick, thanks
[16:41] <ioria> ok
[17:02] <giaco> talking about disk encryption, luks in particular, would you encrypt the whole disk or would you encrypt the root/user partition(s) only?
[17:03] <giaco> I've never used luks before and I'm now learning how to use it from command line, but not sure which are the best patterns
[17:05] <tomreyn> giaco: it depends on your needs really. you could also do both.
[17:07] <giaco> tomreyn: the only point that keeps me from encrypting the whole disk is that a pluggen in disk would present as without partition table, that would drive to easy re-format
[17:07] <pragmaticenigma> giaco: With learning how to do it, i'd recommend a partition rather than full system. If something goes wrong, you have a better chance of unlocking the volume with a working computer, instead of trying to do it through a chroot live instance
[17:09] <giaco> pragmaticenigma: I would agree this for /home, but sometime encrypting database and service folders should be important too
[17:10] <dragonriver> I've only ever used luks on whole devices. I would look at your sector size of your device. If 4k physical, use luks2 format and set sector size to 4k. That will help a lot.
[17:10] <pragmaticenigma> giaco: Perhaps this is a topic better suited for #ubuntu-discuss ... If you aren't currently experiencing an issue, we bet carry on in the #ubuntu-discuss channel please
[17:12] <giaco> pragmaticenigma: sure, thanks
[17:12] <giaco> dragonriver: before moving to other channel, could you tell/link me why this would help?
[17:20] <khanm1978> bck later thanks for the help :)
[17:29] <yates> where are the loadable kernel modules typically kept?
[17:29] <yates> Linux Lubuntu-25316 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[17:30] <tzvika> us.archive.ubuntu.com translates into 4 possible IPs:
[17:30] <tzvika> us.archive.ubuntu.com.	27	IN	A	91.189.91.26
[17:30] <tzvika> us.archive.ubuntu.com.	27	IN	A	91.189.91.14
[17:30] <tzvika> us.archive.ubuntu.com.	27	IN	A	91.189.91.23
[17:30] <tzvika> us.archive.ubuntu.com.	27	IN	A	91.189.91.24
[17:31] <tzvika> how come I get really slow speeds from .26 but fast from .24? any idea?
[17:31] <pragmaticenigma> tzvika: Are you experiencing an actual issue with Ubuntu? If not, please ask in #ubuntu-offtopic
[17:32] <tzvika> isnt it? this is a ubuntu service. isnt it?
[17:33] <yates> i guess it's /lib/modules/...
[17:42] <acresearch> people i am trying to convert a PDF to a JPG using this command: convert -density 300 rama.pdf 7.jpg   i get this error: https://hastebin.com/uxagaceloh.rb    can someone help me figure this out?
[17:42] <acresearch> my pdf was generated from gnuplot
[17:46] <konrados> Hello. Hmm, I tried on #linux, but it seems that today the channel isn't very active, so I'll try here:)
[17:46] <konrados> If I'll do e.g. `sudo dkms install rtl8192eu/1.0` (this is about installing a driver for my TP-Link TL-WN823N wifi adapter) - and I'll have troubles, how will I be able to to get back to current setup (which kinda works, but slowly)?
[17:48] <ioria> acresearch, i'd check /etc/ImageMagick-  ... /policy.xml maybe a permission issue
[17:50] <acresearch> ioria: i have <policy domain="coder" rights="read|write" pattern="PDF" />
[17:50] <ioria> acresearch, should be ok
[17:50] <acresearch> and <policy domain="coder" rights="read|write" pattern="LABEL" />
[17:51] <acresearch> but it is not working
[17:51] <acresearch> i don't understand why,   other PDFs work just fine,   why this particular one
[17:55] <dragonriver> konrados, depends what trouble you expect. I would think doing dkms remove would bring you back to where you were.
[17:56] <leftyfb> konrados: what version of ubuntu are you running?
[17:56] <konrados> dragonriver, ok, thanks, I hope it will work like that :)
[17:56] <V7> Hey  all o/
[17:57] <konrados> leftyfb, 18.04
[17:57] <V7> How is it possible to restore grub issue if it says "no such device blubluh"
[17:58] <V7> I've booted up into correct linux using grub-rescue
[17:58] <V7> After that I've tried updating grub, but it says "grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map."
[17:59] <NelsonMinar> A week or two ago I came here looking for help on how to upgrade an old unsupported Ubuntu 18.10 system. I finally figured out a hacky solution and wrote it up, and enough people have come to my blog to say it was helpful I thought I should come back and share it here too.
[17:59] <dragonriver> V7 So what's your device map? Print out lsblk.
[17:59] <NelsonMinar> Upgrading from 18.10 basically involves hacking a couple of the data files do-release-upgrade uses. Details are here: https://nelsonslog.wordpress.com/2020/02/21/upgrading-from-an-unsupported-ubuntu/#comment-1278
[17:59] <V7> dragonriver: https://termbin.com/sfbh
[18:01] <dragonriver> V7, what command are you using to reinstall grub? Is your primary disk sda?
[18:01] <V7> Yes, currently sda is a main one
[18:02] <V7> Also, tried "sudo grub-install /dev/sda; sudo upgrade-grub"
[18:02] <V7> grub-install says no issues
[18:02] <V7> update-grub says above error
[18:04] <V7> after rebooting the same error appears: no such device and some random UUID
[18:05] <dragonriver> try grub-install again but with the --recheck option.
[18:05] <ice99> how to generate timestamp like this "20200101175842"?
[18:07] <pragmaticenigma> ice99: In the future, please ask programming and bash questions in #bash. The answer to your question is: "date +%Y%m%d%H%M%S"
[18:10] <V7> ice99: https://cutt.ly/4r4PVdO
[18:11] <V7> dragonriver: Installation finished. No error reported.
[18:12] <dragonriver> V7 did you mess with your grub config files? I'm a bit at a loss how to fix your issue. Maybe your device letters have changed. You might check your fstab and cryptab and make sure everything is mapped how you want, using uuids instead of devices if you sometimes add or remove sata disks.
[18:13] <V7> wat
[18:13] <V7> I've jsut added a new drive
[18:14] <V7> How to reset grub then?
[18:19] <dragonriver> V7, I think your problem is that the letters changed when you added a new drive. Check your /etc/fstab and /etc/crypttab files and fix accordingly. In the future, you'll want to use uuids to prevent this problem, which can happen when you add or remove a drive.
[18:19] <V7> dragonriver: /etc/fstab contains only UUID
[18:19] <V7> UUIDS and no letters
[18:20] <dragonriver> Then recheck the UUIDS of your drives, and make sure they are identical. I have a feeling that's where your problem is coming from.
[18:22] <V7> dragonriver: They are
[18:26] <acresearch> ioria: i am not sure why 2 PDFs are different,,, one converts and the other one doesn't
[18:26] <ioria> mmmm
[18:30] <dragonriver> V7, I don't know. You can try "grub-mkconfig -o /boot/grub/grub.cfg", but if you haven't messed with the config files in the past, you shouldn't have that problem.
[18:31] <pragmaticenigma> acresearch: Did GnuPlot add a password or something to the document?
[18:32] <acresearch> pragmaticenigma:
[18:32] <acresearch> pragmaticenigma: no
[18:32] <acresearch> i think it is exporting as EPS and not PDF,    i changed the permissions: <policy domain="coder" rights="read|write" pattern="EPS" />   but it is still not working
[18:32] <acresearch> pragmaticenigma: what else should i change?
[18:33] <pragmaticenigma> acresearch: is Ghostscript installed on your system?
[18:34] <acresearch> pragmaticenigma:  i don't know what that is
[18:34] <acresearch> what is it?
[18:34] <acresearch> pragmaticenigma: i found this:   <!-- disable ghostscript format types -->
[18:34] <pragmaticenigma> ghostscript is an application and set of libraries most other applications use to create PDFs
[18:35] <acresearch> pragmaticenigma: aha,   how do i install it?
[18:36] <pragmaticenigma> I think it is as simple as "sudo apt install ghostscript"
[18:36] <acresearch> pragmaticenigma: already installed
[18:37] <ioria> acresearch, you created the .pdf from gnuplot 'Export as pdf', right ?
[18:38] <acresearch> ioria: yes,  but i think it is EPS instead,   so i am re-exporting it as EPS
[18:38] <ioria> ok
[18:39] <dragonriver> acresearch, remove the disable part for ghostscript. Ghostscript is disabled for security reasons. If you're generating a gnuplot, I think it goes into PS then PDF. Might be related. PS is disabled by default because it is a scripting language.
[18:40] <acresearch> dragonriver: i removed that line: <!-- disable ghostscript format types -->    but same problem   same error
[18:40] <acresearch> dragonriver: i have this line: <policy domain="coder" rights="read|write" pattern="EPS" />
[18:41] <dragonriver> acresearch, read this: https://cromwell-intl.com/open-source/pdf-not-authorized.html
[18:42] <hailhydra> I can't open additional drivers GUI. Can someone help me?
[18:42] <acresearch> got it.... i just enabled everything and it worked
[18:44] <dragonriver> hailhydra, in "software and updates", you have no additional driver tab?
[18:45] <ioria> acresearch, you can also save the plot as png and then convert to jpg ...
[18:47] <oerheks> drivers menu takes a minut or so, to load
[18:48] <V7> dragonriver: It was an order of BIOS hard drives xD
[18:51] <dragonriver> Wow V7. Glad you found a way to fix it.
[18:54] <acresearch> ioria: i tried, was bad quality
[18:54] <ioria> ok
[19:18] <yates> is there a command-line utility for pasting? something like fedora's fpaste in which you could do, e.g., "ls | fpaste" and it returns a url of the paste?
[19:18] <lotuspsychje> !pastebinit
[19:21] <yates> thanks lotuspsychje
[19:45] <banisterfiend> does anyone know how to prevent networkmanager applying the DNS server defined in the dhcp packet when connecting to a network? i want everything else; i just dont want it to apply DNS
[19:47] <sarnold> banisterfiend: I'm not 100% sure that networkmanager is the correct thing to start manipulating, but look at the dns entry on https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html
[19:48] <donofrio> banisterfiend, just set it to dhcp for ip adres only then hard set your prefered dns....simple
[19:49] <banisterfiend> donofrio where do i do that?
[19:50] <pragmaticenigma> donofrio: If it is that simple, why don't you please tell us how to do it rather than the summary? You didn't tell us where to make said change or how to apply the change.
[19:52] <banisterfiend> also does anyone know the linux equivalent of `ipconfig getpacket en0` (this returns all the data in the dhcp packet used to setup the en0 interface)
[19:53] <banisterfiend> tells me things like router ip, ip address, dns, etc
[19:53] <leftyfb> banisterfiend: https://i.stack.imgur.com/Cumpo.png
[19:54] <banisterfiend> leftyfb that's cool! do you know how to do it via command line though? (this is a script :P)
[19:55] <ioria> with nmcli probably
[19:55] <leftyfb> banisterfiend: edit /etc/NetworkManager/system-connections/<your profile> and add in the "dns=<ip address> ;" under the [ipv4] section
[19:55] <ioria> or that ^
[19:56] <ioria> there is also /etc/systemd/resolved.conf
[19:56] <banisterfiend> leftyfb hmm interesting, can that be tweaked while the interface is up? or do i have to bring it down first?
[19:56] <leftyfb> ioria: NM would still pull and add in the dns from dhcp
[19:57] <ioria> oh, yeah
[19:57] <leftyfb> banisterfiend: any changes would require restarting the interface. Or just edit /etc/resolv.conf if you want to make dns changes realtime
[19:58] <banisterfiend> leftyfb i guess the dbus interface would also allow changes at runtime?
[19:58] <leftyfb> banisterfiend: I've never messed with that
[20:00] <banisterfiend> leftyfb have you messed with wireguard before?
[20:02] <dragonriver> banisterfiend, with the old net-tools, you could have just changed ipconfig with ifconfig and it would have worked.
[20:03] <banisterfiend> dragonriver interesting, can you elaborate on dat one?
[20:03] <leftyfb> banisterfiend: no
[20:04] <leftyfb> banisterfiend: nmcli device show
[20:04] <banisterfiend> leftyfb  ah ok -- well i can explain what i'm trying to achieve. Basically i have set my own DNS servers to work with wireguard and i have firewall rules to only allow those DNS servers. However whenever i change network, those DNS servers get replaced, and so nothing works (as the firewall rule blocks them)
[20:05] <banisterfiend> so i essnetially want network manager to leave my DNS servers alone
[20:05] <leftyfb> banisterfiend: so set it either by the GUI that I posted above or editing the profile file
[20:05] <leftyfb> easily achieved as posted
[20:06] <banisterfiend> leftyfb that folder of profiles seems to be profiles for different wifi networks, rahter than "interface" profiles
[20:07] <banisterfiend> I need to set the DNS for a specific interface, rather than given networks
[20:07] <leftyfb> banisterfiend: ah, so you want it edited for any profile that gets created
[20:08] <banisterfiend> yeah..or it's not possible to set it for the interface itself? like eth0 ?
[20:10] <leftyfb> I'm not sure
[20:11] <banisterfiend> np
[20:14] <dragonriver> banisterfiend, I don't know what you are trying to do, but the answer seems no "The Linux resolver only has a single, global configuration (/etc/resolv.conf). There is no per-interface, per-domain, or per-connection setting of any sort.".
[20:14] <banisterfiend> dragonriver well systemd-resolve kind of "fakes" per interface DNS doesn't it?
[20:14] <banisterfiend> at least i can set per-interface DNS servers on it
[20:15] <hailhydra> I have no "software and updates" nor do I have "additional drivers" I did install python3.7 recently. Can anyone help?
[20:16] <leftyfb> hailhydra: help with what?
[20:17] <hailhydra> getting these GUI's back
[20:17] <leftyfb> hailhydra: what version of ubuntu?
[20:17] <dragonriver> hailhydra, , what's your output of "software-properties-gtk"
[20:17] <hailhydra> 18.04
[20:18] <hailhydra> dragonriver: https://dpaste.org/wvdk
[20:18] <leftyfb> hailhydra: how did you install python3.7?
[20:19] <hailhydra> yes
[20:19] <hailhydra> through deadsnakes ppa
[20:20] <dragonriver> Yeah, I agree with leftyfb. You probably messed your python. If you're going to install different versions of Python, do it in a virtenv
[20:20] <leftyfb> hailhydra: you're going to need to remove everything that installed from that PPA and potentially reinstall python as needed
[20:21] <leftyfb> hailhydra: sudo apt install ppa-purge
[20:22] <leftyfb> hailhydra: then sudo ppa-purge deadsnakes/ppa
[20:22] <leftyfb> hailhydra: hopefully this "downgrades" your python packages. Take note. This could also make things worse and make your system unusable
[20:24] <hailhydra> yeah I'll run that after work
[20:24] <hailhydra> reinstalling python breaks systems I know that for a fact
[20:25] <hailhydra> Almost lost a bitcoin wallet with 112 bitcoin that way
[20:25] <leftyfb> hailhydra: there's no reason you should lose access to any files on a system where you broke python
[20:26] <hailhydra> unless it's an AWS server that you're remoted into
[20:26] <hailhydra> IF you don't have physical access, you could definitely lose data
[20:26] <leftyfb> hailhydra: also, if you had 112 bitcoin, you probably wouldn't be talking on irc right now
[20:27] <hailhydra> what makes you think I'd quit using linux just because of money? lol
[20:34] <celariuz> Hi everyone
[20:34] <dragonriver> You never play with your system's python. You play with python inside a virtual python environment.
[20:34] <celariuz> Im just trying to get started with proxmox, comming from virtualbox. And i am wondering, how do i share a folder/mounted MergerFS pool with one or more VMs?
[20:35] <styledash> dont even play with venvs anymore... just containerize everything your doing dev work on
[20:36] <oerheks> celariuz, proxmox.. that is debian based, right?
[20:36] <celariuz> oerheks Yes it is :)
[20:37] <oerheks> celariuz, then join #debian or maybe ##proxmox?
[20:38] <celariuz> oerheks ok, i will try my luck at #debian, as everyone seems idling in ##proxmox
[20:46] <ActionParsnip> Channel is mega quiet
[20:47] <leftyfb> ActionParsnip: can we help you with something?
[20:48] <ActionParsnip> All good, just strange to see it so quiet
[20:57] <ducasse> ActionParsnip: as this is a suoport channel, it's supposed to be quiet when nobody needs help
[20:59] <oerheks> Ubuntu just gets better, Andy
[21:00] <oerheks> err ActionParsnip
[21:00] <ActionParsnip> Hehe nw dude :-)
[21:00] <ActionParsnip> ducasse: oh I know. I've been around a long long time
[21:04] <ducasse> ActionParsnip: i know, i recognize your nick, but it might be worth pointing out for the benefits of newcomers :)
[21:04] <ActionParsnip> ducasse: makes sense
[21:35] <azx> how can i check if something is installed with apt-get ?
[21:35] <azx> and how can i check if i don't know the name of the app
[21:35] <azx> or it's slightly off
[21:35] <leftyfb> azx: apt-cache search
[21:35] <azx> i thought apt-cache search found packages that were in the repositories
[21:36] <leftyfb> azx: apt list --installed  # will show all instalked packages
[21:36] <leftyfb> azx: or dpkg -l
[21:36] <azx> ok thanks!
[21:36] <azx> :D
[21:36] <oerheks> apt-mark showmanual
[21:37] <azx> if i wanted to page the output into less, could i do that? less | apt list --installed doesn'
[21:37] <azx> t seem to be working
[21:37] <azx> I'll just scroll through it
[21:38] <Habbie> azx, apt list --installed | less
[21:38] <Habbie> azx, data flows from left to right, with only a few exceptions
[22:04] <bn_work> hi, Ubuntu 16.04 LTS, does Ubuntu normally configure an entry in /etc/hosts that maps its public IP to it's FQDN?
[22:06] <oerheks> bn_work, no, the local network ip
[22:06] <oerheks> say 192.168.x.y
[22:06] <bn_work> oerheks:  there isn't one, but it _does_ set something there?
[22:07] <_rubik> Hi folks. Does Canonical expose an API for USN data, or will I have to scrape the RSS feed myself? (I think getting the sense that they dont)
[22:07] <bn_work> oerheks:  (at least one that is exposed)
[22:08] <oerheks> bn_work, i have 127.0.0.1	localhost 127.0.1.1	computername , besides some ipv6 stuff
[22:08] <oerheks> http://manpages.ubuntu.com/manpages/bionic/man5/hosts.5.html
[22:09] <oerheks> see the example, you are right, FQDN name is possible, but not automatic added?
[22:10] <mallu0987> Ubuntu 18.04 login.def I have PASS_MAX_DAYS   90. Is there anyway to exclude one user from this policy?
[22:12] <bn_work> oerheks:  right, I'm asking if Ubuntu touches this as part of its install normally, ie:  what is default?  it seems like there _is_ an entry for your computername, or did you add it?
[22:13] <bn_work> also, I think that's just the generic hosts man page, I don't see anything ubuntu specific in there?
[22:14] <oerheks> Only the 127.0.0.1 lines are added, with the computername
[22:15] <bn_work> oerheks: since what version?  or what version are you on?
[22:15] <oerheks> not sure when this started, maybe from the beginning?
[22:15] <oerheks> 18.04.4
[22:16] <ducasse> that line has been added for a good while, i'm pretty sure
[22:16] <bn_work> if it has been like this forever, I think Linode's network helper feature may need to be updated to be aware of that it seems :|
[22:17] <bn_work> oerheks: regardless, thanks for checking!
[22:17] <bn_work> ducasse: since 16.04?
[22:18] <ducasse> most likely way longer
[22:27] <ifdef42> wow I just found NetworkManager gone crazy on a 16.04 box. top 'M' showed 23.365g of VIRT, 0.012t RES mem used.
[22:28] <ifdef42> 5GB of Glib-GObject-WARNING...
 Feb 27 07:35:31 jackie-chan NetworkManager[900]: (NetworkManager:900): GLib-GObject-WARNING **: /build/glib2.0-pjKWYQ/glib2.0-2.48.2/./gobject/
[22:28] <ifdef42> messages in syslog over the last 31 hours. ring any bells?
[22:29] <ifdef42> oops pasted exactly the part i meant to leave out: /./gobject/gsignal.c:2635: instance '0xc549d0' has no handler with id '854413133'
[22:37] <pragmaticenigma> ifdef42: Have you tried rebooting the machine?
[22:37] <krademigracke> hello all
[22:39] <ifdef42> Yes, and the problem hasn't continued. Still, seems worrisome.
[22:39] <bn_work> ducasse/oerheks:  will Ubuntu break if that public IP FQDN mapping is removed from /etc/hosts ?  I can understand why it may have been added but it seems different from what a lot of other distros do?
[22:40] <ifdef42> I've never seen a 't' for terabyte before in my top output. :)
[22:40] <pragmaticenigma> ifdef42: Something like that, feels like a service might have crashed or hung, got restarted, and a different process wasn't smart enough to find the new instance
[22:40] <bn_work> _not_ localhost/loopback entries but just that w.x.y.z  host.domain.tld entry
[22:41] <pragmaticenigma> bn_work: As long as the localhost addresses remain, I don't see how removing the unwanted entry could hurt anything. If it was me I would just "cp /etc/hosts /etc/hosts_bak" then remove it
[22:42] <pragmaticenigma> if something breaks you can just restore the copied back up file
[22:42] <ducasse> bn_work: various tools (like sudo) needs to be able to resolve the hostname to work properly
[22:42] <bn_work> ducasse: wouldn't it fallback to DNS and then cache it?
[22:42] <bn_work> ducasse: wait.. sudo needs name resolution? :|
[22:43] <ducasse> !hosts
[22:43] <ducasse> !hostname
[22:43] <ducasse> bn_work: ^^
[22:44] <bn_work> ducasse: hmmm, very odd dependency
[22:44] <pragmaticenigma> _rubik: There is no API provided by Ubuntu. Support article that I found by web search appears to imply that you could use a different provider that does, as USN are also published to other CVE services
[22:45] <ducasse> bn_work: you can set sudo rules per host, so it is needed
[22:46] <bn_work> ducasse: weird... I mean... sudo has seemed to function on 2 of these machines for the last several months... despite them being different?  it wasn't intentional, the boxes were clones of another so it seems that hosts entry was never updated
[22:47] <bn_work> ducasse: ahh, that's true!  does anyone use that? :)
[22:50] <ducasse> bn_work: i guess so, to use the same rules across many hosts
[22:51] <dax> .
[23:46] <bn_work> ducasse: yeah, when I first read about it, I thought it was...interesting, but never had to use it yet :)