[00:19] <Slartibart> Anyone managed to hibernate on 22.10? I get to the computer turning itself off, but when I start it again I never get the hibernated applications back..
[00:22] <arraybolt3> Slartibart: Hibernation on Ubuntu is *very* glitchy and unreliable. It's generally disabled by default.
[00:23] <arraybolt3> I've seen, like, one guy manage to get it working. I've tried to use it and it didn't work at all.
[00:23] <Slartibart> arraybolt3: Yeah, it would be nice not having to start everything again each morning for work though.
[00:23] <Slartibart> Is it more stable somewhere else?
[00:24] <arraybolt3> I've not tried it on other distros.
[00:25] <arraybolt3> I believe it's just Linux in general that's bad at hibernation, as other distros seem to have similar problems.
[00:26] <arraybolt3> Slartibart: Is there a reason ye-old sleep doesn't work? Suspend-to-RAM usually works just fine.
[00:30] <Slartibart> arraybolt3: Sleep works, I'm just trying to save electricity. And hibernation has worked before, on earlier versions of Ubuntu, so in that case things are going in the wrong direction :-[
[00:32] <arraybolt3> Yeah, hibernation seems... wonky, and even Arch Linux's docs mention that sometimes older kernels work better than newer ones for hibernation. On the bright side, many computers already use a low amount of electricity (I think my most powerful laptop uses about as much energy as a light bulb even when going at full force), and sleep uses way less, so if it's just electricity you're worried about,
[00:32] <arraybolt3> you're probably fine. (If it's battery life, though, then I'm not sure what to do from there.)
[00:32] <arraybolt3> *incandescent light bulb, I mean
[00:39] <arraybolt3> Slartibart: https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate (Yikes, you can accidentally lock yourself out trying to hibernate if you aren't careful!)
[00:39] <arraybolt3> See section 5.6, if you're using Ubuntu from an external drive, I'd probably not keep trying this. Otherwise, that page might have some tips to help out (though please back up your data before trying dangerous stuff).
[00:39] <arraybolt3> Oh...
[00:56] <brokennotdeaddav> helld
[01:41] <paul_> hello
[03:35] <masterguy> hi to everyone
[03:40] <carnophage2> yo
[04:11] <Guest87> Hey so for literally some random reason (I think I know why though) Ubuntu crud itself yesterday.
[04:12] <Guest87> I'm about to make backups via Backups and was wondering how to skip files and folders with "Invalid names"
[04:12] <Guest87> Just to make things go by faster. I have 80GB of files
[04:16] <Bashing-om> Guest87: See: ' man rsync ' .
[04:17] <arraybolt3> Guest87: The "Backups" tool isn't the tool you want to use if you're trying to clone your data so you can reinstall or fiddle with things. There's rsync like Bashing-om recommends, or you can use the approach I used which was mksquashfs.
[04:18] <Guest87> Alright. This'll work with a live USB right? I'll copy my crud on my SD card.
[04:18] <arraybolt3> Yeah, a live USB will work.
[04:19] <arraybolt3> However, I'd highly recommend you verify your backups once you're done making them. It's easy to do, and will make sure your data got copied correctly. Sometimes external flash memory can eat your data silently.
[04:20] <Guest87> Alright, thank you. Linux is very convenient to use in comparison with Windows.
[04:26] <arraybolt3> Guest87: Once you have the live USB booted, just insert your SD card, open a terminal inside it, and then do "sudo rsync -a /home/<username> ./bakClone". That will clone just about everything. There's a few file attributes and special things that aren't cloned doing this (ACLs, extended attributes, file access and creation times, and hardlinks), but you probably don't need those.
[04:26] <arraybolt3> (Note that you should run that from within the SD card for it to work.)
[04:30] <arraybolt3> Guest87: You can also add a "--progress" switch to the above if you want to see rsync's progress as it copies, that way you can see it doing something rather than it just sitting there looking frozen while it works.
[04:32] <Guest87> Now when you say run it from within the SD card you mean change my directoy to the SD card's?
[04:38] <arraybolt3> Guest87: Yes.
[04:41] <Guest87> Alright so cd /dev/sdx (where x is my SD card's location( then run the command. THank you so much.
[04:45] <Bashing-om> Guest87: "/dev/sdx" is a device - ya want to cd into the file system -- where /dev/sdXY is mounted into the file system. (if you are working from the external USB)
[04:47] <Guest87> Huh?
[04:48] <Guest87> Sorry, I'm new to linux
[04:48] <Guest87> I was actually in the middle of learning it when it killed itself.
[04:49] <Bashing-om> Guest87: One changes the directory in the file system not to a device (hardware).
[04:51] <Guest87> So what's XY then
[04:53] <Bashing-om> Guest87: designates a partition - say first device is identified by the kernel as "sda" then the 1st partition would be identified as sda1 --- where XY is replaced by a1
[04:56] <Bashing-om> Guest87: Id ya have the time - terminal command ' sudo fdisk -lu ] to list partitions. Might make things a bit clearer.
[04:56] <Bashing-om> sudo fdisk -lu
[05:02] <Guest87> I think I udnerstand now. So if my SD card is located in /dev/sdc1, I don't cd into the device I cd into the FS. So cd /dev/sdc1
[05:05] <Bashing-om> Guest87: no no -- "sdc1" is still "hardware" ya got to tell the system ( all things are files in linux) what that hardware is. Now the GUI does this automagically. Terminally we have to tell the kernel what we want to do.
[05:07] <Bashing-om> Guest87: Teaching: is the SD card presently inserted ?
[05:07] <Guest87> Yep.
[05:07] <spring> can you write to the screen like a file
[05:08] <Guest87> In live, idk.
[05:08] <Guest87> Maybe.
[05:10] <Bashing-om> Guest87: OK - terminal command ' mount ' list a whole bunch of stuff that the kernel has attached, one of these will be the SD card. Will reflect a "mount point" that you then use to access the file system.
[05:10] <spring> alls i see is vga_arbiter in /dev and video but thats the camera i think
[05:16] <Guest87> So the mount commands shows me a mounting point I can use to gain access to the FS
[05:18] <Bashing-om> Guest87: Yepper :D
[05:19] <Bashing-om> Guest87: ^ Access to the system from terminal :D
[05:19] <Guest87> Cool. TBh, It's still confusing for me. I understand it somewhat now thanks to you. Is there a site I can use to learn Linux? linuxjouney is down,
[05:21] <Guest87> he reason why it's confusing for me is bc I never really had to deal with it before. Windows did everthing for me. Now since I hate Windows and swapped over to Linux, I wanna learn everything there is to it.
[05:22] <Bashing-om> Guest87: It is a long slow process - say about 10 years :D - there is no one resource to cover everything. In due time you will get the more comfortable and know where to go, for what aspect.
[05:22] <Guest87> So it's OK if I don't know mostly what you just said.
[05:24] <Guest87> It'll get better with time
[05:24] <Bashing-om> Guest87: Yes ! it is OK - believe me - none of us were born knowing all this -- takes time to learn. The GUI is easier for many things, but, in linux the power is in the command line and that takes knowledge.
[05:25] <Guest87> So it was confusing as heck for you as well.
[05:27] <Bashing-om> Guest87: Well - not so much. When I started this computer journey there was no GUI - so I learned first hand the terminal. Even so a transistion to ubuntu did have a learning curve.
[05:27] <Guest87> Thank you for being patient with me.
[05:27] <Guest87> See, I actually DID know some commands in Widnows CMD but it didn't translate over well in Linux
[05:28] <Bashing-om> Guest87: Also - I am still learning - even after all these years - *NO ONE* knows it all !
[05:28] <spring> i think if you program in c++ or assembly too you can understand stuff better
[05:28] <Guest87> I'm learning C++ actually. That and Python.
[05:28] <spring>  like its all just machine code
[05:28] <spring> ah thats good
[05:29] <Guest87> I wanna learn as much as I can bc tbh I don't wanna keep doing these stupid menial jobs all my life.
[05:30] <spring> linux has system calls in assembly that do stuff like write file and read file and socket connection and stuff but i never programmed assembly
[05:30] <spring> maybe its all built up upon that kinda stuff
[05:31] <spring> and instead of .dll in windows linux has .so
[05:31] <spring> but i mostly code javascript
[05:33] <spring> and then the .ko are like drivers i think
[05:35] <Bashing-om> spring: Keep on mind that a driver is actually a module that the kernel can incorporate.
[05:36] <spring> ah yes like you can load them in
[05:36] <spring> insmod
[05:36] <spring> something like that
[05:37] <Bashing-om> spring: Yeah - or at build time have the build pull them in :D
[05:38] <spring> ah yeah :D
[05:40] <Bashing-om> Guest87: For your think'n process - a borked system is always always fixable - just depends on how much time and effort one wants to spend over just taking that nuclear solution and re-install !
[05:41] <Guest87> Due i know! You have no idea how many times I failed at my computer experiments, went onlineand fixe it with ease.
[05:42] <Guest87> Like I screwed up dualbooting, slipstreaming, etc but tei nternet saved me so many times
[05:42] <Guest87> The internet*. It's amazing actually.
[05:44] <Bashing-om> Guest87: Information age is so wonderful :P
[05:46] <Guest87> I'll take what you said about rsync. THank you. I'm goingto bed. I hope linux journey will be up again soon. I wanna learn linux soon.
[05:48] <Bashing-om> Guest87: Take your time  to determine your backup strategy - any question or concerns we are here --- help is what we do :D
[05:52] <Guest87> I will. I'll talk to you guys later. Thank you.
[09:59]  * russell-- is having trouble with firefox ... it was working recently, with the mozilla ppa but removed that and tried to go back to the snap, but starting it up from a terminal shell gives me some bizarre text: "cannot load program: " and then a blank line and then ": invalid argument"
[10:00] <russell--> chromium is doing the same thing
[10:15] <lotuspsychje> russell--: do you launch firefox via the snap GUI icon now?
[10:36] <moha> In the Netplan configuration YML file, What does 'ens' stand for? Is it an abbreviation for "EtherNet Slot"?
[10:37] <moha> In the Netplan config file, why network cards are numbered in this order: 160, 192, 224, 256, 161 (for 5 interface attached to the server)?
[10:40] <murmel> moha: #ubuntu-server is probably the better channel to ask something like this
[10:40] <moha> +1
[10:42] <wicope> Hi. How can I have firefox with apt and have firefox with snap?
[10:42] <wicope> are they really incompatible? why?
[10:42] <wicope> Ubuntu wants to remove apt? thanks
[10:44] <murmel> wicope: pretty sure you can have both, but a bit weird to use, as you would need to use the full path to use a certain firefox
[12:22] <russell--> lotuspsychje: i tried starting it from the terminal
[12:23] <russell--> 22.04
[13:08] <Guest15> heyy
[13:08] <Guest15> any unix lovers here?
[14:04] <BluesKaj> Hi all
[14:06] <jay321> BluesKaj: hi
[14:06] <BluesKaj> hey jay321
[14:44] <SteelRose> hi BluesKaj
[14:45] <BluesKaj> hey SteelRose
[15:15] <cmon> Client: HexChat 2.14.3 • OS: Ubuntu "focal" 20.04 • CPU: Intel(R) Xeon(R) E-2234 CPU @ 3.60GHz (3,60GHz) • Memory: Physical: 30,5 GiB Total (14,2 GiB Free) Swap: 11,7 GiB Total (10,6 GiB Free) • Storage: 422,8 GB / 491,1 GB (68,4 GB Free) • VGA: ASPEED Technology, Inc. ASPEED Graphics Family @ Intel Corporation 8th/9th Gen Core Processor Host Bridge/DRAM Registers [Coffee Lake] • Uptime: 5d 5h 38m 11s
[15:51] <Arsimael> hi. Short question; My employer forces me to have mcafee on my machine. On shutdown I have to wait 1:30Minutes until systemd kills it. How can I shorten that period?
[15:51] <Arsimael> To, lets say... 1 second?
[15:52] <ogra> you find out why it stalls and fix the blocker ...
[15:52] <Arsimael> It's mcafee... thats why...
[15:52] <ogra> (there is realy no way to answr this question in a canonical way)
[15:58] <alkisg> Arsimael: start by doing `systemctl stop mcaffe-service-name` without shutting down, and see if it stops immediately or if it needs time
[15:58] <jhutchins> ArsimaelInshan: (Assuming you're the same entity) You should be able to contact McAffee about the delayed shutdown.
[15:58] <jhutchins> ArsimaelInshan: You might be able to kill it manually, but that might leave open files and unwritten buffers.
[16:03] <samy1028b> I would also look at syslog and see if it's reporting anything during shutdown related to mcafee
[16:04] <jhutchins> (Also journalctl.)
[16:55] <thomas25> hmm, rsync installed via msys2 doesn't work, gives code 12. but rsync on my mac works. destination is ubuntu. any idea?
[17:02] <arraybolt3> What is msys2?
[17:02] <ogra> ... or code 12
[17:03] <ogra> ah, ssh protocol error ...
[17:04] <ogra> (which might not actually be an actual protocol issue, it also returns that if i.e. the dir does not exist and you use ssh)
[17:04] <thomas25> yeah i get the feeling is that the ssh client MS shipped is not good friends with rsync
[17:04] <arraybolt3> thomas25: Sadly, if msys2's version of rsync isn't working, there's not much we can do, since we don't run msys2, and we probably can't help with it since most of us don't run msys2. If you're trying to use rsync from Windows, you might be able to use WSL, or perhaps run an Ubuntu VM and use rsync from there.
[17:04] <thomas25> yeah there are multiple reasons
[17:05] <thomas25> but the same command works in mac
[17:06] <EriC^^> thomas25: maybe if you post the full error, maybe run rsync with more verbose as well it might show any hints
[17:06] <thomas25> i've did, let me paste it
[17:07] <thomas25> https://gist.github.com/engina/88d2ef6b689e96f10926e66bd3e4d58f
[17:10] <ogra> user=<null> ? how is it supposed to find the homedir then ?
[17:10] <thomas25> it's also empty in working rsync btw
[17:11] <ogra> k
[17:11] <thomas25> it would have been a good catch though :)
[17:12] <thomas25> holy shit there's an rsync channel... sorry to bother you guys...
[17:14] <EriC^^> thomas25: https://github.com/PowerShell/Win32-OpenSSH/issues/1869
[17:14] -ubottu:#ubuntu- Issue 1869 in PowerShell/Win32-OpenSSH "rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]" [Open]
[17:14] <EriC^^> maybe it helps
[17:23] <thomas25> EriC^^ thanks. i went through that path, will try again, for me, cwrsync's ssh does not want to connect to the destination host at all
[17:27] <thomas25> man, windows is always such a friction lol
[17:28] <thomas25> scp works though, i wonder how rsync works
[17:48] <thomas25> when i installed cygwin's rsync it also failed, then i installed cygwin's ssh, then i managed to get cygwin's ssh to work, then cygwin's rsync worked... so it was a rsync <-> ssg mismatch somehow indeed
[17:49] <thomas25> too bad cygwin is too detached from the system i can't use it in my automation scripts i think
[18:07] <zorgx68> hey =)  can somebody help me ? i have a problem with wsl ubuntu .. i cant get mkdir -p $ROTFS/{bin,proc,etc} in my bash script to work.. it only make one folder {bin,proc,etc}
[18:08] <zorgx68> does i need to install something to get it to work  ?
[18:14] <leftyfb> zorgx68: echo $SHELL
[18:14] <zorgx68> #!/bin/bash
[18:14] <zorgx68> ROTFS=$PWD/unshare-container         # /konteiner-1/unshare-container/
[18:14] <zorgx68> if [ ! -d $ROTFS ];then
[18:15] <leftyfb> !paste | zorgx68
[18:15] <zorgx68> so i needd echo $SHELL ?
[18:15] <leftyfb> zorgx68: please paste the output of "echo $SHELL" here
[18:16] <zorgx68> ok .. /bin/bash
[18:17] <leftyfb> zorgx68: https://pastebin.ubuntu.com/p/2P6fCtf772/  this works for me
[18:18] <zorgx68> https://dpaste.com/HCTPE3CCB
[18:18] <zorgx68> this is the script
[18:18] <leftyfb> remove # /konteiner-1/unshare-container/bin/
[18:19] <leftyfb> also, if this is busybox as part of your initramfs, it's running as /bin/sh, not /bin/bash
[18:20] <leftyfb> which doesn't support /{bin,proc,etc}
[18:20] <zorgx68> hmm.. so that is the reson why it make a {bin,proc,etc} folder ?
[18:21] <leftyfb> Yes
[18:23] <zorgx68> so yhe easy fix is mkdir bin mkdir proc mkdir etc ? :P
[18:23] <zorgx68> the*
[18:23] <leftyfb> That will work
[18:23] <leftyfb> Not as 1 line though
[18:24] <zorgx68> is it any way too get that script to work if i install something or is the script just wrong ?
[18:26] <leftyfb> not unless you add bash to your initrd. Which is non-trivial the last I checked. It'll also increase the size of your initrd and the time it takes to load
[18:43] <zorgx68> hmm its running if im make 1 folder per line .. so thats a good thing .. to bad the teather already have the other code lol.. but.. its almost 100% same as his :s
[20:18] <jpmh> I'm now using ubuntu 22.04 on my laptop.  When I am at the shell and I do a PASTE, <ctrl-shift-v> I get a popup asking me to confirm.  It is annoying.  How do I get rid of it?
[20:19] <oerheks> jpmh, never noticed that, what shell exactly?
[20:20] <jpmh> actually, I have solved it.  It is from terminal - I went to Terminal/Preferences and there is a checkbox there for "warn of unsafe paste".  Unchecked that and I'm happy
[20:21] <jpmh> oerheks: not really a shell issue - a Terminal issue
[20:22] <oerheks> ah oke, but you find that setting. never needed to do that, AFAIK
[20:23] <jpmh> oerheks: sometimes things try to hard to protect me from myself
[20:23] <cartdrige> I think qterminal does that too.
[20:24] <arraybolt3> Can confirm - this is the default behavior of Lubuntu.
[20:24] <arraybolt3> (Prompting when you try to paste, that is.)
[20:25] <cartdrige> yes, there's a 'confirm multiline paste' checkbox in the prefs.
[20:27] <leftyfb> I don't see any such setting in gnome-terminal
[20:28] <oerheks> leftyfb,  seems lubuntu only
[20:36] <mybalzitch> I really wish gnome didn't make something I put always-on-top as the next choice when I alt-tab
[20:37] <oerheks> alt tab gives focus, so be it.
[20:40] <mybalzitch> right but if I want this media player on top of other windows, I have to always tab twice to switch to another app
[20:41] <mybalzitch> and 20+ years of using a gui, it's been one tab to get to the app I was using last
[21:33] <holger1973> hi, i'm a noob with a question: Is there a possibility to set a global display zoom like in windows, this 125% thing?
[21:37] <sarnold> holger1973: nothing quite as easy as windows, I don't think; there's two answers on https://unix.stackexchange.com/q/596887/7064 that are both very useful..
[21:37] <sarnold> holger1973: the arch wiki is great for things like this, too, but the details might not always match up exactly with debian and ubuntu (especially package names, etc) https://wiki.archlinux.org/title/HiDPI
[21:40] <holger1973> thanks.
[21:52] <elegante> ubuntu. Wifi disconnects from time to time. It doesn't disconnect on Windows. I already disabled powersaving in Ubuntu, but it didn't solve it. Any idea?
[22:02] <EriC^^> elegante: maybe see if any hints in 'dmesg -w' when it disconnects
[22:04] <elegante> Thank you Eric^^
[22:05] <EriC^^> elegante: which card is it? try 'lshw -c network | nc termbin.com 9999' and paste the link here
[22:14] <noalternative> I am using Ubuntu Budgie 22.01, however I coundn't find any help in that room and I think they would have referred me here anyways.
[22:14] <EriC^^> help with what noalternative ?
[22:14] <noalternative> I am having 2 problems. 1)I can no longer install repo keys and I get an error that says it is deprecated.
[22:15] <noalternative> 2) I can't my bluetooth headsets working with google voice or linphone.
[22:16] <noalternative> 22.04 sorry
[22:16] <EriC^^> can you pastebin the repo command and error you're getting somewhere?
[22:16] <noalternative> yes
[22:18] <Jeremy31> noalternative: The warning that apt-key is deprecated?
[22:20] <oerheks> wget -qO- https://blabla.asc | sudo tee /etc/apt/trusted.gpg.d/blabla.asc  https://opensource.com/article/22/9/deprecated-linux-apt-ke
[22:20] <oerheks> and check first if those repos have candidates for 22.04
[22:20] <noalternative> just a few minutes I need to reproduce the error and pastebin it.
[22:27] <noalternative> https://pastebin.ubuntu.com/p/grJqnH3dKx/
[22:28] <oerheks> oh, there are pages for that .. https://linuxhint.com/install-plex-ubuntu-22-04/
[22:28] <oerheks> good luck wth that paid software
[22:34] <FNAShinobi> Is there a command to have gnome redetect the monitors?
[22:35] <noalternative> oerheks thanks for the link.  That worked.
[22:35] <noalternative> Can I get some help with the problem using bluetooth headsets in linphone.
[22:36] <noalternative> I can't get the built in mic working.
[22:38] <noalternative> oerhecks is ther an opensource alternative to Plex?
[22:48] <jhutchins> noalternative: Have you tried exactly that question on google?
[22:49] <Jeremy31> https://alternativeto.net/browse/search/?q=plex
[22:50] <jhutchins> Or that...
[22:56] <AlexC> jellyfin btw
[23:11] <noalternative> jellyfin looks interesting.
[23:11] <noalternative> I did google the problem I was having with my bluetooth and there was no info applicable to 22.04
[23:12] <noalternative> other than my device has no handsfree profile for the microphone.
[23:13] <noalternative> There has been some change it 22.04 and the older solutions won't work on it.
[23:14] <oerheks> !info bluez
[23:15] <oerheks> good tool to control BT and settings, discover, pair, trust
[23:23] <nsh> what's the current preferred way to permanently set a local resolver and not sure the one provided by e.g. wifi DCHP?
[23:23] <nsh> not *use
[23:23] <leftyfb> nsh: set it on your router in it's DHCP settings
[23:24] <nsh> i would rather do this in the system configuration
[23:24] <leftyfb> nsh: you asked for the "preferred way"
[23:25] <leftyfb> nsh: look in your network settings under ipv6. Set your DNS there and uncheck "automatic"
[23:25] <nsh> and now the implicit clause in my question has been made explicit, thank you
[23:25] <nsh> ty
[23:25] <leftyfb> sorry, ipv4
[23:27] <nsh> that would be per wifi connection. what would one do if one wanted to use a resolved running locally (eg pihole or some other ad-blocking or non-censorship solution) for all connections?
[23:27] <nsh> *resolver
[23:28] <leftyfb> you don't
[23:28] <nsh> not ideal, is it?
[23:30] <oerheks> ideal is setting such in your router.
[23:31] <leftyfb> oerheks: use a VPN to a connection running a pihole
[23:47] <ben_bash> Hi all! I was on 22.04 and dud an update about a week ago. Now the firefox snap no longer works.  I upgraded to 22.10 but the firefox snap is still unusable.
[23:49] <ben_bash> Its odd because it will mostly load the first page I go to, but will not do anything after that.  Chromium works just fine.
[23:52] <ben_bash> Does anyone know if there are known issue with the firefox snap? I'd like to stay on the snap if its the future.  I could uninstall the app / go to the .deb, but I had it mostly configured the way I like.
[23:54] <ben_bash> I'm new to ubunt but not linux, so I don't know the best ways to get support / track issues.
[23:56] <Fossil> How the heck would apt update result in this error after hitting the repos: Fatal Python error: init_import_site: Failed to import the site module
[23:56] <Fossil> I get the same error suddenly when I run a command that does not exist
[23:56] <Fossil> # thisisfakecmd
[23:56] <Fossil> Fatal Python error: init_import_site: Failed to import the site module
[23:57] <jhutchins> ben_bash: I would suggest removing the snap and any traces it left, then re-installing it.