[00:05] <DuncanT> sarnold: Ok, I think possibly my question was badly stated, looks like the command I was after is "fakeroot debian/rules binary". fpm is interesting for other things though, I'm currently trying to get it to make debs of python packages, something I've wanted an automatic way of doing for ages
[00:05] <sarnold> DuncanT: aha!
[01:19] <Freshnuts> damn steam is straight up done with ubuntu cause of freezing 32bit libraries
[01:19] <cyberpolice> On 19.04, is switching tty with ctrl alt function keys different? My gui is stuck and very very slow, need to kill whatever is doing this in cli mode. How to get to console?
[01:19] <cyberpolice> On livecd
[01:20] <sarnold> cyberpolice: try control alt f2 instead
[01:20] <cyberpolice> It's not ctrl alt f1 anymore?
[01:20] <sarnold> cyberpolice: I think the gui may run on f1 by default now, not f7, so if you're trying control alt f1 it might look like it isn't working, but it might be working great :)
[01:21] <cyberpolice> I have to issue keypress and wait some minutes for a  response, so correct keypress is critical
[01:21] <cyberpolice> I issued ctrl alt f2 and waiting now
[01:22] <OerHeks> nobody said F2 ..
[01:22] <cyberpolice> sarnold did?
[01:23] <OerHeks> F1 .. but on a live iso, reboot
[01:23] <cyberpolice> There's no console on live iso?
[01:25] <OerHeks> i think it is already in single user mode?
[01:25] <sarnold> yeah, after the default gui moved from the seventh console to the first, it's easier to just recommend trying control alt f2, and figure out where you came *from* later :)
[01:26] <tomreyn> !tty
[01:27] <sarnold> waaaaaat
[01:27] <tomreyn> we tried to come up with generic instructions ;)
[01:28] <OerHeks> F1 on a live iso, AFAIK
[01:29] <sarnold> I was frustrated enough with f1 being used for gui, but now f2 too? someone's trying to obsolete everything I know :)
[01:31] <cyberpolice> I press ctrl alt f3 but I see a blank black screen. Is it my computer being stuck or there is no tty on f3 in live iso
[01:32] <Kon-> Is that help page accurate? I'm on 18.04 and F2 is very much a fresh TTY
[01:33] <sarnold> cyberpolice: try hitting enter, see if that'll start a getty
[01:35] <OerHeks> Kon-, on a live session?
[01:35] <OerHeks> his 'live session' is borked
[01:35] <Kon-> Ah, no. On hardware
[01:37] <cyberpolice> I see a blinking cursor in top left, not sure if that was me pressing enter or it finally switched to ctrl alt f3 or f4 or f5 I tried
[01:38] <cyberpolice> Can anyone please fire up 19.04 live iso and let me know if if tty is actually possible
[01:38] <tomreyn> on a readily installed ubuntu 18.04, you would have gdm on tty1 (constantly), the desktop on tty2. not so if you have no graphical login manager, though, then it'd be tty1. also if you have nvidia, i think. maybe it's also different with some of the other flavours.
[01:38] <tomreyn> ok, i'm discussing the wrong topic here, sorry.
[01:41] <tomreyn> cyberpolice: on ubuntu 19.04 live iso, uefi booted, open source graphics drivers (KMS), i get a blinking cursor on ctrl-alt-f3, and a login on ctrl-alt-f4
[01:41] <tomreyn> tty login that is
[01:42] <Thr0r> cyberpolice: I have a USB with live 19,04 ISO - but I do not know what tty is, but if you guide me I can help..
[01:42] <tomreyn> hmm actually tty3 also got a text login now after switching bacxk and forth a bit
[01:43] <cyberpolice> tomreyn: are you able to login with ubuntu user and blank password
[01:45] <cyberpolice> Thr0r: thanks but tomreyn seems to be there already
[01:45] <Thr0r> cyberpolice: Ok - just let me know if you want something tested with that Live ISO - I have it ready
[01:46] <tomreyn> cyberpolice: a second
[01:46] <ryuguns> Hey, quick (possibly dumb) question
[01:46] <ryuguns> If I'm using an Ubuntu variant (e.g. Mint or Pop! OS) and a site offers a .deb installer, I should (generally) be able to use those right?
[01:48] <tomreyn> cyberpolice: yes, i can login with user ubuntu and empty password on tty3
[01:48] <tomreyn> ryuguns: since we only support ubuntu here, this is outside the scope of this channel
[01:49] <cyberpolice> tomreyn: oh wow, so there is hope
[01:49] <Sveta> ryuguns: yes
[01:49] <Sveta> ryuguns: it may run in dependency issues if they indicated some versions which your distribution does not have
[01:49] <cyberpolice> tomreyn: thanks, I'll wait this lag out till it switches me to tty3
[01:49] <ryuguns> tomreyn: Sorry, I thought this was "close enough" territory. My bad
[01:50] <ryuguns> Sveta: Thanks
[01:50] <tomreyn> cyberpolice: what kind of lag do you have there?
[01:51] <tomreyn> cyberpolice: are those other ttys (4,5,6) coming up faster than tty3?
[01:51] <cyberpolice> tomreyn: well I booted live iso to run bad blocks on a drive, but I did some extra things like install any desk and  I think it is hanging everything.
[01:51] <cyberpolice> Bad blocks is running in tmux at least
[01:54] <cyberpolice> Either that or the live iso doesn't like the laptop hardware wise
[01:54] <cyberpolice> Maybe something to do with Screensaver. Not sure
[01:54] <tomreyn> cyberpolice: i see. better use sshd + vnc if you need to graphically remote control, i'd say.
[01:55] <cyberpolice> Next time I'll just ssh...
[04:29] <[rg]> is it possible to get the default adiwata theme in ubuntu 19.04, including the shell theme?/
[04:29] <[rg]> the icons in yaru look a bit off on my pc
[04:30] <[rg]> "grainy" "stretched"
[04:30] <Sveta> adwaita
[04:30] <lotuspsychje> [rg]: install gnome-tweak-tool for easy theme switching
[04:30] <[rg]> yes
[04:30] <[rg]> lotuspsychje, I did not see anything to change the shell
[04:31] <[rg]> kudos on the installer btw its quite robust
[04:31] <Sveta> there is `GNOME Tweaks > Appearance > Applications > Themes
[04:32] <[rg]> yes, but the menu and dialogs are still yaru style
[04:32] <[rg]> i assume becuase there is a yaru shell
[04:32] <Sveta> there are two different classes at https://www.gnome-look.org, one is called gtk3 theme and another is called gnome shell theme
[04:32] <Sveta> you might need to install the adwaita shell theme separately
[04:32] <Sveta> see https://www.gnome-look.org/search/projectSearchText/adwaita%20shell
[04:33] <Sveta> https://www.gnome-look.org/search/projectSearchText/adwaita+shell/page/1/pci/134 is even better
[04:34] <[rg]> those are user themes tho ...
[04:34] <Sveta> to be able to change the GNOME Shell theme, you'll need the User Theme GNOME Shell extension
[04:34] <Sveta> first install the 'gnome-shell-extensions' package
[04:35] <Sveta> then log off, log on; in tweaks app enable the 'User themes' extension
[04:35] <[rg]> ok, gotcha
[04:43] <Thr0r> I installed some GNOME stuff on my Ubuntu once - And It ended up in total disaster - Had to re-install everything after that.. So be Careful..
[04:43] <Sveta> what disaster was it?
[04:44] <lotuspsychje> Thr0r: this is not the complaints channel
[04:47] <Thr0r> lotuspsychje: Good Advice to new users should be valued here..
[04:51] <Sveta> Thr0r: yes, sometimes excellent software (such as gnome) breaks things
[04:51] <Sveta> Thr0r: this is unfortunate, and I like to to file bug report for each problem
[05:00] <Thr0r> The Studio support people has alredy filed a bug for this and has corrected - hopefully - the Studio Installer package..
[05:02] <Thr0r> So even if lotuspsychje and others thinks this is a complaint - I want to make other NEW users aware of the issue...
[05:06] <Eickmeyer> Thr0r: The fix is about 6 days away for 19.04, but already in 19.10. The only reason you had trouble is because ubuntustudio-installer isn't designed to give dialog boxes when it a new display manager gets installed, and hangs if there's a dialog box.
[05:06] <Eickmeyer> That's not a bug, it's just that it's not designed to handle them.
[05:07] <Eickmeyer> So, taking the option (ubuntustudio-gnome-branding) away was the only foolproof solution.
[05:07] <Eickmeyer> Thr0r: So, don't make it your job to warn everyone that GNOME = bad.
[05:10] <Thr0r> Eickmeyer: Thanks for clearing that one up. And I DO NOT have an opinion wether Gnome is bad - But I DO have an opinion about Gnome installed on the wrong desktop env. It is not everyone that knows that it should not be done..
[05:11] <Eickmeyer> Thr0r: #ubuntu-offtopic please
[05:12] <Sveta> thanks for the clarification, it is much better now
[05:50] <Rembo> hello, i'm using Ubuntu server 16.04 on my Supermicro X10DRL-i server with bios firmware ver 3.58 , is it worth updateing to latest firmware version? is there any difference between the firmware?
[06:02] <ryuo> Rembo: how would we know? that's entirely supplied by the board vendor.
[06:05] <Sveta> Rembo: you might find ##hardware a bit more useful
[08:46] <Manngunner> Morning, does anyone know if openssl version 1.1.1+ will be backported to Ubuntu 18.04?
[08:47] <Manngunner> I see that it is currently in the updates repo, but will it become the secure/stable version?
[08:53] <Ben64> MannerMan: if it's in updates then it's in
[08:54] <blackflow> !info openssl bionic | Manngunner: not sure what you're asking. apt install openssl will get you
[08:57] <Manngunner> Well when I do apt list -a openssl I get this: https://termbin.com/09hb
[08:57] <Manngunner> stating that 1.1.1 is part of the upgrades repo, not the secure or base repo.
[08:59] <Manngunner> I'm not entirely sure on the difference, but would a stable version of 1.1.1 be part of the base?
[09:04] <blackflow> Manngunner: no, it's SRU'd through bionic-updates repo only.
[09:05] <Manngunner> sorry, SRU'd?
[09:06] <blackflow> Stable Relase Update. https://wiki.ubuntu.com/StableReleaseUpdates
[09:08] <Manngunner> I see, would it be a fair assumption that the packages in the updates repo will still be pretty stable and secure? or should one try to avoid them in an enterprise environment?
[09:09] <blackflow> Manngunner: in an enterprise environment, you don't trust what someone on the net tells you about stability of the repo :) you test every update, even in -security (as that happens to break stuff too sometimes).
[09:10] <blackflow> Manngunner: don't forget, this is all FREE work by volunteers. If you want more enterprisey (and paid) support, take a look at Ubuntu Advantage Program.
[09:11] <Manngunner> you're right, thanks very much for you help
[10:33] <super_koza> Hi! In my PC I have 3x 1.5 TB disks. I would like to set up RAID 5 on it. The disks are currently wiped clean. Do I first set up the RAID and then install Ubuntu on top of it, or do I install Ubuntu first on one disk and then set up the RAID? I figured I need 1GB partition EFI and 10GB partition for SWAP, the rest can be used for the root partition of the system.
[10:34] <super_koza> I checked out the DigitalOcean guide, but got confused as they are using the RAID partition as something else and not as the root partition.
[10:34] <super_koza> Any suggestions and advice how to do this properly?
[10:36] <blackflow> super_koza: these days I only work with ZFS, but if I remember the installer correctly, you'd have to create the array with mdadm manually and then use the resulting /dev/mdX devices to install Ubuntu on, in the installer. The installer should autodetect them. You can pre-define the array from livecd, choose Try ubuntu, there's a terminal.
[10:37] <blackflow> super_koza: that said, I'd always work with partitions, not entire disks in RAID, and I don't know if EFI supports that, or you'd have to manually setup an ESP on one of the drives
[10:38] <super_koza> So I should do the following: partition disk 1 into EFI, swap and another partition
[10:38] <super_koza> Partition the other disks to have only one partition
[10:39] <super_koza> With mdadm create RAID array over that partitions
[10:39] <super_koza> Run the installer and use that md partition?
[10:43] <blackflow> super_koza: yes, but you can partition all 3 disks the same way. put ESP and swap into three-way RAID1
[10:44] <super_koza> Great idea!
[10:44] <blackflow> swap could be RAID5 too actually...  or even better, don't have a separate swap at all, use a swapfile on your main root partition.
[10:44] <super_koza> Ok
[10:44] <super_koza> another thing
[10:45] <super_koza> I have started the mdadm create, and it is building right now
[10:45] <super_koza> Can I use the partition, or should I wait another 235 minutes to finish
[10:46] <blackflow> I think you can use the md device right away, the resilver/resync process is smart about that.
[11:03] <Walex> super_koza: indeed you can, the MD code tries to balance sync use with normal use.
[11:04] <Walex> super_koza: you can assign a minimum sync rate too
[11:04] <super_koza> OK, here is what I am doing now
[11:04] <super_koza> I have created partitions over the whole disks
[11:04] <super_koza> and run mdadm on them
[11:04] <super_koza> Now I am running the installer
[11:05] <super_koza> and I partitioned the md0 into efi, swap and / partitions
[11:05] <super_koza> the installer is still running
[11:05] <Walex> super_koza: you are complicating your life a lot that way
[11:05] <super_koza> Ok, should I abort it?
[11:06] <Walex> super_koza: for example you are assuming that the EFI shell has a built in driver for MD RAID
[11:07] <Walex> super_koza: keep your boot simple and do EFI and '/boot' partitions that are respectively just a partition, and RAID1 with superblock at the end.
[11:10] <Walex> super_koza: as "blackflow" said ESP can also be a MD RAID1 with superblock at the end.
[11:10] <Walex> super_koza: but it is sort of pointless and safer to update the copies manually.
[11:11] <farigola> hello, somebody know how to save panels window configuration for tmux
[11:11] <Walex> super_koza: also I don't like "partitioned" MD RAID, I prefer (and this is unusual for me) to put LVM2 on top of it if I need to "partition" it.
[11:11] <Walex> farigola: #tmux
[11:12] <blackflow> super_koza: or in other words what Walex is saying, have two md devices. eg. md0 raid1 for ESP, md1 raid5 for root (and use swapfile).   though I'd also do what's suggested here, not put ESP in raid at all but manually update when and if necessary.
[11:12] <blackflow> the "main" ESP on the booting disk is handled by package manager, so just mount and copy when there's update
[11:12] <super_koza> Ok, I will stop the installer and do it again that way.
[11:13] <super_koza> What do I need to do with the RAID after I install the system?
[11:13] <Walex> blackflow: actually my suggestion is EFI not-MD, '/boot' RAID1, the rest MD with LVM2 on top
[11:14] <blackflow> Walex: that can work too. personally I'd avoid LVM like plague, but okay. there's also apparently some bugs with udev not producing /dev(ices) in time during boot so mount units are failing. TJ- had some issues with that.
[11:14] <blackflow> (the udev bugs is about LVs)
[11:14] <Walex> the advantage of doing '/boot' RAID1 (with superblock at the end) is that then '/boot' works even without the GRUB MD driver.
[11:15] <Walex> blackflow: I also rather dislike LVM2 but it is better than MD partitions I reckon.
[11:15] <blackflow> well.... ZFS all the things is what I say :)
[11:16] <Walex> super_koza: other plan without LVM2: EFI partition, '/boot' MD RAID1, '/' MD RAID5, "everything else" MD RAID5.
[11:16] <Walex> so 4 partitions per disk.
[11:16] <blackflow> swap partition really not needed these days, swapfiles work just fine.
[11:17] <Walex> ah yes though actually i'd do for the sake of tradition a swap partition too, even if "blackflow" is right.
[11:18] <Walex> blackflow: ZFS is very, very strange, and very easy to misuse. I have inherited entirely ridiculous ZFS setups...
[11:18] <blackflow> foot-shootage is not in shortage with advanced systems :)
[11:18] <Walex> they "work", but rather badly.
[11:19] <blackflow> bad setups? sure. normal/correct setups? best thing since sliced bread.
[11:19] <blackflow> Been using ZFS on servers (of the money making kind), and home computers for years now, since 16.10 on linux.
[11:20] <blackflow> or was it 17.10 ... when did' buntu start packaging ZoL kmod with the kernel?
[11:20] <Walex> blackflow: so ZFS is like "girls": when they are nice they very nice, when they are terrible they are very terrible :-)
[11:20] <blackflow> don't be sexists. plenty of "boys" like that.
[11:20]  * Walex has heard that there are "girls" in some distant place :-)
[11:22] <blackflow> The "strangeness" of ZFS is that it's lvm+mdadm+filesystem+snapshots+rsync  functionality all rolled into one kitchen-sink pooled "filesystem".
[11:22] <blackflow> so you deal with all those concepts and layers at the same time through pools, vdevs and datasets.
[11:22] <Walex> blackflow: not so much that it is all rolled into one, that's the easy bit, it is that the internal mechanisms are rather unusual
[11:23] <blackflow> (and lately native encryption too, so LUKS underneath it is not needed -- though I'm not using that yet)
[11:23] <blackflow> they're unusual because ZFS is reinventing all the wheels in order to be cross-platform, so it's not deeply integrated with functions offered by the kernel.
[11:24] <Walex> but yes, great idea that Canonical cut the gordian knot and put ZFS into the standard distro.
[11:24] <blackflow> well debian has it too, the diff is only that Ubuntu is packaging the kmod, and Debian relies on DKMS. Fedora too actually, as that's where ZoL is primarily developed.
[11:25] <lotuspsychje> !discuss
[11:25] <blackflow> or more precisely, OpenZFS as it's gonna be called that regardless of underlying OS, since it's all based on ZoL now
[11:26] <katnip`> hmmm
[11:26] <blackflow> welp yeah, #ubuntu-discuss for this convo :)
[11:28] <super_koza> I started the installation from the beginning. What should I do when the installer finishes?
[11:29] <super_koza> Store the RAID array layout or something?
[11:29] <blackflow> super_koza: check fstab and /etc/mdadm.conf that they're listing correct UUIDs and mountpoints
[11:44] <Paddy_NI> Is this honestly still true in 2019?  https://askubuntu.com/questions/1143795/print-two-a5-pages-on-one-a4-page-with-correct-sizes/1143833
[11:49] <lotuspsychje> Paddy_NI: are you actually experiencing it, or you just opened a poll?
[11:50] <Paddy_NI> lotuspsychje, Yes I have and still do experience this, it's kinda ridiculous that this is still a thing.
[11:54] <lotuspsychje> Paddy_NI: did you try other software for pdf's yet?
[11:55] <lotuspsychje> !pdf
[11:55] <Paddy_NI> lotuspsychje, Yes, pdfmod, boomega and a few others.
[11:55] <lotuspsychje> inkscape
[11:55] <Paddy_NI> Normally one would just use the print dialogue in mac, windows android etc
[11:56] <tomreyn> this has to be an issue with your printer driver, works fine here.
[11:57] <Paddy_NI> tomreyn, I have owned several printers over the years. There is no two a5 to a page in Ubuntu
[11:57] <tomreyn> well i just did it here
[11:57] <tomreyn> default ubuntu 18.04
[11:58] <Paddy_NI> tomreyn, Would you mind explaining it to me as I have spent goodness knows how long trying to figure this out
[11:59] <tomreyn> i created a text document in libreoffice, 3 A5 pages, exported it as PDF. opened it in evince, chose to print it to my printer, with 2 document pages on one A4 printer page.
[12:00] <Paddy_NI> tomreyn, Right so if you were to create something specifically
[12:00] <tomreyn> well we don't have the document you're trying to print, so...
[12:00] <Paddy_NI> However if you receive an a5 pdf in windows and mac you can print it side-by-side right in the print dialogue without issue
[12:01] <Paddy_NI> Obtain any a5 pdf and try and to print them side by side on one a4
[12:01] <tomreyn> it IS an A5 pdf
[12:01] <Paddy_NI> Its that simple of an issue to reproduce and one that has been around for as long as Ubuntu
[12:03] <tomreyn> Paddy_NI: https://tomreyn.megaglest.org/A5.pdf
[12:05] <Paddy_NI> That pdf contains multiple pages
[12:05] <tomreyn> yes, three of them. how is yours different?
[12:05] <Paddy_NI> Just a single page a5 pdf
[12:06] <Paddy_NI> I have resorted to using an old windows laptop running windows 7 to print it at the moment as I have no time.
[12:07] <Paddy_NI> Thank you for having a look, I'll see if I can more specifically recreate this problem later. It's a point of contention with clients of mine that I have moved to Ubuntu
[12:07] <Paddy_NI> Has been for years
[12:08] <pragmaticenigma> Paddy_NI: The issue isn't Ubuntu, Windows or Mac... It is Adobe. Windows and MacOS licenses the drivers from Adobe for handling PDF documents. Adobe adds additional features not present in the PDF specifications. Ubuntu and other open source platforms adhere to the specification, they cannot implement the same features with out paying a license fee to Adobe. What Adobe software can do is detect the text boundary of the document
[12:08] <pragmaticenigma> and scale that section to the page size. That is not part of any of the specifications and therefore will not be implemented in the Open Source community.
[12:08] <tomreyn> oh you're saying your PDF content which is badly sized, i.e. the document was badly created in the first place. and you want the pdf viewer / printer to detect those spare whitespace and cut it out before printing the document.
[12:09] <tomreyn> unpaper would probably do that, but that's not a feature i'd strictly expect a pdf viewer / printetr to have.
[12:10] <akik> pragmaticenigma: are you saying adobe forbids ubuntu to run those commands to convert the pdf to ps and do the page-in-page there? because that would be silly
[12:10] <Paddy_NI> tomreyn, It was not badly sized it's properly formatted into an a5. There is no excess white space
[12:11] <pragmaticenigma> akik: I didn't say that at all
[12:11] <Paddy_NI> pragmaticenigma, This issue also happens with odf sized to a5
[12:11] <akik> pragmaticenigma: well that's what it sounded like. there's a solution but for some reason ubuntu hasn't implemented it
[12:12] <BluesKaj> Hi folks
[12:12] <pragmaticenigma> akik: I'm happy to "discuss" this further in another channel.
[12:12] <Paddy_NI> FYI the windows 7 laptop printing the pdf is using the stock windows driver and "SumatraPDF" which using mupdf as it's backend.
[12:13] <Paddy_NI> And it works
[12:13] <tomreyn> Paddy_NI: i can't seem to understand what the issue you're discussing seems to be then.
[12:13] <tuskkk____> hello, am logged in as the admin user, changed the password some hours ago, but forgot it (I know :() is there a way to get it back?
[12:13] <Paddy_NI> I still see no option to have two a5 pages printed side-by-side no matter what type of doc I create
[12:14] <Paddy_NI> tomreyn, That ubuntu cannot
[12:14] <pragmaticenigma> Paddy_NI: Perhaps the solution is to stop creating documents in the A5 format
[12:14] <Paddy_NI> Without jumping through crazy steps
[12:14] <Paddy_NI> X-D
[12:14] <tomreyn> Paddy_NI: as i told you, i did what you said as not possible. maybe your description of the issue you're seeing is insufficient. make the pdf available if you can.
[12:14] <Paddy_NI> Right I'm done.
[12:16] <tomreyn> tuskkk____: "the admin user" - do you mean root?
[12:16] <Paddy_NI> tomreyn, Unfortunately it's for my Wife's counselling business and is not meant for wide distribution. However any single page a5 pdf will do
[12:16] <Paddy_NI> I'll google for one
[12:16] <tuskkk____> tomreyn: no another user with admin privileges
[12:17] <tomreyn> tuskkk____: do you have multiple users with admin privileges? i.e. is there one which you remember the password for?
[12:17] <tuskkk____> tomreyn: no :(
[12:18] <tomreyn> tuskkk____: have you set a password for the root user?
[12:18] <tuskkk____> no
[12:18] <tuskkk____> but when I did su -, its asking for a password, have no idea about it
[12:19] <tomreyn> tuskkk____: you can boot to recovery menu, then mount all file systems, start a root shell and use the    passwd thisadminuser    command to set a new password for the "thisadminuser" user.
[12:20] <tuskkk____> tomreyn: ok, let me try that
[12:20] <tuskkk____> I hope it works well
[12:20] <tomreyn> tuskkk____: the "su -" command would ask for the password of the root user, which is not set on ubuntu by default.
[12:20] <tomreyn> !recovery | tuskkk____
[12:20] <tuskkk____> tomreyn: but I don't know the `root` password as well :(
[12:21] <tomreyn> !root
[12:21] <tomreyn> you will not be prompted for the root password on recovery (if there is no root password set, which is the ubuntu default)
[12:22] <tuskkk____> > if there is no root password set
[12:22] <tuskkk____> how do I verify?
[12:22] <tomreyn> you would need to have a working sudo access to check this now, or boot to recovery.
[12:23] <tomreyn> but you already said you have no password set for the root user, so this should not be an issue.
[12:23] <tuskkk____> I don't know if there is a password set for root user 🤷‍♂️
[12:24] <tomreyn> you will know once you start the shell from the recovery menu
[12:24] <tuskkk____> oh
[12:25] <tomreyn> if there's a password prompt then you set a root password, otherwise (the default) there is no prompt.
[12:25] <tuskkk____> so if it is set, I am screwed?
[12:25] <pragmaticenigma> tuskkk____: You would have had to have intentionally set a password to the root account if there was. So, only you know the answer to that question.
[12:25] <tomreyn> tuskkk____: no, but then it gets slightly more difficult. but let's discuss this after you tried.
[12:25] <tuskkk____> oh ok
[12:25] <tuskkk____> trying now 🤞
[12:26] <tuskkk____> there is always this option to boot a new ubuntu in the end right?
[12:26] <tuskkk____> I only loose some data
[12:26] <pragmaticenigma> tuskkk____: You could copy your data somewhere safe
[12:27] <tomreyn> tuskkk____: there's absolutely no reason to assume you lost access to your data at this point.
[12:28] <tuskkk____> ok, following this step by step, https://askubuntu.com/a/24024
[12:30] <tomreyn> tuskkk____: this looks fine. instead of typing the "mount" command you can also select the "network" option from the menu before selecting the "root" option there.
[12:31] <Paddy_NI> tomreyn, Oh here is a sample a5 pdf https://drive.google.com/open?id=1hdUSACj3FOMokvn_dWZxeu8X7fh76Aiq
[12:32] <Paddy_NI> tomreyn, See if you can use the printer dialogue to print that page side-by-side on a single a4 sheet
[12:33] <tomreyn> Paddy_NI: so you want to print two copies of this document onto an A4 page?
[12:33] <Paddy_NI> tomreyn, Yeah fairly standard stuff
[12:33] <tomreyn> it's not a detail you described so far, or i missed it.
[12:34] <Paddy_NI> tomreyn, It's the only detail I have described so far
[12:34] <Paddy_NI> X-(
[12:34] <Paddy_NI> The only single solitary one
[12:35] <Paddy_NI> It's pretty normal to not want to waste half a page is it not?
[12:36] <Paddy_NI> I have run out of excuses to give my clients too, they want to conserve paper and do what they have always done. They (and myself for that matter) are baffled as to how this is not standard functionality
[12:37] <tomreyn> Paddy_NI: you pointed to this https://askubuntu.com/questions/1143795/print-two-a5-pages-on-one-a4-page-with-correct-sizes/1143833 - which is about printing an A5 formatted source document with multiple pages to A4 sheets. an entirely different issue than you're discussing now.
[12:37] <Paddy_NI> tomreyn, That's actually describing the exact same problem is it not?
[12:37] <tomreyn> not in my view, no.
[12:38] <Paddy_NI> His source document is a single a5 pdf he wants it side-by-side on an a4 page
[12:38] <Paddy_NI> I don't see how they are not the same
[12:39] <thsnr> Paddy_NI: they are printing a single multi-page document side-by-side, you wish to print multiple copies of the same document side-by-side (which you did not mention before)
[12:40] <Paddy_NI> Just a sec, I have to check the scrollback..
 yes, three of them. how is yours different?
 Just a single page a5 pdf
 I still see no option to have two a5 pages printed side-by-side no matter what type of doc I create
 tomreyn, Unfortunately it's for my Wife's counselling business and is not meant for wide distribution. However any single page a5 pdf will do
[12:43] <tomreyn> Paddy_NI: let's concentrate on the issue you're trying to solve now: i am not able to have a pdf viewer duplicate the single page of the A5 document at google docs while (rotating and) printing it to an A4 document.
[12:43] <Paddy_NI> I guess I could have been more specific, however the absence of this feature is still true even taking in to consideration the original askubuntu question
[12:44] <Paddy_NI> tomreyn, Normally in OSX or Windows I click print select "two to a page" - "landscape" Print
[12:44] <Paddy_NI> End of workflow
[12:44] <Paddy_NI> The wording slightly differs between the two OSs
[12:45] <Paddy_NI> In the case of multipage a5 pdfs you can still do it by specifying the page number
[12:45] <tomreyn> Paddy_NI: i don't consider this to be an expected feature either. i would expect evince to print a multi-page A5 source document (rotated) to A4, two source document pages per A4 output page. but then your source document only has a single page, so the outcome i see there is what i'd expect.
[12:45] <Paddy_NI> So if you wanted for some reason two page 1 on an a4 page you can
[12:47] <Paddy_NI> tomreyn, So a big empty white area with no option to use it to print a second copy.  So bin material or guillotine and then start messing with printer page sizes
[12:47] <Paddy_NI> Not what I would expect at all.
[12:47] <pragmaticenigma> Paddy_NI: The only solution is to take the page you want to print, make a document with two pages having the same content and printing that side by side mode.
[12:48] <tomreyn> Paddy_NI: the way i see it, if you want to have the same source document repeated on the A4 output page, all you need to do is to create an A5 source document with two pages, where the first page is repeated on the second page.
[12:49] <Paddy_NI> On Ubuntu that seems to be the only solution
[12:50] <tomreyn> i would not want such applications to duplicate source material depending on how many pages the source document has. you have different expectations.
[12:50] <Paddy_NI> The clients I am talking about are 70 years plus. If you need it explained to you why this is not a viable option then there is a failure to relate on a basic level
[12:51] <Paddy_NI> They are happier with how simple I have made their computers however things like what I just tried to get help with are massive roadblocks
[12:51] <Paddy_NI> They get sent all kinds of documents that they like to print
[12:52] <Paddy_NI> So now they have to learn pdf editing software just to print two to a page
[12:52] <tomreyn> now you've certainly reached a matter of opinion and discussion which is beyond the scope of this very channel - but there are others.
[12:52] <pragmaticenigma> Paddy_NI: No, the issue is that you're expecting software to guess what the users intention is. Which will never happen. You cannot expect the "copies" field to "know" that a single page can be printed on one sheet in side-by-side mode. It doesn't work that way, was never the intention, and you and your clients are attempting to move against the current
[12:52] <Paddy_NI> Please guys come on you have to not be that entrenched..
[12:52] <Paddy_NI> pragmaticenigma, Nope not at all
[12:53] <Paddy_NI> Just basic features found on the competion
[12:53] <Paddy_NI> *competition
[12:53] <Paddy_NI> The fact of the matter is the choice is not there... <tomreyn> i would not want such applications to duplicate source material depending on how many pages the source document has. you have different expectations.
[12:54] <tuskkk____> it worked! Thanks a lot tomreyn and pragmaticenigma :)
[12:56] <satanist> is there a way to report a bug without creating/using any account?
[12:59] <tomreyn> satanist: unfortunately not. but if you'll report more bugs in the future, creating an account may still proove useful.
[12:59] <tomreyn> also to track its progress.
[12:59] <tomreyn> tuskkk____: you're welcome.
[13:03] <mplsjoker> how do you get invited to #linux?
[13:03] <JimBuntu> mplsjoker, you don't. You just need to be registered with freenode.
[13:05] <tomreyn> mplsjoker: try ##linux instead.
[13:06] <tomreyn> in fact you'll only get this message when you'Re already in the channel #linux forwards to, which is ##linux. and none of this is a topic for #ubuntu.
[13:10] <hggdh> Paddy_NI: this would be an enhancement request, ideally upstream (Gnome, KDE, wherever). And I think it is worth it.
[13:10] <blackflow> hggdh: !!   tomreyn: quick, where's that list of factoids!
[13:11] <tomreyn> ?
[13:11] <hggdh> huh?
[13:11] <blackflow> tomreyn: did you not compile the list of factoid changes that are still pending?
[13:11] <tomreyn> yes, but that's not something we need to discuss in #ubuntu
[13:12] <blackflow> oh, right, thought I was in -discuss
[13:13] <satanist> tomreyn: thanks
[13:15] <tomreyn> satanist: you're welcome. if you have any questions about launchpad (the, amongst other, issue tracker ubuntu uses), see the /topic in #launchpad, too
[13:19] <mplsjoker> tomreyn: thank you. I apologise for asking in here.
[13:20] <tomreyn> mplsjoker: no worries. you can always ask questions about irc in general and this irc network in particular in #freenode.
[13:27] <jwtiyar> hey , newely installed ubuntu 19.04 very slow boot
[13:28] <jwtiyar> i upgraded from 18.10 was slow i thought fresh install will change anything , didnt help
[13:31] <anden> are there any OCR software available that you guys could recommend? i tried searching but couldn't find any good results. i've tried gocr but it cannot even read crystal clear computer font rendered text in a lossless screenshot, am i doing something wrong?
[13:37] <EriC^> anden: tesseract
[13:37] <anden> hm, i have that installed, might have tried it in the past, i'll give it a go again
[13:40] <pragmaticenigma> anden: tesseract is used by many other applications as the backend for OCR processes. You might need to read documentation on how to use the application, as OCR sometimes requires tuning to get it to work
[13:43] <tomreyn> jwtiyar: please run and post:  journalctl -b | nc termbin.com 9999
[13:44] <jwtiyar> tomreyn, https://termbin.com/5qnn
[13:44] <turtle4793> hello
[13:44] <turtle4793> if i need help with an issue im facing is this the right place to go to ?
[13:44] <anden> i see, i was hoping to just do `tesseract filename` because i'm using what i thought was the most standard condition: english, clear digital standard fonts, nothing fancy, but i guess i'll read into it if it's necessary
[13:44] <pragmaticenigma> turtle4793: If the isse is related to Ubuntu, then yes, you are in the right place
[13:44] <EriC^> anden: it is actually that simple
[13:45] <turtle4793> awesome then please help me
[13:45] <anden> well i tried it but it appears it is not
[13:45] <anden> just get a list of usage instructions
[13:45] <turtle4793> i just updated python3 to 3.7.3 i think and now the terminal wont open
[13:45] <pragmaticenigma> anden: You might need to post the image somewhere for the volunteers here to try and work with
[13:45] <jwtiyar> tomreyn, i added 4gb swap and reduced networking time https://askubuntu.com/questions/1030867/how-to-diagnose-fix-very-slow-boot-on-ubuntu-18-04
[13:45] <pragmaticenigma> turtle4793: how did you do the upgrade?
[13:46] <turtle4793> i fisrt installed pip3 i think and the used that
[13:46] <turtle4793> i was mindlessly copying a post so i dont remember very well
[13:46] <EriC^> anden: what did yo urun exactly? is it a png you're giving it?
[13:47] <EriC^> andrex: try ./tesseract /path/to/image stdout -l eng
[13:48] <turtle4793> im trying to find the guide i was using
[13:48] <EriC^> anden: try "tesseract /path/to/image stdout -l eng"   andrex sorry for the mishighlight
[13:48] <tomreyn> jwtiyar: i'm looking at your logs - just a side note for now: there's two newer bios versions for this system https://www.acer.com/ac/en/GB/content/support-product/4844?b=1
[13:49] <jwtiyar> tomreyn, i had dual boot i deleted hard drive and reinstalled ubuntu
[13:50] <turtle4793> oh i also installed bs4 before that happened
[13:51] <jwtiyar> tomreyn, instal newer one?
[13:51] <turtle4793> and if this info helps any bit: i have tow "pythons" one that is just python and another that was python3 they ran on different version but after doing whatever the hell i did they were both the same version
[13:51] <jwtiyar> tomreyn, i dont have windows now
[13:54] <turtle4793> please anyone ? im really freakin out here
[13:55] <tomreyn> jwtiyar: okay, i understand. there are no obvious errors on your log. maybe this system just cannot boot faster due to its hardware limitations?
[13:55] <tomreyn> jwtiyar: how much ram does it have?
[13:55] <jwtiyar> tomreyn , it has 12 GB
[13:55] <tomreyn> oh plenty
[13:56] <jwtiyar> its i5 4200U
[13:56] <jwtiyar> intel
[13:56] <tomreyn> jwtiyar: can you show the output of:   systemd-analyze critical-chain |nc termbin.com 9999
[13:57] <jwtiyar> https://termbin.com/j7tp
[13:57] <tomreyn> jwtiyar: also this: systemd-analyze blame |nc termbin.com 9999
[13:58] <jwtiyar> tomreyn, https://termbin.com/ylus
[13:58] <tomreyn> jwtiyar: did you boot more than just once after installing ubuntu?
[13:58] <jwtiyar> tomreyn, from the time i installed this one?
[13:58] <tomreyn> jwtiyar: yes
[13:58] <jwtiyar> tomreyn, maybe 20 times made boot to ubuntu
[13:59] <tomreyn> ok
[13:59] <jwtiyar> been a week tomreyn
[13:59] <jwtiyar> tomreyn, there was a coomand which tells how long it took last boot , i forget
[14:01] <tomreyn> jwtiyar: systemd-analyze
[14:02] <pragmaticenigma> !pm | turtle4793
[14:02] <pragmaticenigma> !patience | turtle4793
[14:04] <jwtiyar> tomreyn, i edited this file sudo nano /etc/systemd/system/network-online.target.wants/networking.service now changed from 5min to 5s , does effect?
[14:04] <pragmaticenigma> turtle4793: I don't have a solution for you... you shouldn't be upgrading or installing any version of Python on Ubuntu. Ubuntu comes with Python preinstalled and that is the version is relied on by many tools. At this point, I believe your system is in a state where you should restore from a backup or reinstall ubuntu and not mindlessly install things. Especially python which is used by the majority of Ubuntu for system operations
[14:04] <tomreyn> jwtiyar: can you show:    free -m | nc termbin.com 9999
[14:05] <jwtiyar> tomreyn, https://termbin.com/4jz1
[14:05] <tomreyn> jwtiyar: are you saying you somehow (how?) edited /etc/systemd/system/network-online.target.wants/networking.service and before you edited it, it took 5 minutes to bring up your network, now it takes 5 seconds to do so?
[14:05] <Paddy_NI> hggdh, Absolutely :-)
[14:06] <jwtiyar> tomreyn, i saw some article in askubuntu one of them told this may help
[14:06] <turtle4793> pragmaticenigma  oh alright, thanks , sorry for my impatience
[14:06] <Paddy_NI> hggdh, If anything it's just a feature parity request
[14:06] <jwtiyar> tomreyn, https://paste.ubuntu.com/p/mCB9qYqPfp/
[14:07] <turtle4793> pragmaticenigma so for the future, how do u recommend i upgrade if i needed to ? like if 3.8 came out or something
[14:07] <pragmaticenigma> !latest | turtle4793
[14:07] <tomreyn> jwtiyar: by the time you posted your system log for me, you had not yet rebooted asfter applying the changes discussed at https://askubuntu.com/questions/1030867/how-to-diagnose-fix-very-slow-boot-on-ubuntu-18-04
[14:07] <pragmaticenigma> turtle4793: If you absolutely must have the latest version of python, learn how to work in virtual environments
[14:07] <jwtiyar> tomreyn, yes didnt reboot yet
[14:08] <pragmaticenigma> turtle4793: The best place to start is learning about virtualenv
[14:08] <jwtiyar> tomreyn, and installed preload also
[14:08] <tomreyn> jwtiyar: "preload"?
[14:09] <jwtiyar> tomreyn,
[14:09] <jwtiyar> https://itsfoss.com/improve-application-startup-speed-with-preload-in-ubuntu/
[14:09] <turtle4793> pragmaticenigma alrighty will do thanks , and extremly sorry agian, have a good one!
[14:09] <jwtiyar> tomreyn, do a RAM managment
[14:10] <jwtiyar> tomreyn, i will reboot and back to you
[14:10] <tomreyn> jwtiyar: run this: apt show preload
[14:10] <tomreyn> read the last two lines
[14:11] <jwtiyar> tomreyn, https://paste.ubuntu.com/p/MW3jkwWWz9/   :)
[14:11] <jwtiyar> tomreyn, i didnt know i saw some article said it will make ram managmnet
[14:12] <sruli> ssh-add /path/to/key_file i enter passphrase but it does not remember it, why? how do i resolve this? (ssh-agent is running)
[14:12] <tomreyn> jwtiyar: so all i can really say is that it took a long time for your network connection to get configured. this should be examined more closely. i don't know what you changed in networking.service or whether you changed this before or after you created a log and asked for help here.
[14:12] <jwtiyar> tomreyn, probably not effecting boot time
[14:13] <tomreyn> jwtiyar: please note that i can best work based on a specific, fixed state, not a moving target where you make changes to the configuration all the time, and where i cannot tell whether those changes were done before or after logs you show have been applied.
[14:14] <jwtiyar> tomreyn, before send you a log in five minute may be i changed this as i said i chANGED this https://paste.ubuntu.com/p/mCB9qYqPfp/
[14:14] <jwtiyar> tomreyn, when i did this change i was not entering here yet
[14:14] <jwtiyar> tomreyn, change back to default? 5min
[14:15] <tomreyn> jwtiyar: personally i'd keep it to the default and try to concentrate on fixing the underlying issue
[14:15] <jwtiyar> tomreyn, i change back to 5 min and removed preload app
[14:16] <tomreyn> jwtiyar: if it takes 5 minutes to configure your network interfaces then something can be wrong with your network interface configuration, drivers, or dhcp / RA.
[14:17] <jwtiyar> tomreyn, now its 5min as default and removed preload app
[14:18] <tomreyn> jwtiyar: okay. does it take a long time to bring up your network interface then? you can press escape during boot or boot without the 'quiet splash' parameters to see what is happening during boot.
[14:19] <tomreyn> (actually i'm not sure pressing escape will work)
[14:19] <tomreyn> !kernelparm
[14:19] <jwtiyar> tomreyn, when it boots its just the black or orange screen thne come to boot and i removed lock screen also to make the process faster
[14:21] <tomreyn> so apparently you made a lot of changes already, and are only discussing those one by one now. i suggest you try with a fresh unmodified (but fully updated, after installation) ubuntu installation and report your findings there
[14:21] <jwtiyar> i didnt change anything
[14:21] <jwtiyar> i just removed lock screen
[14:22] <jwtiyar> tomreyn, option that let system logging automatically no need to enter pasword(during ubuntu installation)
[14:23] <jwtiyar> tomreyn, didnt anyhting was an option and thought may this help also to make boot faster
[14:23] <tomreyn> "lock screen" is what shows up when you leave the fully booted computer, running a graphical desktop,for some minztes. it is unrelated to booting.
[14:24] <tomreyn> maybe you are saying that you activated automatic graphical login without a need to enter your password at boot.
[14:24] <jwtiyar> tomreyn, No when i was booting ubuntu this lock screen comes and ask for password to log in the system i just disabled it and log in automatically
[14:24] <jwtiyar> tomreyn, yes
[14:25] <tomreyn> i see
[14:25] <anden> EriC^: sorry was afk. thanks, tried your suggestion, it's producing.. something. actually i mainly want it to read the numbers from my image, and yes it's a PNG.
[14:25] <anden> couldn't find anything about "number" or "digit" in the manpage
[14:26] <tomreyn> jwtiyar: this should not impact the boot speed other than by how long it takes you to enter the password (while automatic login is not enabled), though.
[14:27] <jwtiyar> tomreyn, im
[14:28] <jwtiyar> tomreyn, i dont know what to do with this slow boot , its impossible 12gb Ram boot like this
[14:28] <anden> even cropping out only the numbers, the results come out as "mm mum", not very useful
[14:32] <anden> i can post the link to the image of the text i'm trying to OCR, if i'm allowed
[14:32] <tomreyn> jwtiyar: i'm afraid i don't know what else to suggest at this point. try disconnecting any usb devices you don't strictly need, and see if it boots faster then.
[14:32] <jwtiyar> tomreyn, ok
[14:33] <tomreyn> jwtiyar: maybe also disable the wireless connection since you seem to have both wired and wireless.
[14:43] <sruli> ssh-add /path/to/key_file i enter passphrase but it does not remember it, why? how do i resolve this? (ssh-agent is running)
[14:44] <EriC^> anden: k post it
[15:04] <anden> alright, here it is: EriC^ https://i.vgy.me/JxG73c.png
[15:07] <RandomGuyOnIrc> I am trying to completely remove eclipse from my system. I tried: apt-get remove --purge eclipse-cdt-*  and apt-get purge eclipse-cdt-* , but stuff is still left behind. How do I completely remove a set of packages?
[15:08] <afidegnum> hi, i can't see the settings menu again after removing and reinstalling network manager
[15:08] <afidegnum> how do i get the sertting interface back ?
[15:08] <afidegnum> ubuntu 18 is giving multiple problems after upgrading it
[15:11] <malwar3hun73r_> this may be the wrong location, but since the problem is affecting multiple things... after upgrading Ubuntu VMs  don't seem to work anywere, VMware, virtualbox, or hyper-v - any thoughts?
[15:12] <EriC^> anden: im getting a few letters, mainly this 35 2514277   2 291 1
[15:12] <akemlenovo> Hey, i'd like to undervolt this Thinkpad laptop which has an AMD E1 1200 CPU, can't find much information online, i can do it easly on Windows with K10Stat but i doubt i could use that with Wine.
[15:12] <malwar3hun73r_> They all freeze at this point https://ibb.co/zFsPPP1
[15:13] <EriC^> anden: you might have to press the image first using some tools like 'convert' from imagemagick etc or some special tesseract options
[15:13] <EriC^> *prep
[15:13] <malwar3hun73r_> this is ubuntu 18
[15:13] <anden> yeah, i was thinking the same thing. desaturating it helped a bit apparently
[15:14] <anden> i'm really quite surprised OCR still seems so hard though, are these projects not using neural networks?
[15:14] <anden> and maybe they shouldn't be when reading fonts that always look the same, such as digital text in a screenshot
[15:15] <anden> i mean i have very poor coding skills but i could probably throw together something that could correctly read cleanly rendered digital text for one specific font in a few hours
[15:16] <anden> i totally get that OCR cannot be like that, but maybe there's a tool that does this better? since it should just correlate a certain specific layout of pixels that should always be in the same shape with a letter
[15:18] <jharttech> anden: have you tried gocr
[15:18] <lordcirth> anden, neural networks don't solve everything automatically, they have to be carefully trained and often make mistakes.
[15:18] <anden> yes, that's what i started with
[15:18] <anden> yeah, but i don't get how a lossless screenshot of english text in a very standard font fails so miserably with the default settings
[15:19] <anden> i mean to me, that seems like pretty much the optimal scenario for it to read
[15:19] <anden> it's not like i'm trying to read ancient chinese handwriting or anything...
[15:20] <EriC^> i think the image isnt correct somehow, i've tried it before and it had no issues with text or font
[15:20] <jharttech> I hear ya, I ended up having to do some tricks with imagmagick to get a simple english read
[15:21] <EriC^> the image needs some kind of preprocessing, if you try writing anything cleanly using some image drawing tool and try it on tesseract it wont fail at all
[15:22] <EriC^> anden: you could try 'sikulix' maybe it does the preprocessing and stuff for you
[15:22] <anden> thanks, i'll give it a go
[15:23] <EriC^> it's based on tesseract developed by MIT
[15:25] <anden> EriC^: No command 'sikulix' found, did you mean: Command 'sikuli' from package 'libsikuli-script-java' (universe) -- is that the same package? like, there's no X at the end, because it runs from the command line?
[15:26] <EriC^> anden: http://sikulix.com/
[15:26] <anden> yeah, i saw the webpage, just thought i'd check my repos first
[15:26] <EriC^> sikulix is based on sikuli but some guy added features or something, ive tried it, not bad
[15:26] <anden> i see
[15:27] <EriC^> also has some 'jython' language in it you can use to work with the pictures and do stuf
[15:33] <anden> EriC^: so the sikulix webpage is suggesting i get the early access JDK11, but oracle's website redirects me to the final version which is now 12, i got that but i'm getting an error when doing what it suggests, not sure if the error is from sikulix or just java itself
[15:33] <anden> IDE not yet useable with JavaScript only
[15:51] <sruli> ssh-add /path/to/key_file i enter passphrase but it does not remember it, why? how do i resolve this? (ssh-agent is running)
[15:56] <tomreyn> !yy.mm | malwar3hun73r_
[15:56] <Soo_Slow> hello. Does anybody know any tool to disable some of connected gamepads? (read "wine control's gamepad configuration tool, but for native apps") Even if its not in repos
[15:56] <tomreyn> !kernelparm | malwar3hun73r_:
[15:57] <tomreyn> malwar3hun73r_: boot without the     quiet splash    parameters which are set by default
[15:58] <tomreyn> malwar3hun73r_: doing so should provide on screen log output which may hint on the cause.
[16:31] <isomari_> how can I use sudo on an alias?
[16:35] <blackflow> isomari_: make the alias for root (or whatever user you wanna sudo that as).
[16:36] <isomari_> blackflow: I'm looking for  way to convert: sdo() sudo zsh -c "$functions[$1]" "$@" to alias. That works for fucntions.
[16:52] <L0uk3>   __ |/ |/ / /  __/  __/ /___  _  / / / /_/ // /_   uit
[17:00] <catbadger> hi all. I've got a new build that will be purely an ubuntu 18 workstation. It will have a 120gb m2 ssd and a 1tb spin drive. My thoughts were to put the os and everything on the ssd and use the spin drive for files. am i approaching this right?
[17:00] <catbadger> also with 32gb of ram, do i even need a swap partition?
[17:03] <rfm> catbadger, you need a swap partition (or file) if you want to hibernate
[17:06] <sub526> I have an Ubuntu PC. And I wan to ssh to it via IP address only and not via hostname. How do I disable  ssh-ing via hostname?
[17:06] <catbadger> @sub526 remve the hostname from your dns server?
[17:07] <sub526> catbadger : how to remove the hostname from dns server?
[17:07] <catbadger> well is the hostname public or private?
[17:08] <catbadger> like is it your .com? or is it the computer name?
[17:08] <sub526> private
[17:08] <sub526> computer name
[17:08] <catbadger> wehy not just not give out the hostname?
[17:09] <sub526> any other options?
[17:13] <tomreyn> sub526: yes, but no good ones. either you haven't explained the issue well or you're looking for a solution for the wrong issue.
[17:15] <rypervenche> sub526: Yeah, what exactly are you trying to accomplish?
[17:15] <catbadger> @timreyn +1
[17:15] <tomreyn> sub526: why would you want "ssh hostname-of-server" not to connect to the target system when "ssh ipadress-of-server" will?
[17:17] <catbadger> this sounds suspiciously like homework
[17:18] <catbadger> lol
[17:18] <criptocervantes> Is it generally better to install apps from the Ubuntu "app store" or find the app from the projects repo (github, etc)?
[17:18] <criptocervantes> I find it difficult to install apps that I've downloaded from a repo, so I tend to want to install from Ubuntu Software
[17:19] <tomreyn> criptocervantes: installing deb's provided by ubuntu would be the default approach, and what is supported here
[17:20] <criptocervantes> @tomreyn what are "debs", that's how new I am here, sorry and thanks :)
[17:20] <tomreyn> criptocervantes: how to best install software on ubuntu is one of the more basic concepts, i recommend reading some getting started guide to prevent misconceptions.
[17:20] <tomreyn> i'll look up some docs for you
[17:21] <criptocervantes> tomreyn: can you recommend a guide? thanks!
[17:21] <tomreyn> !apt
[17:22] <tomreyn> apt is the tooling to install .deb packages from sources you chose to trust (or trusted on first use of ubuntu)
[17:22] <catbadger> so is there a noticable performance improvement with ssd?
[17:22] <Forty-3> how do I source a file in dash?
[17:22] <lordcirth> catbadger, for hibernation, or in general? In either case, yes.
[17:22] <Forty-3> just . ?
[17:23] <criptocervantes> tomreyn: thanks!
[17:23] <tomreyn> criptocervantes: the ubuntu 'app store' provides access to both the ubuntu apt repositories (and others you may have configured manually) as well as to !snaps - a more recent (but rather complementary) software packaging / distribution approach.
[17:24] <tomreyn> !snap
[17:25] <tomreyn> criptocervantes: generally, documentation is available at https://help.ubuntu.com/ - documentation on managing software on the latest ubuntu release (currently 19.04) is available at  https://help.ubuntu.com/stable/ubuntu-help/addremove.html.en
[17:29] <lordcirth> Forty-3, good question. It's surprisingly difficult to find dash documentation. It keeps redirecting me to ash, then posix spec, and so on
[17:30] <Forty-3> in the man page, it shows the commands it accepts; no "source" but there is a "."
[17:30] <Forty-3> which is pretty strange
[17:30] <Forty-3> but I tried that and it worked, so...
[17:31] <catbadger> @lordcirth what's the best way to use an ssd and a spin drive? i was thinking my 120gb ssd should be for software and configs, and my 1tb spin drive should be for data
[17:31] <lordcirth> catbadger, depends on your use case? I used to keep / on SSD, and a HDD mount for bulk data
[17:32] <lordcirth> And I symlinked ~/Downloads and ~/Documents into the mount
[17:32] <catbadger> that is what I was thinking. thanks!
[17:32] <Forty-3> catalase: make a raid10,far2 for the ssd and hdd
[17:32] <Forty-3> and mount that at /
[17:32] <Forty-3> and use your hdd for /home
[17:33] <Forty-3> err, catbadger
[17:33] <lordcirth> Forty-3, a raid10 of two drives?
[17:33] <Forty-3> yes
[17:33] <Forty-3> with far2 from mdadm
[17:34] <Forty-3> c.f. https://wiki.archlinux.org/index.php/RAID#Nested_RAID_levels
[17:34] <lordcirth> That's a pretty odd way to get expandability.
[17:34] <Forty-3> there is a debian article on it somewhere as well
[17:34] <Forty-3> expandability?
[17:35] <Forty-3> it's for the speed
[17:35] <Forty-3> and ofc the reliability
[17:35] <lordcirth> how will chaining an SSD with a hard drive improve speed?
[17:35] <lordcirth> You might get SSD read speeds, but HDD write speeds
[17:36] <Forty-3> if you use raid10,far2 mdadm will read from the sdd and hdd at once
[17:36] <Forty-3> and if you use write-mostly for the hdd you get ssd write speeds
[17:36] <lordcirth> While that's interesting, it seems excessively complex to recommend to a user asking for help
[17:37] <Forty-3> https://wiki.debian.org/Multi%20HDD/SSD%20Partition%20Scheme
[17:37] <Forty-3> it's not excessively complicated
[17:37] <Forty-3> and it gets good performance and redundency
[17:52] <DuckyDev> Hi guys, I'm trying to update my ubuntu server but I get this error for some reason ( https://pastebin.com/jn9CrcuQ ) ?
[17:52] <DuckyDev> any ideas?
[17:54] <ioria> !17.10
[17:54] <pragmaticenigma> DuckyDev: Support for artful ended and the software respositories are no longer available
[17:55] <pragmaticenigma> !eol | DuckyDev
[17:57] <tomreyn> DuckyDev: so, assuming the system has been running during the past year, it did so without security patches (and could well be compromised by now).
[18:02] <DuckyDev> Thanks guys! It seems like a smart move to update the container :D
[18:03] <lordcirth> DuckyDev, yeah, probably best to install 18.04 and stick to LTS
[18:45] <Sven_vB> can a process intercept SIGTERM to its parent? they run as the same user. the parent is a process manager that I'd like to keep because while it does the wrong thing when it gets SIGTERM, its other features are nice.
[18:49] <Sven_vB> oh looks like I could attach ptrace to it just by pid, independent of ancestry.
[19:14] <mithrison> hi, I want to customize ubuntu server packages and create a bootable image for rasberry pi that includes those custom added packages in it
[19:18] <tomreyn> mithrison: that#s more of a development related question than a support question (which this channel is about). there's #ubuntu-app-devel, #ubuntu-devel (read their channel /topic), and several mailing lists at https://lists.ubuntu.com/.
[19:19] <tomreyn> also, support for ubuntu server is available in #ubuntu-server
[19:20] <nexiu> its my 1st time when I connect cables to patch panel, and I probably do it wrong... could any1 verify this connection and tell me correct color order from left to right for B standard? imgbb: https://ibb.co/Jvq6ZQL
[19:20] <ioria> nexiu, wrong channel ?
[19:21] <tomreyn> try ##networking
[19:21] <nexiu> okay, thanks mates!
[19:21] <Gallomimia> i'm still really unsure of where to look at patchnotes for the linux-firmware package i'm downloading now
[19:22] <Gallomimia> the bot has hints doesn't it?
[19:23] <lotuspsychje> Gallomimia: what are you trying to do exactly with linux-firmware?
[19:23] <Gallomimia> just read
[19:23] <tomreyn> Gallomimia: do you mean    apt changelog linux-firmware
[19:23] <Gallomimia> what is it going to do to my already shakey boot process
[19:23] <Gallomimia> ah that'll help thanks
[19:42] <fullstack> hi, after I reinstalled I have no sound in Youtube -- but I can hear pavucontrol change my headphone volume.
[19:43] <fullstack> how do I tell Chrome to use my audio headphone instead of whatever it found (probably HDMI?)
[19:44] <tomreyn> does it work in chromium-browser?
[19:44] <fullstack> how to set the default audio output
[19:45] <fullstack> no it does not
[19:45] <fullstack> but it works under pavucontrol I can hear the Duck sound when I move the volume level for Analog AUdio Out
[19:47] <varaindemian> can I dualboot windows with ubuntu if ubuntu was installed first on my drive?
[19:49] <lotuspsychje> !dualboot | varaindemian start here
[19:49] <tomreyn> fullstack: hmm i can't seem to find out how to configure audio devices in chromium-browser specifically, at least not by lokking at its configuration screens. maybe you can find more info on the web on this. generally, i'd also expect it to work if pavucontrol has it working.
[19:50] <lotuspsychje> fullstack: whats your ubuntu version? soundcard chipset? driver loaded? system up to date? dualscreens?
[20:01] <tomreyn> !pm | Thr0r
[20:03] <Thr0r> k,,
[20:10] <sots> Hi. When i delete an app that was installed by synaptic package manager, and then reinstall with apt, it still looks for the app in /snap/bin, instead of /usr/bin. Is it symlinked somehow? How can I redirect path to /usr/bin? App was irssi, if it matters.. Thanks
[20:11] <lotuspsychje> sots: there are packages you can install via snaps or apt, those have different ways of install
[20:13] <hggdh> sots: and *both* of them might be installed. So it is probable you removed the apt-packaged one, and left the snap still in
[20:14] <sots> lotuspsychje: yes, but once i remove the app, how can i remove the symlink? I removed the snap install and left the apt install. It states, /snap/bin/irssi does not exist. If i type /usr/bin/irssi, it will start. Deleting the directories didnt work.
[20:16] <sots> i just want to type irssi. I could probably alias to /usr/bin, but im sure that will cause a problem somewhere.
[20:17] <lordcirth> sots, if you open a new shell with 'bash' does it work? I think was all it took for me.
[20:17] <sruli> ssh-add /path/to/key_file i enter passphrase but it does not remember it, why? how do i resolve this? (ssh-agent is running)
[20:18] <lotuspsychje> sots: can you pastebin: apt-cache policy irssi && snap info irssi please
[20:18] <GuiToris> hi, has anyone used fail2ban here?
[20:19] <EriC^> sots: type "echo $PATH" and paste please
[20:20] <sots> lordcirth: viable option. I didnt think to try that. Ill have to try tonight, Im on a different laptop now. Thanks though. This has happened to me before where I believe it was a script that installed and left a path somewhere. But ill try those things. If not, ill paste the info tomorrow. Thanks
[20:21] <EriC^> sots: when you type 'irssi' in a bash, it uses the variable $PATH to look in directories one by one for a program and runs the first one it finds
[20:23] <EriC^> this is mine, /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin   so if it's running the /snap/bin/irssi one, then either  /snap/bin is first in the list, or the one is /usr/bin doesnt exist (apt package didnt install correctly)
[20:23] <EriC^> *one in
[20:24] <sots> Eric^: hmm. interesting. And if it is first in the list, how to I change path?
[20:24] <lotuspsychje> GuiToris: we focus on ubuntu issues here mostly, is your fail2ban issue related?
[20:25] <EriC^> sots: well, it's usually set in /etc/environment, but you could have something ing ~/.bashrc or ~/.profile that's influencing it as well
[20:25] <tomreyn> EriC^ + sots: but if /snap/bin/irssi no longer exists, the order PATH compoents are listed in should not matter, right?
[20:25] <EriC^> sots: "grep PATH /etc/environment ~/.bashrc ~/.profile" should give some info, then edit the file
[20:26] <GuiToris> lotuspsychje, I'm trying finding the solution on that channel too, but it seems to be so quiet, I don't know if it's an ubuntu issue or fail2ban issue. The server is ubuntu and something isn't right
[20:27] <sots> Eric^: ok thanks. i checked .bashrc and .config, no luck there. Ill check .profile next. Ill have to dig deeper later. thanks much sir.
[20:27] <EriC^> tomreyn: yeah, that's right, the snap irssi stuff must be still lingering, in any case it should run the apt version at least for me its default
[20:27] <lotuspsychje> GuiToris: maybe share your details to the channel, volunteers can think along with you, or point you to the right channel(s)
[20:29] <GuiToris> actually my problem isn't too difficult, I set maxretry 3 under [sshd] in /etc/fail2ban/jail.local , but it bans me after my first attempt
[20:29] <sots> EriC^ + tomreyn: hopefully the new shell will set things straight. Ill try a reboot tonight first.
[20:41] <Mr_Cyclops> Hello. I am using Ubuntu Budgie 18.04.2 .... I want to add some custom script actions in the Nautilus right click menu. For e.g. I want to select say 5 files, right click on them, and select a custom action .. say "Combine Files" How may I achieve it?
[20:44] <coffeecow> I'm using Ubuntu 19.04. Whenever I access my home server via SFTP Gnome or something asks for my key's passphrase, which I don't have memorized--it's stored in my password manager. However, I can't access my password manager while this passphrase prompt is open. So it just continues to be annoying.
[20:46] <tomreyn> Mr_Cyclops: generally, there's #ubuntu-budgie for ubuntu budgie, but then standard ubuntu also uses gnome and nautilus, so this works here as well (sorry if you already went through those thoughts). There's https://help.ubuntu.com/community/NautilusScriptsHowto - which hasn't been updated recently, but it may still work.
[20:50] <tomreyn> coffeecow: you may be able to copy the password to the clipboard and paste it there with ctl-v (may or may not work). another option may be to configure ssh authentication with a key file, ensure this key is added to your ssh agent and that it has the key decryption password cached before you start to connect.
[20:51] <coffeecow> I think the latter makes the most sense. I didn't know you could cache the password for the key file.
[20:51] <tomreyn> you could also set a non graphical pinentry utility.
[20:51] <coffeecow> is that... safe?
[20:51] <coffeecow> well the problem is that when it asks for the password it steals focus and i can't do anything but enter in a password or hit cancel
[20:51] <coffeecow> so say backups are running
[20:51] <tomreyn> it's safe while you have physical control over the computer
[20:52] <coffeecow> my hdd is encrypted too
[20:52] <Mr_Cyclops> tomreyn, hey thanks for that URL. I will check it out. Appreciate your time and help :)
[20:52] <tomreyn> you're welcome :)
[20:55] <tomreyn> coffeecow: ignore the "pinentry" suggestion, i think this is for gpg-agent only
[20:55] <dmnur> sruli: check `ssh-agent -l` - this shows all identities that are remembered by the agent. If there are none, check `pgrep -a ssh-agent`. Maybe it has some very low timeout value? E.g. `ssh-agent -t 1` will forget everything in 1 second.
[20:57] <coffeecow> tomreyn, something like this? https://geekoverdose.wordpress.com/2019/03/05/ssh-remember-cache-key-password/
[20:57] <tomreyn> sruli: also   "env | grep SSH"  should probably list both an SSH_AUTH_SOCK and SSH_AGENT_PID - make sure you have a single ssh agent running and it matched this PID and the auth socket exists.
[21:00] <tomreyn> coffeecow: yes. do an    ssh-add -l   before you start working on this since it may be that those keys already get loaded, just not unlocked.
[21:01] <tomreyn> i think there's some kind of automation in gnome / ubuntu gnome for this (unless i'm mixing this up with gpg again)
[21:01] <tomreyn> i have custom settings here so don't remember what the default is there.
[21:03] <coffeecow> thanks tomreyn
[21:05] <spacetechnician> Why does the console (i.e., /dev/tty0, ..., /dev/tty6) have a login timeout of 60 s?  In some circumstances it becomes impossible to login b/c it might take five min. for the password prompt to appear.
[21:06] <s34n> Can I put multiple `address` on an iface in /etc/network/interfaces?
[21:08] <tomreyn> spacetechnician: security. you don't want someone to benefit from your partially typed password by guessing the final character you missed to type when you were called away from the computer. that's just one scenario, the are probably other / better ones.
[21:08] <dmnur> s34n: see here: https://wiki.debian.org/NetworkConfiguration#Multiple_IP_addresses_on_one_Interface
[21:09] <spacetechnician> tomreyn: Well that's quite obvious, but why would anyone leave a partially-typed password in??
[21:09] <tds> s34n: if you use ifupdown2 you can also just repeat the address line
[21:11] <tomreyn> spacetechnician: because soemone forgets about everything and the world when their deity is calling. it's a possible scenario. feel free to make up others and ask a libpam or systemd-logind support channel (i'm not sure which one would be adequate).
[21:14] <s34n> dmnur: thanks. I actually have to create an iface eth0:1?
[21:15] <spacetechnician> Another thing, why is the niceness of Xorg the same as that of login?  Couldn't it be safely presumed that if someone is logging in via tty1, ..., tty6 when X is running, that something is borked?
[21:16] <dmnur> s34n: eth0 for the 1st address, eth0:0 for the 2nd, eth0:1 for the 3rd, and so on.
[21:17] <tomreyn> dmnur / s34n: note that while /etc/network/interfaces is still supported, this is no longer the defult way of configuring networking.
[21:18] <spacetechnician> What happens many times is that the GUI is essentially unresponsive, but the system can be saved by going into a console due to its lower resource requirements.  However, with the same niceness level, login sometimes times out due to the 60 s limit.
[21:18] <DanDare> spacetechnician, it works if you change it's nice value?
[21:18] <tomreyn> depending on whether you're using ubuntu desktop or server, you may want to prefer network-manager or systemd-networkd, with the optional (but generally recommended, at least for servers) netplan 'frontend' / tooling.
[21:19] <tomreyn> dmnur / s34n: ^
[21:19] <spacetechnician> DanDare: I have not tried renicing, but I don't understand why ``login'' isn't reniced when X is active.
[21:20] <tomreyn> spacetechnician: no that's not a safe assumption. you may have the same or different person logging in on different ttys
[21:20] <s34n> tomreyn: thanks. I'm working on a 14.4 box. I already looked to see if it had systemd
[21:20] <tomreyn> !14.04 | s34n
[21:20] <tomreyn> s34n: i.e. not supported here
[21:20] <s34n> I know. I know. It's not my box
[21:21] <tomreyn> and still you seek support for it here
[21:21]  * s34n shrinks
[21:22] <spacetechnician> tomreyn: Multiple users on the *local* (i.e., not serial, SSH, etc.) console?
[21:22] <tomreyn> spacetechnician: maybe in a power plant such might exist, dunno
[21:22] <tomreyn> or amongst space technicians
[21:23] <DanDare> Its not ok to make questions in here about releases not officially supported anymore?
[21:23] <spacetechnician> tomreyn: SCADA systems should have their own login scheme.
[21:23] <tomreyn> DanDare: let's discuss in #ubuntu-discuss
[21:24] <spacetechnician> tomreyn: And anyway, we're talking about console vs. X niceness, not like varying niceness across consoles.
[21:28] <tomreyn> spacetechnician: if X priority was higher than that of ttys, there could be a situation where you could no longer switch to a tty to login there and kill the problematic process that's higging X.
[21:29] <tomreyn> spacetechnician: but you can configure priorities (and I/O schedulers) as you wish
[21:30] <spacetechnician> tomreyn: obviously...I'm talking about *console* priority being higher than that of X...
[21:30] <spacetechnician> tomreyn: Of course it can be configed, but it seems like a reasonable default.
[21:31] <tomreyn> spacetechnician: there's likely a better response that i cannot provide.
[21:33] <pcaddict> i am running ubuntu server 19.04 and have started having a bit of a network issue when using a torrent client lately. after the initial install everything was working as expected however i suspect an update in the past few weeks has done something to my network configuration. upon adding a torrent, the client seems to begin the download but then quickly drops to not downloading at all. i know the client configuration is ok so i
[21:33] <pcaddict> am at a loss. can anyone offer some suggestions on what i might check?
[21:33] <tomreyn> !server | pcaddict
[21:37] <pcaddict> apologies. i'll ask over there
[21:39] <tomreyn> no worries ;)
[21:43] <Mibix> can someone help me with this?  I tried to install motioneye using these instructions https://github.com/ccrisan/motioneye/wiki/Install-On-Ubuntu  I accidentally did the "pip install motioneye" step without sudo then did "pip uninstall motioneye" I then installed the correct way with sudo and now it cant find any of the dependencies :(
[22:06] <plugwash> when trying to install ubuntu in virtualbox is it normal for there to be constant CD access and a barely responsive UI while it is asking me what type of install I want?
[22:11] <teward> @plugwash: are you using a USB or the straight ISO mount  And what resources are on your system and are assigned to the VM?
[22:12] <plugwash> ISO mounted as a CD in virtualbox, 1GB ram, 10GB HDD
[22:13] <teward> plugwash: and the host syste's resources?
[22:14] <teward> because usually when i see 'barely responsive UI" I usually point fingers at there not being enough resources to run the host or the guest
[22:16] <plugwash> host has 16GB of ram and isn't doing much else, there doesn't seem to be any significant swap activity, but the VM seems to be constantly reading it's CD which seems odd since I haven't finished answering the questions about what type of install I want (and the GUI has gone from barely responsive to totally unresponsive)
[22:20] <plugwash> trying again with 4GB of ram seems to have solved the issue, I'm surprised an installer would need so much though.
[22:20] <tomreyn> plugwash: give it some more than 1 GB RAM, this is a bit short for the gnome desktop installer.
[22:22] <tomreyn> https://help.ubuntu.com/community/Installation/SystemRequirements#Ubuntu_Desktop_Edition
[22:23] <tomreyn> 4GB RAM recommended for the (gnome-shell) desktop https://ubuntu.com/download/desktop
[22:39] <raedah> i created a new user on my server but tab complete doesnt work for it.
[22:39] <raedah> looks like all the skel files are there
[22:40] <sarnold> raedah: what does 'getent passwd <username>' report for your user?
[23:01] <raedah> sarnold: i see  /bin/sh   could be an issue
[23:01] <sarnold> raedah: wow, how'd you get *that*?
[23:01] <sarnold> raedah: it should look like this:
[23:01] <sarnold> sarnold:x:1000:1000:Seth Arnold,,,:/home/sarnold:/bin/bash
[23:01] <sarnold> but with your own GECOS of course :)
[23:02] <raedah> useradd x -m   is how i created it
[23:02] <raedah> x:x:1000:1000::/home/x:/bin/sh     is the full output
[23:03] <raedah> guess i need  -s /bin/bash   too
[23:04] <raedah> do i manually edit the passwd file now or is there a cmd to change my shell ?
[23:04] <sarnold> chsh
[23:04] <sarnold> but that shouldn't affect aything except x's shell
[23:04] <teward> sarnold: default login shell served on SSH login, etc. also is affected by the setting in passwd, if they're a remote user or opening the console in gnome-terminal or similar it would drop them to a /bin/sh (dash) prompt
[23:05] <teward> an issue I discovered several times >.<
[23:19] <coffeecow> I'm thinking about buying the  ThinkPad Fibocom L850-GL CAT9 M.2 WWAN but wanted to make sure that I can actually use it in Ubuntu lol
[23:24] <tomreyn> coffeecow: not on a thinkpad, unless this got solved and there is actually support for the modem (which so far also doesn't seem to be the case) https://lists.freedesktop.org/archives/modemmanager-devel/2018-August/006582.html
[23:29] <coffeecow> tomreyn, good to know lel
[23:29] <coffeecow> tomreyn, big thanks
[23:33] <Thr0r> What is the general purpose of the console you get with CTRL+ALT+F11?
[23:38] <Flexman> hi... just a hardware question. i noticed that some m.2 ssd have two holes instead of one. is there a difference?
[23:39] <tomreyn> try ##hardware
[23:39] <Flexman> thanks
[23:45] <rwp> Thr0r, Computer interaction and useful work?  It's the standard console interface that has been around for 40 years.
[23:50] <Thr0r> rwp: Ah - ok - so if you get into problems with i.e. HW You can use that console to fix things maybe?
[23:50] <rwp> I'll say yes.  But also one can use that console for useful work.
[23:51] <rwp> When Ken Thompson created Unix he was working at that console.
[23:51] <sarnold> lol
[23:53] <sarnold> unix was written on systems with way less horsepower than that even :) enjoy http://warsus.github.io/lions-/
[23:57] <sloshy> how can i make a uefi bootable usb stick
[23:57] <sloshy> i tried startup disk creator and it didnt work
[23:57] <sloshy> i dont understand why theres no tool for linux for creating a linux usb stick and everyone says to use rufus on windows