[00:03] <fassl> when all attributes, permissions and symbolic links are preserved i guess so
[00:03] <fassl> but how do you want to restore? to a partitioned disk with empty filesystem?
[00:04] <Richard_Cavell> fassl, If I ever restore it'll be to the internal hard disk, after it has been wiped and repartitioned, yes
[00:06] <fassl> ok then just be sure to copy all that meta as well, should work, but don't take my word for it
[00:08] <fassl> maybe you need to patch partition ids if any in fstab or something afterwards
[00:12] <yates> is there an altnerate gui for managing users than users-admin?
[00:22] <damiryden> hello
[00:24] <foobar1> is there a way to track packages installed by apt? lets say I started a project that installs a bunch of packages in my system, how would I get rid of it all?
[00:25] <hggdh> foobar1: you can look at the apt/dpkg logs under /var/log/apt
[00:26] <hggdh> foobar1: but it will be a manual pain...
[00:26] <foobar1> hggdh: ugh thats a lot to parse
[00:26] <OerHeks> var/log/apt/history.log
[00:27] <foobar1> I could go with a virtualization solution
[00:28] <hggdh> foobar1: well, yes, you could fire up a container/VM to do this type of work; then all you would have to do is destroy it
[00:45] <foobar1> hggdh: any recomendations for the most lightwieght container solution
[00:58] <malina> heya.. I upgraded 18.04 to 18.10 *lubuntu) and got lxqt? Anyway, this is about libvirtd, I don't know if it was due to upgrad,e or something else, as it happened some time last week.. but when I try to run a windows kvm machine, I get a RIP kernel error it seems and libvirtd hangs or so. journalctl entry is: http://termbin.com/doai
[00:59] <malina> I can run the exported domxml in another linux host, and runs, although I have some less perfomance issues in a different host, so I would prefer running it on my ubuntu.
[01:00] <malina> actually connecting to the qemu:///system seemed ot hang, although seemed to be from removed storages (when removing pool-list entries) it now connects but ye.. vm won't fire up, (unless I leave on for very long, and during a reboot) it sometimes seems to have started. :/
[01:01] <adikwok> hello, . sir /madam
[01:02] <malina> hello.. not sure if you are replying or just saying hello :)
[01:02] <adikwok> malina: hello madam
[01:02] <malina> hello again
[01:04] <adikwok> i read your post and i can not give you suggestion, since i am noob in ubuntu, malina
[01:04] <malina> ya no worries. I was looking for a reply from someone who could :)
[01:05] <malina> it seems to be a kernel issue; I also had some kernel upgrades at same point so don't know which one could be an issue, but ye.. ah well.
[01:06] <adikwok> kernel .. hrreem, .. im learning what to tweak in kernel to make ubuntu run youtube without lag in firefox fullscreen,
[01:08] <malina> I thought that was an issue one solved 1.5 yrs ago. I am not sure it's a kernel tweak, it had more to do with the graphics acceleration and/or fireflox flags (chromium also had some issues I think).
[01:09] <malina> but ye, it's been a while, I forget what was the solution. :)
[01:09] <malina> I have 2-300 firefox tabs open atm in lubuntu and works fine though
[01:10] <malina> you sure you are not on some old laptop gpu? ,)
[01:10] <adikwok> same as me, i did twak twik twak twik, then ended up in not knowing what i did
[01:11] <malina> well I guess I can purge libvirtd after exporting domxml's and see if that helps. else I suppose I will try again in a few days.
[01:11] <adikwok> i am sure my laptop is new, only around 11 years, with intel celeron 1,73ghz single core, my lp dont have vga card, only intel graphics integrated, yet it can play full screen when i ran in win 7 . malina
[01:12] <adikwok> I have 2-300 firefox tabs open . ~ gonna made my hdd led blinking forever without being able to interrupted. until i press power off button
[01:14] <adikwok> sometimes i felt ubuntu sucks,. but i like it, because it has no annoying virus notifications, and blah' like in windows
[01:15] <adikwok> i just dont know how to make it run as fast as win 7 with 32gb readyboost
[01:17] <adikwok> malina: did you learn improve ubuntu from scratch?
[01:18] <adikwok> malina: i mean improve speed
[02:16] <imthenachoman_> having an odd issue. i have an exfat formatted 5 TB drive. i copied a 401M folder from ubuntu (/home/ubuntu) to the 5 TB drive, but du -sh on the 5 TB drive shows 4.5G. anyone know why that would be?
[02:42] <th34lch3m1st> Hi. I've seen now software updates: https://imgur.com/a/QeTaXfD what's that? software updates now auto remove old kernels?
[02:46] <anvil_> hey, i'm using an nvidia gtx 1060 and all i see on the monitor is garbled blue lines and a mouse cursor
[02:46] <anvil_> i have a monitor hooked to my onboard graphics which displays fine but both are laggy
[02:49] <anvil_> is my graphics card broken?
[02:49] <anvil_> have i done something wrong with nouveau?
[02:52] <anvil_> i'm gonna reseat my gpu for the 17 millionth time
[02:53] <th34lch3m1st> anvil_ Have you set something in BIOS about gtx 1060?
[02:54] <anvil_> no
[02:54] <anvil_> i reset the cmos
[02:54] <Alpha-Omega> Quick question, if I run a bash script within another script where I have it doing "./bash_script.sh &> /dev/null", is there a reason it still outputs to the screen?
[02:54] <th34lch3m1st> anvil_ that's the problem
[02:54] <anvil_> std-rr doesn't get piped
[02:54] <anvil_> stderr*
[02:55] <Alpha-Omega> Doesn't &> redirect both output and error?
[02:55] <anvil_> maybe it's seeing the & as a concurrency thing
[02:56] <Alpha-Omega> Anything else that could be recommended? I tried ./bash_script.sh > /dev/null 2>&1 as well.
[02:56] <Alpha-Omega> Basically the same thing. But no idea how I could just make it wait until it completes, without seeing anything on my screen.
[02:56] <Alpha-Omega> Maybe I'll try nohup? Can't think of anything else.
[02:56] <th34lch3m1st> anvil_ when yiu boot frim gtx you see ubuntu splash screen?
[02:57] <th34lch3m1st> *you boot from
[02:57] <anvil_> th34lch3m1st, i see the splash screen on my integrated gfx but that's because my motherboard uses integrated by default
[02:58] <anvil_> i enter my encrypted drive password on the gtx though
[02:58] <anvil_> i'm not sure why
[02:58] <mouses> VirtualBox users - time to patch and check your config TONIGHT
[02:58] <mouses> https://github.com/MorteNoir1/virtualbox_e1000_0day/blob/master/README.md
[02:59] <th34lch3m1st> anvil_ and your external graphic card doesn't work, right?
[02:59] <anvil_> external graphic card? you mean the gtx?
[02:59] <anvil_> i don't know, maybe it's fried. but i can't use it on the desktop
[03:01] <hggdh> Alpha-Omega: try ./bash_script.sh > dev/null 2>&1
[03:02] <anvil_> okay, rebooting and i see my motherboard splash screen
[03:02] <anvil_> i'm in my bios what do i do
[03:04] <anvil_> th34lch3m1st, ubuntu is starting up
[03:04] <anvil_> password and splash screen are on gtx
[03:05] <th34lch3m1st> anvil_ Sorry I misunderstood. I thought that you had two graphics.
[03:05] <Alpha-Omega> hggdh: Tried that as well, no cigar,
[03:06] <hggdh> Alpha-Omega: &>/dev/null is equivalent to >/dev/null 2>&1. So... you have to look at the script, and see what it is doing
[03:08] <th34lch3m1st> anvil_ How many GPU di yiu have on that pc?
[03:08] <th34lch3m1st> *do you
[03:08] <anvil_> th34lch3m1st, the onboard one and the GTX
[03:08] <anvil_> https://i.imgur.com/c2VpYp1.jpg
[03:08] <anvil_> this is what i see on my GTX
[03:09] <anvil_> sorry for bad image quality, i only have an old thinkpad webcam :/
[03:09] <th34lch3m1st> anvil_ your GTX is on PCIe bus?
[03:09] <anvil_> yes
[03:10] <Alpha-Omega> hggdh: Yes, very weird. Surprised it gets around my redirection.
[03:11] <th34lch3m1st> anvil_ then you have to tell your BIOS to first initialize PCIe graphics instead of the on-board GPU.
[03:11] <anvil_> okay, i'll do that
[03:12] <anvil_> i don't see how one leads to the other though
[03:12] <th34lch3m1st> anvil_ check motherboard manual
[03:13] <anvil_> i know how to configure it, i'm just saying
[03:13] <Alpha-Omega> I even tried nohup, and it ignore dit.
[03:14] <anvil_> it doesn't make sense why that would be a solution to the problem
[03:14] <anvil_> i'm enabling offboard gfx priority in the bios
[03:15] <th34lch3m1st> anvil_ good
[03:15] <anvil_> my computer just turned off
[03:16] <anvil_> in the middle of booting
[03:16] <anvil_> oof
[03:16] <th34lch3m1st> anvil_ that's right
[03:16] <anvil_> "iKVM doesn't support add-on VGA device"
[03:17] <th34lch3m1st> anvil_ hardware problem?
[03:17] <anvil_> it's still booting, it just says that. i think it's what i get for using a cheap taobao server motherboard
[03:18] <th34lch3m1st> anvil_ is nos boiting on PCIe GTX 1060?
[03:18] <th34lch3m1st> *now booting
[03:18] <anvil_> the splash screen still shows on the onboard graphics
[03:19] <anvil_> motherboard splash, not ubuntu splash
[03:19] <anvil_> ubuntu splash is on the gtx
[03:19] <anvil_> oh my god, it's working
[03:19] <anvil_> thanks
[03:19] <anvil_> that was weird, i thought my card was broken
[03:20] <th34lch3m1st> anvil_ I told you dude, hardware problem
[03:23] <th34lch3m1st> anvil_ That's what happend when you build your own pc and you don't know what you are doing...
[03:31] <adikwok> th34lch3m1st: That's what happend when you build your own pc and you don't know what you are doing... ~ it's me.
[03:32] <adikwok> but i didnt build pc, only installing ubuntu changing from windows os
[03:37] <th34lch3m1st> adikwok you are anvil_ ?
[03:38] <th34lch3m1st> adikwok are you the former anvil_ ?
[03:40] <geri> hi
[03:40] <geri> i building a docker image
[03:40] <geri> and see some issues like:
[03:40] <geri> https://ideone.com/WAbFfh
[03:41] <geri> how can i fix that error?
[03:41] <th34lch3m1st> adikwok if you have just changed OS than who changed your BIOS settings? Me?
[03:42] <adikwok> th34lch3m1st: ;)
[03:42] <geri> i see: WARNING: The following packages cannot be authenticated!   libgnutls-openssl27 ssmtp
[03:42] <geri> what to do?
[03:42] <adikwok> th34lch3m1st: i am not former anvil_ . i am adi kwok, sir
[03:42] <geri> sudo apt-key update ?
[03:44] <th34lch3m1st> adikwok so why you quote and replay to my conversation with anvil_?
[03:45] <th34lch3m1st> *reply
[03:45] <adikwok> th34lch3m1st: just to describe what im facing now,
[03:45] <th34lch3m1st> adikwok recap please
[03:45] <adikwok> th34lch3m1st: i installed ubuntu, but dont know yet how to make it as fast as win 7
[03:47] <adikwok> th34lch3m1st: i used to use dual boot win 7 ubuntu, then now its only ubuntu left, yet i am looking for the way to make ubuntu running as fast as win 7 with readyboost 32gb. but hadn't found it.
[03:48] <adikwok> th34lch3m1st: that is my *reply, sir.
[03:50] <th34lch3m1st> adikwok so you want a Windows technology that not exist on linux world to works on ubuntu. Am I right?
[03:56] <th34lch3m1st> adikwok the solution here is buy 10$ RAM. It's not a Ubuntu software problem (that is this channel argument), Sir.
[04:07] <Hanumaan> there is no /etc/X11/xorg.conf in ubuntu 18.04 gnome, and second monitor is not getting recognized ..
[04:07] <Hanumaan> with proper resolution
[04:11] <MannyLNJ> Help. I'm using xbubntu I forgot my password so I followed a guide to change it. I was able to log in but then I had keyring issues. I followed another guide but that made things worse. I enter my password and it brings me back to the same screen on the GUI. I am, able to log in in terminal though. I created another user and that is letting me log in on the GUI and that's hpw I am here
[04:16] <geri> i get the message: Warning: 'apt-key update' is deprecated and should not be used anymore! what is it replace with??
[04:18] <dcypher> doing a reverse ssh and have done it many times but on a few systems the 'remote' is not connecting up correctly.... here is a DEBUG3.... does anyone see any problems?  https://paste.ubuntu.com/p/nMC3kjYxMk/
[04:31] <pi0> what is a epub reader for ubuntu
[04:33] <arthur98765> Can I ask a question about TAILS OS on here? I cannot get help anywhere else.
[04:37] <lone_ranger> does deboostrap base install not have sudo?
[04:38] <arthur98765> Does anyone know where I can find TAILS OS help?
[04:38] <lone_ranger> arthur98765: mailing list probs
[04:40] <arthur98765> Sorry, I don't know what you mean.
[04:40] <krytarik> arthur98765: Or #tails on the OFTC network.
[04:40] <pi0> how is it possible to view add ppa?
[04:40] <pi0> added ppa's
[04:40] <arthur98765> How do I get to the OFTC network? I am currently using Hexchat.
[04:41] <lone_ranger> pi0: system settings -> software and updates
[04:43] <lone_ranger> anyone know the name of the ubutu repositories website?
[04:43] <pi0> ah nice
[04:44] <Kon-> lone_ranger: https://packages.ubuntu.com/
[04:47] <lone_ranger> Kon-: no not that the one that makes a sources list for you
[04:48] <arthur98765> Seems I need to register my name on OFTC just in order to get Tails OS help.
[04:48] <lone_ranger> yeah probs to avoid spammers
[05:25] <JadedJ>  If I have a USB flashdrive that has a bootable copy of Mac OSX Snow Leopard, if I use the 'dd' command in linux and create a copy of the entire device as a .img file, can I restore that .img file to the same flash drive and have it identical to the way it was before?
[05:53] <Miar> Hi, I tried checking the wmi events in my firmware following this - https://wiki.ubuntu.com/Kernel/Reference/WMI but I got an ACPI Error : AE_NOT_FOUND when running the firmware tests. Logs here - https://pastebin.com/aY6ngxzh . Could anyone throw any light on this?
[05:57] <Barabacha> why can't I start vimtutor on ubuntu?
[05:58] <Barabacha> it opens /tmp/tutorCf44a7 when I type "vimtutor" in a terminal
[05:59] <Miar> @Barabacha maybe 'sudo apt purge vimtutor' 'sudo apt install vimtutor'?
[05:59] <guiverc> Barabacha, from the `man` page, "Vimtutor starts the Vim tutor.  It copies the tutor file first, so that it can be modified without changing the original file."
[06:00] <guiverc> the file you're seeing will be that copy, so if you make changes as you learn, you're not changing the original file
[06:00] <Barabacha> the file is empty though
[06:01] <Barabacha> I did "sudo apt install vim" and it works now
[06:01] <Barabacha> but I had vim installed before with the system
[06:09] <lotuspsychje> Miar: cant find much related bugs on it, consider making a new !bug ?
[06:11] <Miar> lotuspsychje: A bug attributed to the linux kernel on launchpad?
[06:12] <lotuspsychje> Miar: yeah try to use ubuntu-bug from terminal
[06:12] <Miar> Ah I'll do that. Thanks!
[06:13] <lotuspsychje> Miar: it will gather all details of your system, and you enter a description of your story
[06:13] <lotuspsychje> Miar: after that, feel free to share the link with us so other volunteers might take a look
[06:14] <Miar> lotuspsychje: Awesome. Thanks.
[06:37] <Miar> I reported the WMI error bug - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802052
[06:37] <lotuspsychje> Miar: thank you for taking your time, to create the bug. this helps yourself & the community
[06:40] <lotuspsychje> Miar: now there are a few tricks to get things in motion: do a few tests yourself and add what do you did to the bug, kernel tests, acpi bootoptions,other ubuntu liveusb, for example and find other users to also affecting this bug
[06:41] <lotuspsychje> Miar: meanwhile devs will notice your bug and feel free to ask once in a while in #ubuntu aswell
[06:41] <lotuspsychje> !bootoptions | Miar
[06:44] <Miar> lotuspsychje: Okay. Thanks!
[06:47] <lotuspsychje> Miar: i see in your bug this bootoption acpi_osi=Windows 2009 did you add that, or was that automaticly booted?
[06:49] <Miar> lotuspsychje: I added that as a fix for the wifi getting hardware blocked on suspend.
[06:50] <lotuspsychje> Miar: ah ok tnx, perhaps you can also run a test without that option, just to see
[06:50] <Miar> lotuspsychje: Aha yes. I'll do that and update the bug report with the results.
[06:50] <lotuspsychje> Miar: tnx
[06:57] <drager> Is it possible to scale one screen of 2 to 200%?
[06:57] <drager> Now if I change the scale both will be scaled to 200%..
[07:01] <pikapika> As in say debian have one, arch have another, etc? Or are they the same thing with small differences like different default value of some settings, etc?
[07:02] <lotuspsychje> pikapika: this is ubuntu support, what are you talking about exactly?
[07:02] <pikapika> Less a question about an immediate help more an eli5 thing
[07:02] <lotuspsychje> drager: if it can help, there's a few scaling options in dconf-editor
[07:02] <pikapika> Feel free to ignore
[07:03] <lotuspsychje> pikapika: non-ubuntu questions fit in other channels
[07:03] <pikapika> okay
[07:03] <drager> lotuspsychje: I see, will install it then
[07:03] <lotuspsychje> pikapika: do you know howto search channels on freenode?
[07:03] <lotuspsychje> drager: dconf-tools and after install there's a search function
[07:04] <SuperLag> Hey folks. What are you using for a backup-to-the-cloud solution?
[07:04] <SuperLag> I'm trying to find something that'll work on Ubuntu to back up to Wasabi.
[07:05] <drager> lotuspsychje: Yes, seeing it :)
[07:05] <lotuspsychje> Miar: if you run a test on your bug, like kernel 4.19 please add this to bottom update text, not in the bugs description. thats easier to follow the bugs status
[07:08] <Miar> lotuspsychje: Oh okay. Sorry I'll do that.
[07:10] <drager> lotuspsychje: Didn't find anything useful when searching for scale
[07:12] <lotuspsychje> drager: com/ubuntu/user-interface/scaling-factor seems usefull, but not sure wich values to enter
[07:14] <drager> Yeah :P
[07:23] <lotuspsychje> !info rclone | SuperLag can this help?
[07:24] <lotuspsychje> drager: you could experiment a bit yourself, adding value like 1.25 or 1.50
[07:30] <SuperLag> lotuspsychje: yep. it certainly does.
[07:30] <drager> lotuspsychje: Yeah, will do that. Thanks
[07:35] <SuperLag> lotuspsychje: I also found Duplicacy
[07:36] <SuperLag> Any good screenshoting tools that'll let you annotate/markup a picture?
[07:36] <SuperLag> I know about Shutter, but it seems to be pretty limited this time around. I can't find an arrow tool or any of the draw-a-text-box stuff there, like I remember from way back
[07:51] <lotuspsychje> Miar: tnx for adding your steps to the bug
[07:57] <Miar> Does anybody know what aspi_osi=! does in the boot menu?
[07:59] <EriC^^> Miar: "disable all built-in OS vendor strings"
[08:01] <lotuspsychje> EriC^^: his original bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802052
[08:01] <EriC^^> Miar: https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
[08:02] <Miar> EriC^^: Thanks!
[08:03] <EriC^^> Miar: no problem
[08:12] <balsaq> #Build Your Computer
[08:12] <lotuspsychje> balsaq: only ubuntu issues here please
[08:13] <kpp> Hi. I installed ubuntu 16.04 on Dell XPS 9570 but the red color seems to be pinky
[08:14] <balsaq> try calibrating your monitor kpp
[08:14] <kpp> How?
[08:15] <balsaq> kpp ask the manufacturer
[08:15] <kpp> The button "Color->Calibrate.." is disabled
[08:30] <ducasse> kpp: have you tried restarting x?
[08:30] <kpp> I tried to reboot.
[08:45] <piraye> hi all!
[08:46] <rpifan> hi
[08:49] <radkos> how can i disable video card driver using grub menu
[08:50] <lotuspsychje> radkos: start from the beginning please, ubuntu version? kernel? graphics card chipset + driver version?
[08:50] <radkos> it's about the dedicated video card - ati
[08:50] <bsz> hi, is there a docker image of full ubuntu install anywhere? or at least something more equipped with basic tools than minimal image
[08:51] <radkos> i'm trying to start live usb - containing both ubuntu 12.04.5 , and ubuntu 18.04.1 as i tried both before figuring out it's GPU's issue
[08:51] <lotuspsychje> radkos: 12.04 is end of life, so thats a no-go
[08:52] <radkos> lotuspsychje,  yes but at first i thought it might be due to excluded kernel module because the laptop is from 2011 i beleive
[08:52] <MKUltraMagnus> bsz there's an official image https://hub.docker.com/_/ubuntu/
[08:53] <MKUltraMagnus> although i don't know why you'd want to use ubuntu via docker in the first place
[08:53] <radkos> when I manage to find out the chipset, what is the cmdline syntax in grub to disable it
[08:53] <lotuspsychje> radkos: can you explain what happens at wich point when trying to boot 18.04?
[08:54] <bsz> @MKUltraMagnus: official image is minimal, isn't it? it lacks very basic things like man pages, sudo, killall, many others that I have to install manually
[08:54] <bsz> and actually I'm using different distribution day-to-day, but I wanted to get ubuntu as it's required as a build environment for a project I'm doing
[08:55] <radkos> when loading the graphic interface it stops before loading the panel
[08:55] <radkos> after that i starts flickering and i see ERROR radeon: ring 3 test failed
[08:55] <radkos> GPU-s leaf (0xCAFEDEAD)
[08:56] <lotuspsychje> radkos: if its an old machine, perhaps consider trying a lubuntu or xubuntu?
[08:56] <EriC^^> radkos: nomodeset
[08:56] <radkos> you think it might be compiz related thing ?
[08:56] <MKUltraMagnus> bsz is it ubuntu that's actually required or just linux itself? docker isn't really for full system images, just the barebones needed for a particular build/serve environment
[08:57] <bsz> MKUltraMagnus: there are some build dependencies that make it way harder on fedora 29 I'm using
[08:57] <bsz> I see your point, though
[08:58] <bsz> I suppose I'll just install manually what's needed, thanks!
[08:58] <MKUltraMagnus> just add the setup + install lines to the dockerfile and let it run wild
[09:02] <radkos> i will try both lubuntu and xubuntu and let you know if it worked
[09:02] <lotuspsychje> radkos: ok good luck!
[09:11] <piraye> hi!
[09:11] <piraye> can anyone help with this error https://paste.ubuntu.com/p/dZrNNFSDT3/
[09:11] <piraye> I try to install inkscape
[09:15] <Kon-> piraye: Remove /var/lib/apt/lists/ and update again
[09:15] <piraye> can you give command to remove it
[09:16] <Kon-> You could just navigate to there in your file browser
[09:17] <Kon-> or if you want a command
[09:17] <Kon-> sudo rm -rf /var/lib/apt/lists/
[09:23] <kpp> Hi. I installed ubuntu 16.04 on Dell XPS 9570 but the red color seems to be pink. I cannot calibrate my display since the button "Color->Calibrate.." is disabled. This https://askubuntu.com/a/664299 does not work since there is no "DFP-0 - (LGD)" tab
[09:26] <piraye> Kon-, thanks :)
[09:26] <Kon-> kpp: The syntax for the monitor naming in Nvidia Settings is <connection type> - <monitor number>
[09:27] <Kon-> If you had only one HDMI monitor, it would be HDMI-0
[09:27] <Kon-> If you had a second monitor on DisplayPort, that would be DP-1
[09:27] <kpp> There is no tab with monitor at all
[09:27] <Kon-> So there's nothing below PowerMizer?
[09:28] <kpp> Nothing. Only "Thermal Settings" And "PowerMizer"
[09:29] <Kon-> What's the GPU?
[09:30] <Kon-> If you have a GTX 1000 series card, it might be better off using 18.04 instead.
[09:31] <kpp> GTX 1050 Ti
[09:57] <fruitycode> Hello, my grep commands don't always show files names, like for a result, some file paths are not shown, some are shown, i tried to add -H, nothing changed.... how to always show files names?
[09:58] <sonne> fruitycode: if you grep after a | there is no way for grep to know the file name. in all other cases -H should work.
[09:58] <fruitycode> sonne: grep -r -n --with-filename --exclude-dir=vendors --exclude-dir=migrations --exclude-dir=yii --exclude-dir=redis "layout.main_header.allCities"
[09:59] <fruitycode> this is the grep command
[09:59] <sonne> fruitycode: seems to be missing an argument, but maybe you're implying a '.'
[09:59] <sonne> however that should definitely be working
[10:00] <frib> I can't figure out why my crontab doesn't work. I tried adding myself to crontab group, addint /etc/cron.allow
[10:00] <frib> I am using crontab -e to edit it, I only have 1 rule
[10:04] <Kyros> frib: use the full path to any commands and files you reference and add soemthing like 2>&1 > /tmp/cron.log to the end of the command
[10:05] <frib> Kyros, can you please explain what 2>&1 means?
[10:05] <Kyros> it redirects stderr to stdout
[10:05] <fruitycode> sonne: defiently not working :(
[10:05] <fruitycode> the first file path is not working
[10:05] <sonne> fruitycode: also, -H should be implied with -r
[10:05] <frib> Kyros, ahh so 2 = stderr, 1 = stdout
[10:05] <Kyros> yup
[10:05] <frib> and & ?
[10:06] <Kyros> im not exactly sure
[10:06] <frib> k
[10:06] <sonne> fruitycode: what do you mean the first file path?
[10:06] <Kyros> it might tell it its not a file
[10:06] <frib> so this will output BOTH stout and stderr to /tmp/cron.log?
[10:06] <fruitycode> sonne: even this basic version is not working : grep -H -r -n "layout.main_header.allCities"
[10:06] <Kyros> frib yeah
[10:06] <kpp> > If you have a GTX 1000 series card, it might be better off using 18.04 instead.
[10:06] <frib> cool thx
[10:06] <kpp> Kon-, you are wrong
[10:06] <kpp> I got the same issue
[10:06] <fruitycode> it shows 3 results, the first result don't have the filename path showing...
[10:07] <sonne> fruitycode: do you think you could share an example of what happens and what should happen instead/
[10:07] <sonne> ?
[10:07] <fruitycode> ok
[10:07] <kpp> I just reinstalled a new 18.04, no Monitor tab
[10:08] <frib> Kyros, nothing comes out :
[10:08] <frib> :\
[10:08] <frib> I don't think the crontab file is even being read ??
[10:09] <Kyros> whats your line look like
[10:09] <SimonNL> http://www.tldp.org/LDP/abs/html/io-redirection.html   <= Kyros frib
[10:09] <frib> 1 * * * * /home/mark/Scripts/bgscript 2>&1 > /tmp/cron.log
[10:09] <frib> should be every minute ?
[10:10] <hateball> frib: nope
[10:10] <sonne> fruitycode: that's every second minute of the hour
[10:10] <sonne> frib*
[10:10] <sonne> every minute is * * * * *
[10:10] <frib> oh right
[10:11] <fruitycode> sonne: https://i.imgur.com/9Qr8Pqf.png
[10:11] <frib> nothing in cron.log
[10:11] <sonne> fruitycode: what if you add a '.' at the end?
[10:11] <frib> even with * * * * *
[10:12]  * fruitycode checks
[10:12] <sonne> frib: if the file exists though it means that the cron line is being run
[10:12] <fruitycode> sonne: same :(
[10:12] <TJ-> frib: looks like a problem with the terminal emulator there; I see you have powerline in use as well. Try redriecting output into a file and then check the file content
[10:12] <TJ-> grrr, sorry frib!
[10:13] <TJ-> fruitycode: looks like a problem with the terminal emulator there; I see you have powerline in use as well. Try redriecting output into a file and then check the file content
[10:13] <fruitycode> TJ-: makes sense, let me check
[10:13] <sonne> well interestingly enough the first line doesn't even seem to match the expression..
[10:14] <TJ-> fruitycode: I actually think that first line isn't in the grep results; I think it's something being added by a glitch in the shell itself :)
[10:14] <TJ-> fruitycode: try "reset" in the shell
[10:14] <fruitycode> no, it matches the search, i can see it in the file
[10:15] <TJ-> fruitycode: really? what does "hash" report as the path for "grep"?
[10:15] <TJ-> fruitycode: I'm wondering if you've a wrapper around the true grep tool
[10:15] <fruitycode> one second, i tried to run the command in the default shell, i switched from zsh to bash, the problem continues
[10:15] <fruitycode> but when i output to a file
[10:15] <fruitycode> i can see the paths normally
[10:16] <TJ-> fruitycode: right, so there is some embedded terminal control codes in the result itself.
[10:16] <fruitycode> i'm on default grep of ubuntu, no wrappers
[10:16] <fruitycode> what are they?
[10:16] <TJ-> fruitycode: capture the output in hex: "grep ... | hexdmup -C | less" and you might see
[10:17] <TJ-> grrr
[10:17] <fruitycode> hex? ah, why.. i will try it
[10:17] <TJ-> fruitycode: typos! "grep ... | hexdump -C | less"
[10:18] <TJ-> fruitycode: in the hext output you should see the first-line file path does come first... but you might find some none-ASCII text codes further into the line that are effectively returning the cursor to start of the line, thus over-writing the file path, when using the terminal and not a file
[10:19] <fruitycode> i can see it when i hex
[10:19] <fruitycode> maybe i know what the problem is
[10:20] <geirha> stray carriage returns?
[10:20] <fruitycode> the matched code of grep is lengthy, and it shows it's tail... which results in the file name not being showed
[10:20] <fruitycode> how to tell each line to show it's beginning rather than a snipped version
[10:21]  * fruitycode searches for verbose
[10:21] <TJ-> fruitycode: grep should display the entire line; I get annoyed with it doing that sometimes when I get a screen scrolled with one small match somewhere
[10:21] <TJ-> fruitycode: you can use "-o" to only show the match itself
[10:22] <geirha> yeah, so the line probably contains CRs (\r). Probably some lines have been merged, with windows line endings, and the \r stayed put
[10:22] <frib> TJ-, powerline??
[10:22] <geirha> try   grep ... | tr -d '\r'
[10:22] <frib> sonne, the file only exists because I Created it
[10:23] <sonne> hm. remove it and try waiting the whole minute again.
[10:23] <frib>  * * * * * /home/mark/Scripts/bgscript > /tmp/cron.log also does not put out anything
[10:24] <sonne> maybe try with a simpler command e.g. /bin/touch /tmp/test123
[10:24] <geirha> frib: redirect stderr as well:  * * * * * /home/mark/Scripts/bgscript > /tmp/cron.log 2>&1
[10:24] <fruitycode> no, when i output the results, i can see what i want, but on terminal not the whole line is showed
[10:24] <frib> i don't think the file is even being read
[10:24] <frib> but ok
[10:24] <fruitycode> when i output to a file, i can see the whole thing
[10:24] <sonne> frib: that's why i suggested the touch, so we can be 100% sure about that
[10:25] <geirha> frib: which file are you editing exactly?
[10:25] <TJ-> fruitycode: I can reproduce what geirha described easily: "echo -e "first line\rsecond line" >/tmp/test.txt; cat /tmp/test.txt"
[10:25] <fruitycode> ?
[10:25] <frib> sonne, i'm going to do a echo "hello" > /tmp/cron.log
[10:25] <fruitycode> what?
[10:25] <TJ-> fruitycode: so it is likely there are carriage-returns (0x13) in the matched line
[10:25] <sonne> frib: just do the touch, so we only check one thing at a time
[10:25] <frib> ok
[10:26] <frib> echo works
[10:26] <frib> it's a problem with my script apparently
[10:26] <fruitycode> 	<h2><?php print Yii::t('core', 'layout.main_header.allCities'); ?></h2>
[10:26] <frib> but I can execute it locally so I Don't get why
[10:26] <geirha> fruitycode: \r is handled specially by the terminal, whenever a CR is printed, it moves the cursor to the start of the line, meaning that the next characters overwrite whatever's at the start of the line
[10:26] <fruitycode> there's no carriage or anything
[10:27] <geirha> fruitycode: they're not easily visible
[10:27] <sonne> hexdump file | grep \ 0d
[10:27] <sonne> :D
[10:28] <TJ-> fruitycode: "grep -o '[[:cntrl:]]' path/to/file | hexdump -C" - I bet you'll see some hex '0d' (dec 12) akak carriage returns
[10:28] <geirha> frib: which crontab are you editing? are you running crontab -e ? or editing one of the crontabs under /etc ?
[10:28] <TJ-> grrr, (dec 13)
[10:28] <fruitycode> i can see ^M stuff when i do a (grep) .... | less
[10:29] <geirha> yup, ^M is CR
[10:29] <fruitycode> is ^M what causes them ?
[10:29] <TJ-> fruitycode: some cross-platform text editors can/do insert carriage returns
[10:29] <sonne> ^M == \r\n no?
[10:29] <geirha> ^M is only \r
[10:29] <sonne> ah cool
[10:29] <fruitycode> some people were developing on windows shit, this what caused this, right?
[10:29] <TJ-> fruitycode: ^M is the 0x0D 13 carriage return
[10:29] <frib> geirha, I think this is relevant https://askubuntu.com/questions/117978/script-doesnt-run-via-crontab-but-works-fine-standalone
[10:29] <frib> geirha, yes I'm using crontab -e
[10:29] <fruitycode> is it safe to change ^M into \r
[10:30] <fruitycode> ?
[10:30] <fruitycode> in the whole project?
[10:30] <geirha> fruitycode: do a search+replace in your editor. E.g. in vim:  :%s/\r//g
[10:30] <geirha> most likely removing it is the right choice
[10:30] <fruitycode> is it safe to do it for all files in the whole project?
[10:31] <geirha> most likely. It's rare that anyone uses CR i
[10:31] <frib> i'm so confused
[10:31] <geirha> *uses CR for anything but windows line endings
[10:31] <XB23> Hi guys, booting from a USB pen and it boots fine, but when im using it all of a sudden it randomly just goes blank power light goes off
[10:31] <XB23> I have to press enter and it comes back on
[10:31] <XB23> Whats going on, never seen this happen before
[10:32] <TJ-> !info dos2unix | fruitycode
[10:32] <geirha> frib: ok, but it runs, right, just no output? did you add the 2>&1 at the end yet?
[10:32] <frib> geirha, echo "hello" works fine
[10:32] <frib> error doesn't show any output for my script
[10:33] <frib> seems like a path issue??
[10:33] <geirha> frib: yes, so we just need to see the error message, which the 2>&1 will help us with
[10:33] <frib> geirha, yes I tried 2>&1
[10:33] <geirha> frib: * * * * * /your/script >/tmp/cron.log 2>&1
[10:33] <geirha> frib: it MUST be at the end
[10:33] <frib> geirha, as I said, I did that
[10:33] <TJ-> fruitycode: are you using/sharing code via a git repository, if so set "git config --global core.autocrlf true"
[10:33] <frib> exactly the way you wrote it
[10:34] <geirha> and /tmp/cron.log was still completely empty?
[10:34] <frib> yes nothing comes up
[10:34] <frib>  * * * * * /home/mark/Scripts/bgscript.sh > /tmp/cron.log 2>&1
[10:34] <TJ-> frib: what is the script? have you pastebinned it? does it start "set -e" ?
[10:34] <XB23> Its very weird
[10:35] <geirha> frib: in another terminal, run  inotifywait -m /tmp/cron.log  to see events on that file
[10:35] <TJ-> XB23: what is 'it' that goes blank?
[10:35] <frib> it's a very simple script that changes my background
[10:35] <TJ-> XB23: do you mean the monitor turns off?
[10:36] <frib> i don't have inotifywait
[10:36] <geirha> sudo apt install inotify-tools
[10:36] <frib> is that like tail -f ?
[10:36] <XB23> The laptop screen yeh
[10:36] <geirha> it tells you whenever something opens, modifies, closes the file
[10:37] <XB23> Just goes off and the laptop power light goes off, press enter and its back on fine but then just goes off again few seconds later
[10:37] <frib> geirha, watches established
[10:37] <TJ-> XB23: the laptop itself powers down? Is it suspending? check /var/log/kern.log or use "journalctl -b"
[10:37] <geirha> frib: if your script tries to call X-based commands, it will fail
[10:37] <XB23> But it wont come on if i move the mouse which is odd
[10:37] <XB23> Let me check
[10:37] <geirha> frib: yup, now wait for the cronjob to run
[10:38] <frib> something came up
[10:38] <fruitycode> i will use dos2unix soon to fix this, thanks
[10:38] <TJ-> XB23: sounds like something is causing the PC to suspend; could be buggy firmware. I was going to suggest overheating but that would hang the PC
[10:38] <frib> display error! that was it
[10:38] <frib> i can set the display in cron right
[10:38] <XB23> ok its not just the enter button, any key makes it come on again
[10:38] <TJ-> XB23: which sounds like you trigger a wake from suspend via ACPI
[10:39] <geirha> frib: sort-of
[10:39] <fruitycode> ah, i will also check "git config --global core.autocrlf true"
[10:39] <frib> geirha, I adde export DISPLAY=:0.0 to script
[10:39] <geirha> frib: A better option would be to write a script with an infinite loop, that you can run with xdg-autostart
[10:39] <TJ-> fruitycode: with git it'll handle the line-endings automatically on checkout
[10:39] <TJ-> fruitycode: for more info on that see https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_formatting_and_whitespace
[10:40] <geirha> frib: that works as long as you're logged in on display 0.0
[10:40] <frib> works!
[10:40] <fruitycode> so i add this, and do one checkout and that's it? i wish this is correct
[10:40] <geirha> if someone else is logged in on that display, or no one is logged in, it will fail
[10:40] <frib> why would cron not know which display to use ??
[10:40] <XB23> Hmm starting to think its a hardware problem, its doing it now as well when i load the bios
[10:40] <geirha> frib: it makes more sense to just run it when you log in instead
[10:41] <frib> geirha, I Want my background to change based on time of day
[10:41] <XB23> Oh weird, its just sprung to life, think this power button isnt simply when power is on
[10:41] <frib> =P
[10:41] <geirha> frib: cron runs whether or not an X display is running
[10:41] <geirha> frib: yes, and you can do that with a script started through xdg-autostart
[10:41] <XB23> Haha weird, if i boot from a different usb pen (Same ubuntu) its working fine .. hows that work
[10:41] <geirha> frib: while sleep 60; do changebg; done
[10:41] <frib> what's the difference?
[10:42] <geirha> frib: you avoid needlessly running your script over and over when there's nothing to do
[10:42] <frib> it will run exactly 4 times a day
[10:42] <XB23> Yep booted a different usb pen , hasnt gone off once
[10:42] <frib> if I'm not mistaken
[10:43] <frib> 1 1,7,13,19 * * *
[10:43] <frib> and at startup as well
[10:43] <geirha> and if you're not logged in at one of those times, it will not change your background
[10:44] <frib> no my login script runs it
[10:44] <TJ-> frib: the better way to do that would be using a systemd user timer
[10:44] <frib> i have no idea what that is
[10:44] <frib> but i will look into it
[10:44] <frib> thanks
[10:45] <geirha> ok, then most of the time it will probably work
[10:46] <frib> I think it will work fine
[10:46] <frib> thanks for the help
[10:46] <frib> I don't want to overcomplicate it =P
[10:46] <TJ-> frib: 'systemd --user' controls your log-in session, and reads systemd service/unit/timer configs from $HOME/.config/systemd/user/ - so you could have a background.timer unit with an OnCalendar= even. see "man systemd.unit", "man systemd.timer" man "systemd.time"
[10:47] <frib> TJ-, thanks
[10:48] <XB23> Hmm so since using this new laptop, I've got the trackpad working I can move mouse and even tap pad for clicks and 2 fingers for right click .. but the trackpad buttons dont do anything
[10:48] <XB23> Any ideas?
[10:48] <TJ-> XB23: it very much depends on the touchpad controller; I had to wait about 9 months before the controller in my Asus T300CHI was fully supported as anything other than a mouse
[10:49] <XB23> Ah right
[10:49] <kpp> Alright. I almost get it. In nvidia-settings "X Server Display Configuration -> Selection" = PRIME Display. There is a note on the display: "PRIME Displays cannot be controlled by nvidia-settings and must be configured by an external RandR capable tool". However there is "X screen 0" available in selections. How do I switch to "X screen 0"?
[10:51] <TJ-> XB23: first step is to identify how the touch controller is connected (USB possibly?) then the device make/model, the driver it is using, and then you can research if some functionality is missing from the driver
[10:51] <vlt> Hello. I have an email in my IMAP maildir that one Thunderbird instance (60.2.1 on Ubuntu 16.04 LTS) doesn't list. I asked the sender to forward it to me and again it's sitting in the Maildir ignored by Thunderbird. What could be going on here?
[10:52] <lotuspsychje> Miar: ask your issue again with your bug link to TJ- he might have a look for you
[10:52] <XB23> Ok im just installing ubuntu .. noticed my sound card is recgonised but no audio
[10:52] <XB23> says X5-E8000 but no audio
[10:52] <TJ-> XB23: that might be the HDMI audio has been found first and is device 0, which is the default device without your intervention
[10:53] <vlt> There are a few hundred emails in Maildir/cur that are all listed by Thunderbird. Except for those two.
[10:54] <TJ-> vlt: Have you checked TB's error console?
[10:54] <Miar> TJ-: Hey, I was having some issues in trying to find the wmi data blocks and issued a kernel bug earlier today - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802052. Could you take a look? lotuspsychje: Thanks for remembering!
[10:55] <XB23> Yep and as expected webcam isnt working either lol .. oh dear got some compatibility issus here lol
[10:55] <vlt> TJ-: I'll try to find it. Thank you.
[11:00] <TJ-> Miar: your bug doesn't include the ACPI DSDT which is probably the crucial element. In your ACPI pastebin you mis-typed a command and therefore 'iasl' failed; the filename should have been in lower-case according to the output of acpixtract above the command. Try 'iasl -e ssdt*.dat -d dsdt.dat' (this also dis-assembles the supplementary tables)
[11:02] <TJ-> XB23: if you want some help diagnosing do: "sudo apt install pastebinit; pastebinit <( lspci -nnk; lsusb; dmesg )"
[11:02] <XB23> Thanks, just installing the actual OS from usb pen
[11:03] <XB23> Then I can test it properly .. hoping the proprierty driver option helps .. but im not hopeful haha
[11:06] <Miar> TJ-: Thanks! That worked! But 'sudo fwts wmi -' still does not work :(
[11:15] <XB23> Wtf now ive installed its doing the weird turn on/off thing again
[11:15] <XB23> It was fine on usb stick .. what is going on! lol
[11:34] <TJ-> Miar: possibly there are no WMI blocks available
[11:35] <TJ-> Miar: can you attach the decoded DSDT to the bug report?
[11:37] <TJ-> XB23: sounds like buggy firmware to me; it could be something stupid like it is not reporting the battery level correctly and so the OS is putting it into suspend, or it could be a biggy ACPI firmware causing it. Without seeing the reports/log I mentioned above it is impossible to know for sure
[11:37] <Miar> TJ-: Ah yes. Doing it.
[11:38] <BluesKaj> 'Mornng folks
[11:39] <Miar> TJ-: Done. Link to the bug again - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802052
[11:42] <vlt> TJ-: There's nothing suspicious in Thunderbird's error console.
[11:43] <vlt> I made a few more tests: I copied that email into another user's Maildir/new and their Thunderbird lists it.
[11:44] <vlt> Then they forwarded it to me. Now I have three mails in  my Maildir that are ignored by TB.
[11:48] <TJ-> Miar: Strangely, that DSDT does have a WMI _WDG buffer (\_SB_.WMTF._WDG)
[11:48] <TJ-> vlt: is it possible you have some server-side .procmailrc rule affecting it?
[11:49] <TJ-> Miar: which makes the 'fwts wmi -' test result unexpected
[11:52] <Miar> TJ-: :( I am trying to get the wmi dump to find out a way to get my discrete touchpad key to work.
[11:55] <vlt> TJ-: But wouldn't a procmailrc rule only affect the actual delivery into the user's Maildir?
[11:55] <vlt> TJ-: (I don't think there are such rules, btw)
[11:57] <TJ-> vlt: yes it would only affect it on delivery; but presumably there's something either in the filename, or the file content, that is causing TB not to be shown that email - what is the IMAPv4 server? is it dovecot ?
[11:57] <vlt> The mail gets delivered to /var/mail/$USER/Maildir/new/ successfully. As soon as Thunderbird connects to the server the mail is moved to ../cur/ and slightly renamed by appending ":2," to the original filename.
[11:57] <vlt> Yes, dovecot.
[11:58] <vlt> The filename pattern is the same as with all the hundreds of other mails in Maildir/cur/ that are listed by Thunderbird.
[11:59] <vlt> The three mails (so far) differ slightly because the seconds and third are mail-in-mail-in-mail forwards :D
[11:59] <vlt> *second
[12:00] <vlt> On the other user's TB (same machine) there was no problem opening and forwarding that email.
[12:02] <TJ-> vlt: is there anything more in the info field after the ":2,"
[12:03] <vlt> TJ-: Not for those three mail files.
[12:04] <vlt> All others have some flags like S, T, ...
[12:05] <TJ-> vlt: S=Seen, T=Trrashed
[12:05] <vlt> Yeah
[12:07] <vlt> But why would Thunderbird refuse to list just these mails?
[12:07] <TJ-> vlt: Are you sure TB isn't seeing them? I've had the issue whereby the emails have bad internal timestamps (either way in the past, or way in the future) and therefore don't show up if I've got the TB Inbox sort order set to the opposite. E.g. I have it list newest-first, so emails sent with a timestamp in the past end up at the end of the list, out of sight in many cases
[12:07] <vlt> There are others from the same sender(s) before and after that behave normally.
[12:08] <TJ-> vlt: well, the files are just ASCII text, so view them with something like 'less' to check the headers and other content
[12:09] <vlt> I did and don't see anything remarkable.
[12:09] <vlt> The headers look totally fine and similar to other mails sent from the same sender.
[12:12] <TJ-> vlt: are you able to read the dovecot logs? If so, enable additional debug logging and see if IMAP is actually sending that file over to TB at all
[12:12] <TJ-> vlt: have you looked at the local TB user cache directory?
[12:16] <XB23> this is very annoying .. bloody laptop keeps going into "lock" mode by itself
[12:16] <TJ-> vlt: e.g. ~/.thunderbird/*.default/ImapMail/<server.fqdn>/INBOX  - if you can see the mail content there, it may be you need to rebuild the TB index (the .msf file) from the TB > Account > Inbox > Properties > Repair  Folder
[12:16] <XB23> cant even get into the log files
[12:17] <vlt> TJ-: I'll check the .thunderbird dir first, then the dovecot logs.
[12:17] <mIk3_08> got to go guys....
[12:22] <coldpress> is there a nice grub splash image inside some apt package?
[12:23] <TJ-> !info grub2-splashimages | coldpress
[12:23] <coldpress> nice, thanks!
[12:27] <rastos2> Q: I'm trying to not have "debugfs" mounted. This is normally mounted due package "mountall" which creates file /lib/init/fstab which lists debugfs. It says that I can override that by adding line in /etc/fstab and change the mount options but adding "noauto" line in /etc/fstab did not help. Any ideas?
[12:27] <moldy> hi
[12:28] <vlt> TJ-: Yes, the mail content exactly like in the file on the IMAP server is there in ~/.thunderbird/*.default/ImapMail/<server.fqdn>/INBOX
[12:28] <vlt> moldy: Hi!
[12:28] <Kingsy> do I need to install libicu55 on 18.04 ?
[12:29] <moldy> https://github.com/pyenv/pyenv "Ubuntu and Fedora note: Modify your ~/.bashrc file instead of ~/.bash_profile" what does ubuntu do differently from, say, debian that makes this necessary?
[12:29] <Kingsy> its unicode components as far as I can see but its not available as a pakcage anymore in 18.04
[12:30] <vlt> TJ-: Repairing the .msf file (via TB menu) fiexed it.
[12:30] <vlt> Damn, what happened there?
[12:32] <blackswan> moldy: that might be bad advice. which file you modify depends on why you're modifying it...
[12:33] <blackswan> i've been using unix since 1985 and i still haven't gotten it right
[12:34] <moldy> blackswan: well i got it right on my debian system (*profile for login shells, *rc for all interactive shells)
[12:34] <blackswan> that's a good general rule.
[12:35] <moldy> but now i find myself struggling while trying to support my team members who use ubuntu
[12:35] <blackswan> i can't keep it straight. i switch between debian and ubuntu every 5 years or so...
[12:35] <moldy> though maybe this particular user messed something up with their rc files. i am tring with a fresh user account right now.
[12:36] <moldy> but there must be some reaosn why the pyenv authors put that line into their README
[12:36] <blackswan> what i'm finally doing is this: i have ansible scripts that set up my environment the way i want it, mostly, and i'm modifying them as i go and refactoring stuff into the right places incrementally.
[12:37] <moldy> my problem is that i need to support other developer's environments
[12:38] <moldy> on my own system, everything is fine
[12:39] <blackswan> i've been using unix for 30 years and i've never until this year made a concerted effort to keep my environment the same on multiple machines.
[12:39] <blackswan> anything i can't configure the way i want it with ansible, i'm recording in a list and i'll figure out later how to make ansible do it, writing ansible modules if i have to.
[12:39] <blackswan> my problem is i have to support customers... that's easy. just tell them not to fuck with it, they aren't supposed to be using the shell on these devices anyway.
[12:40] <miceiken> I read somewhere that I had to add a snap-related directory to some "trusted home directory" in configs. Does this make any sense to anyone?
[12:40] <moldy> ok, part of the confusion is .profile vs .bash_profile...
[12:41] <blackswan> in fact the powers that be keep threatening to remove shell access.
[12:41] <blackswan> which will be a troubleshooting nightmare if it happens.
[12:41] <moldy> the problem i am trying to solve is the combination pyenv, poetry, ubuntu.
[12:42] <moldy> the issue seems to be that the pyenv PATH manipulation is done for all shells, so if i activate a virtualenv with `poetry shell`, it is effectively deactivated again immediately
[12:42] <moldy> which, on my own system, i avoid by doing the pyenv thing for login shells only
[12:44] <blackswan> idk. i actually threw in the towel on setting my path. i have one file that sets my path the way i want it, and it sets a "been there done that" environment variable and skips the setup if that's set. i call it from everything. it's easier than figuring it out.
[12:45] <moldy> that's not going to work with tools like virtualenv which rely on manipulating the path
[12:48] <moldy> i have a hypothesis now: maybe the advice in the README is because the default terminal emulator on ubuntu doesn't spawn a login shell by default...
[12:50] <blackswan> could be.
[13:10] <xtron> Ubuntu switch to "play sound through" to hdmi DMI /Display port, whenever I connect the external display. how to permanently set it to "build-in audio" speakers, so I don't have to re-configure every time I connect display, or just delete the HDMI sound option ?
[13:13] <hateball> xtron: not sure there is an elegant way other than manually removing that sink from config files
[13:15] <radkos> i managed to boot and install using xubuntu but 32bit (64bit had problems the processor supports both) in compliance with radeon.modeset=0
[13:16] <xtron> hateball: what you mean by removing sink from config files?
[13:18] <TJ-> xtron: see https://askubuntu.com/questions/1061414/how-to-disable-pulseaudio-automatic-device-switch#1061578
[13:20] <hateball> xtron: TJ- has a much nicer solution than what I had in mind, try that :D
[13:34] <TJ-> hateball: I'd much prefer a simple user-accesible toggle :)
[13:39] <hateball> TJ-: well yea
[13:40] <geirha> [X] Pick random device each login
[13:40] <sruli> TJ-: how are you, any chance of another hackathon? nothing in particular only for fun, i learnt alot last time
[13:42] <raub> When you type "last", which log file it queries?
[13:43] <TJ-> sruli: Heya, are you still breaking things?! Snowed under here; over-committed and under-resourced currently :) Bug pile like mount everest and only a toothpick to tackle it with :)
[13:44] <sruli> TJ-: sound like u lol, i am always into breaking things, let me know whenever you have available time and lets do it
[13:45] <TJ-> sruli: sounds like you need to arrange an Ubuntu hackathon!
[13:46] <sruli> TJ-: its not only ubuntu, mostly bash and want to do some python too
[13:47] <TJ-> sruli: URGHH @ Python! I was doing some python hacking recently... tries to remember .. oh! yeah, the scritping engine in Scribus (the DTP application). Impressively powerful, but reminded me of the things I dislike about python
[13:48] <TJ-> Unfortunately Scribus in Ubuntu is woefully out of date so have had to work with upstream master
[13:49] <usualrise> Can I play fifa19 in ubuntu 16.04 using wine?
[13:51] <lotuspsychje> !appdb | usualrise
[13:51] <sruli> TJ-: would still be alot of fun, let me know whenever...
[13:52] <sruli> how can i control web surfing on ubuntu? (safe surfing for kids etc)
[13:54] <multifractal> Got a Dell XPS15 9750. Been experiencing problems on 18.04 so rolled back to 16.04 - problems remain on both: When having Nvidia drivers installed was able to boot and login successfully but after a while the entire screen except for the cursor would freeze and be unresponsive. unable to drop to tty. Now without Nvidia driver, the trackpad randomly becomes unresponsive after a little while of use, but keyboard control remains.
[13:54] <ducasse> sruli: there's dansguardian, haven't used it though
[13:54] <multifractal> Trackpad issue seems to be worse after resuming from suspend, but it's hard to say because it happens intermittently
[13:55] <Zteam> sruli an easy way is to lookup the ip-adress of a websitw you don't like and redirect it's traffic to <IP_ADDRESS>
[13:55] <pauljw> sruli, check into OpenDNS.
[13:55] <sruli> Zteam: i cant make a list of sites that are suitable for kids... need to use some existing db with categories
[13:57] <lotuspsychje> multifractal: your graphics card chipset and driver version in use please?
[13:59] <sruli> pauljw: looking itno opendns, thanks
[14:01] <TJ-> sruli: I suspect (due to many sites being https nowadays) it'd need to be an in-browser extension. Mozilla Firefox points to this addons search https://addons.mozilla.org/en-US/firefox/search/?q=parental+control&cat=all
[14:01] <multifractal> lotuspsychje: GP107M [GeForce GTX 1050 Ti Mobile], 384.130 and 410.73 were tried
[14:02] <lotuspsychje> multifractal: did you also test drivers from the ubuntu graphics ppa as a test?
[14:02] <sruli> TJ-: to easy to defeat i.e using a different browser, https is an issue but the domain will always be exposed to thhe dns server so although not 100% still seems better
[14:03] <kalcso> Hey friends, How can I change Telegram's font in ubuntu?
[14:04] <multifractal> lotuspsychje: I think we also tried `sudo ubuntu-drivers autoinstall`, if that's what you mean?
[14:04] <Zteam> TJ-, That's not a great idea, all you have to do to bypass that is launching firefox into safe mode
[14:04] <lotuspsychje> multifractal: for the gtx 1050 i would also try 396.54
[14:04] <lotuspsychje> multifractal: autoinstall is what ubuntu-drivers installs for reccomended driver
[14:05] <lotuspsychje> multifractal: check here: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
[14:05] <lotuspsychje> multifractal: but the reccomended drivers does not always perform 'best'
[14:06] <xtron> TJ-: hateball thanks, working perfect!
[14:06] <sruli> Zteam: problem with openDNS instructions is that its a per connection filter, they should really give instructions for how to make NM always use those dns server regardless of the connection, iwill figure it out, thanks for the suggestion
[14:07] <Zteam> lotuspsychje, it would probably be kind to tell him that ppas is not supported here :-)
[14:07] <lotuspsychje> Zteam: we always warn users for ppa use, but not on the ubuntu graphics ppa, as its tested and pretty safe from junk
[14:08] <lotuspsychje> Zteam: it does not result into dependency hell for sure :p
[14:09] <Zteam> sruli, To be fair, you are thanking the wrong dude, man :-) you should be thanking pauljw for that one as opendns was his suggestion :-)
[14:09] <sruli> ooops
[14:10] <sruli> pauljw: seems lke opendns is the right option for me, thanks for the suggestion
[14:10] <Zteam> lotuspsychje, aha, didn't know that was an exceptionm my bad then :-)
[14:10] <multifractal> Zteam: Well right now, even without Nvidia drivers it's still randomly freezing and becoming unresponsive. How should I proceed with that? All I can do is hold down the power button to switch off right now
[14:11] <multifractal> Sorry meant to direct that to lotuspsychje
[14:11] <Miar> Just bumping it here again - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802052
[14:12] <Zteam> multifractal, try pressing ctrl+F5 hopefully it should jump into a terminal then
[14:12] <Miar> Just bumping it here again - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802052
[14:13] <lotuspsychje> multifractal: i would advice to switch nvidia driver versions, until you get it straight
[14:14] <kalcso> Anybody knows how can I change telegram font?
[14:14] <lotuspsychje> kalcso: doesnt it change when you change the overall system font?
[14:15] <Zteam> lotuspsychje, Agree, never seen nouveau freezing a machine thought
[14:15] <kalcso> lotuspsychje:  Are you sure? But I'd change system font, Telegram doesn't changed.
[14:16] <lotuspsychje> kalcso: no im not sure, it was a question
[14:16] <kalcso> lotuspsychje:  So, no.
[14:16] <kalcso> Any ideas?
[14:16] <lotuspsychje> kalcso: wich telegram version are you using please?
[14:17] <multifractal> lotuspsychje: Currently I have no nvidia drivers at all. But there are still problems with the computer intermittently freezing. https://pastebin.com/UrB7RGyd I put some recent syslog on pastebin. It crashed at around 14:09:00 for example
[14:17] <multifractal> Maybe someone can help me interpret it
[14:18] <pauljw> you're welcome, sruli
[14:20] <Zteam> multifractal, assuming you are able to get to a terminal use the grahpcis driver ppa and install a different driver, if not I would try to upgrade the kernel and see what happens
[14:24] <multifractal> Zteam: I tried `sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04` to update the kernel but it said i already have the latest version
[14:25] <lotuspsychje> multifractal: for gtx cards 1050 1060 we have a lot of users having good experiences with the 390 and 396 version from the ubuntu graphics ppa
[14:25] <sruli> pauljw: "It is important to understand that OpenDNS advanced-feature settings are applied to a network and those settings are subsequently inherited by all of the computers and devices that connect to that network." so i can screw with anyone on a public wifi using openDNS ?
[14:26] <multifractal> lotuspsychje: But how about the problem before we even get to Nvidia drivers - like now I've currently got no nvidia driver. Are you suggesting that it might fix the freezing issue?
[14:27] <lotuspsychje> multifractal: your syslog seems to spit out issues on nouveau, so its not properly working right
[14:27] <Zteam> sruli, if you set it up on router yes, but if you have access to the router you can do al sort of nasty things already
[14:27] <lotuspsychje> multifractal: not sure yet if your freezes are related to the nouveau problem, but 'could' be
[14:27] <pauljw> no, sruli, unless you have access to the public router.  you would need to insure that your device was configured to use opendns when away from home.
[14:28] <pauljw> sruli, i just used it on my router and was very happy with it for years.
[14:29] <sruli> pauljw: they offer a tool to update your account constantly if you have a dynamic ip, so if i connect to from a public wifi all my settings will apply to anyone on the network using the same opendns ip
[14:29] <multifractal> lotuspsychje: Assuming the method shown here to install https://websiteforstudents.com/install-proprietary-nvidia-gpu-drivers-on-ubuntu-16-04-17-10-18-04/ I'm getting "Unable to locate package nvidia-396.54" Should I try `nvidia-396` and/or `nvidia-390`?
[14:29] <sruli> pauljw: in my use case will be configured on a laptop rather then on the router
[14:31] <Zteam> multifractal, I would try the 396 version first
[14:31] <lotuspsychje> multifractal: did you add graphics ppa & sudo apt update?
[14:31] <pauljw> sruli, in that case, you'll need to be sure that opendns is aware of your current ip at all times.  there's a way, i just don't remember.  their site has lots of info and the forums are helpful.
[14:32] <multifractal> lotuspsychje: yeah just did nvidia-390. I think i noticed in the logs the specific version it installed was 390.54
[14:33] <sruli> pauljw: yes, they have a tool for it, and my question is, if i am on a public wifi and it updates my wan ip, then all users on that ip who are using the same opendns server will be effected by my filtering?
[14:33] <Zteam> multifractal, I remember I had a simiilari issue, try searching for driver in gnome-shell go to the driver assistant and select the driver from there
[14:35] <sruli> pauljw: yes its chaos ! look at this comment, you can really screw around anyone using the same opendns server on any network! https://support.opendns.com/hc/en-us/community/posts/220030087/comments/224600427
[14:35] <Zteam> sruli, no, the only way that would happen is if you somehow would install that software on the router
[14:36] <sruli> Zteam: no router config required! this only applies if a user has set their connection to use the same opendns server
[14:37] <multifractal> I seem to recall when I first got my old Dell laptop I had to make various tweaks to the /etc/default/grub... can you think of anything I might need to do there?
[14:39] <multifractal> It's running the 396.54 but the crashing is still happening
[14:40] <multifractal> lotuspsychje: syslog is talking about GPU has fallen off the bus
[14:42] <multifractal> This is the latest syslog from the crash https://pastebin.com/kaQxNGAf
[14:42] <Zteam> multifractal, just a shot in the dark here... try to enable "proposed updates" and see if it finds any updates for the kernel
[14:43] <multifractal> Occurs around 14:37
[14:43] <Zteam> multifractal, That way, you will be receving untested updates
[14:44] <multifractal> Zteam: where;s that?
[14:45] <pragmaticenigma> Zteam: I don't think that's a good solution at this point. If I'm following, it's an older machine, so the hardware should have enough support in the kernel
[14:45] <multifractal> pragmaticenigma: it's a brand new dell 9750
[14:46] <Zteam> software & updates -> developer options -> proposed updates
[14:47] <Zteam> pragmaticenigma, if he only lets it touch the kernel he could just boot a older kernel if it doesn't fix his problem
[14:49] <Zteam> multifractal, does the machine work properly with Windows or older Ubuntu releases btw?
[15:00] <NTQ> Hi. Since the upgrade from 16.04 to 18.04 the trackpoint of my Thinkpad is way to fast but when I slow it down the external mouse is too slow. I need to change the speed for both mice independently.
[15:05] <frad> I upgraded to 18.10 and now there is no siund
[15:05] <frad> sound
[15:06] <sonOfRa> It's because in space, there's a vacuum and no sound. Geddit? Cosmic? I'll see myself out.
[15:07] <frad> 18.10 is cosmic...
[15:08] <frad> I upgraded from 18.09
[15:08] <frad> 64 bits
[15:09] <TJ-> frad: you'd be in an even worse situation if you'd upgraded to disco :P
[15:10] <frad> free day at work?
[15:10] <TJ-> frad: 1st check if there are multiple sound devices (e.g. analogue and HDMI) and then which is the default (card 0 is usually) "aplay -l"
[15:10] <kur1j> can someone explain to me how kerberos.keytab files work?
[15:10] <kur1j> i get that they are "like passwords"
[15:11] <kur1j> but does every machine have to have these keytabs?
[15:12] <TJ-> frad: kur1j https://web.mit.edu/kerberos/krb5-1.12/doc/basic/keytab_def.html
[15:12] <frad> there are several devices, first one reads: card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]  Subdevices: 0/1  Subdevice #0: subdevice #0
[15:16] <pragmaticenigma> kur1j: The internet and web searches are going to be more beneficial to you getting answers. Here's a starting point: https://kb.iu.edu/d/aumh
[15:16] <TJ-> frad: that's good then; the internal device is the first card
[15:17] <TJ-> frad: are speakers connected to the primary audio analogue output?
[15:18] <TJ-> frad: test using " speaker-test -Dfront:CARD=PCH -c 2 -t wav " - you should hear "Front Left", "Front Right" repeated
[15:21] <pragmaticenigma> multifractal: Now that the logs on the web have me caught up... Do you experience any of the issues from a cold boot (as in regular starting of the computer from an powered off state (not standby, hibernate or any other sleep mode) ?
[15:24] <kur1j> pragmaticenigma: I'm having trouble understanding "where" the keytab "keys" (the contents of the keytab file) actually needs to be though in relation to my FreeIPA, NFS and NFS Client. I'm trying to secure my NFS mounts with kerberos. I'm assuming I have a key problem because I keep getting access denied errors...even though all of my keys are there
[15:24] <kur1j> the instructions for this stuff is really piss poor
[15:24] <kur1j> ive went through these instructions about 10 times all with the same results
[15:24] <kur1j> https://docs.fedoraproject.org/en-US/Fedora/18/html/FreeIPA_Guide/kerb-nfs.html
[15:24] <pragmaticenigma> kur1j: First question, why are you using kerberos?
[15:25] <kur1j> pragmaticenigma: how else should I secure the NFS shares?
[15:25] <kur1j> i knwo its a fedora post, but my clients are Ubuntu
[15:25] <pragmaticenigma> kur1j: With the built in tools that are already available to NFS... Kerberos is designed for commerical/corporate application... not intended for home use
[15:26] <kur1j> pragmaticenigma: I'm not at home :P
[15:26] <kur1j> pragmaticenigma: I'm trying to secure it with FreeIPA
[15:27] <kur1j> as my authentication
[15:27] <pragmaticenigma> kur1j: Then you should seek out a FreeIPA channel, community for assistance.
[15:27] <kur1j> fair enough, just thought it was a kerberos/key issue
[15:27] <kur1j> which is agnostic, but ill ask there
[15:28] <pragmaticenigma> kur1j: If FreeIPA is the target environment, they're going to be the best resource for getting the integration figured out
[15:28] <pragmaticenigma> including kerberos specific issues as they relate to your configuration
[15:37] <multifractal> pragmaticenigma: yes that does happen.
[15:38] <multifractal> What I've done so far is choose Intel with the Nvidia settings tool. No crashes since then. However upon reboot I am unable to load the nvidia settings tool - the icon just appears on the dock for a minute then disappears.
[15:38] <lotuspsychje> multifractal: have you tryed updating bios?
[15:38] <lotuspsychje> multifractal: if both nvidia drivers & nouveau crash this might be hardware related
[15:40] <lotuspsychje> multifractal: are you using overclocking or any other things?
[15:41] <multifractal> lotuspsychje: dumb question but how do i update the bios? the installer on dell website is .exe for windows but this laptop only has ubuntu
[15:42] <compdoc> multifractal, many board let you update the bios from a usb stick. but you can also boot dos
[15:43] <lotuspsychje> multifractal: see also: https://askubuntu.com/questions/100945/how-do-i-update-the-bios-of-a-dell-laptop
[15:44] <lotuspsychje> multifractal: try also cables reconnect, gpu reseat, enough psu power to feed the card?
[15:46] <compdoc> some boards can go online and update themselves directly
[15:46] <coz_> multifractal, I "think" I saw a linux bios update file on Dell's website, let me check, hold on
[15:46] <coz_> multifractal,    https://www.dell.com/support/article/us/en/04/sln171755/updating-the-dell-bios-in-linux-and-ubuntu-environments?lang=en
[15:51] <pauljw> sruli, no, only if someone else ends up with your ip address will there be problems, which is why you need to use some sort of method to notify the opendns servers that your ip has changed.  it's a problem when using dynamic ip's.  the problem is solvable, but it's off-topic here.  i'm outta here for now and really i'm no expert, it worked for me but i used it on a router which rarely changed ip address.
[15:51] <sruli> pauljw: thanks
[15:51] <pauljw> :)
[16:01] <blue1> I am upgrading a 14.04 system to 18.04 (it dual boots win 7) and the fresh install said that it cannot find the EFI directory, and now booting fails.
[16:03] <Zteam> blue1, try boot-repair from a usb-device https://help.ubuntu.com/community/Boot-Repair
[16:04] <blue1> Zteam: thank you!~
[16:04] <lotuspsychje> blue1: before upgrading to 18.04 you need to go from 14.04 ==> 16.04 first
[16:04] <blue1> lotuspsychje: I am doing a fresh install, not an upgrade
[16:05] <lotuspsychje> blue1: allright
[16:05] <blue1> lotuspsychje: usually it is the upgrades that are problematic --  thank you for your help
[16:06] <bane500> hey guys... having some display issues after installing updates on a vm (https://snag.gy/PRneNh.jpg)
[16:06] <stevenm> you know how 'Pictures' and 'Publiic' and 'Downloads' all get a fancy schmancy icon on top of the folder icon at the bottom right?    anyway to make other folders do that (also in $HOME)??
[16:06] <bane500> anyone have any advice as to what i should check first
[16:06] <bane500> maybe i could use a different display manager?
[16:08] <Zteam> bane500, which virtual machine software are you using?
[16:08] <Zteam> blue1, hope it solves your issue :)
[16:09] <bane500> Zteam: Actually, i digress.. it's not a vm lol just viewing the window thru a kvm connection on a rack mount
[16:09] <bane500> Zteam: according to my co workers, the graphics card is a PoS and most likely some old ati
[16:09] <Zteam> bane500, no idea then :)
[16:10] <bane500> Zteam: do you think i should try installing a new graphics driver? maybe the proprietary one doesn't play nice?
[16:12] <Zteam> bane500, I have no experience from that stuf at all, but yes, changing grahpics driver seems like a good idea :)
[16:12] <HipHop-openbox> Bane500 if your going that route get cheap video card, because if it isn't the card that's a waste of money
[16:13] <HipHop-openbox> sudo lspci | grep VGA
[16:13] <HipHop-openbox> Show me card info
[16:13] <HipHop-openbox> lspci -nn | grep '\[03' better to show 3D rendering
[16:14] <lotuspsychje> stevenm: explain that a bit please?
[16:14] <HipHop-openbox> Bane500 best idea to show video card info
[16:15] <bane500> HipHop-openbox: https://pastebin.com/JM5a92hV
[16:21] <HipHop-openbox> Bane500 only problems with that card was resolution which is over 2 yrs ago.. I wonder if you made icons borderless is better first step
[16:22] <bane500> yeah
[16:22] <bane500> just going to go with a headless install most likely
[16:22] <HipHop-openbox> Have played with Ubuntu in years. Might want to ask someone options you have in KDE?
[16:24] <HipHop-openbox> Bane500 lts Ubuntu?
[16:24] <bane500> HipHop-openbox: yep... running kde, but no worries
[16:24] <bane500> just going to go headless Lol
[16:27] <JimBuntu> stevenm, unsure, but if you want that with nautilus https://askubuntu.com/questions/83226/is-there-any-tweak-to-bring-back-emblems-in-nautilus/
[16:32] <stevenm> JimBuntu, their not emblems
[16:32] <stevenm> JimBuntu, I can set emblems easily by just right clicking a folder and choosing one
[16:32] <stevenm> JimBuntu, emblems appear at the top right though - so not sure what this other thing is
[16:33] <stevenm> dropbox and nextcloud also use emblems to show the status of things
[16:33] <stevenm> ok so they are just other icons for the folders - not overlays at all
[16:34] <stevenm> in which case I guess I'm asking - what *thing* (presumably in the file manager) says... oh it's path /home/user/Downloads therefore I'll use icon folder_color_green_downloads instead
[16:34] <pragmaticenigma> stevenm: the home, documents, downloads are defined in a configuration file for nautilus. it is a unique icon that gets defined to be displays for those folders
[16:36] <stevenm> pragmaticenigma, config file - not dconf?
[16:36] <pragmaticenigma> stevenm: I don't know how it works in the newer GnomeShell... you are basically looking to assign customer icons to folders
[16:37] <stevenm> pragmaticenigma, I use caja (mate desktop) anyway
[16:37] <stevenm> whatever is it - it can't be hard coding them as it depends on the theme you are using too
[16:37] <pragmaticenigma> stevenm: I have no idea what caja is... never heard of it
[16:37] <stevenm> gnome 2 fork of nautilus
[16:38] <pragmaticenigma> if it's related to gnome2... you might find the settings defined in "~/.local/share/gvfs-metadata"
[16:39] <stevenm> hmm not sure why this particular thing would be related to gvfs though - any reason why you think that?
[16:39] <pragmaticenigma> stevenm: I'm merely searching the web, trying to find possible solutions.
[16:40] <pragmaticenigma> gvfs was originally used by Gnome
[16:40] <pragmaticenigma> no affiliation with Git
[16:40] <stevenm> it never occurred to me it had anything to do with git ?!
[16:41] <stevenm> aha $HOME/.config/user-dirs.dirs
[16:41] <stevenm> nah nevermind - been there before - that isn't it
[16:41] <stevenm> but I am starting to think it'll be something to do with the xdg spec
[16:42] <stevenm> maybe not :S  https://unix.stackexchange.com/questions/124714/create-a-custom-xdg-dir-with-custom-icon
[16:45] <pragmaticenigma> stevenm: https://forums.linuxmint.com/viewtopic.php?t=220102
[16:45] <pragmaticenigma> it looks like it might be based on environment variables
[16:48] <bizhat> Can anyone help with this -> https://www.reddit.com/r/AskUbuntu/comments/9v0zim/strange_dns_problem/
[16:49] <bizhat> non existant domains get resolved to IP
[16:49] <bizhat> when you visit site, it rediect to random, samy domain
[16:49] <bizhat> but nslookup/dig shows no A record for this non existant domains
[16:50] <nate> bizhat: It's whatever resolvers you're using, some resolvers do "parking" DNS on non-existent domains
[16:50] <nate> Usually that's the case anyways
[16:50] <pragmaticenigma> bizhat: that is because your ISP or DNS provider is intercepting your typos and redirecting you to their own sites for advertising or other purposes
[16:51] <bizhat> i use <IP_ADDRESS>
[16:51] <bizhat> i posted "systemd-resolve --status" on the link above
[16:51] <bizhat> so it my ISP doing this
[16:52] <nate> well if you aren't using your ISP resolvers it should not be, no.  Are multiple browsers doing it or just one?
[16:52] <pragmaticenigma> Are you certain you're going to <IP_ADDRESS> ... and are you certain that a company that harvests all the information of the internet isn't potentially doing their own actions for their own gain?
[16:52] <bizhat> i tested on firefox, it is same and CURL from command line also shows domain returning HTTP 200
[16:53] <bizhat> i can ping, but nslookup/dig don't resolve domain
[16:53] <bizhat> chrome/firefox/cuurl/ping - redirect happens
[16:53] <bizhat> curl
[16:54] <tgm4883> bizhat: I assume you these aren't in your hosts file
[16:54] <nate> I feel like google suddenly starting to do domain parking on their DNS would have probably been news-worthy, so it does make me think you're probably not actually using those resolvers or something
[16:54] <bizhat> nothing on my hosts file
[16:54] <bizhat> this is just random domain.. i tried many
[16:55] <tgm4883> bizhat: what ISP?
[16:56] <bizhat> even if it was my /etc/hosts file, dig should show it
[16:56] <bizhat> it is indian ISP www.bsnl.in (largest one in india)
[16:57] <bizhat> Here is a dig result for a domain that i have in hosts file -> https://pastebin.com/raw/1uHWyUhE
[16:57] <ericus> howdy
[16:57] <capella> ELECTED: "Ilhan Omar (MN-5), who has referred to Israel as an “apartheid regime,” and who once tweeted: “Israel has hypnotized the world, may Allah awaken the people and help them see the evil doings of Israel”;"
[16:57] <pragmaticenigma> !op | capella
[16:58] <capella> ELECTED: "Rashida Tlaib (MI-13), a radical leftist who has called for the destruction of Israel as a separate state, causing even the left-wing J Street organization to withdraw its endorsement of her candidacy;"
[16:58] <pragmaticenigma> thanks Pici
[16:59] <pragmaticenigma> bizhat: Right now, your computer is looking at a local cache ... and for the moment, it's being told the site exists on your local machine.
[16:59] <capella> wrong tab fail sorrys
[16:59] <ericus> any idea why banshee crashes like this? Worked just fine before a kernel upgrade: https://paste.ubuntu.com/p/3Q3mYg4bKP/
[17:00] <bizhat> @pragmaticenigma i think i found the problem
[17:00] <bizhat> https://pastebin.com/raw/NxJxmR0X
[17:00] <bizhat> when you look for non existant domain, it try to check
[17:00] <bizhat> ga.domain.name
[17:00] <bizhat> for xyl.ga domain...
[17:01] <bizhat> it is the search domain that causing the problem. Where do i set this ? Maybe in my router somewhere ?
[17:01] <bizhat> it is a  line in my /etc/resolve.conf => search domain.name
[17:02] <pragmaticenigma> bizhat: none of that
[17:02] <bizhat> ok, when i do ping.. xyl.ga (random domain). I get an IP and it shows --- ga.domain.name ping statistics ---
[17:04] <bizhat> I replaced "search domain.name" with "search yahoo.com" in my /etc/resolv.conf, now non existant domains no longer resolving
[17:07] <bizhat> http://ga.domain.name
[17:07] <bizhat> this is where it redirected me.. and i edited search line in /etc/resolv.conf now
[17:08] <kappa1> can I create an encrypted ext4 partition as a secondary partition ?
[17:15] <Mathisen> kappa1, yes
[17:17] <kappa1> Mathisen, is it possible to encrypt just a folder with LUKS?
[17:17] <kappa1> my problem is that Dropbox does not support ecryptfs anymore, which I use to encrypt my home folder
[17:17] <kappa1> so I have to move it to an ext4 partition with LUKS
[17:18] <Mathisen> kappa1, you want to use something else if you just want to encrypt a folder
[17:19] <Mathisen> kappa1, https://www.howtoforge.com/tutorial/how-to-encrypt-directories-with-ecryptfs-on-ubuntu-16-04/
[17:20] <kappa1> Mathisen, ecryptfs is not supported anymore by Dropbox, that is what I use currently
[17:20] <Mathisen> kappa1, boxcrypt then ?
[17:21] <Mathisen> kappa1, or even just use vera for a container that you then can store on your dropbox
[17:21] <kappa1> thanks, I will check vera
[17:22] <Mathisen> "veracrypt"
[17:53] <sla3k> I just changed my shell as 'chsh -s /bin/csh' and after giving in the password (and returning to the prompt), when I do $ echo $SHELL, it still shows '/bin/bash'
[17:54] <sla3k> is there another way to change the shell?
[17:54] <sla3k> Ubuntu 16.04 LTS here
[17:54] <rfm> sla3k, you need to log all the way out and back in
[17:55] <hays> exec
[17:55] <sla3k> rfm: Ahh, that did the trick
[17:55] <sla3k> Thanks.
[17:56] <hays> exec $SHELL
[17:56] <hays> might have worked
[17:57] <DrunkenDwarf> Hi all. I'm trying to install a bootable ubuntu installation (well xubuntu tbh) to an external USB HDD. So any laptop that can boot from USB can boot from the external without altering the host system at all. I want a full installation rather than a "try before you install" live disk. I've tried doind a standard install and selecting "put MBR at start of install drive" rather than first drive. And when I try to
[17:57] <DrunkenDwarf> boot from it, it won't show up in the bootable media. are there any guides etc?
[17:58] <ericus> any idea why banshee crashes like this? Worked just fine before a kernel upgrade: https://paste.ubuntu.com/p/3Q3mYg4bKP/
[17:59] <TJ-> DrunkenDwarf: it may depend on two things: did the installer start in UEFI or BIOS mode (which decides whether grub-efi or grub-pc is installed) and when it boots, which type of boot the PC attempts (UEFI or BIOS)
[18:02] <DrunkenDwarf> TJ-, i dont know what the installer started in, Im assuming my laptop is attempting UEFI, but im not certain
[18:03] <DrunkenDwarf> The main issue is im not willing to do the install on the machine im looking to use it on, as I cant afford to alter the MBR in any way (its an encrypted worklaptop which will cause me weeks of hassle to restore)
[18:03] <TJ-> DrunkenDwarf: If it is UEFI, then you've got something else to check. Is the PC configured to try BIOS/Legacy/CSM mode as well as UEFI
[18:04] <EriC^^> DrunkenDwarf: install in uefi mode using removable media option, also install grub to a bios-boot partition that way it works with legacy and uefi
[18:04] <TJ-> DrunkenDwarf: if it is a pure UEFI boot, then for bootable UEFI removable media, because the bootloader cannot be entered into the PC's boot manager beforehand, you have to copy GRUBs core image to /EFI/BOOT/BOOTX64.EFI on the USB's EFI- system partition
[18:06] <DrunkenDwarf> I see. I dont suppose theres a guide on doing this anywhere i've missed? i dont have access to the install computer tonight while im on here, so something i could refer to later
[18:06] <kinghat> is this normal for google to do this? http://paste.debian.net/hidden/b73aa147/
[18:08] <TJ-> DrunkenDwarf: might be easier to just ensure you've got the USB configured correctly, if you have the USB to hand. You can test it in a virtual machine
[18:08] <Karut> Hi, I have a file with a lot of strange symbols mixed with actual text. The text is separated with new lines and what I'm trying to delete looks like: ^P^W
[18:09] <Karut> or ^P^]??ZV^R
[18:09] <Karut> Arent those control characters?
[18:10] <Karut> I've tried to delete them with grep, but I wasn't able
[18:11] <TJ-> Karut: grep doesn't delete! sed and awk may
[18:11] <Zteam> Karut, is those supposed to be pure text files?
[18:12] <Karut> TJ-: followed with > new file
[18:12] <Karut> Zteam: yes, unicode
[18:12] <TJ-> Karut: I have a script for removing (most) control codes from files I use to clean up 'script' logs; I got it from https://unix.stackexchange.com/questions/14684/removing-control-chars-including-console-codes-colours-from-script-output#14707
[18:14] <kinghat> hmm https://stackoverflow.com/a/50942354/8023318
[18:14] <Zteam> Karut, sound strange, I would do a fsck on the disk containting those, also you might get weird reults if you try to download text-files over ftp or something
[18:15] <TJ-> Karut: could it be UTF-16 encoding, not UTF-8 ?
[18:15] <DrunkenDwarf> TJ-, never used a virtual machine to try booting from an external usb, can it do that?
[18:15] <TJ-> Karut: try using 'iconv' on it
[18:15] <Karut> oh, file -i tells me that its binary... but its text.
[18:16] <Zteam> Karut, file usually knows what it's talking about, try to view those in ghex or some other hex-editor
[18:16] <TJ-> DrunkenDwarf: Yes; I do that quite a bit. I use qemu/kvm via libvirt. It has a GUI manager called virt-manager. And you can install EFI firmware and choose it as an option when creating the guest VM, so you can test both EFI and BIOS boot
[18:17] <DrunkenDwarf> TJ-, can windows virtual machine do that?
[18:18] <TJ-> DrunkenDwarf: I have no idea :)
[18:19] <DrunkenDwarf> erm. .. i mean oracle virtualbox :P
[18:19] <TJ-> DrunkenDwarf: generally it should be possible to pass-through a host (USB) device to a guest as long as the host isn't using it
[18:20] <TJ-> DrunkenDwarf: but I don't if VB supports UEFI boot as well as BIOS
[18:21] <sla3k> DrunkenDwarf: Well it is possible to boot from external USB in a VB but I agree with TJ- about VB supporting UEFI
[18:22] <Karut> The file its in application/octet-stream; charset=binary idk how to decode this to unicode
[18:22] <sla3k> DrunkenDwarf: You'd need to make some changes through cmd.exe on the host (if it is windows) and just follow steps here: https://www.howtogeek.com/187721/how-to-boot-from-a-usb-drive-in-virtualbox/ try and see for yourself if it works :)
[18:25] <DrunkenDwarf> sla3k, interesting. looking at it now. Kinda also looks like, if I add my USB HDD and a USB live installer, I can play with installation without worrying about the slightest chance it could effect my host machine
[18:34] <DrunkenDwarf> Okay, so VirtualBox gives me "FATAL: No bootable media found". so ive found my problem, simply selecting "put bootloader on target drive" wasn't enough to make it a bootable system
[18:37] <ppf> anyone know how to resize a pdf without rasterizing it?
[18:38] <ylel9> hallo
[18:38] <ylel9> wie heißen sie?
[18:38] <TJ-> DrunkenDwarf: it certainly should be! Are you sure the USB isn't UEFI boot only, and VB is only able to do BIOS boot?
[18:39] <DrunkenDwarf> i am not sure about either of those things :)
[18:39] <TJ-> DrunkenDwarf: look at what partition scheme is used, and what partitions there are. UEFI has to have an EFI system partition, which is FAT, and small (less than 512MB), and has the directory "/EFI/" in it
[18:40] <TJ-> DrunkenDwarf: you can check that from Windows easily; via explorer, or disk management
[18:40] <coconut> !de | ylel9
[18:41] <DrunkenDwarf> according to windows disk management, theres 930GB partition of unknown file system, 15GB partition and then finally a 915GB NTFS partition (I use as an actual external HDD
[18:42] <DrunkenDwarf> the 15 is the swap, remembering about it. there seems to be no boot partition
[18:44] <TJ-> DrunkenDwarf: sounds that way, which points to it ought to be BIOS boot. Another possibiility if it is, is the boot loader is too far into the device (that's a large device)
[18:44] <TJ-> DrunkenDwarf: is the 'unknown file system' the first one?
[18:45] <DrunkenDwarf> TJ-, yes, thats my xubuntu install. and looking at the other drives, my C drive starts with a 100MB EFI partition, so UEFI booting is probably what im after
[18:46] <TJ-> DrunkenDwarf: it could be the wrong partitioning scheme is in use, does Windows report if it is GPT or BIOS/MBR  ?
[18:47] <DrunkenDwarf> how do i check that?
[18:50] <DrunkenDwarf> right. Wife's dishing up dinner, so I may have to come back to this
[18:51] <TJ-> DrunkenDwarf: I'm not sure how Disk Management on windows reports that; possibly in properties for the raw device?
[19:09] <Gazooo> so, my workplace is Windows centric, and I'm not. Recently, they implemented 2FA on our VPN, which broke my OpenVPN client compatibility, the 3rd party VPN/firewall vendor does not support linux or provide a linux client.
[19:10] <Gazooo> so the VPN client only works on Windows, any ideas on if there's something I can do to bridge this gap?
[19:11] <gpunk> what version of ubuntu are you using ?
[19:12] <Gazooo> different workstations but let's just say 18.04
[19:13] <gpunk> we dont work with "let s say"
[19:13] <gpunk> we need the real situation
[19:13] <Gazooo> ok, ideally, 18.04
[19:13] <Gazooo> primary
[19:14] <Gazooo> if it helps, we use some watchguard product ( https://www.watchguard.com/wgrd-products )
[19:15] <Gazooo> Sophos has a linux client, but these guys don't, but, yeh, that's just the situation I'm in.
[19:21] <sfdebug> hi everyone, i'm trying to install some packages from cassandra to use it on PHP, but, i can't do it, i receive an error trying to install the last package (the PHP extension) because it says that a LIB isn't installed, but it is: https://gist.github.com/lucasgd/f79663a04b307592db00949107034adb
[19:21] <sfdebug> can anyone help me on this?
[19:24] <BluesKaj>  Gazooo what's 2FA ?
[19:24] <gpunk> 2 factor authentification
[19:25] <BluesKaj> username and pw ? :-)
[19:26] <gpunk> no, i think a pin by SMS or something
[19:26] <gpunk> or an RSA key
[19:27] <gpunk> (token-key)
[19:29] <BluesKaj> looking at the website, it doesn't say anything about multiple platform support
[19:29] <immu> hi
[19:29] <Gazooo> yep, it's token key, using Google Authenticator
[19:30] <immu> hi BluesKaj
[19:30] <BluesKaj> hey immu
[19:34] <gpunk> and you were using network manager GUI ? applet ...
[19:34] <gpunk> Gazooo: ^^
[19:37] <Doll_Builder> hello
[19:39] <Doll_Builder> where should I go about questions on configuring gtk?
[19:41] <lordcirth> Trying to install ubuntu-desktop on an 18.04 server image - it says every dependency "is not going to be installed".  Ideas?
[19:48] <kur1j> I'm running into this bug (https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189) on 16.04. autofs won't start properly on a reboot. This causes problems where people can't login
[19:49] <kur1j> is there a better solution than just spamming autofs in rc.local
[19:52] <lordcirth> kur1j, perhaps you could make a systemd timer to restart autofs X seconds after boot?
[19:53] <kur1j> lordcirth: you mean add something in rc.local to restart?
[19:53] <kur1j> im restarting autofs in rc.local multiple times but it still fails for whatever reason
[19:53] <kur1j> if I login and manually restart autofs it works
[19:55] <lordcirth> kur1j, if it's not starting on boot, it's probably some sort of race condition, so restarting it a few seconds after boot fixes it.  So a systemd timer can wait 10 seconds and then restart it.
[19:55] <kur1j> lordcirth: how do I get it to do that?
[19:56] <lordcirth> https://wiki.archlinux.org/index.php/Systemd/Timers
[20:03] <lordcirth> kur1j, this comment also has a possible workaround: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/comments/5
[20:29] <Necrogizer> Hey :D
[20:35] <Richard_Cavell> Hi everyone.  I am on Ubuntu 16.04 64-bit.  About 2 months ago the sound on my computer stopped working entirely, for no apparent reason.  I tried a little to debug it but planned to re-install at some later date.  The most recent software updates have magically fixed the sound on my machine.  Is there any way I can determine what exactly it did to fix the sound?
[20:48] <c|oneman> how would I know if ubuntu 16.04 i s supported by my ARM RK3188 device? it's currently running ubuntu 14.04
[20:48] <Sven_vB> c|oneman, you could test it in a live session
[20:50] <TJ-> c|oneman: tou can test the 16.04 kernel on 14.04 with the HWE kernels
[20:51] <c|oneman> how would I do this?
[20:52] <TJ-> !info linux-image-hwe-generic-trusty | c|oneman
[20:53] <TJ-> !info linux-image-hwe-generic-trusty trusty | c|oneman
[20:53] <TJ-> c|oneman: grr; there is a later version from 16.04, according to packages.ubuntu.com
[20:53] <TJ-> c|oneman: which package architecture is it using, armhf? ("dpkg --print-architecture")
[20:54] <c|oneman> yes
[20:56] <TJ-> c|oneman: I cannot recall if "apt list" works on 14.04, but give this a try: "apt list linux-image*hwe* "
[20:57] <c|oneman> I'll have to try later I'm currently doing 12.04 -> 14.04
[21:11] <Lope> I want to install the VLC mozilla plugin. But I can't find this package in ubuntu 18.04 "mozilla-plugin-vlc" I did `apt-cache search vlc | grep mozilla` and got nothing.
[21:13] <Lope> oh, I found browser-plugin-vlc, I'll try it.
[21:18] <c|oneman> how can I tell if h.264 hardware decoding in the browser is working?
[21:19] <kur1j> lordcirth: that didn't work either unfortunately
[21:20] <lordcirth> kur1j, which, the network manager one, or systemd timer?
[21:20] <kur1j> this one
[21:20] <kur1j> https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/comments/5
[21:20] <kur1j> autofs is SystemV
[21:23] <kur1j> lordcirth: im using NetworkManager
[21:24] <Karut> So do anyone know why when i split my plain text file the last part is application/octet-stream; charset=binary ?
[21:24] <Karut> I tried "split -n 2" and sed
[21:25] <Karut> (its a large file (9GB) and idk how to do it)
[21:25] <lordcirth> kur1j, you could try using systemd's mounting instead of autofs: https://wiki.archlinux.org/index.php/Fstab#Automount_with_systemd
[21:26] <kur1j> lordcirth: im using autofs because im using FreeIPA
[21:26] <lordcirth> Does FreeIPA directly interact with autofs for some reason?
[21:27] <kur1j> well not directly, but it works with sssd, nsswitch and tells it which directorys it can mount
[21:27] <kur1j> so I can define which mounts within FreeIPA get mounted automatically
[21:28] <lordcirth> Do you need to be able to make arbitrary X -> Y mounts on the fly, or just automount known directories?
[21:29] <lordcirth> Out of curiosity, what is your use case for FreeIPA, and why did you choose it over samba4?
[21:30] <kur1j> lordcirth: Single sign on, provides DNS, user management, LDAP etc.
[21:30] <lordcirth> As does samba4, thus the second part of my question
[21:31] <kur1j> well we can control which mounts
[21:31] <kur1j> through FreeIPA
[21:32] <kur1j> so I can go add a mount in NFS server add it to FreeIPA under the automount services and then its available to users
[21:33] <kur1j> at the time FreeIPA seemed easier to setup
[21:41] <DrunkenDwarf> TJ-, I'm re-installing atm, on the install screen for 18.04. There's the dropdown for "Device for bootloader installation" with which I have selected the USB HDD (using custom partitions) Do I need to be manually making a 100MB EFI partition at the beginning of the drive? Cause atm the root partition is first
[21:42] <TJ-> DrunkenDwarf: yes, in the Manual Partitioning dialogs, make a 128MB FAT partition and make it EFI-system partition
[21:42] <TJ-> DrunkenDwarf: use GPT (GUID partition table) if you get the option for the type of partitioning on the device - I think it is chosen automatically these days though
[21:44] <DrunkenDwarf> TJ-, okay, erm, Primary or Logical partition? and FAT 16 or 32?
[21:45] <DrunkenDwarf> it doesnt seem to give me any options for partitioning system
[21:45] <TJ-> DrunkenDwarf: if you're asked primary or logical, it is NOT using GPT, it's using MBR (BIOS)
[21:45] <TJ-> DrunkenDwarf: is the device already partitioned or are you starting from scratch?
[21:46] <DrunkenDwarf> The laptop im doing the installation with has existing partitions, but im not using it's drives. The USB HDD is empty space
[21:47] <lordcirth> Is the laptop EFI?
[21:47] <DrunkenDwarf> I dont know
[21:47] <lordcirth> I think it might only default to GPT if the installer is booted EFI
[21:47] <lordcirth> Switch to a terminal and 'ls /sys/firmware/efi'
[21:48] <DrunkenDwarf> can you switch to a terminal part way though the live disk installation?
[21:49] <Greyztar> DrunkenDwarf: try alt and f2 or other f keys
[21:49] <lordcirth> I've done so before
[21:50] <DrunkenDwarf> there is no efi in /sys/firmware
[21:50] <kur1j> this bug is redicuously stupid
[21:50] <lordcirth> DrunkenDwarf, then you are booted from BIOS
[21:51] <lordcirth> Is gdisk available?
[21:51] <DrunkenDwarf> yes, gdisk is available
[21:52] <TJ-> DrunkenDwarf: how large is the USB drive,  more than 1TB isn't it?
[21:52] <DrunkenDwarf> TJ-, yeah, its a 2TB
[21:53] <TJ-> DrunkenDwarf: I thought for large drives GPT was always used regardless of boot mode; maybe not. I'd have to test in a VM myself
[21:54] <DrunkenDwarf> if this laptop has booted in BIOS rather than EFI, should I try doing the installation using VirtualBox instead on my newer laptop im going to be using?
[21:55] <Kon-> Anyone guess why I can't get kernel module uinput loaded on 18.04? modprobe didn't work
[21:55] <Greyztar> I tihnk mbr can be used up to 2tb no?
[21:55] <Ben64> Kon-: what does "didn't work" mean
[21:55] <Kon-> Doesn't show in lsmod, program requiring uinput won't work
[21:56] <Ben64> Kon-: can you give more details
[21:56] <Kon-> Where should I look for more specifics?
[21:57] <Kon-> Okay, I can give you the error message from the program
[21:57] <Ben64> what happens when you try to insert the module, what program requires it, what ubuntu version, kernel, anything
[21:58] <Kon-> xboxdrv throws this error Ben64 https://paste.ubuntu.com/p/9YydVwKWcz/
[21:58] <Kon-> 18.04, as I wrote here. 4.15.0-38
[21:59] <DrunkenDwarf> TJ-, hmmm, just plugged the USB HDD back into my windows machine for a look, it was set to GPT according to that
[21:59] <lordcirth> xboxdrv?  That for xbox controllers?
[21:59] <Ben64> Kon-: so the actual problem is permission denied
[21:59] <Kon-> Yes and no. The actual xbox controller is PnP, but I just want to run xboxdrv so its daemonized service can be detected
[22:03] <Kon-> Ben64: "sudo xboxdrv -D" removes the error message, but the program hangs. Opening another terminal tab still shows uinput is not loaded and the xboxdrv service never started
[22:03] <Ben64> stop looking for uinput, that isn't the issue at all
[22:04] <Kon-> So I also shouldn't be concerned that "sudo modprobe uinput" does nothing at all?
[22:05] <Ben64> right
[22:10] <TJ-> DrunkenDwarf: that is good news; seems that the ubiquity installer is too dumb to realise the difference between MBR and GPT then - that, or it is writing into the (protective/hybrid) MBR rather than the GPT
[22:12] <Kon-> Ben64: Is there a reason why I would want the modprobe command to *not* load the requested module? Seems like that's not great
[22:12] <Ben64> it's already in the kernel?
[22:13] <DrunkenDwarf> TJ-, im trying something silly atm. I've made only the USB HDD accessable through virtualbox and telling that to install on full disk automatically
[22:16] <zout-sel> Hi, I changed my default keyboard to russian on ubuntu 18.04, but I have full disk encryption on my laptop, and when I now restart my laptop, the password is not correct. I know the password and it still works because I tried to decrypt my hard drive on a live usb install.
[22:16] <zout-sel> So I think I'm typing russian in the password field, but I don't see any way to change this? Any help?
[22:19] <TJ-> zout-sel: the obvious solution would be to add an additional passphrase (slot) to the LUKS device, typed on the Russian keyboard
[22:20] <TJ-> zout-sel: in that way the keyboard you use won't matter
[22:21] <zout-sel> TJ-: but then I first need to get in my system
[22:21] <zout-sel> which is not possible, because I can't type the password on a russian layout
[22:21] <lordcirth> zout-sel, edit kernel command line in grub and add "pkeys=en"
[22:21] <lordcirth> er, pkeys=us , rather
[22:22] <lordcirth> Also you did say that you decrypted it by live USB, so that's probably how TJ meant you to add a slot
[22:22] <DrunkenDwarf> TJ-, so close :(
[22:22] <TJ-> zout-sel: can you swap keyboards? are these fixed, or USB?
[22:23] <lordcirth> I don't think swapping physical keyboards would help?
[22:23] <zout-sel> lordcirth: I can decrypt the hard drive on live usb, but then it's just a file system
[22:23] <lordcirth> zout-sel, but you could add a passphrase using the LUKS tools.  Anyway, try pkeys=us
[22:23] <zout-sel> TJ-: it's just my laptop keyboard, I just changed the layout on operating system
[22:23] <TJ-> lordcirth: well, in conjunction with "loadkeys" of course, but it helps to have the key-caps show the correct symbols when typing a blind, long, pass-phrase :)
[22:24] <TJ-> zout-sel: arghh, so you're changing the mapping of key-codes to symbols
[22:24] <zout-sel> TJ-: yeah
[22:24] <lordcirth> Yeah, thus pkeys
[22:25] <zout-sel> I will try your suggestion lordcirth
[22:26] <TJ-> zout-sel: in which case from the liveISO (presumably English) you can switch to Russian keyboard, then get to a terminal shell, and issue the command "sudo cryptsetup luksAddKey /dev/sdX" and type a new pass-phrase
[22:27] <DrunkenDwarf> TJ-, so I installed on full disk through virtualbox so it'd treat the drive as the first and only. VirtualBox boots from the drive, but when I rebooted my laptop it recognised in boot devices "Legacy USB Storage", but booting from that just gives an unchanging black screen
[22:27] <TJ-> zout-sel: your challenge there is to type the command correctly, but as you can see what characters are generated that is easir
[22:27] <TJ-> DrunkenDwarf: "Legacy USB Storage" sounds like CSM/Legacy/BIOS mode
[22:28] <TJ-> DrunkenDwarf: no flashing cursor? any blinking LEDs?
[22:28] <zout-sel> lordcirth: when I'm in the grub command line, I just have to type 'pkeys=us', or do I have to change a conf file ?
[22:28] <DrunkenDwarf> TJ-, no cursor, the read led on the drive flashed a little, not to indicate it doing actual work though
[22:29] <lordcirth> zout-sel, you want to edit the boot entry, and add pkeys=us to the end of the kernel line
[22:29] <lordcirth> Then boot
[22:31] <lordcirth_work> On my way home, be offline for a bit, hope that works for you
[22:31] <zout-sel> I'll try
[22:31] <zout-sel> and otherwise I try TJ-  suggestion
[22:31] <zout-sel> thanks for the help
[22:34] <TJ-> zout-sel: I don't see anything in the initramfs that looks for "pkeys=" on the kernel cmdline; so not sure what lordcirth_work is referring to
[22:35] <zout-sel> so it's not gonna work?
[22:36] <TJ-> zout-sel: if it is the root file-system that is LUKS protected, so needs to be unlocked in the initramfs, then I don't think so. I've never see a pkeys option, and I've just searched the files in case I missed it
[22:38] <zout-sel> TJ-: but somehow the system knows that it needs to use russian, so there must be a parameter for it, no?
[22:39] <TJ-> zout-sel: yes, as you set it system-wide it is copied into the inital config. If you change the system-wdie setting back, it would change again
[22:40] <zout-sel> so can't I just change the initial config manually ?
[22:40] <TJ-> zout-sel: it is written into /etc/default/keyboard
[22:42] <zout-sel> ok, I'm going back the live usb way, first I'll see if I can edit the /etc/default/keyboard file
[22:42] <zout-sel> and if not, I'll try to add another password to my luks encryption
[22:42] <TJ-> zout-sel: each time an updated initrd.img is created, it calls the hook script /usr/share/initramfs-tools/hooks/console_setup which copies /etc/default/keyboard into the initrd.img. So in theory, you could set system-wide language to English, run "update-initramfs" , then switch the system language back
[22:43] <TJ-> zout-sel: but having 2 LUKS slots used 1 with English 1 with Russian is going to be much easier to deal with
[22:43] <Ool> Hi, https://packages.ubuntu.com just working for cosmic. it's for me  ?
[22:43] <Ool>  https://bugs.launchpad.net/pkg-website/+bug/1802187
[22:45] <catopett1> Looking for a distro like artistx that is based on ubuntu, not ubuntu studio
[22:46] <TJ-> Ool: there have been several reports over the last few days
[22:47] <Ool> arf
[22:48] <Ool> ok thanks
[22:49] <catopett1> Epona's Grove Riding School
[22:51] <Ool> TJ-: and I found an other repport https://bugs.launchpad.net/pkg-website/+bug/1773488 , I mark mine as duplicate
[22:52] <catopett1> Am looking for a fully distro for music making, NOT ubuntu studio, more like artistx
[22:52] <TJ-> Ool: it might be worth chatting to the admins in #canonical-sysadmin
[22:53] <ducasse> catopett1: if there is one, it's not an official ubuntu flavor, so this is the wrong place to ask
[22:53] <maoko> hello i try to recode malloc and i have some trouble with the impl
[22:53] <maoko> please some guru want help me :)
[22:54] <catopett1> Looking for one that is made ubuntu
[22:55] <Fudge> could anyone tell me why unity on bionic only has two workspaces?
[22:55] <ducasse> catopett1: then ubuntu studio is as close as you'll get
[22:55] <catopett1> But not right
[22:56] <catopett1> artistx was made on ubuntu, but discontinued
[22:57] <TJ-> catopett1: what is wrong with Ubuntu Studio? if something was based on Ubuntu then it is using all the same packages
[22:58] <ducasse> catopett1: it's not an official ubuntu flavor, ask somewhere else
[23:03] <catopett1> Ubuntu Studio is a multimedia content creation, not what i am looking for
[23:15] <TJ-> catopett1: it is only a different collection of packages; uninstall those you do not want
[23:16] <nhr_> Hi installed 18.04 on lenovo flex 5, brand new laptop, duel boot. Everything went well, but machine does not boot on ubntu. Gets to the boot screen, with "....." and then hangs
[23:17] <nhr_> USB boot works fine and can see the partition. No interesting logs in /var/log partition
[23:18] <kittykitty> moved my root to an encrypted luks + lvm and changed /etc/cryptab and /etc/fstab to match the new partitions, installed grub again, did update-initramfs but cant get past the grub splash, anything im missing?
[23:23] <catopett1> Can i boot fully ubuntu in UEFI?
[23:27] <pi0> how to check minimize the services that ubuntu starts to only start essential services
[23:30] <compdoc> pi0, you might want to look at  single-user mode
[23:32] <guiverc_d> catopett1, yep - refer https://help.ubuntu.com/community/UEFI
[23:43] <zout-sel> TJ-: I added another luks key, and the password works on the live usb, but for some reason not when I'm booting on the hard disk. Is there a way to update the initrd.img of my hard disk on the live usb version?
[23:43] <zout-sel> I can change xkblayout on /etc/default/keyboard