[00:19] 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] Slartibart: Hibernation on Ubuntu is *very* glitchy and unreliable. It's generally disabled by default. [00:23] 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] arraybolt3: Yeah, it would be nice not having to start everything again each morning for work though. [00:23] Is it more stable somewhere else? [00:24] I've not tried it on other distros. [00:25] I believe it's just Linux in general that's bad at hibernation, as other distros seem to have similar problems. [00:26] Slartibart: Is there a reason ye-old sleep doesn't work? Suspend-to-RAM usually works just fine. [00:30] 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] 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] you're probably fine. (If it's battery life, though, then I'm not sure what to do from there.) [00:32] *incandescent light bulb, I mean [00:39] 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] 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] Oh... [00:56] helld [01:41] hello === keypushe- is now known as keypusher [03:35] hi to everyone [03:40] yo [04:11] Hey so for literally some random reason (I think I know why though) Ubuntu crud itself yesterday. [04:12] I'm about to make backups via Backups and was wondering how to skip files and folders with "Invalid names" [04:12] Just to make things go by faster. I have 80GB of files [04:16] Guest87: See: ' man rsync ' . [04:17] 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] Alright. This'll work with a live USB right? I'll copy my crud on my SD card. [04:18] Yeah, a live USB will work. [04:19] 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] Alright, thank you. Linux is very convenient to use in comparison with Windows. [04:26] 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/ ./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] (Note that you should run that from within the SD card for it to work.) [04:30] 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] Now when you say run it from within the SD card you mean change my directoy to the SD card's? [04:38] Guest87: Yes. [04:41] Alright so cd /dev/sdx (where x is my SD card's location( then run the command. THank you so much. [04:45] 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] Huh? [04:48] Sorry, I'm new to linux [04:48] I was actually in the middle of learning it when it killed itself. [04:49] Guest87: One changes the directory in the file system not to a device (hardware). [04:51] So what's XY then [04:53] 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] Guest87: Id ya have the time - terminal command ' sudo fdisk -lu ] to list partitions. Might make things a bit clearer. [04:56] sudo fdisk -lu [05:02] 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] 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] Guest87: Teaching: is the SD card presently inserted ? [05:07] Yep. [05:07] can you write to the screen like a file [05:08] In live, idk. [05:08] Maybe. [05:10] 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] alls i see is vga_arbiter in /dev and video but thats the camera i think [05:16] So the mount commands shows me a mounting point I can use to gain access to the FS [05:18] Guest87: Yepper :D [05:19] Guest87: ^ Access to the system from terminal :D [05:19] 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] 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] 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] So it's OK if I don't know mostly what you just said. [05:24] It'll get better with time [05:24] 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] So it was confusing as heck for you as well. [05:27] 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] Thank you for being patient with me. [05:27] See, I actually DID know some commands in Widnows CMD but it didn't translate over well in Linux [05:28] Guest87: Also - I am still learning - even after all these years - *NO ONE* knows it all ! [05:28] i think if you program in c++ or assembly too you can understand stuff better [05:28] I'm learning C++ actually. That and Python. [05:28] like its all just machine code [05:28] ah thats good [05:29] 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] 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] maybe its all built up upon that kinda stuff [05:31] and instead of .dll in windows linux has .so [05:31] but i mostly code javascript [05:33] and then the .ko are like drivers i think [05:35] spring: Keep on mind that a driver is actually a module that the kernel can incorporate. [05:36] ah yes like you can load them in [05:36] insmod [05:36] something like that [05:37] spring: Yeah - or at build time have the build pull them in :D [05:38] ah yeah :D [05:40] 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] Due i know! You have no idea how many times I failed at my computer experiments, went onlineand fixe it with ease. [05:42] Like I screwed up dualbooting, slipstreaming, etc but tei nternet saved me so many times [05:42] The internet*. It's amazing actually. [05:44] Guest87: Information age is so wonderful :P [05:46] 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] Guest87: Take your time to determine your backup strategy - any question or concerns we are here --- help is what we do :D [05:52] I will. I'll talk to you guys later. Thank you. === diskin is now known as Guest3975 === diskin_ is now known as diskin === evgeny is now known as EvgenyK === aaguhagegaooeg is now known as westor === westor is now known as Guest6956 [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] chromium is doing the same thing === dionysus70 is now known as dionysus69 === diskin_ is now known as diskin [10:15] russell--: do you launch firefox via the snap GUI icon now? [10:36] In the Netplan configuration YML file, What does 'ens' stand for? Is it an abbreviation for "EtherNet Slot"? [10:37] 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] moha: #ubuntu-server is probably the better channel to ask something like this [10:40] +1 [10:42] Hi. How can I have firefox with apt and have firefox with snap? [10:42] are they really incompatible? why? [10:42] Ubuntu wants to remove apt? thanks [10:44] 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 === pong_ is now known as beaver [12:22] lotuspsychje: i tried starting it from the terminal [12:23] 22.04 [13:08] heyy [13:08] any unix lovers here? [14:04] Hi all [14:06] BluesKaj: hi [14:06] hey jay321 === diskin is now known as Guest963 === diskin_ is now known as diskin [14:44] hi BluesKaj [14:45] hey SteelRose [15:15] 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 === bastiaan is now known as bvi [15:51] 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] To, lets say... 1 second? [15:52] you find out why it stalls and fix the blocker ... [15:52] It's mcafee... thats why... [15:52] (there is realy no way to answr this question in a canonical way) [15:58] 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] ArsimaelInshan: (Assuming you're the same entity) You should be able to contact McAffee about the delayed shutdown. [15:58] ArsimaelInshan: You might be able to kill it manually, but that might leave open files and unwritten buffers. [16:03] I would also look at syslog and see if it's reporting anything during shutdown related to mcafee [16:04] (Also journalctl.) === doc|home is now known as doc [16:55] hmm, rsync installed via msys2 doesn't work, gives code 12. but rsync on my mac works. destination is ubuntu. any idea? [17:02] What is msys2? [17:02] ... or code 12 [17:03] ah, ssh protocol error ... [17:04] (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] yeah i get the feeling is that the ssh client MS shipped is not good friends with rsync [17:04] 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] yeah there are multiple reasons [17:05] but the same command works in mac [17:06] thomas25: maybe if you post the full error, maybe run rsync with more verbose as well it might show any hints [17:06] i've did, let me paste it [17:07] https://gist.github.com/engina/88d2ef6b689e96f10926e66bd3e4d58f [17:10] user= ? how is it supposed to find the homedir then ? [17:10] it's also empty in working rsync btw [17:11] k [17:11] it would have been a good catch though :) [17:12] holy shit there's an rsync channel... sorry to bother you guys... [17:14] 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] maybe it helps [17:23] 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] man, windows is always such a friction lol [17:28] scp works though, i wonder how rsync works === halv1 is now known as halv [17:48] 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] too bad cygwin is too detached from the system i can't use it in my automation scripts i think [18:07] 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] does i need to install something to get it to work  ? [18:14] zorgx68: echo $SHELL [18:14] #!/bin/bash [18:14] ROTFS=$PWD/unshare-container         # /konteiner-1/unshare-container/ [18:14] if [ ! -d $ROTFS ];then [18:15] !paste | zorgx68 [18:15] zorgx68: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [18:15] so i needd echo $SHELL ? [18:15] zorgx68: please paste the output of "echo $SHELL" here [18:16] ok .. /bin/bash [18:17] zorgx68: https://pastebin.ubuntu.com/p/2P6fCtf772/ this works for me [18:18] https://dpaste.com/HCTPE3CCB [18:18] this is the script [18:18] remove # /konteiner-1/unshare-container/bin/ [18:19] also, if this is busybox as part of your initramfs, it's running as /bin/sh, not /bin/bash [18:20] which doesn't support /{bin,proc,etc} [18:20] hmm.. so that is the reson why it make a {bin,proc,etc} folder ? [18:21] Yes [18:23] so yhe easy fix is mkdir bin mkdir proc mkdir etc ? :P [18:23] the* [18:23] That will work [18:23] Not as 1 line though [18:24] is it any way too get that script to work if i install something or is the script just wrong ? [18:26] 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] 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 === Guest6359 is now known as gr33n7007h [20:18] I'm now using ubuntu 22.04 on my laptop. When I am at the shell and I do a PASTE, I get a popup asking me to confirm. It is annoying. How do I get rid of it? [20:19] jpmh, never noticed that, what shell exactly? [20:20] 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] oerheks: not really a shell issue - a Terminal issue [20:22] ah oke, but you find that setting. never needed to do that, AFAIK [20:23] oerheks: sometimes things try to hard to protect me from myself [20:23] I think qterminal does that too. [20:24] Can confirm - this is the default behavior of Lubuntu. [20:24] (Prompting when you try to paste, that is.) [20:25] yes, there's a 'confirm multiline paste' checkbox in the prefs. [20:27] I don't see any such setting in gnome-terminal [20:28] leftyfb, seems lubuntu only [20:36] I really wish gnome didn't make something I put always-on-top as the next choice when I alt-tab [20:37] alt tab gives focus, so be it. === kevin_ is now known as K9US [20:40] 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] and 20+ years of using a gui, it's been one tab to get to the app I was using last === holger is now known as holger1973 [21:33] 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] 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] 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] thanks. [21:52] 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] elegante: maybe see if any hints in 'dmesg -w' when it disconnects [22:04] Thank you Eric^^ [22:05] elegante: which card is it? try 'lshw -c network | nc termbin.com 9999' and paste the link here [22:14] 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] help with what noalternative ? [22:14] 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] 2) I can't my bluetooth headsets working with google voice or linphone. [22:16] 22.04 sorry [22:16] can you pastebin the repo command and error you're getting somewhere? [22:16] yes [22:18] noalternative: The warning that apt-key is deprecated? [22:20] 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] and check first if those repos have candidates for 22.04 [22:20] just a few minutes I need to reproduce the error and pastebin it. [22:27] https://pastebin.ubuntu.com/p/grJqnH3dKx/ [22:28] oh, there are pages for that .. https://linuxhint.com/install-plex-ubuntu-22-04/ [22:28] good luck wth that paid software [22:34] Is there a command to have gnome redetect the monitors? [22:35] oerheks thanks for the link. That worked. [22:35] Can I get some help with the problem using bluetooth headsets in linphone. [22:36] I can't get the built in mic working. [22:38] oerhecks is ther an opensource alternative to Plex? [22:48] noalternative: Have you tried exactly that question on google? [22:49] https://alternativeto.net/browse/search/?q=plex [22:50] Or that... [22:56] jellyfin btw [23:11] jellyfin looks interesting. [23:11] I did google the problem I was having with my bluetooth and there was no info applicable to 22.04 [23:12] other than my device has no handsfree profile for the microphone. [23:13] There has been some change it 22.04 and the older solutions won't work on it. [23:14] !info bluez [23:14] bluez (5.65-0ubuntu1, kinetic): Bluetooth tools and daemons. In component main, is optional. Built by bluez. Size 1,096 kB / 3,807 kB. (Only available for linux-any.) [23:15] good tool to control BT and settings, discover, pair, trust [23:23] 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] not *use [23:23] nsh: set it on your router in it's DHCP settings [23:24] i would rather do this in the system configuration [23:24] nsh: you asked for the "preferred way" [23:25] nsh: look in your network settings under ipv6. Set your DNS there and uncheck "automatic" [23:25] and now the implicit clause in my question has been made explicit, thank you [23:25] ty [23:25] sorry, ipv4 [23:27] 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] *resolver [23:28] you don't [23:28] not ideal, is it? [23:30] ideal is setting such in your router. [23:31] oerheks: use a VPN to a connection running a pihole [23:47] 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] 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] 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] I'm new to ubunt but not linux, so I don't know the best ways to get support / track issues. [23:56] 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] I get the same error suddenly when I run a command that does not exist [23:56] # thisisfakecmd [23:56] Fatal Python error: init_import_site: Failed to import the site module [23:57] ben_bash: I would suggest removing the snap and any traces it left, then re-installing it.