[00:23] would like to convert a fs to BTRFS so I can do compression. Can I mount uncompressed and just chattr +c on a directory - to get a compressed directory? [00:25] I'd be surprised if btrfs rewrites existing contents [00:25] you probably have to have the directory or subvolume or whatever it is marked for compression before writing anything into it [00:26] my plan is to format a drive for BTRFS - mount it uncompressed - and just do a "chattr +c mycompressedfolder" === Discombobulated is now known as Disconsented [00:26] or are you saying this is a bad idea and I just should mount the entire drive compressed. [00:28] with zfs the advice is usually to have *some* compression enabled as a default everywhere, though different datasets may benefit from changing the algorithm.. [00:33] Is there a switch or something i can pass to apt so that if i pass it a list of packages I want it to install and it can't find one it will at least continue with the rest rather than error out? [00:42] DarkenedGent: I don't think I've ever seen a way to ask for that, no.. it really could save some time, yeah, hehe === Guest1698 is now known as jbayardo [03:13] Hello, how do I actually, really, finally, decidedly... kill pulseaudio? I tried `pulseaudio --kill` and this advice: https://superuser.com/a/1170435 - but the darn thing just... keeps... respawning like it's some kind of an immortal zombie. [03:13] systemctl --user stop --now pulseaudio.socket [03:13] Er, I think it's disable --now. [03:13] (though I need to start it again, so preferably I'd like to know a way that doesn't completely break it) [03:14] Hold on, scratch that, lemme try again. [03:14] systemctl --user stop pulseaudio.socket [03:14] systemctl --user stop pulseaudio.service [03:14] Then to restart: [03:14] systemctl --user start pulseaudio.socket [03:14] I already tried that (see the superuser post) and it still restarts. [03:15] ForeverNoob: That's weird, it works on my machine. [03:16] `/usr/bin/pulseaudio --start --log-target=syslog` still running [03:16] PulseAudio... the immortal. [03:22] Would stuff just break if I rename `/usr/bin/pulseaudio` to something else temporarily? [03:27] ForeverNoob: Uh... yeah possibly. [03:27] (You might confuse the package manager pretty badly doing that.) [03:28] Immortal PulseAudio it is, then. [03:30] When is Ubuntu going to switch to PipeWire by default? [03:31] ForeverNoob...not really just do sudo chmod -x /usr/bin/pulseaudio....then kill the pulseaudio daemon...no more problem [03:31] ForeverNoob[m]: In about 16 days. [03:31] I think it happens on a thursday? [03:31] Not a joke. PipeWire is the default in Ubuntu Kinetic, which releases 16 days from today. [03:32] Ugh. [03:32] (If all goes as planned that is.) [03:32] I was just about to switch back to Ubuntu (from Pop!) to get around my pipewire problems. [03:32] Guess I can't avoid it, now. [03:32] ForeverNoob..but make a note of it in case you want to use it again by reactivating it with sudo chmod +x /usr/bin/pulseaudio [03:32] g-d it. [03:32] You can still use 22.04 LTS for a few more years. [03:32] I know. [03:32] But I stay up-to-date. [03:32] So you can avoid it now. [03:33] I normally run voidlinux (rolling distro), but have to run an Ubuntu compatible distro on my $dayjob machine. [03:34] Great. Ubuntu LTS is good for that. [03:34] frame.work only offered factory FDE with Pop!, so I gave it a shot. It's been a less than pleasant experience. [03:35] Eh, I'll deal with it (pipewire in Kinetic). Someone has to get through the bugs. [03:37] laguna: But how do I run that executable again after I strip it from its exec perms? I need to `pulseaudio --kill` but it respawns immediately after that. [03:37] ForeverNoob..nope it can't respawn once you use -x on it [03:38] but you also can't call pulseaudio --kill after using -x on it, is what he's saying. [03:38] ForeverNoob..but make a note in case you ever want to use it again by using +x on it [03:38] Right, but once I do -x, how do I kill it using `pulseaudio --kill` ? [03:38] how to take a screenshot for a popup menu? [03:38] ForeverNoob[m]: just -x the binary, then kill $(pidof pulseaudio) [03:39] ice9: use a screenshot program with a delay. [03:39] ForeverNoob...of course you can kill it after you use -x on it because it is already running [03:39] bougyman, can you suggest a name please? [03:39] Give yourself 5 seconds or so to outline the popup. [03:39] ice9: the one in Pop! is just called "screenshot" [03:39] I've used gm and im for the same, though, there's a -delay option to both. [03:39] (ImageMagick and GraphicsMagick) [03:40] ForeverNoob...and after you kill it by using ps -ef to identify it...it won't respawn [03:41] laguna: So you're saying I should just kill it using `kill` instead of the `pulseaudio --kill` method after I -x it? [03:41] ForeverNoob yes either way [03:42] ForeverNoob...but keep a note with nano in your documents folder in case you might want to use it again someday [03:46] Yeah I maintain a "global system changes" text file to keep mental notes on what I changed. Probably less ideal than keeping an Ansible playbook or something but it'll do for now. [03:47] I'm interested in why PulseAudio is being so reluctant to die. What flavor of Ubuntu are you using? [03:50] suddenly all time labels are showing spaces between numbers an colons everywhere in side the desktop environment and gdm screen: https://paste.pics/IYJ43 https://paste.pics/IYJ4F [03:56] @arraybolt3: Ubuntu 18.04 [04:18] hey [04:22] heyo [04:25] i can't understand why my graphics chip works on windows with pcsx2 but pcsx2 on ubuntu says my graphics chip is not sufficient to play any games [04:25] after all it is the same program [04:27] what makes you think it's the same program [04:27] laguna: this is Windows booted from the same hardware? [04:27] matsaman...it has the same gui interface in either windows or ubuntu...but when i try to load final fantasy x on it ...the ubuntu version says my graphics hardware is not sufficient [04:28] yes same hardware with triple boot [04:28] laguna: maybe you're not using the graphics driver you think you are [04:28] check lspci -k [04:29] systems with big discrete gaming graphics hardware frequently have onboard simpler graphics hardware also [04:29] matsaman...well i use the same driver plugin for both the windows program and the ubuntu program [04:29] your OS could be using either one [04:29] driver plugin? [04:30] matsaman...yes they are selectable in the config of the program [04:30] pcsx2 is not likely to have control over what graphics driver your system is using or is able to use [04:30] check lspci -k [04:32] lspci -k | grep -i vga -B 5 -A 5 or something [04:36] it is using the i915 x driver...but i use the gsdx sse2 opengl plugin for pcsx2 in either os [04:37] and windows has no problem with the game except it is a little slow....but ubuntu won't play it at all...it just says graphics hardware is insufficient [04:42] could be it wasn't compiled with support for some of those things, sse2, etc [04:43] or it could have whole different chunks of operating code & qualifications for each OS [04:43] matsaman...well ubuntu only has binaries so i never know what compile options were set with them...but this doesn't work with my hardware [04:46] laguna: Ubuntu doesn't have src debs? [04:47] wez_hn....they do...at least debian has them...but i have to reinstall the lib-dev versions of all the dependencies to compile it myself and get control over the compile options [04:48] ah [04:48] Sounds like you have some work to do. [04:53] wez_hn and then sometimes the compiler breaks the source code....i tried to compile snes9x with gcc-11 on ubuntu and the new compiler restrictions won't compile the older code [04:53] :( [04:54] Sounds like you need to write up some bug tickets too [04:54] i miss gcc 2.96 which was very leniant with code [04:55] but those were the old days [04:56] 22.04 installation media - the hard drive 22.04 boots to black. . How can I look at the hard drive to copy /home to a pocket drive [04:57] morgan-usb...use a live cd....and mount your drive to a directory...then peruse what is salvageable on the drive and copy it to a usb stick [04:59] looking at files I see a 532MB voume sda1 and a 500 GB volume sda5. duh I clicked on one and see files. Let me see if I can figure this out myself. [04:59] you would use cp -R /home /dev/sdb1 or whatever partition is on your usbstick [05:00] if there is no corruption in your /home data [05:01] after you mount -t ext4 (whateverfs) /dev/sda1(whatever / is) directory name [05:01] then cp -R directoryname/home topartition on usb stick [05:03] morgan-usb ok i think you will get it...just keep after it [05:03] I meant 532 GB.  I tried to move it over with GUI and got Error while copying. The folder gvfs-metadata  cannot be handled because you do not have the permission to read it.   Willit work if I skip or skip all?   ---||---  I am copying it to a pocket drive. -- I dont know how to mount. What I did  was move the folder [05:04] morgan-usb yes use sudo [05:04] so I want to make sure I am doing it right. I dont know how to address drives and folders in bash. [05:04] morgan-usb...in posix...everything is a file....any device...any file....any directory...so just remember that [05:05] morgan-usb...bash makes everything very easy so you don't need gui stuff...and you will have more control with bash [05:06] morgan-usb but be careful about typos...check your line before you hit enter [05:06] the "volume" with the data is /dev/sda5 [05:07] I dont know how to refer to the pocket drive. [05:07] morgan-usb...i don't know what a pocket drive is...is it a usb drive [05:07] please tell me what to do first. [05:08] laguna I dont know what "in posix" means [05:09] morgan-usb...use sudo dmesg | tail when you connect it to see what it identifies as either /dev/sdb with a partition as /dev/sdb1 or something or it could be /dev/sdc or whatever ...look at dmesg [05:09] so if I can see the files that means that everything is mountedl. correct? [05:09] morgan-usb..yes if you see the files the mount command has already been taken care of [05:10] so I need to know  the correct pathname for the folder I want to move/copy and the target folder [05:10] morgan-usb...posix is an alternative to unix so noone steals unix ideas [05:11] morgan-usb...the linux kernel is posix certified [05:11] ok [05:13] morgan-usb...gnu had to choose to use linux because it was posix oriented instead of a unix fork....so the unix people could not sue them for all of their money [05:13] I expect to copy the entire home folder and the write it to the new installation. (I am going to reformat the hard drive and reinstall ubuntu. because I cant figure out the boot to black. [05:14] morgan-usb...because unix is a propietary operating system...and you would owe the creators a lot of money if you used their ideas [05:14] gnu history stallman all the things in ubuntu that are not the kernel. I should like to read more about that. [05:14] morgan-usb yes well use sudo cp -R mountdirectory/home usbstickpartition [05:15] I did read just for fun. I even bought the book. [05:15] morgan-usb..it will take a while but it will copy all files since everything is a file in posix [05:16] morgan-usb it was the only way to avoid stealing the propietary unix ideas [05:17] I dont know how to do that . I dont know how to specify the pathname that goes into mountdirectory. ditto for the pathname to the pocketdrive.  -- I have always been terribly fuzzy about this kind of thing. [05:17] morgan-usb...well how are you seeing the files...what program [05:18] laguna, I am a fan of open source.  Long ago I had that Ted Nelson book... the big one (like the size of the whole earth catalog) that had two fronts. It started from both sides. [05:18] SEEING them with the gui. [05:19] it eassured me. Things got all messed up lanst night so I rebooted and it was fine. [05:19] booting from the stick [05:20] morgan-usb...what gui program....nautilus...dolphin...files....caja...thunar..? [05:20] The one called FILES that is on the 22.04 install media [05:21] morgan-usb...because each program has different ways of trying to identify the directory you are looking at [05:21] I am in TRY UBUNTU [05:21] morgan-usb ok..files is the gnome program [05:22] morgan-usb in files for gnome go to other locations...and see what /dev/sd? has the files you want to see [05:22] morgan-usb it is to the far-right of the window [05:24] already said that the computer files I can see are on /drv/sda5 do Ijust say /dev/sda5/home  ?? [05:24] morgan-usb then after you do that look for your home directory ...in whatever /dev/sd? is appropriate [05:25] morgan-usb then look at a file and go to properties and look for the preceding directories for where it is mounted [05:25] ah ha [05:25] no not /dev/sda5/home..you have to see where it is mounted [05:26] morgan-usb...probably media/something/something [05:26] morgan-usb look for that in the properties window [05:27] parent folder  /media/ubuntu [05:28] but I dont know what to call it "My Passport"  is that how to ? [05:28] morgan-usb ok then /media/ubuntu/home is the directory you want to copy with sudo cp -R and then you have to find the destination directory with dmesg | tail when you plug in a usb stick [05:29] golly I am just dense here. IThere must be some place this is all explained but I have been using ubuntu and bash for a few things since 2006 and I never "got it'. [05:29] morgan-usb...well it is not hard...things have not changed in 25 years.....but people just forget how we used to have to do things [05:30] nonono I dont wan to copy FROM the my passport, I want to copy FROM the hard drive TO  the pocket drive [05:30] morgan-usb...ok identify the pocket drive with dmesg [05:31] In the bash I did pwd and I got /home/ubuntu  but that must be on the flash drive. How do I refer to the hard drive? [05:31] morgan-usb use sudo dmesg | less and scroll through it looking for /dev/sd? associated with your pocket drive [05:31] What is the dmsg command? [05:31] with piping to less you can scroll up and down with the arrow keys...not dmsg...dmesg [05:31] I need a short course afre I get this accomplished. [05:32] morgan-usb...learn by doing [05:32] btw there is plenty of room on the pocket drive. [05:32] I am doing babe, doing is me. [05:32] thank you for taking your time. [05:32] morgan-usb...as i said pipe dmesg to less ...piping is a posix concept so no one steals any ideas from unix [05:33] morgan-usb so no one will be sued out of all their money [05:34] i understand pipe | [05:34] so sudo dmesg | less...and scroll up and down with the arrow keys...to find your pocket drive as /dev/sd? also with a number if it has a partition on it [05:34] what is this called?   > [05:34] morgan-usb when you are done type q to exit [05:34] ok [05:35] morgan-usb...you learn best by doing...you have to learn sometime [05:36] it is a bunch of dashes starting blank lines [05:36] morgan-usb did you use sudo dmesg | less...it should have lots of lines of data [05:36] message   dmesg: read kernel buffer failed: opeation not permitted [05:36] oh sudo [05:37] morgan-usb did you use sudo [05:39] morgan-usb you can also use journalctl -k if you are using systemd so you don't steal any unix ideas [05:39] morgan-usb...but dmesg piped to less lets you scroll up and down with the arrow keys while you look for stuff [05:41] it is a long log of "doing things and I see nothing that looks useful. lots of things happened and failed and it is really really long. [05:42] I saw the sda1 and sda5 which are my hard drive  volumes. (I have no idea what a volume is) [05:42] morgan-usb well keep looking until you find your pocket drive device [05:43] morgan-usb the kernel should report about it [05:43] volumes in that context should be called partitions on the device [05:44]   this is a typical line:  [   24.991328] audit: type=1400 audit(1664922006.946:20): apparmor="STATUS" oper [05:44] ation="profile_replace" profile="unconfined" name="snap.snapd-desktop-integratio [05:44] n.snapd-desktop-integration" pid=1827 comm="apparmor_parser" [05:44] morgan-usb..keep going with the down arrow key until you get to your hard drives section...it is probably near there [05:44] ok I have no clue why I have 2 partitions on my hard drive, unless I did it and forgot. [05:45] OIC  dmesg - print or control the kernel ring buffer [05:45] morgan-usb..well some installers create more than one partition depending on whose version of linux you use [05:46] OK df -h shows me [05:46] morgan-usb keep looking...it will be there somewhere [05:47] I did df -h and it showed me: /dev/sda1                    511M  4.0K  511M   1% /media/ubuntu/172C-2AA2 [05:48] showed me /dev/sdb1 is /media/ubuntu/My Passport [05:48] will that do? [05:49] morgan-usb keep looking in dmesg for your pocket drive lable to get the right device [05:49] since i don't know what "My Passport" is === hammies is now known as hams [05:57] My Passport *IS* the pocket drive. [05:58] morgan-usb...ok then..use mkdir somename to create a subdirectory after "My Passport' [05:59] morgan-usb use sudo mkdir /media/ubuntu/"My Passport"/somenameyoulike [05:59] morgan-usb be sure to use the quotes [06:00] morgan-usb because of the space in the directory name [06:01] morgan-usb what subdirectory name did you choose [06:02] I already had made a target folder called    OCT2022-home [06:06] laguna you are so peppy, I am at 11 pm but time is calling me. [06:07] what time is it there? [06:07] morgan-usb ok great...now do sudo cp -R /media/whateversource/home /media/ubuntu/"My Passport"/OCT2022-home/ [06:08] morgan-usb and you will be done [06:08] morgan-usb...i forgot the whatever source but recall it from properties when you were looking at the files in your home directory [06:08] so my hard dirve is called /media/ too [06:09] morgan-usb..use the properties of files to identify the full path length of your home directory [06:12] morgan-usb you just have one command to finish everything [06:13] morgan-usb but be sure to use sudo with cp -R [06:15] morgan-usb so you don't miss any files that you might not have permission to copy [06:18] morgan-usb...and use cp -R to get all the subdirectories and their files....so you don't steal any unix ideas [06:19] morgan-usb with sudo [06:22] sudo cp -R /media/sda5/home  /media/ubuntu/sdb1/OCT2022-home [06:22] morgan-usb...no [06:23] no not sda5...look at your home directory again and use the properties section of files to get the preceding path to home [06:23] and not sdb1 [06:24] for the destination it is just /media/ubuntu/"My Passport"/OCT2022-home [06:24] with the quotes [06:25] for the source get the /media/whateverstuff/home [06:25] from the properties info of files [06:26] when you look at your home directory [06:27] sudo cp -R /media/ubuntu/-- avery ver long number with dashes and .. and the end of it.    (UH OH)   /media/ubuntu/"My Passport"/OCT2022-home [06:28] sudo cp -r /media/ubuntu/what is the exact number [06:28] morgan-usb do ls /media/ubuntu to see the full number [06:28] it tails off and is longer than I can see - hence the  .. [06:28] morgan-usb...do ls /media/ubuntu [06:29] morgan-usb and identify the full number [06:30] the 500 GB volume is /media/ubuntu and the NAME is  d5186da3-402a-408b-9435-f5db51676588 [06:30] morgan-usb ok great [06:30] before I was looking at the properties of the /home folder not the volume [06:30] so it is /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588/home [06:31] is that right? [06:32] do is ??? [06:32] morgan-usb..so sudo cp -R /media/ubuntu/d5186da3-402a-408b09435-f5db516756588/home /media/ubuntu/"My Passport"/OCT2022-home [06:32] morgan-usb and be sure to check it for any typos before you hit the enter key [06:33] and be sure there is a space between the source directory and the destination directory [06:34] I can copy paste from here which is why I am here and dont have to type it. [06:34] morgan-usb ok but check what i typed to make sure there are no typos [06:35] morgan-usb before you hit the enter key [06:35] morgan-usb then let it run till it finishes and gives you back the prompt [06:36] morgan-usb...then use the files program to see if the files are in the "My Passport" folder [06:37] cp: cannot stat '/media/ubuntu/d5186da3-402a-408b09435-f5db516756588/home': No such file or directory [06:37] morgan-usb...do ls /media/ubuntu again and make sure there is no typo in that long number [06:38]   /dev/sda5                    457G  146G  288G  34% /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588 [06:39] morgan-usb ok there is a typo after 408b [06:39] morgan-usb it needs a hyphen [06:40] morgan-usb just insert the hyphen in the right place before you hit enter [06:40] found it. dont know how a - became an 89 when I copied it. [06:41] morgan-usb well forget copying...just type it very carefully [06:41] morgan-usb let me try to get it right for you [06:42] d5186da3-402a-408b-9435-f5db5167658 [06:42] nope [06:43] sudo cp -R /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588/home /media/ubuntu/"My Passport"/OCT2022-home [06:43] morgan-usb there try to copy and paste that [06:44] sudo cp -R /media/ubuntu/d5186da3-402a-408b-9435-f5db51676588/home /media/ubuntu/"My Passport"/OCT2022-home [06:45] morgan-usb ok let it run until it returns a prompt [06:45] oh now it is complaining about cannot create regular file invalid arguement. for some things ending in trash.  ---- and I am going to quit tonight and resume tomorrow. [06:46] Thank you so much. being tired makes errors. [06:46] I will let it run [06:46] morgan-usb ok don't worry about the trash stuff [06:46] morgan-usb it should be done [06:47] morgan-usb you should be able to see your files in the "My Passport" directory with the files program in gnome [06:47] You dont know the stess of having the monitor go to black and then the image come back, randomly. Thee is some issue with the power cord but it NEVE did this before. [06:48] morgan-usb...yes flaky monitors can be a real hassle [06:48] right .. about tomorrow I will see stuff. and may learn why it keeps saying cannot create logs or other things. [06:48] morgan-usb ok see you tomorrow [06:49] morgan-usb sudo should have taken care of that [06:49] morgan-usb there should not be any problem with a few log files [06:50] I had the choice to be annoyed or amused.  I've got nothing to say but it's ok, [06:50] morgan-usb...well files should show your home directory stuff on your pocket drive now [06:51] "should have" the most amusing phrase in programming. In the wayback, I was a fortran programmer who basically completely ignored the system. I knew every blessed thing about fortran though. [06:52] They gave me one jcl command to start it up and I stopped learning right there. [06:52] morgan-usb well i can't imagine why logs would be a problem to copy [06:52] Oh I did ask, what's your time zone? [06:52] morgan-usb yes i remember jcl it wasn't much fun [06:52] I am Pacific time. Cali [06:52] morgan-usb ...i am texas time [06:53] it is almost 2 in the morning here [06:53] morgan-usb...so we can try to work on the straggler files tomorrow [06:54] Well thankks for caring that I learn things. I appreciate being reminded. I still dont see how I copied that and it changed but your were familiar with that being something that can happen [06:54] ok good night... [06:54] luckily I have a laptop. [06:54] morgan-usb well some files may be binary or something that might have trouble copying [06:55] morgan-usb we will try more tomorrow [07:38] hi [07:48] hey, I upgraded to 22.04 LTS from 20.04 LTS yesterday, and got kernel 5.15.0-48-generic. But seeing packet loss, like every other ping I do, the first packet is lost [07:49] cool story bro [07:49] yeah. it's awesome [07:50] very deep and interesting [08:09] how do you show the keyboard input-source indicator even when there is only one layout? I want login screen to show the current layout no matter what to help get the password right the first time [08:27] Hi again, so uh... remember when I wanted to kill pulseaudio? Well, now qjackctl won't start :( [08:27] ...despite PA running. [08:28] So for the next person trying to disable PulseAudio: Don't. [08:29] PulseAudio is the all-encompassing everything. PulseAudio is eternal. [08:31] Let's see if a reboot helps... [08:37] hi [09:03] what are in /var/log/journal/ files ? how can I reduce its size ? i do not want so many logs as it is in the folder. maybe somebody knows [09:12] bob_x1: https://unix.stackexchange.com/questions/139513/how-to-clear-journalctl [09:12] ah it's journalctl. will read now it's docs === xenial is now known as Guest9471 [09:23] read and moved logs to /run/var folder (into ram?) and removed old files written on disk [09:23] the machine has small hdd === boxrick_ is now known as boxrick [09:38] running plasma, can you guys recommend a voice2text app. It's on my android .wav recorded with voice recorder. Thanks in advance [09:41] Mystified1234: maybe something like this, but I never tried it https://github.com/mozilla/DeepSpeech [09:45] murmel:) thanks [10:24] hi all, I'm having some issues with audio playback. I have a system with just alsa (no pulse) and mpd and mpv can play audio just fine. however my browsers (chromium, chrome, firefox) are unable to play anything. for firefox I always use `apulse` (that pretends to provide a pulse api), for chromium based browsers this was never needed [10:25] my default alsa device should be card 0 and as said it works fine with other software === LanDi1 is now known as LanDi === Guest4424 is now known as Beck === Beck is now known as Becko === workdrone43 is now known as workdrone42 === Bencraft1419562 is now known as Bencraft141956 [11:00] ok seems the bug is with snap [11:01] google-chrome does work, but chromium and firefox are now installed with snap, which breaks audio playback [11:22] test [11:22] it works, we see you mikm2603 [11:22] oke thanks [11:49] Is there a way to update firefox snap without closing all firefox windows? [11:55] Hi! Is there a roadmap for when https://launchpad.net/ubuntu/+source/aad-auth/ will be published to LTS? [11:56] Are snaps architecturally impossible to update while in use, or is it something about firefox in particular? [12:03] pickanick: usually Firefox asks you to click on the "refresh Firefox" option to apply new changes if has been updated to a newer version ... so I guess that's application-related and has nothing to do with snap [12:08] SteelRose: where do you see that option? I get a popup that tells me "Pending update of firefox snap / Close the app to avoid disruptions (N days left)." Now "snap refresh" says "all apps up to date" ... unless I killall firefox first, after which an update is downloaded. [12:10] pickanick: ah, I saw a similar message for the Telegram desktop client. The only way I could get rid of that was by closing Telegram and running "snap refresh" [12:13] Hi guys, is there any way to know how Ubuntu and/or Gnome handles the display configuration ? Like how/what script handles the configuration when there is an external display or not and get the event when the lid closes [12:15] pickanick, it is not specific to browsers that you suld cloase the app but it is most harmful there to not close them when updating (which was the initial reason this feature was implemented at all) [12:16] pickanick, snaps have versioned data dirs and use confinement ... if you update a snap the access to the old dir is completely blocked, the content is copied forward to the new versioned dir and your browser can nly access this partitiular dir now ... [12:17] pickanick, if that happens while the browser is open at that time, it only knows about the old dir that was used when the binary was launched ... but since that dir has been blocked by confinement the browser will not be able to update its history [12:18] i.e. updating while the browser is running would make you silently lose all history from the moment n the update has appened [12:19] the user experience of that feature is still awful though, but it is a prio #1 item that is being worked on by the desktop team so you will be able to have it automatically update when closing without hving to call snap refresh [12:20] (and thanks to the fact that snapps are all "rolling release apps" you will receive that fix even on old installs) === Starmina87958514 is now known as Starmina8795851 [12:54] just curious, is there some sort of system reset where i can go back to the original default install of the OS without needing to make a startup disk? e.g. "remove all packages and files that weren't with the original install" method [12:54] or would i really need to do a full OS reinstall [12:56] Matt|home: I'd suggest you to take a backup of the sensitive info you might have, if any, and do a fresh install [12:56] unless you have something that creates snapshots... [12:56] backed up already, main issue is i have no way to boot from anything except my harddrive right now [12:57] worst case scenario can i delete all packages except the main ones and just reinstall gnome or whatever? === w4v3|tx is now known as w4v3_ [12:57] Matt|home: you may want to try something like this https://www.cyberciti.biz/howto/debian-linux/ubuntu-linux-rollback-an-apt-get-upgrade/ [12:59] bah.. [12:59] i have an idea.. i need my hammer.. [13:20] LOL [13:22] Hi all [13:26] is there a list of errors/bugs why certain packages don't show up in apt? (i have a ppa, where all packages show up except 1) [13:32] murmel: it's likely the package in the PPA is only available for certain versions of ubuntu [13:33] murmel: that said, you'll need to contact the PPA maintainer for support with the PPA and the packages it provides === diskin is now known as Guest6437 === diskin_ is now known as diskin [13:34] leftyfb: well I am the maintainer ;) [13:34] and it's definitely for jammy [13:46] Is my question better suitted for gnome channel ? :) [13:48] rgallaispou: it would be better if you would also describe what you want to achieve [13:57] murmel: I actually just want to understand how its works (I did not find any udev rule to manage this). For instance how automatically when the lid is closed with an external monitor, the display config is set to used only the external monitor, while as soon as the lid opens, the config changes to use both the built-in panel and the external one (if the setting is set like this). [13:58] murmel, sorry if it was confused before [14:00] rgallaispou: /etc/systemd/logind.conf [14:00] external monitor is something which happens on a different layer [14:00] xorg/wayland [14:01] ahh, I misunderstood. yes, still that conf file [14:01] where you can edit what happens === pickanick is now known as CMOS === CMOS is now known as pickanick [14:06] hi all [14:08] murmel: I thought logind was for power management [14:09] rgallaispou: well, it _is_ pwer management, which also handles that stuff (well even on windows) [14:12] Okay so if I understand correctly, this is a mix between Xorg (in my case) and logind. I knew xrandr (and variations) were used for handling the display config, so would this mean it is also based on logind ? [14:13] would this mean xrandr is also based on logind* [14:13] there might be other bits involved [14:13] wasn't xrandr just adjusting where displays are? can't remember now [14:13] (i.e. "upower" ) [14:14] and turning on/off [14:14] xrandr can turn on and off monitors, yes [14:15] not sure if gnome uses it though ... it might be talking directly to the HW instead of shellig out to someting like xrandr === pascalm1 is now known as pascalm [14:17] oh, okay, that is what I wanted to understand [14:18] If Gnome/Ubuntu was passing through an interface or not to control this [14:19] rgallaispou: very likely that they interact directly === LanDi1 is now known as LanDi [14:21] Okay, I think I am going to ask directly on Gnome channel [14:21] Many thanks guys :) === LanDi1 is now known as LanDi [14:41] hello [14:41] hello [14:43] misu: 👋 [14:44] and he is gone ;) [14:48] Welcome to The Matrix. I wonder how many other stale entries there are in here. [15:08] What might be the issue if /var/log/syslog is empty? [15:11] after restarting rsyslog it again works and there is output on the file === blackest_mamba_ is now known as blackest_mamba === cecilio is now known as ivva [15:48] is there a fix for the snes9x source code that won't compile with gcc-11 [15:48] probably something you should ask in an snes9x channel or in a gcc channel ? === dionysus70 is now known as dionysus69 [15:49] ogra ok let me see if i can find a snes9x channel devoted to source code compilations on the newer gcc [15:49] (this simply does not sound like a particular ubuntu support question) [15:51] ogra there is no snes9x support channel on this irc server...maybe i should look for gcc support to see if there is a setting that will allow it to compile older code === scoobydoo_ is now known as scoobydoo [15:53] yeah, or find another place where snes9x usually discussed their issues [16:19] hi folks, is there a way to have cloud-init (user-data) create raid 1 disk? i was going through the docs and was unable to find any info on that [16:19] shivaya: you might ask in #ubuntu-server [16:29] thanks leftyfb [16:30] Hello, after upgrading to 22.04 I can't see mp3 icons as their thumbnails on nautilus/desktop (just the standard mp3 default icon). Couldn't find a solution online. Any help please? [16:31] i.e. icons for mp3 files on desktop/nautilus appear as the default icon, not as their own cover/embeded image [16:43] amikrop: that seems to be the case on my 22.04 aswell, the mp3 icon [16:44] When I run apt dist-upgrade to jammy I am getting very slow speed for the download, only a few kb per seconds. [16:44] amikrop: this is the one i see; https://imgur.com/a/4J02aDW [16:45] Get:1 http://in.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 nvidia-kernel-common-515 amd64 515.65.01-0ubuntu0.22.04.1 [25.2 MB] [16:45] 1% [1 nvidia-kernel-common-515 31.4 kB/25.2 MB 0%] 663 B/s 25d 1h 50min 44s [16:45] lain_: you might wanna ask the #ubuntu-mirror crew about known issues for your country/repo [16:46] lain_: #ubuntu-mirrors sorry [16:47] Been a hot minute since I've been in the ubuntu cli. I created a new netplan file in /etc/netplan/. I used screen to copy and paste from the examples section of the netplan manpage and then pasted into the new file with nano, then adjusted as needed cross-referencing the docs. When I run `sudo netplan -debug try` I get an unhelpful 'Error while loading /path/to/new-file.yaml, aborting.'. How do I continue to troubleshoot this? [16:58] I hate how picky yaml is with spacing...... [16:58] !next [16:58] Kinetic Kudu is the codename for Ubuntu 22.10. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality. [16:58] lotuspsychje: can i switch mirrors ? === LanDi1 is now known as LanDi [17:02] lotuspsychje yeah that's the one i see too, i was hoping there was a fix to that, it seems like a bug in fact (rather than a dev decision) [17:02] or a "lack of feature" even [17:04] amikrop: on focal it had miniatures of the album if i can recall? [17:05] lotuspsychje my previous version was 16.04 actually, which it did have the correct thumbnails (album miniatures I guess, yes) [17:05] amikrop: you said it was an upgrade earlier? [17:06] it was not literal :) [17:06] clean install then? [17:06] yep [17:06] kk [17:06] should I report that somewhere as a bug / feature request? weird thing is I can't find anything about that on google === diskin is now known as Guest92 === diskin_ is now known as diskin [17:07] amikrop: well im not sure if its on purpose or a bug yet, as i dont find existing bugs related right away [17:08] if it was on purpose, they at least should give you the option to toggle [17:09] anyway i am reporting, and whatever happens, happens :) [17:13] not getting any speed on US mirrors also [17:13] bytes per second [17:23] ok with sam's help at #gcc now snes9x is working on ubuntu as a compiled program [17:24] in case anyone wants the binary [17:24] 64 biy [17:24] 64 bit [17:24] I'm good, thanks. You might could put it on GitHub. [17:25] arraybolt3 i am not sure where it is located on github to try to post the patches to the code necessary for it to compile with gcc-11 [17:28] lagunalorre: as a reminder, the topic of this very channel is ubuntu support, but there are several other ubuntu related channels. === bongfrog_ is now known as bongfrog [17:28] tomreyn yes this is about ubuntu support since snes9x is not in the ubuntu repositories but i can make a binary available for it [17:30] lagunalorre: i consider this a development topic, but also don't want to discourage you from working on it. [17:30] it is not available in ubuntu. so it is not an Ubuntu support topic [17:31] tomreyn ok well i just need to learn how to make a deb file out of it with triggers hooks and all that jazz so it will be easier to uninstall if someone doesn't like it [17:33] lagunalorre: there are channels for debian packaging on OFTC, and there is #ubuntu-devel (but indeed that's not a place for getting packaging support). # ubuntu's primary purpose is around getting help with *using* ubuntu (not so much development). Consider also using !alis to find more channels. [17:34] tomreyn oh ok i did not know about ubuntu-devel...i will try to check in there [17:53] I asked #ubuntu-mirrors about my slow dist-upgrade issue, they said its not a mirror problem. Could be an apt issue probably. === LanDi1 is now known as LanDi [18:02] anybody got issues with chromium of firefox snaps? I can't get them to run and the only output I get is Segmentation fault (core dumped). idk where it's dumping its data :S [18:06] murmel: Currently Chromium is working for me. You may need to save whatever work you can and reboot. [18:06] (One time my system just started segfaulting everything and it was a mess, but a reboot fixed it.) [18:07] lain_: those mirrors resolve to multiple ipv4 and ipv6 addresses. can you identify which mirror is slow for you? [18:07] lain_: for ipv4 in 91.189.91.38 185.125.190.36 91.189.91.39 185.125.190.39; do echo "[ $ipv4 ]"; curl --output /dev/null --resolve in.archive.ubuntu.com:80:$ipv4 http://in.archive.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515/nvidia-kernel-common-515_515.65.01-0ubuntu0.22.04.1_amd64.deb; echo; done [18:07] arraybolt3[m]: this is a fresh boot :( [18:07] welp, will reboot [18:10] lain_: for ipv6 in 2001:67c:1562::15 2001:67c:1562::18 2620:2d:4000:1::16 2620:2d:4000:1::19; do echo "[ $ipv6 ]"; curl --output /dev/null --resolve in.archive.ubuntu.com:80:[$ipv6] http://in.archive.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-515/nvidia-kernel-common-515_515.65.01-0ubuntu0.22.04.1_amd64.deb; echo; done [18:10] arraybolt3[m]: well, now ff and chromium work, but their icons are missing oO [18:12] 22.04 I copied /home to a pocket drive and these "cannot create" messages - in this paste.  https://pastebin.com/WjZPx54E [18:12] lain_: from here (an isp in germany) i'm seeing reliable high enough (~25 Mbps) download rates from these mirror servers over both ipv4 and ipv6, but this can be very different from a different location, of course. [18:13] actually that's mega*bytes*/second, so x8 [19:05] olá [19:06] hi BontaKun [19:09] murmel: you probably have a different file system on the target [19:11] tomreyn: on which target are you talking about? [19:12] about* [19:12] oops, sorry, that was meant to go to morgan-usb [19:12] k [19:12] morgan-usb: you probably have a different file system on the target (or different mount options) [19:25] hola [20:25] I woud like to understand why these things created these error messages. 22.04 I copied /home to a pocket drive and these "cannot create" messages - in this paste.  https://pastebin.com/WjZPx54E [20:25] I would like to understand what that means.' [20:27] hi all [20:28] morgan-usb: that's weird alright.. maybe namei -l '/media/ubuntu/My Passport/OCT2022-home/home/human/.local/share/gvfs-metadata/trash:' ? [20:28] in the history of Ubuntu, have people ever managed to crossgrade from Debian over to Ubuntu? like, with a working system in the end...? [20:29] rapha: very very unlikely, especially nowadays where ubuntu differs quite abit [20:29] rapha, some tried, but i would not recommend it. [20:29] rapha: I bet it's happened, but I don't know off-hand anyone who says they've done it :) heh [20:29] frankestein-ubuntu :-D [20:29] okay, so it'd likely fail beginning with different libc's and so on? [20:31] rapha: it would even fail earlier afair, as debians apt can't read packages from ubuntu (if I remember debians apt doesn't include the compression patches ubuntu adds) [20:31] but never tried it honestly [20:31] murmel: oh yeah :/ [20:32] sarnold: that's what I quite don't like, yeah they use both apt and debs, but they are basically 2 completely different things nowadays [20:32] oh, _that's_ how far they diverge, wow [20:32] thanks ... TIL! [20:33] heh it even caused problems for me trying to unpack all the ubuntu sources on an 18.04 machine.. it couldn't understand the newer packages, so my unpacks failed :( === scoobydoo_ is now known as scoobydoo [20:40] sarnold: such is live, when you live in the past ;) [20:40] life* [20:41] murmel: *nod* [20:42] hopefully, they won't change it in the near future [20:42] murmel: upgrading that machine to 22.04 was great fun, on the final reboot, it didn't get networking .. I thought we had something in place to convert /etc/network/interfaces to netplan, but guess not, heh [20:43] always nice to be surprised with what was not prepared in advance :) [20:44] it was nice it was just in the other room rather than in a datacenter :) [20:44] sounds like a testsystem === Bencraft1419566 is now known as Bencraft141956 === justache is now known as justHaunted [21:15] tomreyn I have a pocket drive, Western Digital, as purchased. some things it would not copy were jpegs.  some were logs some were .png and I just wanted to understand. [21:16] morgan-usb i was thinking since last night and i can't figure out why logs are in your home directory [21:17] morgan-usb it doesn't make sense that it would not copy jpegs in your pictures folder [21:19] only when the host filesystem is defective.. [21:19] bad blocks? [21:19] oerheks well it is possible that he has a corrupted home folder with some ruined files [21:19]  it found soemthing bad - "Disk is OK, 16 bad sectors. I am planning to reformat the hard drive. Will that automatically mark the bad sectors and not use them? Is there something I can do so that it rewrites the master boot record (or whatever has taken its place "nowadays"0 Please pleas give me new terminology. (I remember a virus lon ago for [21:19] which I had to follow some instructions to go into that area and change things because reformatting didnt work.) [21:20] so, bad sectors, plausible. [21:20] sorry to tell you that those files are gone. [21:20] morgan-usb you can get low-level formatting tools from the manufacturer which will lock out any bad tracks...so your data doesn't get corrupted [21:21] formatting without geting corrupted? [21:21] morgan-usb..western digital and seagate has some low level formatting tools [21:21] interesting.. [21:21] low level means *forced* format to 0 [21:21] morgan-usb..my guess is you got all that you could get off of your corrupted home folder [21:22] zz [21:22] morgan-usb: it's because the file name doesnt work on the destination filesystem, notice they mostly have ":"s in them [21:23] err filenames with : ??? [21:23] weird [21:23] morgan-usb that is an idea ...go through your files and make sensible names of the strange names that include all kinds of stuff like : [21:23] whihch filesystem does it use morgan-usb ? [21:24] not ntfs.. [21:24] morgan-usb i use ext4 for data storage and i haven't had any naming problems occur with rockridge names [21:25] seems to not like any sort of special chars, : " ? etc in the filenames [21:26] morgan-usb who formatted your source drive before you put the strange names in your home folder [21:26] morgan-usb and what filesystem did they use [21:27] morgan-usb and what is the filesystem for your destination folder [21:27] oerheks The home system boots to black. I copied home as a backup to recover. (but now that I have it, would it be interesting to try and find out what went wrong or a waste of my time and  #ubuntu-friends' time?) [21:28] see EriC^^ mostly have ":"s in them [21:28] which is weird. [21:28] might be due to corrupt sectors. [21:29] morgan-usb: if you only literally copied '/home' then you cant know unfortunately [21:29] EriC^^I use whatever filesystem ubuntu 20.04 put on the hard drive. On the pocketdrive, I use whatever Western Digital had o it. (ext4 and NTFS I presume. [21:30] morgan-usb well reformat your destination drive to ext4 before you copy the ext4 source to it [21:30] morgan-usb then try to copy it again [21:31] e@e:/boot/efi/efi# cp bla "bla?"cp: cannot create regular file 'bla?': Invalid argument [21:31] Discks just told me I am correct about the files systems. [21:31] i think it just might be using fat32, i tried "?" and ":" and it rejected both in filenames [21:31] morgan-usb use fdisk /dev/sda to make sure your home directory on your source drive is et4 [21:31] ext4 [21:32] morgan-usb...just look at it with fdisk don't write anything [21:32] lagunalorre ubuntu 20,04 installation media formatted my file system. [21:32] morgan-usb: if you format your usb to use something like ext4 you should have no problem copying your files completely, or possibly ntfs too [21:32] morgan-usb well if ubuntu formatted it ..likely it will be ext4...although you have choices on that when you install [21:33] I cant reformat it (or wont) because it is one of my AB backup drives. It is a 2T drive. [21:33] morgan-usb...use fdisk /dev/sda to check if you can see your partitions with p and at the right check that your root partition is ext4 but dont' write anything then exit [21:34] morgan-usb: aha, well you could do something else, you could create a filesystem in it, mount that as a loop device and copy the stuff there, if you really want to copy the stuff as they are [21:34] Next time I buy a drive. Meanwhile I will look up low level reformatting tools for the Dell. [21:34] morgan-usb: if you need help on the above suggestion let me know [21:34] morgan-usb dell probably doesn't know what low-level is...get the manufacturer of the hard drive's tools [21:35] morgan-usb dell is just a stupid assembler not a core manufacturer of parts [21:35] morgan-usb: or another idea would be to tar the stuff up in your main install, and send it over as a .tar also [21:36] morgan-usb western digital and seagate have low-level tools [21:36] morgan-usb don't ever bother with assembler idiots for advice [21:37] morgan-usb some of those assemblers don't even make their own memory contollers for the cpu [21:38] morgan-usb never ask idiots for advice [21:40] morgan-usb in this world there are people that design and know about the actual ingredients..and there are slimy idiots that try to create witches' brew by mixing all kinds of ingredients [21:43] lagunalorre makes me smile. Likes "never ask idiots for advice." [21:44] Yes to whoever warned me. desll only suggests windows tools. and some random says, dont ever do a low loevel format unless you need to. (@^@ but, of course I sawy) [21:45] "low level means *forced* format to 0", your problem would not go away. [21:45] even worse.. [21:45] bad sectors grow. [21:46] ssh client question: what is the default value for ServerAliveInterval? [21:46] oerheks no with low level tools he can thoroughly check the platter for defective areas that need to be permanently blocked out so he doesn't suffer from data corruption on bad sectors [21:48] imi, none, you need to add that option and value? [21:49] ok thanks :) [21:50] oerheks and then use SMART monitoring tools to try to maintain a rough idea on how his drive is doint [21:51] doing [21:51] i hope morgan-usb is not taking that advise. [21:52] oerheks really you want him to risk data corruption [21:53] lagunalorre, you claim such tool can repair a disk. i say it cannot. so you put him to risk data corruption. [21:55] oerheks...in worst cases a drive can't be repaired...but for bad areas on the platter tools are available to lock them out...in fact some new drives come with some areas locked out but overall still useable [21:55] iirc he bought that machine with these badblocks, could be the reason it is sold [21:56] oerheks...well sometimes you get what you pay for [21:57] oerheks but most component manufacturers stand behind their products and are usually more than happy to supply tools to help keep their components running well for a reasonable amount of time [21:59] I got this machine from a friend. I have no idea about the bad blocks but it is old enough to have some. -- NOW I am going to examine the files that wont copy. -- Then will want to wash and dry the drive to make it look clean and new, err reformat it  ext4 making sure to block off bad partitions. -- There arent too many rejected files and so that [21:59] wont take too long. [22:00] morgan-usb no don't block off bad partitions your ext4 filesystem will need one...block off bad sectors with good reliable tools from the hard drive manufacturer [22:00] I am replacing the boot sdd on one of my servers. Do you think it will be OK to attach the new drive via USB, stop most of the services and DD the drive? [22:01] while the system is runnind that is... or should I boot of a usb? [22:01] Aavar...don't use dd on a live partition [22:01] lagunalorre: ok :D [22:02] Aavar, if you want to clone the system you can use something like clonezilla [22:03] Aavar use a live cd...so you can keep your boot partition unmounted...and unmount the usbstick you insert after the system tries to mount it...then use dd from source to destination device labels [22:03] Aavar yes clonezilla has a live cd [22:03] after cloning UUIDs have changed of the new drive. [22:04] step 4 https://help.ubuntu.com/community/MovingLinuxPartition [22:05] Aavar but don't try to use the clonezilla app on the ubuntu system with apt install clonezilla...use a live clonezilla cd instead [22:06] I'll use the live cd. THank you :) [22:07] Aavar so your devices won't be mounted [22:10] then you just dd /dev/whateverunmounted source drive /dev/whateverunmountedusbstick with reasonable block sizes and verbose settings [22:12] Aavar it is very simple [22:13] Aavar but make sure the size of your usb stick is at least as large as your source hard drive [22:14] Aavar you can use a little smaller usbstick if you make it mounted and store a compressed backup file on it...but that is another story..different from dd [22:15] Aavar dd is the most direct and easiest to remember..just make sure your usb stick is large enough [22:15] hello again, I read this sentence on a webpage. any danger in trying it? --  I've just booted into a live USB and run fsck /dev/sda1 -c and it fixed a load of bad sectors, [22:17] morgan-laptop...yes fsck can detect and fix errors and you might want to run it a couple of times to be sure...it doesn't fix bad sectors...that is a low-level issue...it fixes bad inodes [22:18] morgan-laptop from data corruption some of which can be fixed [22:18] I have an old laptop from 2012 with 2 cores (and 4 threads in total because of hyperthreading) running Kubuntu 20.04. I just tried playing an 1080p video in Firefox. The video is decoded in software which results in a high amount of CPU usage. Which is fine, I am only mentioning it in order to provide context. [22:18] My question is. When looking at the "System load" tab of KSysGuard then it states that there are 4 cores all with 80 percent usage. But in the "Process Table" tab of KSysGuard then it only shows Firefox as using 30 percent CPU. There are no other applications running. What is the reason for the info in the "Process Table" tab not matching the info in the "System load" tab? [22:19] KSysGuard is depreciated, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005973 [22:19] Debian bug 1005973 in ftp.debian.org "RM: ksysguard -- ROM; Replaced upstream by plasma-systemmonitor / ksystemstats" [Normal, Open] [22:19] it s abandonware, no more maintenance [22:20] carbonfiber, so on what linux is this? it is not in our repos for some time [22:22] As I wrote in my question, then It is Kubuntu 20.04 (which is just Ubuntu with KDE as the default desktop) and last I checked then that is not EOL yet. [22:25] right, focal is supported, and the last ubuntu with that package. https://launchpad.net/ubuntu/+source/ksysguard/4:5.18.4.1-0ubuntu1 [22:26] agin, there is a reason why it is deleted. [22:29] lagunalorre: Do you think I should use dd instead of the clonezilla wizard? [22:30] but is the reason it is deprecated related to my question? or is it deprecated for other reasons? [22:31] carbonfiber, no, long before that. i would not rely on ksysguard anymore. [22:32] Aavar...well i never had a problem with dd...it just works...now you can use a live usb and the clonezilla compressed file which should not be a problem and will let you get by with a smaller usb stick...but you need to remember your settings for the clonezilla partition backup options and you need to keep a copy of that version of clonezilla in case you want to reverse install your compressed partition [22:32] backup....dd does not compress by itself [22:32] maybe it is the confinement of firefox, or something else [22:32] Aavar dd is a pure copy backup [22:34] lagunalorre: I just found out I am actually going from a 250GB drive to a 240GB drive. What are my options? [22:34] Aavar in that case you must use a compressed file written to a mounted partition from an unmounted source partition...don't try to use dd with that setup [22:36] Aavar then remember all i have already said with regard to compressed backups [22:37] anyone know how to cancel this commande for FILE in $(dpkg-divert --list | grep nvidia-340 | awk '{print $3}'); do dpkg-divert --remove $FILE; done [22:40] lagunalorre: I dont understand what you mean. Should I copy to a file instead from disk to disk? [22:41] Aavar...yes you make a compressed file backup for your smaller destination drive which needs to be mounted even though you don't mount the source [22:42] Aavar...you lose the simplicity and purity of dd because you did not get an adequate size backup drive [22:43] Aavar...now with partitioning tools you can try to decrease the size of your source partition but sometimes that becomes a disaster and it is not as simple as dd drive to drive [22:49] New wrinkle: I booted from live media. Can I get permission to write on my hard drive? [22:50] I know the PW oc. [22:51] lagunalorre: I still don't understand, but if I reduce the size of my souce-partition I should be able to clone it via clonezilla with the default settings, right? [22:52] Aavar...you need to look at the settings options very carefully and make a note of which options you check off.... [22:53] Aavar...if you choose to risk everything you can try to reduce the size of your source partition.....with partitioning tools..not clonezilla...then your usbstick will be large enough for a direct partition to partition copy...not a drive to drive copy and you can avoid compression issues [22:54] ok, I'll try that :) [22:54] Aavar..but i suggest you defrag your partition several times before you try to shrink it so you don't lose outlying data [22:55] Aavar..if you are using ext4...then you can use e2defrag on it several times [22:56] Aavar before you shrink it..the goal is to get all your data inside the range of the shrinked partition [22:58] Aavar on ubuntu it might be called e4defrag these days === scoobydoo_ is now known as scoobydoo [22:59] an idea  pls to cancel this command for FILE in $(dpkg-divert --list | grep nvidia-340 | awk '{print $3}'); do dpkg-divert --remove $FILE; done [23:01] Pasgagn, meanwhile that command has finished by now. [23:02] lagunalorre: How long will that take for a 250GB sata sdd you think? [23:03] Aavar..it is going to take a lot of time to defrag it 3 or 4 times...but you chose to buy a small usbstick...so that is your best option...saving some money up front cost you time after the fact [23:03] lagunalorre: tnx :) [23:04] one could get the PID; ps aux | grep -i “name of process, likely FILE" and stop it with; kill -9 PID . but this should be done in microseconds.... [23:04] oerheks My system only works with nvidia-340 and I can't reinstall due to the diversion. old computer [23:04] I have time, was just wondering if I should go to bed :D [23:04] Aavar you can do it but it will take time...if you had gotten a larger usb stick you could have dd drive to drive with no compression issues and extreme simplicity [23:04] Pasgagn, please explain why you remove it? [23:05] hi === scoobydoo_ is now known as scoobydoo [23:07] lagunalorre: Can I ask a question just because I am curious? If I where to resize the partition to fit on the new drive with blank space afte the partiton. What would happen if I used dd to copy the drive? Would it not copy the partitions and leave the blank space blank afterwards? [23:07] even if the drive was smaller? [23:07] (I am not planning to do this, just wondering) [23:08] Aavar..no you cannot use dd drive to drive because you did not buy an adequate size usbstick...all you can do now is dd partition to partition...after you shrink the source after you defrag is [23:08] defrag it first [23:09] Aavar or you can use the clonezilla compression schemes onto a live partition [23:10] Aavar and risk compression errors [23:11] it's complicated I lost the desktop of ubuntu mate suite update (libgtk-pixbuf2.0-0 depends on libgtk-xlib2.0 ) blocks me for the package install then I switch to xfce reinstall nvidia 340 which worked but while trying to correct the dependencies for cuda and the rest of the system I uninstalled nvidia340 for libnvidia-compute495 but error [23:11] libnvidia depends on libnvidia-compute 515 so I made the diversion [23:13] our 340 driver is a transit to nouveau. and higher numbers from libnvidia might not work with 340? [23:14] lagunalorre: Thank you. Good night :) [23:14] Aavar ok just let it defrag a couple of times before you try to shrink it [23:16] oerheks nvidia 340 est le dernier pilote pour une gt 335 m [23:17] oerheks nvidia 340 is the latest driver for a gt 335 m [23:17] Pasgagn, yes, but is in reality nouveau. [23:17] https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340 [23:18] so i wonder how did your cuda work? [23:25] Hey guys, looking for some tech support pls. I'm working on a device with limited space and somehow it all filled up after I think it was an ansible script [23:25] can't work out what caused it and how to free up the space [23:25] had a look at logs and tried removing somethings but no luck [23:27] try #ansible ? [23:27] hmm im not sure if ansible is the root cause, its just the last thing i ran [23:27] i just installed and formatted this drive, but it looks like it's using 12gb ... why?? $df -h ... /dev/nvme0n1p1 234G 28K 222G 1% /media/storage [23:27] but why not [23:28] where did 5% of my disk space go? [23:29] sysRPL, reserved by ext4 i guess. [23:29] sysRPL: 5% is taken for drive housekeeping. [23:30] Bashing-om, would ext3 reclaim that? [23:30] with disk problems it wants some clean unused space to copy [23:30] sysRPL: Some of your storage space is needed in order to store the filesystem metadata (so that Linux can find your files), and also reserved blocks in the lost+found directory used for file recovery and possibly other uses. [23:30] ext3 the same? [23:30] I'm not sure if 12 GB is right though, that seems a bit much. [23:30] How did you format the drive? [23:31] i used the graphical "disks" utility and selected ext4 [23:31] 12/250 is plausible [23:36] this fixed it ... $ sudo tune2fs -m 1 /dev/nvme0n1p1 [23:36] thank you [23:37] now only 2.6GB is reserved [23:38] Huzzah, resaved all the files I wanted with good names. (Yes, I have patience. (rolling eyes gif) --- what next? first, **Is it worth my time to try and find out why the hard drive boots to black or do I just reformat it? --- AND -- is there a way to get permission to write on my hard drive even tho I booted up on another volume. (This is a [23:38] longstanding question of mine.) [23:40] oerheks i  delete all the file with diversion i am sick ;) )  nvidia 340 is on the way [23:42] morgan-usb: your currently running kernel is in charge of enforcing permissions -- if you can get root on the currently running kernel, you can do what you want to the filesystem on the disk === BrianG61UK_ is now known as BrianG61UK