[00:13] <giaco> when I plug an usb stick, it mounts itself. When I click on unmount in gui, it umounts. If then I try to remount it again via shell, it says cannot open /dev/sdb: No medium found
[00:14] <giaco> is the umount via gui such a powerful umount that not even root can detect it anymore?
[00:14] <giaco> if I were the kernel I'd scared by that button
[00:19] <opgog> you using 19.10?
[00:20] <giaco> opgog: no, 18.04
[00:21] <giaco> if I umount it with sudo umount, I can remount it again. Using the gui, I have to unplug and replug the usb stick
[00:23] <opgog> hmmmmm not sure what's happening there.
[00:23] <opgog> =\
[00:24] <giaco> it's ubuntuing, that's it
[00:27] <leftyfb> giaco: that button is "eject", not umount
[00:28] <leftyfb> I know the tooltip for it says "Unmount", but that's wrong
[00:28] <opgog> jesus. that's right.
[00:28] <giaco> I hope this bug is not present on jet fighters
[00:33] <sarnold> giaco: it's even worse than you think :) https://www.itwire.com/business-technology/new-f-35-fighter-jet-will-fly-by-firewire.html
[00:34] <giaco> sarnold: wow! Why not using dbus?
[00:52] <DarkTrick> Hello, I changed owner and group of /etc/passwd, /etc/shadow, and the passwd program
[00:53] <DarkTrick> logging in is no problem, but when I try to change my password I get a "Authentication token manipulation error"
[00:53] <DarkTrick> can someone tell me, what I forgot the change?
[01:05] <rfm> DarkTrick, chown'ing password lost the setuid bit; you can turn it back on with "sudo chmod u+s /usr/bin/passwd", but I can't guarantee something else won't break with such a crazy scheme
[01:08] <DarkTrick> rfm, sorry, forgot to mention
[01:08] <DarkTrick> the setuid bit is set
[01:09] <DarkTrick> is there any other file, that is getting touched during the password-changing process?
[01:13] <leftyfb> DarkTrick: why are you doing any of this?
[01:15] <DarkTrick> leftyfb, I thought it's a good idea to give a process only as many rights, as it needs. A password change does not require the god-power for the whole system in my opinion
[01:17] <sarnold> DarkTrick: you may prefer this instead https://www.openwall.com/tcb/
[01:17] <sarnold> I haven't got a clue if it needs updating or anything
[01:18] <sarnold> but it's surely a better idea than just flipping bits :)
[01:21] <DarkTrick> sarnold, I check it out
[01:28] <p0wder> i formatted an external hd as ext4 no journal to use for music/movies, and the filesystem reserved 100GB
[01:28] <rfm> DarkTrick, I suspect passwd does the trick of writing out under a temporary name and then renaming, to make the change safe and atomic.  Which means you'd have to give passwd write access to /etc, which is pretty much complete control of the system
[01:28] <p0wder> is it ok to lower the amount of reserved space? or do i need that much for defrag?
[01:29] <ryuo> p0wder: that's not what the reserved space is used for.
[01:29] <ryuo> p0wder: it's reserved for the root user. set it to 0 if you don't feel you need to do that.
[01:31] <p0wder> really? yeah- i dont need it for root user
[01:31] <p0wder> i just want to be able to backup stuff, and maybe use it for timeshift backups
[01:34] <p0wder> man tune2fs:
[01:34] <p0wder>     Reserving some number of filesystem blocks for use by privileged processes is done to avoid filesystem fragmentation
[01:34] <leftyfb> ryuo: reserved disk space while partitioning has nothing to do with the root user
[01:35] <leftyfb> It's so you can still recover your filesystem if it runs out of disk space
[01:35] <ryuo> leftyfb: ... the -m argument of mkfs.ext4 disagrees.
[01:35] <ryuo> from the manpage
[01:35] <ryuo> Specify the percentage of the filesystem blocks reserved for the super-user.  This avoids fragmentation, and allows root-owned daemons, such
[01:35] <ryuo>               as syslogd(8), to continue to function correctly after non-privileged processes are prevented from writing to the filesystem.   The  default
[01:36] <ryuo>               percentage is 5%.
[01:36] <ryuo> super-user, AKA root
[01:36] <p0wder> i made it like this- mkfs.ext4 -O ^has_journal /dev/sdb1
[01:36] <ryuo> how does this have nothing to do with the root user?
[01:37] <joules> hi, any advice on what the command is to enable sddm from systemctl? I needed to revert back from "systemctl disable sddm" however the reverse (enable) won't apply (gives errors).
[01:37] <p0wder> so basically i do need some for fragmentation purposes?
[01:37] <leftyfb> ryuo: It means, only the root user and it's processes have access to that reserved space so they can be used to recover from running out of disk space.
[01:38] <leftyfb> joules: pastebin those errors
[01:38] <ryuo> leftyfb: yes. i know. you're saying it has nothing to do with the root user. i was telling p0wder that it's safe to disable it for their use case.
[01:39] <ryuo> since it's not a system drive.
[01:39] <ryuo> or partition even
[01:39] <p0wder> yeah i thought 100gb was too much for non os drive
[01:40] <joules> I'm trying to re-enable sddm but not sure what the command process is for it. https://paste.ubuntu.com/p/tQ7pJCTgrJ/
[01:40] <p0wder> but then i also thought if i do timeshift backups, creating and deleting over time will fragment a little
[01:41] <p0wder> storing my music/movies should be fine w/o it tho
[01:44] <joules> oh well, not sure why systemctl will allow a "disable" but not "enable", seems like someone forgot setting up proper units for that. I'll just --reinstall
[01:45] <woenx> Hi. I have a video file that I captured from a VHS tape. However, the audio and the video are out of sync by a second or so. What tool could I use to correct that?
[01:45] <woenx> I tried kdenlive, but it's nighmarish to use
[01:46] <DarkTrick> rfm, hm... sounds reasonable to me... setting rights for /etc does not
[01:46] <DarkTrick> rfm, thank you
[01:47] <joules> woenx: kdenlive is great? Guess recommending ffmpeg commands is out of the question then. Also might just be a case of incorrect fps, depends on how it was converted.
[01:47] <woenx> no idea, realy
[01:47] <woenx> I tried kdenlive, since it is what I have installed
[01:47] <joules> you might have to demux the streams.
[01:47] <woenx> but moving the video track separately from the audio track, seemed to move the other one at a random place
[01:47] <woenx> it is very confusing
[01:47] <woenx> i will try openshot now
[01:47] <leftyfb> woenx: try #ubuntu-offtopic for non-support questions
[01:47] <woenx> ok
[01:52] <woenx> ohhh, openshot is so much better!
[01:59] <joules> damn still -q in #systemd from 5 years ago,
[02:00] <joules> anyhow looking in the deb, lot of setup fudgery could be just a case of missing hook scripts for "systemd enable sddm"
[02:06] <sarnold> joules: http://paste.ubuntu.com/p/NyR6z8k6Ff/
[02:07] <joules> how does that help?
[02:08] <sarnold> joules: I think this means you need to put the path to sddm in /etc/X11/default-display-manager
[02:08] <sarnold> I wonder if there's a better way of doing this. hm.
[02:08] <sarnold> it feels like there has to be..
[02:09] <joules> yeh i figured that, but don't support "systemctl enable sddm" if the opposite doesn't apply.
[02:09] <joules> I shouldn't have to open up the .deb like I have time to care about the internals of everything.
[02:09] <sarnold> joules: try sudo dpkg --reconfigure sddm
[02:09] <sarnold> sugh
[02:09] <joules> yep did all that.
[02:09] <sarnold> joules: try sudo dpkg-reconfigure sddm
[02:10] <joules> you either go full systemd or not XD
[02:11] <joules> this is 18.04 so it's entirely possible ubuntu has..
[02:11] <sarnold> definitely 18.04 is all systemd all the time
[02:11] <kaleido> systemd 4 LyFe
[02:12]  * kaleido chuckles
[02:12] <joules> yeah well installed a new GPU, was loading wrong xorg.conf booted into recovery to disable sddm..that worked. nothings changed on linux, still time wasting for the end user.
[02:13] <sarnold> joules: how about this? ls -ld /etc/systemd/system/display-manager.service
[02:14] <joules> I'm not doing that
[02:14] <sarnold> mine points to my display manager's service file:
[02:14] <sarnold> lrwxrwxrwx 1 root root 31 Jan 24 04:25 display-manager.service -> /lib/systemd/system/xdm.service
[02:14] <sarnold> which is why the service file doesn't have an [Install] section
[02:14] <joules> rather than fudge around I'll just type "apt install sddm --reinstall" and forget it.
[02:15] <sarnold> hah, if that works that'll be way faster than figuring out which order ln -s takes its arguments :)
[02:15] <sarnold> I have to read the --help output every. single. time.
[02:15] <joules> been using linux since 98, I'm busy, when noobs ask what distro to recommend I just tell them what I use and what distros to avoid if they don't want their time and life drained.
[02:16] <joules> I already opened up the .deb to see how it configures it.
[02:16] <joules> Because I'm curious
[02:19] <joules> Can't believe we are still using X
[02:31] <joules> ok "rm" the display-manager.service with "systemcl disable sddm"? SMH
[02:38] <joules> ok so, "systemctl mask sddm" is a better alternative however.."This is a stronger version of disable, since it prohibits all kinds of activation of the unit," - however "disable" is behaving far stronger than even mask. Just bad package management here for at least sddm.
[02:40] <sarnold> all the display managers should work identically -- the /etc/systemd/system/display-manager.service symlink should control which display manager is started
[02:42] <joules> "systemctl disable" shouldn't behave this way IMO if the reverse requires a dpkg-reconfigure, I mean you can ask in #systemd as see what they say.
[02:44] <joules> there are examples of services in /etc/systemd/system that symlink to /dev/null, not sure why removing "display-manager.service" is the best approach.
[02:46] <sarnold> I haven't got a clue what you're trying to do any more but you can certainly symlink your services to /dev/null if you want to prevent systemctl from ever doing anything with them..
[02:47] <joules> i'm not the package manager for sddm or any X display manager services.
[02:48] <joules> blkmgr.service -> /opt/psyrium/blockmanager/bin/blkmgr.service <- that's my own custom service. Runs fine, what are the chances me working on this broken aspect of x display manager configuration with ubuntu/debian getting anywhere upstream?
[02:50] <joules> nah just going to use "mask/unmask" instead if this issue arises, looks like when I search this issue, everyone else is clueless.
[02:53] <joules> all the way to #debian perhaps.
[02:53] <sarnold> joules: but the thing is, none of us even know what the issue *is* :)
[02:54] <sarnold> joules: your service is easier, because there's presumably only one of them
[02:54] <joules> I explained it. Well, I'm done then LOL
[02:54] <sarnold> joules: but there's dozens of display managers, and you *really* only want one of them enabled at once
[02:54] <joules> I'm sure I could do better. Just pro-claiming that ;)
[02:55] <sarnold> joules: that's why the systemd unit files for display managers have this added complexity of not having an [Install] section and instead symlink them as desired
[02:55] <joules> but the inner sanctum of debian is a cult I'm not a member of.
[02:56] <sarnold> this isn't specific to debian -- note that fedora's unit files are the same way, eg https://www.systutorials.com/241506/how-to-change-the-display-manager-on-fedora-linux/
[02:57] <joules> yeah and that's why linux market on the desktop is tiny.
[02:59] <joules> Like I said I don't recommend linux to any unless they want to tinker on the command line and learn unix/linux commands and master the OS, learn to code etc.
[03:00] <joules> also not going to run a copy of fedora to see or not if they use the same service unitse etc.
[03:02] <joules> here's what I did, moved the GPU to another pci slot. booted, couldn't even get a console so had to disable the display script and redo xorg.conf manually. Expect a low percentage of new users to bother with that.
[03:04] <gregf> how do i get to grub when booting up in 18.04lts? It seems to just boot and I never see a grub menu
[03:04] <joules> gregf: need to install grub on the boot device.
[03:04] <gregf> need to be able to add myself to the sudo group again accidentally got removed
[03:04] <gregf> joules grub is installed its just going by so quickly i think on this vm i don't haev time to access it
[03:04] <gregf> i'm in xen
[03:05] <gregf> really should be a longer timeout by default
[03:05] <sarnold> gregf: iirc hold down left shift
[03:05] <joules> gregf: just append yourself to the group again (man usermod)
[03:06] <gregf> joules i know how to do that but i hae to be root first so i need to get into resuce mode if you don't know what your talking about please just don't speak
[03:06] <gregf> sarnoldty
[03:06] <joules> gregf: fine
[03:07] <sarnold> gregf: I believe these are the bits I've used in my /etc/default/grub to force the menu to show for five seconds
[03:07] <sarnold> GRUB_TIMEOUT=5
[03:07] <sarnold> GRUB_RECORDFAIL_TIMEOUT=5
[03:08] <sarnold> I haven't used xen in ages, I can't recall if "left shift" even makes sense there..
[03:08] <gregf> yep just didn't realize how low the defaults were till this problem started
[03:08] <gregf> i guess I just learned the hard way why i should always be testing my ansible playbooks
[03:08] <sarnold> that's usually the way it goes :( you only realize it when you're in trouble..
[03:08] <joules> maybe spam the arrow keys on boot.
[03:08] <sarnold> gregf: can you mount the filesystem via another instance? or the .. dom0?
[03:09] <gregf> my backup plan is to try to mount them with xm tool and fix the groups that way but i was thinking it would be a lot easier to just boot rescue mode from grub
[03:09] <gregf> i might be wrong about that though :)
[03:10] <sarnold> hehe
[03:34] <wedr> Alright, wish me luck again for the umpteenth time reinstalling Ubuntu.
[03:34] <sarnold> good luck have fun :)
[03:34] <wedr> I could never get our office printer to work with Ubuntu anymore. New hire took a Windows machine, and got the printer working instantly after a driver install
[03:35] <wedr> I give up on that.
[03:35] <wedr> So, yeah, thanks for the good luck
[03:37] <AlexMax> Greetings folks I am staring at a purple screen of death
[03:37] <AlexMax> Just installed Ubuntu... Whatever the latest one is
[03:38] <AlexMax> And I cannot get to a
[03:38] <AlexMax> Graphical login screen
[03:38] <AlexMax> I can control alt f2 to a text mode login
[03:38] <AlexMax> And in fact I updated all my packages with apt and rebooted.  Still nothing
[03:39] <scubasteve> Are you using an nvidia card?
[03:39] <AlexMax> Nope, ATI
[03:39] <AlexMax> I mean AMD.  Sorry, I'm old
[03:39] <AlexMax> I'm using a 5700 XT
[03:39] <scubasteve> ah
[03:40] <scubasteve> not sure drivers for that card are in the ubuntu kernel
[03:40] <scubasteve> which version of ubuntu?
[03:40] <AlexMax> Whatever the latest one is.  1910 I think
[03:40] <wedr> Oh, a quick question before I actually start reinstalling Ubuntu...
[03:41] <wedr> You know how we would create a live Ubuntu USB drive via the Ubuntu installation ISO, right?
[03:41] <tieinv> AlexMax lsb_release -a will tell you what version
[03:41] <AlexMax> The funny part is that I was able to use it off the USB drive just fine
[03:41] <wedr> Now, lately, the minimum capacity of the cheapest USB you can buy is 16GB
[03:41] <wedr> 8GB is long gone from retail store shelves
[03:42] <scubasteve> hm that driver should be in the kernel then
[03:42] <wedr> I wanted to know, can you use the live USB as a storage media, like file transferring from Windows to Windows, etc.?
[03:42] <AlexMax> Yep, 19.10
[03:42] <wedr> I don't wanted to waste 13.3GB of free space on the 16GB USB, when it's all just Ubuntu ISO
[03:43] <AlexMax> And again, when I ran it off the USB drive I had graphics just fine.
[03:43] <AlexMax> Though I don't know if they were hardware-accelerated or if it was defaulted to some VESA thing
[03:44] <AlexMax> So where do I even begin.  It has been eons since I've had trouble with graphics in Linux.
[03:44] <scubasteve> This card in particular seems to be giving people a lot of trouble
[03:44] <scubasteve> since it's latest gen
[03:44] <Bashing-om> !info linux-image-generic eoan
[03:45] <scubasteve> https://www.reddit.com/r/linux/comments/dyoalh/ubuntu_1910_rx_5700_xt_installation_instructions/
[03:45] <scubasteve> https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-19.10-Radeon-RX-5700
[03:46] <scubasteve> the phoronix article has a set of commands you can run to enable additional firmware support
[03:46] <scubasteve> give those a try
[03:50] <wedr> So... may I ask if I can use a 16GB Ubuntu live USB as a simple storage USB device?
[03:51] <wedr> I have 13.3GB of free space, and it would be a waste to not use the free space for backing up data and stuffs.
[03:51] <scubasteve> You should be able to create a partition in the free space without affecting the ubuntu live portion
[03:51] <scubasteve> I would use gnome disks
[03:53] <wedr> Can I repartition the live usb? Currently, the live USB takes up all of the USB drive's capacity
[03:54] <AlexMax> scubasteve:
[03:54] <AlexMax> Thanks for the tip, but yeesh, kind of stinks that I have to do this
[03:54] <scubasteve> Agreed, should be fixed in 20.04
[03:55] <scubasteve> already fixed in any rolling distro
[03:56] <AlexMax> also, gotta be honest, copying the output of some git clone into an operating-system directory like `/lib/` gives me lemon booty
[03:56] <scubasteve> haha I agree completely
[03:56] <scubasteve> at least it's directly from the kernel and not some random guy
[03:58] <AlexMax> yeah I might try a rolling release distro instead.  Gonna have to figure out how to get rid of Ubuntu's EFI entry and stuff, that'll be fun
[03:58] <AlexMax> back in my day, we replaced our master boot record both ways in the snow, and we were THANKFUL
[03:58] <tomreyn> very easy, just remove the directory off the esp, and use efibootmgr to remove the boot option
[03:59] <wedr> Since the currently known answer is to repartition the live USB, which I am unfamiliar with the steps to do so, I'm just going to create a new directory in the Live USB's root directory, and store my data on that 1 partition.
[03:59] <wedr> THen reinstall Ubuntu
[03:59] <wedr> And then grab my data from the live USB
[04:00] <wedr> It's just a directory. What harm would it do, right?
[04:01] <wedr> oh.........  UBuntu live USB partition is a read-only partition...
[04:03] <wedr> darn, repartitioning is the way to go...
[04:03] <tomreyn> yes, this way it also works on write-once media, and prevents unintended modifications. i'm not sure whether you can safely change the partition size, maybe using gparted when you booted off something else.
[04:03] <tomreyn> using flash storage for backup is maybe not the best way to go about backup, though
[04:08] <scubasteve> AlexMax: lol
[04:11] <C0nundrum> Anyone a good cli tool for burning isos ?
[04:12] <tomreyn> wodim IIRC
[04:17] <AlexMax> okay so finally the EFI entry went away when i booted into ubuntu, found the `EFI/ubuntu` directory, and torched it.
[04:17] <AlexMax> man Windows seriously does not want you meddling with EFI stuff.
[04:17] <wedr> tomreyn, well, considering I had hosed my other laptop with Irish Cream liqueur...
[04:18] <wedr> I'm left with a measly 16GB USB
[04:18] <tomreyn> uuh sorry to hear about the liquor mishap.
[04:19] <wedr> Yeah, the messed up laptop is in a box. It will be delivered to FedEx tomorrow moring
[04:19] <wedr> morning*
[04:19] <AlexMax> thanks for yalls help
[04:19] <wedr> The box is sitting behind me
[04:19] <AlexMax> And I do intend to come back soon, hopefully.
[04:20] <AlexMax> But for now, time to see what fresh hell awaits inside this Manjaro ISO
[04:20] <tomreyn> AlexMax: i didn't follow the whole story, if you need more ubuntu help, just ask
[04:20] <AlexMax> Will do.
[04:21] <tomreyn> (and anything that's not directly ubuntu support related should rather go to #ubuntu-offtopic, please)
[04:22] <AlexMax> I getcha.  Was just on my way out and thanking people for what help they were able to provide.
[04:33] <tomreyn> wedr: FWIW, i just created, from a running ubuntu 19.10 desktoip installation, a 19.10 desktop installer on a 6 GB usb stick, using usb-creator-gtk ("startup disk creator"). what it did is it created a 2.5 GB ISO9660 partition, a 4,1 MB FAT partition (for booting, i guess), and left 4 GB space untouched, available for further partitioning.
[04:33] <wedr> tomreyn, I also did that
[04:33] <tomreyn> actually the usb stick is 6,4 GB, so it does match up.
[04:33] <wedr> I got 2GB, and 14GB unpartitioned
[04:34] <tomreyn> good :)
[04:34] <wedr> So what's next? Ubuntu on my laptop has a /dev/lock on the apt-get update
[04:34] <wedr> so I can't get gparted
[04:34] <tomreyn> that's the drunk laptop, or another?
[04:35] <wedr> another
[04:35] <wedr> I have 2, the drunk one is in the box
[04:35] <tomreyn> and the one with broken apt, have you tried to fix this?
[04:35] <wedr> nope, hence the reinstallation plan
[04:35] <wedr> for the umpteenth time
[04:36] <tomreyn> hmm, do you want to diagnose this or just reinstall?
[04:36] <wedr> I went from 19.04 to 18.04LTS to 16.04LTS, and I'm crippled with using Metacity fallback. I can't use the Ubuntu 16.04 Unity
[04:36] <wedr> I'm sick of life
[04:36] <wedr> reinstall
[04:37] <wedr> Ok, so I need to figure out how to set up a persistent partition for the remaining 14GB on this USB
[04:37] <tomreyn> so you have an usb installation stick, can you just install from there now or do you need to 'backup' data from the previous installation to the usb stick first?
[04:38] <tomreyn> okay then you should have "gdisk" already installed?
[04:38] <tomreyn> aka "Disks"
[04:39] <wedr> need to backup data from the laptop to this live USB drive, before I reinstall the Ubuntu on this laptop to a fresh new state
[04:39] <wedr> ah, Disks
[04:40] <wedr> I'm just going to use 4GB of the 13GB free partition. Maybe this USB can be used on Windows machine in the future, when my work place is slowly transitioning to a Windows environment
[04:42] <tomreyn> ok. i suggest you format the new partition as type "internal disk for use with Linux systems only (Ext4)" and optionally "password protect volume (LUKS)"
[04:43] <tomreyn> hmm it fails to create this partiton here :-/
[04:43] <wedr> tomreyn, ugh, 16.04 has this bug:  It is setting improper block-size during the creation of bootable media.
[04:44] <wedr> 2048 in USB, 512bytes in Linux
[04:47] <wedr> Ugh, it's a bug in 16.04 and it seems to be fixed in 17.04...  https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1708881
[04:48] <wedr> I'm getting out of 16.04, but I need my data...
[04:48] <tomreyn> i still see this issue on 19.04, though
[04:48] <wedr> oh....
[04:49] <tomreyn> see comment 21 at bug 1589028
[04:50] <wedr>  yeah. that's back to square 1
[04:50] <wedr> the /dev/lock is on apt update
[04:51] <tomreyn> so you're working on an ubuntu 16.04 and are trying to create an additional partition on this usb storage?
[04:52] <tomreyn> if so, is the new installation meant to boot in uefi or bios mode?
[04:52] <wedr> I'm assuming uefi. This laptop is a work laptop, so I have no idea what it was configured to before
[04:53] <wedr> the new installation is not meant for booting
[04:53] <wedr> wait, new installation of Ubuntu on laptop is to be booting into UEFI
[04:53] <tomreyn> ok, that makes more sense ;)
[04:54] <wedr> I'm creating an additional partition on the usb storage, to make it as if it's a simple storage USB device
[04:54] <wedr> The USB storage is just a drive stick
[04:54] <wedr> It is meant to be a recovery / emergency use only drive stick
[05:01] <tomreyn> okay, i got so much
[05:01] <tomreyn> i'm looking for a way to creater this extra partition without breaking the hybrid boot
[05:02] <tomreyn> wedr: you don't have another storage you can write the backup, to, right? since i guess that'd be easier
[05:02] <wedr> That got hosed with the Irish Cream too
[05:03] <tomreyn> or less error prone
[05:03] <tomreyn> i see
[05:04] <wedr> Basically, I broke the Irish Cream glass bottle, the liquid went into my USB 1TB, the laptop, cables, lots of USBs, mouse, keyboard on the desk, and the wall
[05:04] <wedr> USB 1TB WD Elemetns
[05:04] <tomreyn> looks like you're a very thorough person. ;-)
[05:07] <blackest_mamba> you got Kaluha?
[05:08] <blackest_mamba> just go for the full mudlside
[05:10] <tomreyn> wedr: okay, fdisk can do it, at least on this 19.10 system i have
[05:11] <wedr> tomreyn, Also playing with fdisk
[05:11] <wedr> I felt like you and I are the same person
[05:11] <wedr> but more unfortunate
[05:11] <tomreyn> :)
[05:11] <wedr> and out $500 bucks
[05:13] <tomreyn> so i did    sudo fdisk /dev/sdb     (the usb stick is sdb here, substitute the proper drive as needed, "sudo fdisk -l" to identify it), then did "n" and went with defaults for all the prompts, and finally did "w"
[05:13] <tomreyn> then mkfs.ext4 /dev/XXX   (was sdb3 here)
[05:16] <wedr> yeah, the partition type though...
[05:17] <wedr> I was thinking of making it a storage USB, so I'm thinking if I should use NTFS.
[05:17] <tomreyn> primary worked for me, which was default
[05:17] <wedr> No, the partition type
[05:17] <wedr> In fdisk, if you use "t"
[05:17] <tomreyn> it suggested ext2, i said ext4, so i guess i got "Linux"
[05:17] <tomreyn> yes i did
[05:18] <tomreyn> you can always repartition this thing later, right?
[05:18] <wedr> ext4 is linux, yes, but I wanted to make it compatible with both work laptop and the new Window workstation I will be getting at this year's Q3
[05:19] <wedr> I'm not sure if repartitioning the type is a thing
[05:19] <wedr> you mean, wiping out the partition and repartition a new one?
[05:19] <tomreyn> yes, you do it now, why couldn#t you do it again later?
[05:19] <wedr> Wouldn't that degrade the USB's lifespan?
[05:20] <tomreyn> every write does. to any storage media.
[05:20] <wedr> ok then, it's set to the default, which I think the default is ext4
[05:20] <tomreyn> will it die because you update the partition table? no.
[05:20] <wedr> I got Linux
[05:21] <tomreyn> so "w" on fdisk to write and quit, then make a file system on the new partition.
[05:21] <tomreyn> supply a file system --label when you do
[05:22] <wedr> I'm trying to cancel a command
[05:22] <wedr> How do I jump out of the fdisk command
[05:22] <tomreyn> q
[05:22] <wedr> I see
[05:23] <wedr> Is your Linux partition type ID 83
[05:23] <wedr> ?
[05:23] <wedr> Just wanted to make sure
[05:24] <tomreyn> can't say right now, i'm just trying to boot off it
[05:28] <wedr> Let me know if you can boot off of it
[05:29] <tomreyn> i did uefi boot off it fine
[05:29] <SirNapkin1334> hi, i'm on WSL and whenever I run apt-get to try to install something, it doesn't work and then prints this twice at the end: `E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success`
[05:29] <tomreyn> !wsl | SirNapkin1334
[05:29] <SirNapkin1334> hmm, don't know if that was supposed to format, but it didn't include the backticks
[05:29] <SirNapkin1334> okay, thanks
[05:31] <tomreyn> wedr: how do i print the partition id using fdisk? can't seem to find it.
[05:31] <wedr> fdisk p
[05:31] <wedr> inside fdisk, type the command, p
[05:32] <tomreyn> it doesn't show the ID there, just "Linux"
[05:33] <tomreyn> ah "i" does it
[05:33] <tomreyn> and yes it's 83
[05:34] <wedr> ok
[05:34] <wedr> now I need to use mkfs ext4
[05:34] <wedr> I think ext2 is fine, right?
[05:34] <wedr> ugh, I still need to read up what's the difference between ext2, ext3, and ext4...
[05:36] <tomreyn> basically, the higher the number the better
[05:37] <tomreyn> ext2 lacks journalling, it's almost as simple as fat32
[05:38] <tomreyn> ext3/4 aren't as complicated as ntfs, but have similar features.
[05:44] <wedr> darn, I'm still hit with the partprobe saying the sector is 2048 but it's 512 bytes error
[05:44] <tomreyn> wedr: fwiw, bios booting works, too, off the usb stick.
[05:44] <wedr> Can't use mkfs
[05:45] <tomreyn> why not?
[05:45] <wedr> The file /dev/sdb3 does not exist and no size was specified.
[05:45] <wedr> That's the error message I got when running mkfs
[05:45] <wedr> sdb3 is my new partition
[05:45] <tomreyn> so after creating the partition in fdisk, partprobe failed?
[05:45] <wedr> yes
[05:46] <tomreyn> maybe reboot then
[05:46] <wedr> ok then, see you in a bit.
[05:50] <tomreyn> wedr: so does    ls -l /dev/sdb3 exist now?
[05:51] <tomreyn> i actually need to wrap it up here for now, it's very early where i am.
[05:51] <wedr> nope
[05:52] <wedr> yeah, it's fine...
[05:52] <tomreyn> but     sudo fdisk -l /dev/sdb     lists the partition you created?
[05:53] <tomreyn> wdr: ...and doesn't print a warning about the sector size mismatch?
[05:53] <tomreyn> * wedr
[05:53] <wedr> really, no
[05:53] <wedr> oh, it does print about a warning
[05:54] <wedr> i/o all 512 bytes
[05:54] <tomreyn> fidk prints a warning? okay then your fdisk is just too old, basically what you found earlier.
[05:55] <tomreyn> consider backing up to a smartphone instead, or to cloud storage.
[05:55] <tomreyn> fidk -> fdisk
[05:55] <wedr> ok...
[05:55] <wedr> or recreate the live usb...
[05:56] <tomreyn> i don'T see how this would enable you to create the partition then.
[05:57] <tomreyn> though you could try booting off the live usb and use its more current fdisk to create the third partition
[05:57] <tomreyn> anyways, good luck.
[06:21] <wedr> thanks
[07:59] <algid> anyone have any suggestions on getting bluetooth to work again
[09:11] <qswz> Some of you use MyPaint? for the life of me I'm incapable to merge 2 existing images (trying to copy paste the second into the first whose canvas size were increased)
[09:12] <qswz> you can resize the canvas with the rectanglish icon
[09:19] <Mrokii> Hello. Is there a way to have individual command-history- and log-files for parallel running bash-windows? Possibly so that each one can have an individual name that is somehow carried over to the logfile and be re-opened later? Or are there other tools for this?
[09:20] <ducasse> Mrokii: there is a variable to set the name of the history file, iirc. should be in the manual
[09:20] <ducasse> ah, HISTFILE
[09:20] <Mrokii> ducasse: Thanks, I'll take a look.
[09:21] <qswz> what do you guys use for basic image editing?
[09:22] <qswz> I don't often have to, need somethign simple
[09:22] <milkshake> pxlr
[09:22] <milkshake> pixlr
[09:22] <milkshake> online is the future
[09:22] <qswz> oh, interesting
[09:23] <qswz> I know abot Krita too, a good local software
[09:23] <qswz> thx will try pixlr
[09:23] <algid> anyone have any suggestions on getting bluetooth to work again
[09:24] <Mrokii> Depends on what you mean with "basic", I guess. For very simple things like cropping and resizing I use Gwenview, as I'm on Kubuntu.
[09:24] <ducasse> qswz: got to admit, i'd reach straight for the gimp
[09:24] <qswz> yea gimp is the comon alternative
[09:25] <qswz> feels bit too complex to me :)
[09:30] <qswz> "You'll need Flash Player to run Pixlr Editor." what..
[09:30] <qswz> oh, fortunately there's a beta without flash
[09:31] <Mrokii> lol
[10:11] <JohnDoe_71Rus> does ubuntu stop build i386 kernel since 5.3.6? Can we waite fix? https://kernel.ubuntu.com/~kernel-ppa/mainline/
[10:13] <ducasse> !i386 | JohnDoe_71Rus
[10:36] <Lantizia> maybe I'm going insane here (as I can't find any evidence of this when searching online)... but in gedit (or Pluma if you're a MATE user) when the document you've got open has "changed on disk" and you get a banner asking you if you want to "Reload" or "Cancel"... I swear at some point I've seen a third option that loads Meld and compares the "on disk" version to the text you have open in gedit/Pluma
[10:36] <Lantizia> does anyone else remember seeing this or have I dreamt it?
[10:37] <JohnDoe_71Rus> ducasse: ok. This message was in June 2019, kernel v5.3.7 with i386 build error was in october. This time they build i386 kernel till error
[10:47] <IaMnEwHeRe> Hi gang, I have a quick question, regarding linux-tooling somewhat, more on the network-site of things, how can I detect the country of an ip based on their latency? all I find is PubG stuff and game-related banter,
[10:50] <IniGit> I tried to install ubuntu on my dell insperion 15 5000 and it crashes everytime
[10:51] <IniGit> I click add at the menu where I configure my root partition etc and it freezes
[10:51] <IaMnEwHeRe> IniGit, some systems are not LinuxCompatible, had the same problem with a HP Pavillion
[10:51] <IniGit> But debian works so far except that I cannot get wifi drivers working
[10:51] <IniGit> trisquel as well
[10:51] <IniGit> just ubuntu is crashing
[10:51] <JohnDoe_71Rus> IniGit: how much system/cpu temp?
[10:52] <IaMnEwHeRe> what you might be able to try out is, go into the bios, and change the protocol for the harddrive
[10:52] <IniGit> JohnDoe_71Rus: Idk, but the notebook is not warm at all
[10:52] <JohnDoe_71Rus> Try console/alternete installer
[10:52] <IniGit> liveCd works
[10:52] <IniGit> install doesen't
[10:53] <IaMnEwHeRe> IniGit, as I said try changing the protocol for the harddrives, that might help otherwise you are outta luck I am afraid
[10:55] <IniGit> ok, I try. Thx
[10:55] <IaMnEwHeRe> BUT
[10:56] <IaMnEwHeRe> if you have windows running on that laptop, it will cause it to stop working
[10:56] <JohnDoe_71Rus> try alternate install to
[10:59] <IniGit> Maybe I should pick the other option at rufus, not the iso one
[10:59] <tatertots> IaMnEwHeRe: try different version / edition of ubuntu
[10:59] <IaMnEwHeRe> tatertots, I am not the one with that problem
[11:00] <IaMnEwHeRe> I am here for a country-detection-problem of servers :D
[11:00] <tatertots> IniGit:  try different version / edition of ubuntu
[11:00] <IniGit> I'll try :(
[11:01] <IaMnEwHeRe> IniGit, your best bet will be to cange the protocol for the harddrives in the bios, it is quite easy just toggle it ;)
[11:02] <IaMnEwHeRe> had a similar problem with my current laptop,
[11:02] <IaMnEwHeRe> mind you I am not running Ubuntu
[11:02] <IaMnEwHeRe> but the problem is so basic(read low level) that I am convinced it applies to other linuxes as well
[11:05] <IniGit> IaMnEwHeRe: WHat are examples for those protocols? I'm not sure where I can find that option in my bios
[11:09] <IaMnEwHeRe> IniGit, let me check, such a long time ago :) btw. humor me, do you have /dev/nvme* files ?
[11:10] <IniGit> IaMnEwHeRe: where?
[11:11] <IaMnEwHeRe> the dev-folder in your root-partition should/might contain files matching this pattern nvme*
[11:12] <IaMnEwHeRe> just pop a shell and execute $>ls /dev/nvme*
[11:12] <IaMnEwHeRe> is it printing files?
[11:16] <IniGit> IaMnEwHeRe: What you mean, I cannot install it
[11:16] <IaMnEwHeRe> IniGit, cannot find the protocol but the menu point will be concerned with harddrives and you will be presented with a dropdown, that is all you need  just remember to set it back if it does not work, you cannot break s.th. there it because you can reset it any time
[11:17] <IaMnEwHeRe> your live-disc should have the same folders, but from your sounds,you are new to linux, so my advice stick to windows, or get a system fro system76, tuxedo or dell or some other vendor that supports linux out of the box
[11:17] <IaMnEwHeRe> otherwise you will end up a helpless supportcase
[11:18] <IaMnEwHeRe> now a push for my own agenda again: any advice on how to best go about locating servers from their latency in a network( only needs to be accurate to a country level)
[11:19] <__raven__> hi
[11:20] <__raven__> update to 19.10 disabled multi monitor mode using two monitors on nvidia and additional two on internal intel915 onboard.c how to expand nvidia view to internal graphics again?
[11:24] <tommy``> hey best/cool ubuntu mp3/flac player?
[11:24] <tommy``> i found this 4: lollypop, clementinie, deadbeef, audacious
[11:27] <IniGit> I cannot even boot anymore into livecd
[11:27] <IniGit> totally broken that thing. I'll send it back. They told me that it is not problem to install ubuntu on that thing
[11:27] <IniGit> also there is a ton of garbage dell ware on that pc even some partitions are full of dell spyware
[11:28] <IaMnEwHeRe> IniGit, easy... all you need to do is switch the settings in bios back and you can start out on square one again
[11:33] <IniGit> IaMnEwHeRe: doesen't work. I have the settings like before when botting in the livecd worked
[11:35] <IniGit> Anyway it's their fault. They shouldn't tell me that Ubuntu worked in the first place. SO they can proof their support or they will take it back...
[11:56] <john_rambo> Hi, does KeePassXC require mono ?
[11:57] <IaMnEwHeRe> john_rambo, dunno, but some KeePass-implementations do, anyhow, if you do not require interoperability with other OSs I recommend pass
[13:40] <badsektur> does port 631 listen by default for you too?
[13:42] <oerheks> badsektur in my session it does, cups
[13:54] <Annigo> Hello! I used Ubuntu 19.10 and chromium to make kiosk application. Systemd service ensures they browser is always running, just in case it crashes or whatever. Several setting tweaks (such as disabled GNOME3 hand-gestures) are in place to ensure nobody gets out of the browser, but it still happens from time to time.I came here to ask for advices:1)
[13:54] <Annigo> Which Ubuntu distribution would be recommended for such usage - it seems that minimalistic DE like XFCE (Xubuntu) would perhaps do it well.2) What else can I do to better protect the system? Something like password prompt on majority of actions.I have of course done a lot of research, but unfortunately plenty information is outdated.
[13:54] <IniGit> IaMnEwHeRe: Maybe it's IDE vs AHCI
[13:55] <IniGit> IaMnEwHeRe: I'll try that
[13:55] <IniGit> I read that windows installed from Dell does use this IDE mode
[13:56] <specter> Annigo: you are using one application and nothing else for users?
[13:57] <Annigo> @specter Users are supposed to use only this specific browser in kiosk mode (which is enhanced fullscreen with no right-click menu popup etc).
[13:57] <algid> anyone have any suggestions on getting bluetooth to work again
[13:59] <specter> Annigo: some ideas, you can use xfce or any other that you can remove the window decorations from. join #xfce for help with this or just google. The other idea is a window manager such as i3, which doesn't have them by default so they can't use a button to close, minimize, etc
[14:13] <Annigo> specter: Chromium or Firefox in --kiosk mode don't have any windows decorations, so it's not a problem. Only touchscreen is exposed to users. Even though the extension to disable gnome3 gestures is installed, occasionally people "get out" from the browser, and I suppose changing DE will help. Nonetheless, I'd like to have extra security for the
[14:13] <Annigo> case when it fails for some reason.
[14:15] <FingerlessGloves> Annigo, I used to use i3 DE. On a kiosk I put together
[14:15] <Annigo> For an example, few times I saw update or crash popup on top of the browser. I took care of them the hard way, but that "extra security" would be helpful here. In speak of update and crash popups - how to effectively disable them, without disabling or breaking the features beneath? If I remember correctly, in the end I had to remove repo links to
[14:15] <Annigo> prevent updates from doing anything, because the UI settings to "never" show up didn't entirely work.
[14:15] <FingerlessGloves> Then you can remove all the keyboard bindings you don't need.
[14:16] <specter> Yep it sounds like i3 would be your best bet.
[14:16] <FingerlessGloves> Install Ubuntu without DE (server), install i3 on top. Then unbind all shortcuts you don't need. Create a bash file that will start chrome in kiosh mode if it gets closed :-)
[14:17] <FingerlessGloves> Then ssh in now and then to do updates :-)
[14:18] <specter> FingerlessGloves: super smart, i like it
[14:18] <FingerlessGloves> If you install i3 with --no-install-recommends, that should only install whats needed and no extra crap your not gonna need.
[14:19] <specter> i3 is xml config isn't it? been a long time since I used it
[14:19] <FingerlessGloves> not XML
[14:19] <FingerlessGloves> Can't remember what its called now.
[14:19] <FingerlessGloves> https://wiki.archlinux.org/index.php/I3
[14:21] <specter> oh, easy config, just a plain text file
[14:22] <FingerlessGloves> kinda yea :-)
[14:24] <Annigo> Sounds like a solution. I've never installed DE/WM myself - how difficult is that? Im more of a "install ubuntu, add some ppas and apt install this and that" user, as in every day work I use IDE to make websites
[14:24] <FingerlessGloves> Install ubuntu server, its really simple. i3 is in the repos without needing ppas
[14:25] <Annigo> Would VNC server still work on it? We're monitoring the kiosks remotely
[14:25] <FingerlessGloves> yea :-)
[14:27] <BluesKaj> Hiyas all
[14:27] <FreeBDSM> hey, does anyone use citrix receiver on ubuntu?
[14:27] <FreeBDSM> can't make it connect :(
[14:30] <oerheks> Annigo, what guide did you follow?
[14:30] <Annigo> @FingerlessGloves Installing Ubuntu Server on virtual machine for first look...
[14:30] <FingerlessGloves> good idea
[14:31] <Annigo> @oerheks I've looked up what I thought I needed. There were some guides on the way though
[14:31] <oerheks> https://tutorials.ubuntu.com/tutorial/secure-ubuntu-kiosk#0 and https://obrienlabs.net/setup-kiosk-ubuntu-chromium/are mostly used, i guess
[14:31] <rydde> what could be the reason that <alt-gr> key sends <enter> instead of being the modify key it used to?
[14:32] <oerheks> now chromium is a snap, that confinement is also interesting
[14:33] <FingerlessGloves> rydde, what kind of keyboard you using?
[14:34] <Annigo> @oerheks Second link shows 404
[14:34] <FingerlessGloves> Annigo, remove are at the end
[14:34] <oerheks> oops, typo
[14:34] <oerheks> -are
[14:35] <rydde> FingerlessGloves: I have two different at the moment. This happens on the remove computer (both client and server are ubuntu 18.04) using nomachine. It has worked flawlessly up till now...
[14:36] <FingerlessGloves> could it be a update to nomachine?
[14:36] <FingerlessGloves> messing with the keymapings.
[14:37] <rydde> FingerlessGloves: hmm interesting idea...will check if i have same problem with other remove machine...
[14:37] <rydde> *remote
[14:37] <FingerlessGloves> sounds good
[14:38] <Annigo> oerheks: Thanks, I'll look into these. On brief look I think I've seen the second link.
[14:39] <rydde> yep confirmed, same problem with other machine..so problem should be on the nomachine client on my local desktop
[14:40] <Annigo> FingerlessGloves: I need to free some space before trying your idea out. I'll reach you out later :)
[14:40] <FingerlessGloves> ok
[14:49] <rydde> so its weird cause the I can type | (pipe) without any problems on local machine and this is achieved by alt-gr + <  (key left of left shift key) but seems nomachine client is messing it up when connecting to other remote desktops
[14:56] <FingerlessGloves> Make sure both ends have the same keyboard layouts set
[15:01] <Annigo> FingerlessGloves : How exactly do I install this i3? I tried sudo apt install i3 (or i3-wm) and getting E: Unable to locate package, unless it's caused by no connection (despite VMWare was supposed to connect me automatically)
[15:10] <rydde> switched to gnome desktop and now it works. Was in plasma...so something with that...
[15:12] <quadrathoch2> Annigo, well the package is called i3-wm for sure, so it has to be on your end? maybe do a apt update?
[15:15] <ducasse> make sure the universe repo is active 'sudo apt-add-repository universe' and apt update
[16:08] <f8e3> hello, i installed snapd, pgrep -f snapd returns id, seems up, snap install code, now how to launch?: bash: code: command not found
[16:13] <f8e3> ● snapd.service - Snappy daemon is up, but how to start the installed snap?
[16:14] <f8e3> name:      code, so $code in terminal, but not found?
[16:22] <f8e3> please can you help me?
[16:23] <quadrathoch2> did you try snap run code?
[16:23] <van777> f8e3: here is how i've installed Pycharm with snap, https://snapcraft.io/install/pycharm-community/ubuntu
[16:23] <van777> it's just in the list of installed apps now
[16:23] <f8e3> https://snapcraft.io/docs/installing-snap-on-debian says just type 'code' the name, quadrathoch2 works fine, but nowhere docd, arr
[16:24] <quadrathoch2> f8e3, sorry, as I don't use snap, I had just to google it myself :/
[16:25] <quadrathoch2> so no idea how to do snap stuff
[16:25] <quadrathoch2> but i think it's more appropriate to ask in the debian channel
[16:25] <quadrathoch2> if you run on debian
[16:25] <f8e3> quadrathoch2 sir, your solution is good i mean
[16:25] <quadrathoch2> great :)
[17:01] <Annigo> FingerlessGloves: I am back. Ubuntu Server 19.10 installed on VM, network configured (static IP), installed xinit and i3 with sudo apt. Now when I try "xinit i3" - it fails. There seems to be permission issue, and when I do it via sudo - it fails as well, but later, with whole different stuff. What do I do from here?
[17:05] <Intelo> It seems logrotate rotates my log if I do manual command but does not do it automatically everyday. What might be the reason? https://pastebin.pl/view/171a4546
[17:06] <ioria> Annigo, better not using sudo with wm/de/etc etc .  check if you have root owned files in your home
[17:07] <Annigo> ioria First time installing wm/de on my own, don't really have an idea what to do
[17:07] <compdoc> yes, see if .Xresources is owned by root
[17:07] <ioria> Annigo,  ls -al /home/$USER | grep root
[17:09] <Annigo> There's no .Xresources; Only ".." belongs to root
[17:09] <ioria> Annigo,  ok... have you installed xorg and xserver-xorg ?
[17:10] <FingerlessGloves> Annigo, do startx
[17:10] <Intelo> Hi, It seems logrotate rotates my log if I do manual command but does not do it automatically everyday. What might be the reason? https://pastebin.pl/view/171a4546
[17:11] <Annigo> @ioria No, I followed article from ArchWiki as linked here before. @FingerlessGloves It worked
[17:11] <FingerlessGloves> Oh nice!
[17:11] <ioria> Annigo,  sy, dpkg -l | grep xorg
[17:12] <ioria> it cannot work without xorg afaik
[17:15] <Annigo> @FingerlessGloves What do I do from here? In popup I have chosen to generate config file and Alt as modifier, then it disappeared. I see some information on bottom (about connection, battery, some sizes in GiB and MiB, and lastly current date time)
[17:17] <FingerlessGloves> Your in the desktop environment now
[17:18] <FingerlessGloves> If you do Alt+Enter
[17:18] <FingerlessGloves> a command prompt will open
[17:18] <buttros_> Hey everyone! Does anybody know any mail notifier I can use with ubuntu? Secure preferably.
[17:18] <FingerlessGloves> Annigo,  https://i.aes.pm/29385bee65c6accc/image.png
[17:20] <Annigo> Pretty much can't do anything without keyboard - I like it! Installed chromium and it seems to work
[17:21] <Intelo> Crontab to run every hour  `0 1 * * * sudo logrotate --debug /etc/logrotate.d/mongo/mongod.conf` <- is this command correct?
[17:25] <Annigo> Intelo I think that would work daily, at 1:00 in the night
[17:27] <Annigo> Maybe this will help: https://crontab-generator.org/ ; but as far I know logrotate can have it's own config files, where you specify how often it's supposed to trigger instead of using cron
[17:29] <oerheks> cronjob that does a dryrun ? interesting
[17:29] <oerheks>  --debug = dryrun
[17:31] <Annigo> FingerlessGloves Ok, how would I go about auto-logging into the system and this DE now? Does it automatically set resolution to display's? Cannot test the latter in VM
[17:33] <FingerlessGloves> I used to install arandr, GUI to mangement resolutions.
[17:34] <FingerlessGloves> Autologin, I can't remember now, was few years back. This might work https://www.reddit.com/r/i3wm/comments/75k90o/autologin/
[17:36] <starcurve> with different DE specific distros I haven't done a ton with X.org in a loooooong time
[17:38] <lotuspsychje> keep the offtopic for the offtopic channel guys
[17:42] <Intelo> Annigo, how can I do it for every hour?
[17:43] <Intelo> Annigo,  I am already there but cannot understand
[17:43] <Intelo> Annigo,  which lograotate file?
[17:45] <Annigo> Intelo Replace "1" with "*". Try using this generator, or perhaps you need logrotate config file instead of cron. These files go into /etc/logrotate.d/ - look up what's their content
[17:46] <Annigo> I am not expert to provide you details, sorry. I needed it once, found out how to do it and "it just works" :)
[17:47] <Intelo> Annigo, line 1 is already in /etc/logrotate.d https://pastebin.pl/view/6486ee7b
[17:51] <Annigo> Right, I forgot. The file contains "daily" (line 2?) - what if you could put "hourly" there? Unless you meant doing something else than logrotating hourly, then apologies
[17:53] <Intelo> Annigo,  yes but that logrotate config is not run automatically. Who is responsible to run it. Thats the whole question at top. Its not running auto
[18:01] <Annigo> Don't remember details, but I think it mostly worked out of box for me Intelo. Sorry, but I am unable to help you with that. Perhaps someone else
[18:02] <ioria> Intelo, probably you need to set logrotate hourly 'cause is set daily by default
[18:03] <starcurve> logrotate is designed for daily or longer runs
[18:03] <ioria> yep
[18:03] <Intelo> ioria, its not working daily
[18:03] <ioria> Intelo, https://askubuntu.com/questions/554403/what-schedules-logrotate
[18:03] <Intelo> It seems logrotate rotates my log if I do manual command but does not do it automatically everyday. What might be the reason? https://pastebin.pl/view/171a4546
[18:04]  * Intelo repastes
[18:04] <starcurve> from the manpage ```It will not modify a log more than once in one day unless the criterion for that log is based on the log's size and logrotate is being run more than once each day, or unless the -f or --force option is used.```
[18:04] <Intelo> starcurve, criteria met; still not rotate
[18:04] <Intelo> s/rotate /run
[18:06] <oerheks>  --debug = dryrun .. so log.11.gz was never created
[18:09] <oerheks> so, not created by the 'rename'part, nothing to remove
[18:10] <starcurve> Intelo: what does your /var/log/syslog file have for cron.daily?
[18:11] <nikolam> Writing to USB is so buggy, I can't unmount USB (ntfs) because it is still "writing data to the device", forever
[18:12] <nikolam> it is some Kingston with slow writing speed of 10MB/s but it showed as finished writing in the file manager (Thunar)
[18:12] <nikolam> and can't unmount, so I am not sure wither I copied a movie and my girfriend is waiting for me.
[18:13] <nikolam> bad nuggy softwarte causes real life problems
[18:13] <nikolam> buggy
[18:23] <Annigo> FingerlessGloves : I changed VM screen resolution using cvt and xrandr - whether that's required on actual device is yet to be seen. I managed to run both VNC server and Chromium, so that's a success! Trying that autologin now, but I am stuck in blank screen with blinking underscore
[18:24] <FingerlessGloves> You can use ctrl+alt+f1-7 to swap between TTYs
[18:24] <FingerlessGloves> then you can get back to a console
[18:33] <ioria> FingerlessGloves, probably you posted him  instructions with the  '/usr/bin/agetty ' cmd; it does not exist on ubuntu where it is /sbin/agetty
[18:56] <FingerlessGloves> ioria Annigo, that might do it xD
[18:56] <FingerlessGloves> Was just a quick google
[18:57] <ioria> yeah
[18:59] <mycrap> graphics card question Ubuntu 18.04
[19:00] <tomreyn> where?
[19:02] <Annigo> ioria & FingerlessGloves : I managed to do it meanwhile, and yes - one of the reasons was path to agetty. Question: What does the "-" do in "ExecStart=-/usr/bin/agetty (...)" ?
[19:02] <FingerlessGloves> good question
[19:03] <ioria> Annigo, https://unix.stackexchange.com/questions/404199/documentation-of-equals-minus-in-systemd-unit-files
[19:03] <FingerlessGloves> ioria, learn something to dayt xD
[19:03] <ioria> heheheh
[19:04] <ioria> Annigo, '-' which indicates that if the file does not exist, it will not be read and no error or warning message is logged
[19:11] <Annigo> Good to know :)  The experiment seems successful on VM so far - time will show if that will be the same for the actual device and touchscreen
[19:11] <Annigo> Thank You for helping out!
[19:20] <FingerlessGloves> no problem
[19:20] <FingerlessGloves> One done you can clone the HDD to each machine. What I did
[19:22] <Annigo> Yeah. I do also write steps down to have installation script, just in case "system image" doesn't work.
[19:23] <Annigo> It appears I have to update my services, since they have "WantedBy=graphical-session.target" (worked on Ubuntu's gnome3)
[19:50] <Annigo> FingerlessGlove : Sorry for bother, but how do your scripts know when i3 has started? My services (such as starting and upkeeping the browser) was doing this so far: WantedBy=graphical-session.target , but I'd guess other service exists for this de/wm, if any
[19:52] <Annigo> If one doesn't exist, I have an idea to create a custom one that will be started in .bash_profile and let others depend on that.
[19:53] <monkeyboy> hi!
[20:02] <ioria> Annigo, not very clear what you're asking ... can you elaborate ?
[20:16] <Annigo> Of course, ioria ! Unsure if you've been following from the beginning, so here's background: I used Ubuntu Desktop 19.10 to create a kiosk station - it uses internet browser (chromium) in kiosk mode, so the users are supposed to stay within the browser and not do anything else. It does work as it, but problems were coming out along the way - such
[20:16] <Annigo> as popups (update, crash), gnome3 gestures (allowing to minimalise the browser, skip virtual desktop etc.) and so on. Originally I asked for advices on securing the system (such as password prompt on everything the user isn't supposed to run) and which distribution to use - after initial research, I had Xubuntu in my interest. During the discussion
[20:16] <Annigo> I was suggested to install Ubuntu Server and i3 de/wm, so I did. You know rest of the story... most basic things I wanted to do with it do work.
[20:17] <Annigo> So, the "kiosk app" has few services that ensure things are running. One of them is autostarting browser and restarting it anytime it gets closed/crashed/whatever. The service file contains "PartOf=graphical-session.target" (under [Unit]) and "WantedBy=graphical-session.target" (under [Install]) to ensure the service gets started after graphical
[20:17] <Annigo> envinronment / user interface does. For Ubuntu Desktop (so with gnome3) it worked as expected. Now on i3 the service stays inactive/dead, until started manually. I suppose this means it doesn't know when to get trigerred and needs to be adjusted.
[20:19] <Annigo> Here's the service file: https://pastebin.com/cAGXfa0N
[20:19] <kxsl> where can i safely get ubuntu server for arm? iso here is downloaded insecurely, and there is no hash, sig, or torrent https://ubuntu.com/download/server/arm
[20:20] <ioria> Annigo, yes, sounds complicated. Well, that target (graphical-session.target), as far as i know, is not system wide , but per USER, so you need something in /home/User/systemd or similar
[20:21] <Annigo> ioria Yes, this service is in user's scope. They are to be located in ~/.config/systemd/user and ran by systemctl --user command service
[20:21] <ioria> ok
[20:22] <Annigo> No problem with that. Just need to tell them when they are supposed to trigger. The graphical-session.target worked so far, but guess something else comes in play with i3
[20:24] <Annigo> So the question in short would be probably like: which unit is required to ensure that the custom unit (browser in my case) is started when DE is already there
[20:25] <Annigo> I am afraid to use more specific terms, as my definition on them may be incorrect, therefore misleading
[20:26] <ioria> Annigo, have you tried (instead of a service unit) an autostart instruction specific for i3wm ?
[20:27] <ioria> Annigo, like this : https://i3wm.org/docs/userguide.html#_automatically_starting_applications_on_i3_startup
[20:29] <Annigo> I did not, although Ive seen something related to autostart on i3wm while searching for other issue. I have reasons to use systemd units - as said, this browser specific ensures the browser is always running, not just autostarting (so when closed/crashed it returns), and other services have logic like "wait X since boot, then repeat every Y"
[20:29] <Annigo> (something like advanced cron).
[20:29] <ioria> i see
[20:29] <Annigo> Thanks for letting me know though
[20:30] <tomreyn> kxsl: http://cdimage.ubuntu.com/releases/18.04/release/SHA256SUMS cdimage.ubuntu.com/releases/18.04/release/SHA256SUMS.gpg
[20:31] <tomreyn> kxsl: this is for ubuntu 18.04 LTS, but the approach is similar for 19.10
[20:31] <ioria> Annigo, change graphical-session-blah with  'WantedBy=wm.target'
[20:32] <kxsl> tomreyn, thanks
[20:42] <Annigo> ioria Doesn't seem work. Ensured the service is enabled and rebooted few times - browser is nowhere to be found (neither on screen or in process list), and the status is "inactive (dead)" everytime. When I start it manually, it works though.
[20:43] <ioria> Annigo, ok, so maybe time to check some logs : journalctl --user
[20:43] <ioria> Annigo, or    journalctl --user-unit myunit.service
[20:45] <Annigo> Can I clear it somehow? So I'd reboot and see exactly what happened, rather than have mixed logs with manual run
[20:46] <ioria> Annigo, wait...  can you start firefox instead of chromium ?  (maybe a snap issue)
[20:47] <Annigo> I can try, would need it install it first. Doubt though, as manual run of the service or directly the browser just works
[20:48] <ioria> ok, nvm then
[20:50] <ioria> Annigo, sy, have to leave . good luck
[20:51] <Annigo> Sure thing, thanks
[20:53] <TheSonOfPeter> Happy Saturday everyone!
[21:14] <Sven_vB> thanks, same!
[21:29] <Towser> how do I restore grub? windows repair kinda nuked it and I need to get the menu showing the os selection back
[21:29] <oerheks> !grub
[21:35] <Towser> oerheks, thanks
[21:45] <tangarora__> is there no reasonable current guide on how to integrate firmware driver in to mini.iso?
[21:45] <tangarora__> i find none...
[21:46] <Towser> I just ran the repair tool, on reboot, no menu appeared
[21:49] <oerheks> tangarora__, no, one can make a 18.04 live iso and a persistence part, to store such firmware.
[21:49] <oerheks> mkusb https://www.linuxuprising.com/2019/03/create-persistent-storage-live-usb-with.html
[21:51] <starcurve> had to do that for a distro other than ubuntu for my wireless card driver
[21:52] <oerheks> cubic does not do mini iso https://askubuntu.com/questions/741753/how-to-use-cubic-to-create-a-custom-ubuntu-live-cd-image
[21:56] <tangarora__> oerheks: My goal is to completely automate the install. So i am using preseed and it works now for debian but the ubuntu mini.iso does not have the frimware that I can add...
[21:57] <tomreyn> tangarora__: how did you do it for debian then, since it's basically the same installer?
[21:58] <tomreyn> well the foundation is the same, debian-installer.
[21:58] <Towser> so grub won't restore
[21:58] <starcurve> debian has a guide on how to include specific drivers
[22:00] <tomreyn> !details | Towser
[22:06] <starcurve> tangarora__: this might help https://wiki.debian.org/Firmware. it has the different spots where firmware can be placed on an ISO image
[22:08] <Towser> ok so I did a windows repair, it kinda nuked grub, so I ran the repair tool via usb, rebooted and the grub menu didn't appear
[22:09] <tomreyn> "the repair tool"?
[22:16] <oerheks> maybe bootrepair? also we need more info, is this legacy mbr or uefi install?
[22:28] <Towser> yes bootrapair didn't fix it and it's uefi
[22:29] <oerheks> with uefi, i wonder what windows would mess up, it should not touch the uefi entry in the efi partition
[22:30] <quadrathoch2> oerheks, windows sets itself up as the first boot entry, always, so you need to into boot menu to boot into grub
[22:31] <quadrathoch2> you can then disable the windows boot entry. windows won't complain
[22:32] <quadrathoch2> Towser, did you try to go into the boot menu?
[22:32] <quadrathoch2> (as in uefi)
[22:32] <jeremy31> I think windows might remove the ubuntu entry from uefi firmware boot menu
[22:33] <quadrathoch2> it wont remove it, just doesnt let it be numero 1
[22:33] <oerheks> what is the output of that bootrepair ?
[22:33] <Towser> quadrathoch2, that I didn't check
[22:33] <oerheks> one could run it again
[22:35] <oerheks> click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX)  https://help.ubuntu.com/community/Boot-Repair
[22:58] <Towser> oerheks, I did and it didn't fix it
[23:06] <oerheks> that url log could give us a clue
[23:06] <oerheks> but oke, it did not fix it.
[23:19] <magic_ninja> are there known issues with the ubuntu installer efi at the moment?
[23:20] <magic_ninja> I can't seem to boot. I don't even get grub. Just a black screen with a cursor.
[23:20] <jeremy31> magic_ninja: better off to install wiithout internet connection with UEFI
[23:20] <starcurve> the installer is pretty good about detecting UEFI
[23:20] <magic_ninja> it is failing.
[23:21] <magic_ninja> It is putting the files in the efi partition, and my firmware can see the efi entry
[23:21] <magic_ninja> but I get a *very* quick flash of the kubuntu screen then a black screen with a cursor and nothing.
[23:21] <jeremy31> magic_ninja: something about grub-amd64-efi-signed cannot be installed to /target
[23:22] <magic_ninja> no error message or feedback of any kind during the install either.
[23:22] <magic_ninja> or during boot
[23:23] <magic_ninja> I'll be back. Lets see if this works right fast.
[23:51] <tangarora__> tomreyn: debian had instructions and a zip with all the firmware debs. All I had to do was add them to a dir called firmware in the root of the cd, and add a line in the preseed.
[23:52] <tangarora__> I have done the same steps with the ubuntu mini.iso with failed results.
[23:52] <tangarora__> no firmware is detected or loaded.