[02:49] <HunterWittenborn> Is there any way I can manually obtain the APT lock file?
[02:50] <HunterWittenborn> A program I'm working on checks for needed APT dependencies with `apt install --dry-run`, and I'd like to prevent any package modifications to be done with everything's being checked.
[02:50] <HunterWittenborn> *prevent any package modifications from being done while everything's being checked.
[02:51] <sarnold> HunterWittenborn: oh that's a good idea
[02:52] <HunterWittenborn> Good idea as in such isn't implemented yet??
[02:52] <HunterWittenborn> Excuse the dramatic question marks, I'm kind of tired rn :p
[02:52] <sarnold> HunterWittenborn: afaik there's no easy pre-existing utility to do this, but it's probably simple enough to add to your program
[02:53] <HunterWittenborn> I'll manually do it from the command line if needed (the program is a Bash script), I'm just not sure how
[02:54] <HunterWittenborn> My first assumption was that APT created the file while running, but the file's appearing to stay present even while no APT instances are running
[02:58] <Bashing-om> HunterWittenborn: check for the presence of "/var/lib/dpkg/lock" ?
[02:58] <sarnold> HunterWittenborn: so.. probably the 'best' way to get the lock is install python-apt, and then in a python script, import apt; apt.apt_pkg.get_lock("/var/lib/dpkg/lock-frontend")  -- I'm 90% sure this will Do The Right Thing
[02:59] <sarnold> HunterWittenborn: maybe it ought to acquire the lock file Bashing-om points out, but maaaaaybe acquring the front-end lock will prevent things from looking like they'll succeed only to fail when finally calling dpkg. maybe it's best to acquire both.
[02:59] <HunterWittenborn> I looked at Bashing-om's method, but `/var/lib/dpkg/lock` appears to always exist as well
[02:59] <HunterWittenborn> Trying out the Python method though
[03:00] <sarnold> I *think* the files are created if they didn't already exist, but left alone if they do exist
[03:02] <sarnold> I don't know my way around the apt sources very well :( it's .. not my favourite code-base. But it's probably using lockf or flock to do the locking; those *can* be manipulated via a shell-accessible tool, the util-linux package has a 'flock' command. it'd be worth trying if the python approach is just too much; I just have an aversion to shell scripts that grow longer than a dozen lines..
[03:03] <Bashing-om> HunterWittenborn: Maybe do something with file length .. as when there is no lock on /var/lib/apt/lists/lock the the file is empty ?
[03:04] <HunterWittenborn> Bashing-om The file appears to be empty even after locking it, so it doesn't look like that'll work (unless I'm overlooking something)
[03:05] <HunterWittenborn> sarnold Your Python approach worked, I'm just trying to figure out how to unlock it now :/. Shell script length isn't a big issue either, the thing I'm working on is around 1000 lines rn :PPP
[03:05] <HunterWittenborn> Yeah, 1111
[03:05] <sarnold> HunterWittenborn: hehe :)
[03:05] <HunterWittenborn> Crazy script
[03:06] <sarnold> HunterWittenborn: I can't remember what python calls it, when it calls a descructor when an object goes out of scope...
[03:06] <sarnold> HunterWittenborn: but I think you should be able to do something like:
[03:07] <sarnold> with lock = apt.apt_pkg.get_lock("/var/lib/dpkg/lock-frontend"):
[03:07] <sarnold>   do stuff here
[03:07] <sarnold>   and here
[03:07] <sarnold> and then when the block ends, it'll get cleaned up
[03:08] <HunterWittenborn> Removing `/var/lib/apt/lists/lock` and `/var/lib/dpkg/lock-frontend` removed the APT lock error from locking it earlier.
[03:08] <HunterWittenborn> I'll probably just investigate into Bash solutions, I know what setup I need, and that's all I really needed external help with honestly.
[03:09] <HunterWittenborn> Thanks though :)
[03:09] <sarnold> just be aware that if the apt locking method changes, the python tools will probably get the updates for free, but your bash script won't :)
[03:09] <sarnold> in five or ten years when things don't work quite right, remember this moment :)
[03:10] <HunterWittenborn> Oof, you're right :(
[03:10] <HunterWittenborn> Sad times man
[03:10] <HunterWittenborn> Guess I'll be investigating then :)
[03:10] <HunterWittenborn> For solutions
[03:10] <HunterWittenborn> And all that fun jazzy stuff
[03:11] <HunterWittenborn> But yeah, thanks again
[03:13] <sarnold> :D
[04:53] <Swift110-mobile> hey all
[05:00] <hiya> Swift110-mobile: sup
[05:05] <Swift110-mobile> how are you hiya
[05:08] <Quetzalcoatl> hi !
[05:11] <Quetzalcoatl> I have a Dell gaming laptop which came with Ubuntu 18.5 LTS version. yesterday, after upgrading from 18>20 lts I can't connect to my wifi, despite the fact that I was able to connect prior to the upgrade.
[05:12] <Quetzalcoatl> It is strange however that I can connect to another wifi.
[05:12] <Swift110-mobile> how are you Quetzalcoatl
[05:12] <Swift110-mobile> oh wow Quetzalcoatl that stinks
[05:12] <Swift110-mobile> have you rebooted the machine yet
[05:13] <Quetzalcoatl> yes
[05:13] <Quetzalcoatl> 2-3 times
[05:14] <Swift110-mobile> oh ok
[05:15] <Quetzalcoatl> another fact is that after upgrading the wifi connection become very unstable even when i was connected to another wifi or hotspot
[05:16] <Quetzalcoatl> i changed the wifi password on router, same problem.
[05:18] <Quetzalcoatl> upgraded router's firmware...and sometime today i hope that i can find a solution. if not i think i will have to reinstall the os from the beginning
[05:19] <Quetzalcoatl> i suspect that upgrade process messed up things
[05:20] <Quetzalcoatl> in the repo appears dell.ubuntu.*
[05:20] <Quetzalcoatl> if someone here has some ideas, pls let me know
[05:44] <ledeni>  Quetzalcoatl to test i will make new wifi connection with 'nm-connection-editor'
[05:49] <Quetzalcoatl> ledeni: thank you for suggestion. i'll try that
[05:50] <tomreyn> Quetzalcoatl: tell us about your wireless chipset (need to be online, or delete " | nc termbin.com 9999" and post to paste.ubuntu.com): lspci -knn | grep -EA3 '(Network|Ethernet) controller' | nc termbin.com 9999
[05:51] <tomreyn> Quetzalcoatl: on a side note, about Ubuntu versioning (there are no versions "18.5 LTS", no "18" nor "20"):
[05:51] <tomreyn> °yy.mm | Quetzalcoatl
[05:51] <tomreyn> !yy.mm | Quetzalcoatl
[05:53] <Quetzalcoatl> tomreyn: I shorted from 18.x.x to 18.x
[05:55] <guiverc> Quetzalcoatl, 18.5 implies you're using a fake; as there is no 2018-May release so you must be using something-else.   Ubuntu does use *year* format releases for snap only products, eg. Ubuntu Core 18, Ubuntu Core 20
[05:55] <tomreyn> Ubuntu 18.04.5 LTS does exist, though
[05:57] <tomreyn> it certainly helps to be precise about these things. you can check your version using    cat /etc/os-release    - but let's focus on the wireless now. ;)
[05:59] <Quetzalcoatl> tomreyn: the initial version was 18.04.5 LTS. Now it's 20.04. OK? :D
[05:59] <chrys_> hi
[05:59] <Quetzalcoatl> tomreyn: yes, let's do that ;)
[05:59] <tomreyn> Quetzalcoatl: ok! :)
[06:00] <tomreyn> chrys_: hi there.
[06:00] <Quetzalcoatl> tomreyn: :))
[06:04] <Quetzalcoatl> I have to exit now but I'll come back shortly
[06:10] <tomreyn> :-/ bbl
[06:23] <Quetzalcoatl> back
[06:41] <Quetzalcoatl> tomreyn: this is the wifi chip: Network controller [0280]: Intel Corporation Wi-Fi 6 AX201
[06:42] <Quetzalcoatl> Subsystem: Intel Corporation Device, Kernel driver in use: iwlwifi, Kernel modules: iwlwifi
[07:45] <TheBigK> im trying to rrecompile my kernel
[07:45] <TheBigK> and im too stupid appreantly
[07:46] <ikonia> why are you doing that ?
[07:46] <TheBigK> bug with my headset. found a patch i wanna try
[07:46] <TheBigK> i just want to replace one module to be fair
[07:46] <ikonia> what headset is it and what is the patch ?
[07:47] <TheBigK> https://bbs.archlinux.org/viewtopic.php?id=251068
[07:48] <TheBigK> i get a bunch of this errors .. No rule to make target 'scripts/module.lds'
[07:51] <ikonia> TheBigK: forget trying to build something yet
[07:51] <ikonia> that link is for a different kernel and distro
[07:51] <ikonia> lets look at the problem and the value of this
[07:52] <ikonia> so the first thing to check - this is from 2019 with a reference in 2020 - does this patch already exist in the kernel, and does ubuntu already apply this patch ?
[07:52] <ikonia> as ubuntu uses patched kernels
[07:53] <ikonia> TheBigK: what kernel is your ubuntu version running
[07:53] <TJ-> TheBigK: did you do "make modules_prepare" first?
[07:54] <amir_> .
[08:18] <TheBigK> TJ-: thanks, that was the problem
[08:26] <lavaplanetsandwi> can i ask for help here?
[08:28] <TheBigK> what do i need to do for dkms that the module is accepted?
[08:28] <lavaplanetsandwi> i added a new hdd to my laptop, but it doesn't mount itself automatically unless i click it in Files, i did some searching and messing about with /etc/fstab (i don't know much about this) and could get it mounted automatically but then couldn't read or write, is there an easier way to do this with some gui program or some setting (not that i can see one in disks) ??
[08:29] <TJ-> TheBigK: how do you mean? DKMS packaged modules have a dkms.conf that specifies how to build the module
[08:30] <TJ-> lavaplanetsandwi: when you 'click' on it in the file manager it uses udisks daemon under the hood to mount the file-system under /media/$USER/ with $USER having permissions for it. When mounted from /etc/fstab that will be owned by the root user
[08:33] <lavaplanetsandwi> TJ-: Yeah, i tried adding it myself in /etc/fstab with something like /dev/sda1 /2TB xfs defaults but beyond that i am clueless on what to do or search to make it work
[08:33] <lavaplanetsandwi> sorry, /media/$USER/2TB i mean
[08:33] <TheBigK> TJ-: i just replaced the according module and try to load it
[08:34] <TheBigK> but it says invalid argument
[08:39] <alkisg> lavaplanetsandwi: mount it automatically, then run `mount` to see  its mount options, then paste that line here, and we'll tell you the equivalent fstab line
[08:40] <cbreak> I'd also recommend using a /dev/disk/byXXX device and not the raw /dev ones
[08:40]  * alkisg prefers using LABEL=xxx, much easier to keep track of than UUIDs
[08:40] <alkisg> LABEL=linux	/		ext4	errors=remount-ro  0	1
[08:41] <alkisg> And it works anywhere, I don't play with fstab anymore :D
[08:41] <alkisg> (same for LABEL=EFI, home, srv, etc etc)
[08:41] <lavaplanetsandwi> alkisg: /dev/sda1 on /media/jon/2TB type ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2)
[08:42] <lavaplanetsandwi> cbreak: sorry, no idea what that means :\
[08:43] <alkisg> OK, so it's not xfs. Put this in fstab: /dev/sda1		/media/jon/2TB		ext4	defaults	0	2
[08:43] <alkisg> Make sure that the directory exists, it's not autocreated.
[08:43] <lavaplanetsandwi> is there much difference between xfs? i was doing that in fdisk, but when i tried again in Disk, it would only let me use ext4 (I just want the drive for mp3s, movies, pics etc)
[08:43] <alkisg> Also note that since it's ext4, it has permissions, same as / or /srv or /home
[08:43] <alkisg> So, you could do: sudo mkdir /media/jon/2TB/jon; sudo chown jon:jon /media/jon/2TB/jon
[08:44] <alkisg> That way, the "jon" folder inside the "2TB" drive will be writable by jon
[08:44] <alkisg> If you want the drive  to be usable by windows for whatever reason, use ntfs. Otherwise ext4 is fine, very stable and efficient
[08:48] <cbreak> lavaplanetsandwi: don't  use /dev/sda1
[08:49] <cbreak> you can't really know what /dev/sda1 reliably, since those files are created fresh based on what ever order the kernel happens to find devices in
[08:49] <cbreak> instead, take a look at /dev/disk/by-id
[08:49] <cbreak> the names in there are much more likely to be usable beyond a single boot cycle
[08:51] <lavaplanetsandwi> alkisg: OK, that worked, tyvm
[08:51] <cbreak> for example /dev/disk/by-id/nvme-Samsung_SSD_980_PRO_1TB_S5GXNF0XXXXX-part1
[08:51] <lavaplanetsandwi> cbreak: does that refer to UUID or am i mixed up?
[08:51] <cbreak> no, UUIDs are in a different dir
[08:51] <alkisg> Run lsblk --fs to see the UUIDs
[08:51] <cbreak> those are in /dev/disk/by-partuuid or /dev/disk/by-uuid
[08:51] <alkisg> Then replace /dev/sda1 with UUID=big-number-here
[08:52] <lavaplanetsandwi> i might just leave it as is, getting a bit beyond me now and the stuff is backed up elsewhere so i can always reformat if i have issues in future
[08:53] <cbreak> the problem's that stuff might randomly break if you reboot
[08:53] <cbreak> or attach other devices
[08:54] <lavaplanetsandwi> one other thing, if it automounts, will that draw more power from the battery even if the disk isn't being used?
[09:40] <randomuser> Hello, where can I find build recipes for packages? I'm looking for sometking like PKGBUILD in ArchLinux.
[09:43] <alkisg> randomuser:  `apt source package` gets you the package source. The equivalent of PKGBUILD in debian is the debian/ dir, look inside it
[09:44] <fdaapproved> morning fans
[09:46] <randomuser> Ok, thanks!
[10:36] <lostinconfig> hi, im trying to get pci passthrough going with lxc or kvm, but for some reason no vfio module is ever loaded, regarless if i modprobe by hand or if i add it to /etc/modules. i can see that my selected gpu has been associated as vfio-pci device but i cant make use of it since the modules aren't ever loaded. i'm at a loss right now, any idea?
[10:38] <lostinconfig> i can even hear the fans spinning up if i start the lxc vm or kvm one but the gpu itself is not recognized by any vms
[10:42] <ikonia> lostinconfig: there was a thread over a year ago that shows the vfio module is no longer a module and actually part of the kernels static config due to it being in demand enough to warrent not using a module
[10:44] <ikonia> (assuming you're using 20.04)
[10:46] <lostinconfig> ikonia: ok that passed me, thanks for pointing that out. im still wondering why i can't seem to get my cards recognized
[10:46] <lostinconfig> if i try to install a windows via virsh/virtmanager i just get a black screen
[10:49] <lostinconfig> i have an radeon pro wx2100 for my host and a gtx 760 for my guest
[10:49] <lostinconfig> if that matters
[10:50] <lostinconfig> oh and i use 21.04 atm
[10:54] <ikonia> lostinconfig: I'm not sure you can change modules like that
[10:54] <ikonia> the whole point of pass through is 'it's a pass through' not emulation
[10:55] <ikonia> so you can't ask an ATI card to pass through as a Nvidia card from what I understand
[10:58] <lostinconfig> i thought that didn't matter because you are just passing through raw pci devices
[11:00] <ikonia> I thought it did matter
[11:00] <ikonia> it had to be set right
[11:01] <lostinconfig> ikonia: i know that some people do it on their laptops with intel and nvidia, so i assumed naturally that it's irrelevant
[11:07] <ikonia> lostinconfig: that (in my view) will be the optimum video cards
[11:39] <lostinconfig> ikonia: so this shouldn't be happening at all, right?
[11:39] <lostinconfig> https://i.imgur.com/Etp51Uf.png
[11:42] <Macer> i have to admit. other than dealing with trackpad issues which i may be able to figure out eventually… ubuntu on the old 2015 macbook air… is really good
[11:43] <Macer> i’m a little surprised how well it is working. i expected some sort of apple tomfoolery to get in the way of running it on the macbook air. and with my macbook pro (2013) not receiving monterey it is nice to have an option after support is ended.
[11:48] <BinarySavior> hi, trying to checkout a downstream fix using gh cli and getting https error: https://paste.ubuntu.com/p/7yvSSn4Rzr/
[11:49] <BinarySavior> ignore the pipe nc
[11:59] <donofrio> Macer, did you load macfancontrol?
[11:59] <Macer> no
[11:59] <Macer> but the fan seems to work properly
[11:59] <donofrio> Macer, humm "air they don't have fans do they?
[11:59] <Macer> at least when i was encoding hevc video on it it sped up and then stopped when it was done
[12:00] <Macer> so the fan seemed to work just fine. i didn’t know that i needed to install something special for it since i noticed it working
[12:00] <donofrio> well fwiw it is something that is needed on mac's to control the fan (at least on my g5's and imac's)
[12:01] <Macer> weird. the macbook fan seemed to work fine
[12:01] <Macer> maybe i’m missing something?
[12:01] <Macer> when i hit the macbook hard it went full blast… then lowered its speed then stopped. suspend works too which is the real shocker.
[12:44] <Bojidar> join irc.all4y.net
[13:44] <BluesKaj> Hi folks
[14:22] <Quetzalcoatl> hi! who can help me to solve a wifi issue on a dell laptop?
[14:23] <ikonia> just ask the question and if someone can help, they will
[14:23] <ikonia> if not wait for someone who can
[14:25] <Quetzalcoatl> the problem: upgraded ubuntu from 18.0.5 lts to 20.04 lts. now the wifi card can see the wifi networks but i can't connect to my network. i suspect a driver issue
[14:27] <Quetzalcoatl> rebooted computer 2-3 times and entered password and nothing changed. i deleted wifi network, rebooted, re-entered password and nothing
[14:28] <Quetzalcoatl> now i'm considering a fresh reinstall.
[14:30] <Quetzalcoatl> and another problem is this: i'm pressing the power off option in gui (Unity) and it's shuts down. however, when i open the lid the laptop starts automatically. how is this possible ?
[14:32] <leftyfb> Quetzalcoatl: because pressing the power button does not "shut down" by default. It suspends. Open your power settings to change it
[14:34] <Quetzalcoatl> leftyfb: in Settings>Power>Power Button Action is PowerOff. I'm pressing Power Off/Log out>Power Off
[14:35] <leftyfb> oh, it starts automatically, not "immediately". That feature would be particular to your hardware (laptop) and has nothing to do with the OS running on the laptop
[14:36] <leftyfb> Quetzalcoatl: look in your BIOS for that setting
[14:36] <Quetzalcoatl> leftyfb: ok
[14:38] <iomari891> greetings, "cat /sys/block/{disk}/queue/rotational" is returning 1 foe my sata driv which is incorrect. Is there a more reliable method of distinguishing spinning disk from non-spinning disk?
[14:39] <iomari891> greetings, "cat /sys/block/{disk}/queue/rotational" is returning "1" for my sata drive which is incorrect. Is there a more reliable method of distinguishing spinning disk from non-spinning disk?
[14:42] <ioria> Quetzalcoatl, i think it's called 'Touch or click Power on Lid Open'
[14:45] <Quetzalcoatl> ioria: i see.
[14:47] <Quetzalcoatl> and do you know where i can find this option ?
[14:49] <ioria> in the bios > power
[14:52] <Quetzalcoatl> i see. thank you
[15:57] <Guest39> trying to setup celluloid player on ubuntu mate to autostart on OS startup and play HLS url in full screen. anyone that can help? greatly appreciated. thanks
[15:57] <Guest39> i need a config that would auto playback HLS URL, i cant figure out the syntax for that in mpv
[17:17] <sabasedigh> hello
[17:18] <lotuspsychje> welcome sabasedigh
[17:18] <sabasedigh> I want to create live installable iso of my ubuntu build. what should I use. please advise me. thank U
[17:21] <leftyfb> sabasedigh: you should use something like ansible to automate rebuilding your system post-install
[17:32] <webchat36> I'm not getting notification sounds for system notifications or chrome. I think it applies to more but that's the majority of my notifications. Is there a way to force notification sounds?
[17:32] <webchat36> I have sound alerts enabled in Notification options of the the apps.
[17:32] <webchat36> Ubuntu 21.04
[18:30] <merpnderp> Does bluetooth normally work on startup with Ubuntu laptops? Like if I order a bluetooth keyboard/mouse they likely won't have problems just working on laptop boot?
[18:42] <bitblit> i'm trying to learn and setup local mail. should i have both bsd-mailx and mailutils installed? they both provide 'mail', i currently have both but bsd-mailx is aliased to 'mailx' and 'mail'.. i think i need the features of mailutils (i.e. maildir)
[18:44] <rbasak> bitblit: IIRC, you can install both - the update-alternatives system is used to manage the aliases.
[18:45] <rbasak> merpnderp: I don't think Ubuntu has any facility to make them work at boot. I could be wrong but ISTR other people finding this.
[18:46] <bitblit> rbasak: ah, update-alternatives is what i was unaware of. thx.
[19:39] <TJ-> merpnderp: assuming it is previously paired, it'll connect as soon as the bluetooth.service starts
[19:47] <hoppity> Hi guys, how can I Geoblock all countries except one from accessing my server's website?
[19:51] <sonOfRa> hoppity: there are (mostly paid) services out there that make relatively good guesses from IP addresses to countries
[19:51] <sonOfRa> You can of course try to build such lists yourself, but it is extremely tedious
[19:52] <hoppity> sonOfRa: I am finding a lot of rerefences to something called GeoIP on Google. Seems to be related to IPtables somehow.
[19:52] <Croran> hoppity: if you block all ipv6 traffic, it might not be too hard to set up an ipv4 firewall ruleset yourself.
[19:52] <Croran> hoppity: still won't block VPNs though
[19:52] <hoppity> Croran: thank you, I am indeed blocking all ipv6
[19:53] <genii> hoppity: https://torbjornzetterlund.com/how-to-configure-htaccess-redirects-based-on-geo-ip/
[19:53] <hoppity> genii: thank you very much
[19:53] <genii> np
[19:56] <Croran> hoppity: $24 a month and looks like you can just stop your subscription if you don't care about updates. https://www.maxmind.com/en/geoip2-country-database
[19:56] <hoppity> Croran: thank you
[19:56] <Croran> oh actually they even offer a $24 one time purchase
[19:58] <hoppity> nice
[20:00] <genii> hoppity: The examples there use the geo-ip module and .htaccess files to redirect users from specific countries to specific pages but you can use it as an example of how to allow only one country to access the page
[20:01] <hoppity> genii:  which examples are you referring to?
[20:02] <Croran> hoppity: here's a very detailed instruction. it's in... finnish or something but google translate does great on it. https://www.eksis.one/artikkelit/palomuuri/geoip-blokkaus-iptables/
[20:02] <Croran> looks like you can configure it without even buying the geoip2 list, but you will be running an old and outdated country list.
[20:02] <hoppity> wow thanks a lot that's great
[20:03] <genii> hoppity: The examples on the page I linked ealier
[20:21] <merpnderp> TJ-: awesome thanks.
[20:26] <hoppity> genii: gotcha thanks
[20:27] <eyeris> When I install OpenJDK I get both openjdk-14-jre and openjdk-14-jre-headless. It seems like the headless one is used by default when both are installed. When I run update-alternatives I don't see separate headless and non-headless options. When I try to uninstall the headless package it also uninstalls the other. How can I get a non-headless OpenJDK?
[20:30] <toddc> eyeris: what version of ubuntu are you running?
[20:31] <ash_worksi> my computer is all screwy; am I supposed to not be able to login to the actual chromium browser?
[20:31] <eyeris> toddc: 21.04
[20:32] <toddc> eyeris:  desktop or server
[20:32] <eyeris> toddc: desktop
[21:27] <larsih> I can't get steam to start with the latest version of ubuntu, anyone have a fix for this?
[21:28] <sarnold> if you run it from a terminal, do you get any error messages?
[21:30] <larsih> aha!  Thanks!  Says needs to install aditional packages.  That will probably fix it
[21:31] <sarnold> :D
[21:39] <larsih> sarnold that didn't quite work out.  There is a good way to link error messages and such to irc, I've forgotten how to though, could you refresh my memory on the subject?
[21:40] <sarnold> larsih: best is to use a pastebin site like paste.ubuntu.com; the pastebinit tool can make that easier / more convenient
[21:43] <larsih> sarnold, thanks here is the pastebin hopefullyhttps://pastebin.com/zjQM5Fas
[21:44] <FruttiTutti> hi everyone!
[21:44] <merpnderp> I starting moving from MacOS to Ubuntu and it has been incredible. Can't believe what I was missing out on.
[21:45] <onelegend> FruttiTutti: helloo human
[21:45] <FruttiTutti> i have a small question: how come that when i am booting in linux, i can access my whole windows partition without any password?
[21:45] <onelegend> yup
[21:45] <FruttiTutti> isnt that super unsafe?
[21:45] <onelegend> unless you have bitlocker on
[21:46] <FruttiTutti> but i mean... is that always like that?
[21:46] <sarnold> FruttiTutti: the linux kernel just parses the ntfs filesystem; it doesn't know how to use the windows user/password database to figure out which users should be allowed to do what, etc
[21:46] <FruttiTutti> so unless its encrypted, anyone can just access it?
[21:46] <onelegend> if your windows partition is not encrypted, anyone will be able to see your entire partition simply by taking your SSD or HDD out and plugging it back in
[21:46] <onelegend> yes
[21:46] <onelegend> that applies for anything
[21:46] <FruttiTutti> interesting... thanks for clearing that up!
[21:46] <sarnold> FruttiTutti: yeah, back in 1997 or something, I had a linux floppy disk that could reset the system administrator password on windows NT machines. it was the single most useful tool we had at that company :)
[21:47] <hoppity> Is there a way to have apt uninstall all packages installed today?
[21:47] <FruttiTutti> so really the easiest way to bypass any security on windows is simply to use a live version of linux?
[21:48] <sarnold> hoppity: not in an easy one-liner, no, but you can go through /var/log/apt.log and find the packages that way
[21:48] <sarnold> FruttiTutti: probably, yeah
[21:48] <hoppity> sarnold: thank  you
[21:48] <sarnold> FruttiTutti: similarly, the same goes the other way around -- your linux filesystem is *also* easily accessible if you boot to a new linux live image :)
[21:49] <onelegend> here be dragons
[21:49] <sarnold> FruttiTutti: so it's a decent idea to use the full disk encryption option in the installer...
[21:49] <lord4163> hoppity: /var/log/apt/history.log
[21:50] <sarnold> larsih: there's a few ideas on https://askubuntu.com/q/834254/33812  -- I don't like some of those solutions, but they give some suggestions of what to look for
[21:51] <FruttiTutti> sarnold: hmmm, would it then be safer to use my windows partition to work, surf the web, etc., as otherwise anyone who can take over Linux has also access to my files in an unrestricted way?
[21:51] <sarnold> FruttiTutti: no, you're using basically the same web browser on both systems. no real difference.
[21:52] <FruttiTutti> sarnold: but then why do people say that a live version of linux is a safer way to go than just using a normal install?
[21:52] <sarnold> FruttiTutti: no idea
[21:53] <FruttiTutti> sarnold: in any case thanks a lot for the interesting info!
[21:54] <lord4163> FruttiTutti: One advantage of running it live is that no browsing history gets saved.
[22:09] <Croran> FruttiTutti: live version is safer because you know it's not infected by a virus.
[22:10] <sarnold> Croran: FruttiTutti left ten minutes ago
[22:10] <Croran> FruttiTutti: well. assuming your media is read-only, like a DVD-ROM or a USB flash drive with the write protect tab set.
[22:10] <Croran> ah. lame.
[22:12] <ens> hi folks, i'm wondering if there is some way i can control the backlight timeout on my keyboard
[22:12] <Croran> ens: learn to type and you won't need a backlight
[22:15] <ens> so the guides i've read have talked about trying to find something like kbd_backlight under /sys but unfortunately i can't see that on my HP zbook.
[22:16] <Croran> ens: most laptop hardware has proprietary 'standards' with no programmer documentation, so they have to be reverse engineered by dedicated linux kernel volunteers.
[22:16] <Croran> ens: you may find that running a newer kernel version allows you to adjust your keyboard lights.
[22:17] <Croran> ens: if you're running LTS, try 21.04 or even 21.10 deaily
[22:17] <ens> thanks. my next laptop will be a lenovo i think. seem to have much better support.
[22:17] <Croran> daily*
[22:19] <Croran> ens: yeah some of the thinkpad models have linux support, supposedly.
[22:19] <Croran> ens: I wouldn't be surprised if there are still some features that don't work under linux.
[22:57] <Guest97> Hi,  I have network manager  missing in my xubuntu;  where can I download it?  I asked yesterday but closed the channel - apologies for the duplicate Q
[23:12] <matsaman> Guest97: network-manager network-manager-gnome
[23:18] <Croran> Guest97: download it? i think there's an ubuntu website that lets you download packages. otherwise use apt to install it.
[23:23] <matsaman> if you don't have networking, use your live OS to get networking first
[23:45] <quazimod1> hi
[23:45] <quazimod1> question, how do i find what system tray i'm using?
[23:46] <quazimod1> i'm on 20.04 and currenty running i3 + polybar, all the gnome stuff is there too just not using it
[23:48] <matsaman> ps aux | grep -i poly; kill things and see what happens
[23:48] <sarnold> heh, that'd do it :)
[23:48] <quazimod1> lol if it was that easy i'd have found it
[23:49] <quazimod1> polybar doesn't appear to launch the systray, only to utilize it
[23:49] <quazimod1> are we thinking that the systray is something within polybar, and that polybar pulls systray information out of some shared place?
[23:50] <sarnold> polybar does appear to offer a systray of some sort, see eg tray-position in https://github.com/polybar/polybar/wiki/Configuration
[23:51] <quazimod1> sarnold: are you thinking that polybar itself spawns the systray?
[23:52] <sarnold> quazimod1: I bet 'spawn' isn't quite the right word; I expect it to implement systray functionality itself
[23:52] <quazimod1> i was thinking perhaps it's not polybar controlling the systray since the systray appears to behave so strangely in polybar, unlke the rest of polybar
[23:52] <quazimod1> sarnold: yeah you're absolutely right, polybar has no child processes
[23:52] <quazimod1> ok, time to go digging into polybar source the
[23:52] <quazimod1> it's weird because polybar's systray doesn't behave much like the rest of polybar