/srv/irclogs.ubuntu.com/2024/12/06/#ubuntu.txt

mukulhello01:05
oerheks:-)01:05
mukulwhat yall know about pop os01:06
oerheksnice if you have that special hardware from system701:07
oerheksnot supported here, they have their own channel on #Libera >> #pop!_os01:07
mukulhttps://www.youtube.com/watch?v=H0EWR-ZZmG401:10
oerheksno youtube urls please01:11
oerheksDo you have an Ubuntu support question?01:11
=== Dieu is now known as yuta
=== ubuntu_4321 is now known as ubuntu4321
farhanHi all١ I am using a Virtual keyboard and I see that some of the mappings for the numbers are off. I want to use xmodmap, which sorta works, but when I switch back to English the mapping seems to remain not in English.04:01
farhanIs there a way to use xmodmap but only for a specific virtual keyboard?04:01
farhanexcuse me for a moment.04:05
=== dak_6 is now known as dak_
=== gschanuel4 is now known as gschanuel
=== [[R]] is now known as rbox
josgrevarhello04:49
=== timj1 is now known as timj
spinningCati installed ubuntu last version05:28
spinningCatit didnt know my sond card05:28
spinningCati dont understand05:29
spinningCatfirst time i saw such thing05:31
spinningCati see dummy something05:31
spinningCati am shocked05:31
satyaxcodehi05:43
spinningCati had to install alsa externally05:59
spinningCatand it fixed05:59
=== SlickRick is now known as eLdr1ch
u0_a1032IRC info07:18
=== u0_a1032 is now known as kiro
kirosio07:20
kirosuo07:20
kirosup07:20
kiroshut the fuck up07:20
=== bmr1 is now known as bmr
lnkinbonjour08:50
=== pah is now known as pa
=== NatSocSiD` is now known as NatSocSiD
=== keypushe- is now known as keypusher
ross___hello10:22
=== zareem56 is now known as zareem5
=== u0_a1032 is now known as kiro
kirosuo11:23
kirosup11:23
BluesKajHi all12:09
kuka_liehi BluesKaj12:10
BluesKajhi kuka_lie12:11
=== PasiZ8 is now known as PasiZ
quaklorkHey, are you aware of the weird behaviour that the Keyboard while entering LUKS Passphrase changes to some "non existing" weird Layout containing only symbols? I got this issue frequently since Ubuntu 22/LUKS/Ext4, and after Upgrading to 24, and with the fresh install of 24/LUKS/ZFS again, with my laptop internal keyboard and external USB12:18
quaklorkkeyboards. I type regular characters, and than, suddenly, in the middle of typing it changes to these weird symbols. Today was particular hard and it took me like 1 hour and 30 reboots to have "random luck" and be able to enter my passphrase so I could boot. Heres a pic how the characters look like (again, they were normal when I started typing but12:18
quaklorkafter 10-15 characters they change in the same line): https://imgur.com/a/PnzhoTv12:18
=== keypushe- is now known as keypusher
mgedminthere's a control character that switches the output to the VT100 pseudographics output12:25
mgedminwhich looks like this12:25
mgedminit used to be fun when you accidentally cat a binary file and that chatacters leaves your console barely usable12:25
mgedminsometimes typing 'reset' blind would fix it, sometimes not, depending on your termcap/terminfo reset sequence including the corresponding other control character or not12:26
mgedminit's ^O or ^P or ^N, I don't remember which -- ASCII mnemonic SI/SO or something12:26
* mgedmin reads man console_codes12:26
quaklorkmy passphrase continues : and @ and SPACE up until this point - but, if these were the reason than I would have to have 100% repeatability and could never boot. Im quite "certain" that I dont press anything else. Is there any way I can deacitvate VT100?12:27
mgedminSO (^N) activates this mode, SI (^O) resets it12:27
mgedminnow, what program might be emitting this while you're inputting your luks passphrase, I've no idea12:27
mgedminbut in any case when you're inputting passphrases your input should be invisible?  who on earth leaves local echo enabled during password prompts?12:28
quaklorkmy input is invisible, the photo is of 3 failed attempts and than the Ubuntu 24 LUKS/ZFS standard installation swaps to some initramfs shell. Thats where I noticed it12:29
mgedminoh right that's not the prompt, thats the initramfs shell after the mounting fails12:29
mgedminmight be unrelated12:29
mgedminis the 'reset' command available in the initramfs shell?12:29
quaklorkits displayed when I type in help, yes, but so are other commands like reboot but they dont have any effect12:30
mgedminprintf '\017' should reset the character set -- printf is a shell builtin, even dash or busybox sh should have it12:31
quaklorktbo I do not understand what you mean by "SO" and "SI" in "SO (^N) activates this mode, SI (^O) resets it", but I will gladly google it and take a note of this and your printf command and try them the next time it occurs.12:32
quaklorki guess Shell Output and Shell Input?12:33
quaklorkwell. but. there is no way to enter printf '\017'. So I only can do some key combos like ^N or ^O12:34
mgedminhttps://en.wikipedia.org/wiki/Shift_Out_and_Shift_In_characters12:34
quaklorkty12:34
mgedminthe point is when you're entering commands like 'print', they get echoed differently, but the shell still sees 'print', so you can enter the command12:36
quaklorkmhhhh maybe it happens when I do Shift+N or Shift+O as these are upper case characters are actually contained in my passphrase right around where it happens! So Instead I should try CapsLock+N or CapsLock+O, mh?12:37
mgedminum, confusing shift and ctrl would be a big issue for terminals12:37
quaklorkIm not pressing ctrl, I do press shift (99.999% certain). But I actually do use upper case N and O "around the time" it happens so maybe thats related12:38
quaklorkim already glad that its nothing broken with grub or anything as grub-update was performed dozen of times the past couple of months by me manually and by updates, so at least my data integrity is not threatend and no hardware defect seems to be cause of it12:41
mgedminthe SI/SO control characters work when programs output them12:41
mgedminif any program is outputing the characters of the passphrase you're inputing, that program is very very buggy and you would not ice when it would echo the regular letters and numbers12:42
mgedminbesides, the default kernel tty layer or whatever doesn't echo control characters from input, it shows them as ^N/^O12:42
mgedmine.g. I can run cat and press ctrl+N and I will see caret followed by N, it won't switch character sets12:43
quaklorkwell its a standard Ubuntu 24 GUI installation of encrypted ZFS, except some removal of splash I havent modified my grub. I use a docking station with the external keyboard connected to it, but whenever this happens I disconnect everything and use the sole laptop with its internal keyboard but it continues with this behaviour. As mentioned, today12:44
quaklorkit took me like 30 reboots to get it.12:44
mgedmin(besides, in gnome-terminal the initial G0 and G1 charsets are both ASCII, and SI/SO control chars do nothing -- you'd have to echo a bunch more init sequences to make them switch to the VT100 graphics)12:44
mgedmin(/dev/tty1 is different)12:44
mgedmin"removal of splash" is interesting12:44
mgedminbecause normally plymouth is the component that handles both the splash screen and the luks passphrase input12:45
mgedmin"removal of splash" might mean you switched to a text-mode plymouth theme12:45
quaklorkwell you know, changing standard configuration of "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to  "GRUB_CMDLINE_LINUX_DEFAULT=""12:45
mgedminor it might mean you removed plymouth itsel (is that even possible?)12:45
mgedminah, ok, I think that switches plymouth to text mode12:46
quaklorkit changes from the graphical input to the one you can see in my photo - "shell" style so I can see if all modules load properly12:47
quaklork(i dunno what plymouth is tbo)12:47
quaklorkfinaly my Lenovo Yoga X1 arrived after waiting 3 weeks. so. I guess I will swap the SSD into the new notebook, activate splash in grub again to have the graphical feedback which keyboard layout is set, and tinker with pressing CTRL+N or CTRL+O if that issue occurs again, mh?12:52
tomreynquaklork: while i've just learned new things by reading mgedmins' suggestions (doh! i never knew about those control characters), the screenshot you posted at https://i.imgur.com/M48oWCM.jpeg makes me think of bad RAM (or other memory). this said, i'm not familiar with the keystore-rpool cryptsetup key input method either. so this might just work fine once you moved to the new laptop. if it also doesn't work on the new laptop, you may want to do13:27
tomreyna fresh install. if it still persists then, it's certainly time for a bug report.13:27
Guest76hello im trying to run ubuntu but is impossible because is uses radeonsi drivers how to change the drivers on the live iso13:46
leftyfbGuest76: install ubuntu, then change drivers as you see fit13:47
Guest76well so yeah it will be good if i can but cant because my pc restart boots13:47
Guest76loops13:47
Guest76i use an old r9 390 8G13:48
leftyfbGuest76: what release of ubuntu have you installed?13:48
Guest76ah the newest one from your website (the desktop one)13:49
leftyfbGuest76: which release exactly?13:49
leftyfbwhat is the file name?13:49
Guest7624.04 lts13:50
Guest76because is long term support13:50
leftyfbthat's technically not the latest. But it is the one I would suggest13:50
leftyfbGuest76: do you have ubuntu 24.04 installed right now?13:51
Guest76i have it in my  laptop yeah but on the pc it boots loops D"13:51
quaklork@tomreyn Thanks for the suggestion but I do not think of bad ram since this issue persists since a couple of years already and I just swapped the RAM of my "old" machine 3 months ago - and I had this issue with the last installation and the fresh I did a month ago. I think what mgedmin was talking about makes alot of sense as the behaviour is13:52
quaklorkrepeatable a way that the characters start to mess up always at the same point in the initramfs shell, I just dont remember exactly after which one, but N or O makes sense13:52
oerheksquaklork, maybe it is the GPU ram going bad?13:52
leftyfbGuest76: ok, so on the pc in question (we're only troubleshooting and referring to 1 machine at a time), what do you mean boot loops? Where in the boot process does it reboot?13:52
Guest76yes it reboots am gpu drivers :D13:53
quaklorkoerheks no its no hardware issue. its as mgedmin suggested an expected behaviour with some input13:53
Guest76my pc requires amd gpu drivers13:53
Guest76do i just try to install ubuntu server and trow gnome on it ?13:54
leftyfbGuest76: please take a video or screenshot if you can of the process and point where it reboots13:55
oerheksserver, or mini iso https://cdimage.ubuntu.com/ubuntu-mini-iso/noble/daily-live/current/13:56
tomreynquaklork: do you have characters other than those on a US english keyboard layout https://upload.wikimedia.org/wikipedia/commons/5/51/KB_United_States-NoAltGr.svg in your passphrase then?13:56
quaklorktomreyn I use a german keyboard, but no, regular !$%: SPACE Characters in my PW13:57
quaklorklets hope my Samsung 990 Pro 4TB only got single sided chips :O Ive just learned the Lenovo Yoga X1 despite having an 2280 slot can only host single sided SSDs.... omg what a bad design13:58
quaklorkgood news after researching 2 months what Convertible Notebook to buy and than waiting 3 weeks for it to arrive13:58
manishgoswami051hello ,guide for running x86 exe wine 32 bit guest 32 bit ubuntu armhf on proot termux 32 bit arm14:00
tomreynquaklork: hmm, weird, i'm still surprised you'd run into a situation where the input changes like it does for you then. but i'm glad you may have found a workaround for now.14:00
manishgoswami051*android host 32 bit14:01
quaklorktomreyn lets see. but my gut feeling tells me mgedmins elaborated reasoning is really hitting the nail on the head.14:01
oerheksmanishgoswami051, i thought proot is designed for android stuff14:02
oerhekshow would wine fit in?14:03
manishgoswami051yes i am on proot ubuntu distro 32bit armhf , need wine , will winehf from default ubuntu will work ?14:03
oerhekssorry, i have no idea14:04
manishgoswami051i mean i am on android arm 32bit hist used termux installed ubuntu armhf 32 bit , default wine armhf will work with box86 or need wine i386 ?14:05
manishgoswami051host*14:06
manishgoswami051user@localhost:~$ uname -a14:09
manishgoswami051Linux localhost 6.2.1-PRoot-Distro #2 SMP PREEMPT Mon Aug 22 21:25:13 CST 2022 armv7l armv7l armv7l GNU/Linux14:09
tomreynmanishgoswami051: termux uses different package repositories than ubuntu. ubuntu ix86 is no longer supported. you are not running ubuntu, please use the termux support channels (if any) for help with what you are running. there is also #linux14:09
tomreynthis is not an ubuntu kernel either14:10
manishgoswami051hmm14:11
tomreynhttps://wiki.termux.com/wiki/PRoot14:11
manishgoswami051modified ubuntu from PRoot ?14:11
tomreynyes, modified in such as way that it cannot be supported here14:11
manishgoswami051okay thanks ,heading towards termux14:12
quaklorkhis issue is not proot related anyway. his issue is wanting i386 on an arm chipset, and thinking wine would do it for him. thats - as far as I understand - not the case anyway. you got to translate i386 on arm first14:12
tomreynoh, right, this would require a proper VM, which would likely be too slow anyways.14:13
quaklorkmgedmin thank you for your help. I will report back after swapping machines and testing a bit14:15
manishgoswami051yea will box86 do translate wine i386 ?14:19
=== Alpha is now known as Guest6429
=== Guest6429 is now known as Alpha
tomreynmanishgoswami051: volunteers on this channel will be happy to provide support (if they can) when you run ubuntu. you currently don't. if you need any help installing ubuntu, please let us know.14:23
=== Alpha is now known as Guest6932
tomreynGuest6932: nickname 'alpha' is already registered and taken, please pick a different one and consider registering it.14:24
tomreyn!register14:24
ubottuFor information on registering your IRC nick, see https://libera.chat/guides/registration - For any further help, ask in #libera14:24
manishgoswami051https://ivonblog.com/en-us/posts/termux-proot-box86-box64/14:25
tomreynmanishgoswami051: volunteers on this channel will be happy to provide support (if they can) when you run ubuntu. you currently don't. if you need any help installing ubuntu, please let us know.14:25
manishgoswami051i failed to symlink in debian distro using this guide14:26
=== Guest6932 is now known as Alpha
tomreynmanishgoswami051: this is off-topic for this channel. you can try getting help in #linux14:26
manishgoswami051oh np thank  you14:27
nerdcoreI ran some apt upgrades today and was informed by apt that I should execute this command: `systemctl restart user@1000.service` but `systemctl status user@1000.service` sure looks like it is my entire user session. Will this log me out?15:23
mgedminmight!15:23
mgedminI wouldn't trust needrestart's advice too much15:24
nerdcoreso the service will not "restart" right? I'll just lose my work and be dumped back to my DM login prompt?15:24
mgedminwhat needrestart noticed is that some program that is part of your user session is using a binary or library that was updated15:24
mgedminso until you restart that program you will still be running old code15:25
mgedminthat potentionally contains security vulnerabilies or other bugs15:25
nerdcoreseems aggressive to tell a user inside an active login to kill the whole login session :(15:25
mgedminit's curious though, I never noticed needrestart telling me to restart a user@ service15:25
mgedminwell, I don't think needrestart understands that restarthing this service might log the user out15:26
mgedminmaybe it should be taught (i.e. please file a bug)15:26
oerhekswhat is installed and updated, docker?15:26
oerhekselse there is no reason to restart user 1000, logout and login again would do the same15:27
sixwheeledbeastWhat got updated?15:27
* mgedmin remembers when release-upgrading via update-manager would restart gdm.service in the middle of the upgrade, killing everything, including the upgrade tool itself, and leaving the user to pick up broken pieces in a tty login15:27
nerdcoreI'm guessing snapd15:27
mgedmin(_that_ bit was fixed, but I stopped using the GUI version of the distro upgrade tool anyway)15:27
oerheksoh, snapd could be the reason too15:28
mgedmineh?  but snapd is not part of the user@ service, it's a system service15:28
oerheksrestarting the user would not log you out, make sure your 'work'  is saved15:28
nerdcorea couple other packages too. snapd's just a guess on my part. How would I know for sure which package update triggered this?15:29
nerdcorelsof?15:29
mgedmindo you have the full output from the apt update that ran needrestart?15:30
nerdcorefirefox via snap?15:30
mgedmincan you pastebin?15:30
mgedminif not, you might see a list of packages updated in /var/log/apt/history.log15:30
nerdcoreI could have, but I just ran lsof in the same terminal and it clobbered all the apt stuff :(15:30
mgedminyou don't have infinite history?  I thought it was default in gnome-terminal15:31
mgedminbut ah! 'lsof | grep -i del' is also a great way of discovereing programs that refer to deleted files15:32
mgedminsome of these are harmless (programs often delete temporary files intentionally to have them cleaned up when the program exits), but some point to replaced libraries and binaries15:32
nerdcoreso on the positive side I believe it is in fact a snap of FF which caused this, but I had a limited scrollback in whichever terminal application I'm running these days in i3wm and lost all the apt details15:32
nerdcoredoes seem incorrect to terminate the entire user session. I'll try running `ubuntu-bug needrestart`, which I have also purged from my system15:33
nerdcoreneedrestart not ubuntu-bug lol15:33
oerheksit is correct.15:34
nerdcoredoesn't seem effective since I purged it :P15:34
oerhekswell, have fun.15:34
* nerdcore spins in circles a little15:34
cambrian_invaderok, so what's u-boot+nodisclaimer@lists.denx.de ?15:38
cambrian_invaderwhoops wrong channel15:38
nerdcorethe part I find most odd personally is that `systemctl restart user@1000.service` is not going to achieve "restart". In fact it won't even launch firefox again (the offending bin), so it's more like a `systemctl stop user@1000.service`15:39
pragmaticenigmaI know that when Firefox was/is installed as a deb package, upgrades to the package would trigger firefox to display a "restart your browser to apply updates" message. It might be something similar triggering needsrestart. personnally, anything say something needs to restart, I just reboot the system. I have a an EL9 system that will tell me I need to restart a service over and over, until I reboot the entire system. When in doubt, just16:05
pragmaticenigmaskip the hassle and reboot at your earliest convience16:05
nerdcorewell `sudo lsof | grep DEL` works great too :)16:06
nerdcoreacross distros.16:06
mgedminI never understood when lsof shows DEL in the whatever-column, and when it appends (deleted) to the end of the filename instead16:07
mgedminwhich is why I always use lsof | grep -i del, as that catches both16:07
nerdcoreI know it's probably uncouth to talk about other distros here, but I must say that Void Linux' xbps package manager handles this very well IMHO https://docs.voidlinux.org/xbps/index.html#restarting-services16:07
mgedminneedrestart is just automation around lsof | grep anyway16:07
ravagei does a lot more than that16:09
ravage*that16:09
ravagelisten to the latest ubuntu security podcast if you really want to learn more about it16:10
ravageand the security problems were in the "much more than that" part16:11
quaklorkturns out: Samsung 990Pro 4TB thankfully only got chips single sided - fits my new Lenovo Yoga X1! 4TB Convertible with true matt display. Niceeeeeee.17:05
=== kuddukan3 is now known as kuddukan
=== parallels is now known as Tuxnician
=== code__ is now known as f4st_raB1t
=== f4st_raB1t is now known as fast_raB1t
=== fast_raB1t is now known as f4st_raB1t
gaelheartI'm having a really wierd issue with my bluetooth dongle.  i am dual booting windows 11 and ubuntu 24.04 LTS.  It works under both operating systems to be clear.  However, if i pair and connect it under Windows, Ubuntu can't connect to it when i reboot into Ubuntu.  And exactly vice versa.  If i pair and connect it under Ubuntu it won't connect under Windows.  Unless I forget the device and reconnect.  I am using bluetooth for my PC speakers.  Any idea17:46
pragmaticenigmagaelheart: are you fully shutting down the system between, or pulling the bluetooth dongle when switching between OSes?17:49
gaelhearti am just restarting.  i haven't tried fully shutting down.  I am not pulling it17:50
gaelheartif i connect it under ubuntu it works only every boot as long as i don't go into windows and connect it there.  and vice-versa17:53
pragmaticenigmagaelheart: Any device that is paired with the BT will need to be disconnected when system which OS you are using. The reboot may not fully power down the BT dongle, and there are no other signels provided to tell the paired device that the host is no longer available.17:53
gaelheartnot "only"  i meant on17:53
gaelheartso if i fully shutdown it should resolve the issue17:53
leftyfbalso make sure fast boot on Windows is disabled17:54
pragmaticenigmaIn theory, or unplugging the dongle before restarting to switch the os17:54
gaelheartit is disabled17:54
gaelheartok excellent i will fully shutdown when i plan to switch over17:54
gaelhearti only use windows maybe once a week so it's just an annoyance17:55
gaelheartnot a huge deal just thought it was strange.17:55
pragmaticenigmaBT is strange honestly :)17:55
gaelheartwell thank you so much.  i was honestly thinking it was bizarre but it makes sense now17:56
pragmaticenigmaThere's more that could be at work here, but this is where I'd start. Next would be to not use the BT in a windows session if it can be helped.17:56
gaelheartyeah that's certainly an option17:57
gaelheartI'm going to try the full shutdown procedure and see if it works under both under that condition17:59
gaelheartok i'm in windows now and i connected to the bluetooth speakers.  gonna fully shutdown and go into ubuntu. fingers crossed18:07
f4st_raB1tgaelheart bro, your problem is the windows. kill him18:09
gaelheartwell that didn't work.  ubuntu sees it but it doesn't connect.  i will have to forget it and re-pair for it to connect again.  oh well nnot a big deal18:09
f4st_raB1tgaelheart connect via terminal and paste the logs here18:10
gaelhearti use windows because i like it.  i like both actually but i just spend more time in ubuntu because it like it more and i can do things on ubuntu that i can't do in windows18:11
gaelheartok18:11
f4st_raB1tgaelheart thats ok you use windows, im just joking18:11
gaelheartbluetoothctl connect 10:94:97:11:D0:8F18:12
gaelheartAttempting to connect to 10:94:97:11:D0:8F18:12
gaelheart[CHG] Device 10:94:97:11:D0:8F Connected: yes18:12
gaelheartFailed to connect: org.bluez.Error.Failed br-connection-unknown18:12
gaelhearti don't know where the logs are18:13
gaelheartthat's just the terminal-emulator output18:13
leftyfbgaelheart: it's likely a limitation of the device. It might only be allowed to be paired with a single source18:13
gaelheartok leftyfb at least we tried right?18:14
leftyfboh wait, reading again, this is a usb dongle and any BT client isn't pairing across the OS's?18:14
gaelheartleftyfb: corret unless i forget and re-pair18:15
gaelheartcorrect rather18:15
f4st_raB1tBoth OSes are like jealous exes when you pair your speakers in one, they change the "key" (like a secret handshake) and the other one gets locked out. You gotta share that key between them to make peace18:15
gaelheartbut as long as i only boot one over and over it works fine18:15
f4st_raB1t=)18:15
f4st_raB1tboot into Ubuntu, pair your bluetooth speakers. get it working there first.18:16
gaelheartok connecting...18:16
f4st_raB1treboot into Windows pair the same speakers again. remember this wipes out the ubuntu pairing, but dont sweat it we’ll fix that.18:16
gaelheartok re-paired in ubuntu . restarting now18:17
f4st_raB1tback in Ubuntu install chntpw to dig into the windows registry:  maybe something like this sudo apt-get install chntpw18:17
leftyfbgot a solution that might work18:19
f4st_raB1the didn’t let me finish18:19
gaelheartok back in window and they didn't connect18:19
gaelheartwindows18:20
f4st_raB1tlol18:20
leftyfbf4st_raB1t: does your solution involve bt-dualboot?18:20
f4st_raB1tyou didn’t let me finish18:20
gaelheartoh sorry f4st_raB1t18:20
leftyfbyou can sync the keys18:20
gaelheartok18:20
f4st_raB1tleftyfb exacly dualboot lol18:21
leftyfbgaelheart: sudo apt install bt-dualboot18:21
gaelheartok gonna boot ubuntu an install that.  brb18:21
leftyfbpair with ubuntu, boot into Windows, pair with Windows, boot back into Ubuntu and run sudo bt-dualboot --sync-all18:21
f4st_raB1tIt's easier lol18:22
f4st_raB1tim donk18:22
gaelheartthe only way to pair with windows is to forget and repair.  is that what i should do now?  i already paired and connected in ubuntu and now i am in windows18:23
leftyfbyes18:24
gaelheartok18:24
gaelheartok back to ubuntu to install bt-dualboot18:25
gaelheartE: Unable to locate package bt-dualboot18:29
leftyfbugh18:29
leftyfbsudo pip install bt-dualboot18:30
leftyfbyou might also need to sudo apt install chntpw , not sure about that though18:32
gaelhearti'll do both18:32
gaelheartsudo apt install chntpw done18:33
gaelheartsays command not found pip18:33
leftyfbsudo apt install python3-pip18:33
gaelheartk18:33
gaelheartleftyfb: error: externally-managed-environment18:34
leftyfbtry it without sudo18:34
gaelheartk18:34
leftyfbor you could add --break-system-packages to the pip command18:35
leftyfbI think installing without sudo in your own venv should be fine18:35
gaelheart--break-system-packages to the pip command worked18:35
gaelheartwithout sudo18:35
gaelheartwait there's a warning18:35
gaelheartThe script bt-dualboot is installed in '/home/robert/.local/bin' which is not on PATH.18:36
gaelheart  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location18:36
enigma9o7perhaps thats one of those paths that only gets added to your PATH if it exists when you boot, there's a few like that18:37
enigma9o7otherwise add it manually18:37
gaelheartplease give me instructions to add it manually18:37
gaelheartor should i try to reboot?18:37
enigma9o7well I'd either reboot and see, or check the login scripts to see if its set to add automatically..18:39
ioriapip and & are quite dead on 24.04 (outside a virt env); you can try pipx instead18:40
gaelheartcan i modify the script and add --no-warn-script-location. should i have that script run at login? or will it run automatically18:40
enigma9o7all that would do is surpess the warning, it doesn't "do" anything18:40
gaelheartok enigma9o718:41
gaelheartso i guess i will just have the script run automatically when i login.18:41
gaelheart?18:41
gaelheartwell hell let me reboot and see what that does18:41
leftyfbgaelheart: sudo pip install bt-dualboot --break-system-packages18:41
leftyfbor not18:41
=== A_Dragon is now known as Festive
gaelheartok rebooted.18:42
gaelheartno connection18:42
leftyfbgaelheart: did you run sudo bt-dualboot --sync-all18:43
gaelheartleftyfb:  will do now18:43
gaelheartsudo: bt-dualboot: command not found18:44
leftyfbgaelheart: sudo pip install bt-dualboot --break-system-packages18:44
gaelheartk18:44
leftyfbgaelheart: then  sudo bt-dualboot --sync-all18:44
leftyfbnothing gets run automatically on boot18:44
gaelheartSuccessfully installed bt-dualboot-1.0.118:45
gaelheartWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv18:45
gaelheartrunning sudo bt-dualboot --sync-all...18:45
gaelheartbt-dualboot: error: Neither backup option given!18:45
gaelheartWindows Registry Hive file will be updated!18:46
gaelheart    chntpw/reged tool is non-official and hackish Hive file editing tool.18:46
gaelheart    It is recommended to do backup prior writing into Hive file.18:46
gaelheartUse:18:46
gaelheart      -b [path], --backup [path]    [default: /var/backup/bt-dualboot]18:46
gaelheart      -n, --no-backup               process without backup18:46
leftyfb!paste | gaelheart18:46
ubottugaelheart: For posting multi-line texts into the channel, please use https://bpa.st | 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:46
gaelheartsudo bt-dualboot --sync-all ----no-backup ?18:46
leftyfbok, so specify a backup path18:47
gaelheartgonna skip backup. one sec18:47
leftyfbyeah, that's always a good idea when running commands for the first time that you don't fully understand18:47
gaelheartdamnit my windows partition isn't mounted18:48
leftyfbspecify a backup path18:48
gaelheartleftyfb: ok i will but i have to mount the windows partition quick18:48
leftyfbyep18:48
leftyfbgaelheart: this is the documentation for that tool: https://github.com/x2es/bt-dualboot18:49
gaelheartNTFS — Mounted at /media/robert/Windows18:49
gaelheartsudo bt-dualboot --sync-all --backup /var/backup/bt-dualboot18:51
gaelheart> BACKUP /media/robert/Windows/Windows/System32/config/SYSTEM to /var/backup/bt-dualboot/SYSTEM-2024-12-06--13-50-5318:51
gaelheartSyncing...18:51
gaelheart==========18:51
gaelheart [10:94:97:11:D0:8F] Logi Z40718:51
gaelheart...done18:51
leftyfbagain, please use pastebin18:51
gaelhearthello?18:52
gaelheartthere i am18:52
gaelheartsorry guys18:52
gaelheartor gals ?  :)18:52
leftyfbdid the output give you any errors?18:53
gaelheartno errors leftyfb18:53
leftyfbdid it say it worked?18:53
gaelheartsudo bt-dualboot --sync-all --backup /var/backup/bt-dualboot18:53
gaelheartthat backed it up18:53
gaelheartsays [10:94:97:11:D0:8F] Logi Z407, then the next line says done..18:54
gaelheart"done..."18:54
leftyfbthen it might have worked18:54
gaelheartshould i connect to bluetooth now?  i am in ubuntu18:54
gaelheartor maybe just reboot18:55
gaelhearti already paired in windows18:55
gaelheartSyncing... it said. then it said done18:57
gaelheartthat was after i gave it a backup path18:57
icemanhola18:57
gaelheartgonna reboot now and see if it connects in ubuntu18:58
icemanalguien que hable español¿?18:59
tomreyn!es | iceman18:59
ubottuiceman: En la mayoría de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba "/join #ubuntu-es" (sin comillas) y presione intro.18:59
icemanno hay nadie por eso preguntaba19:01
gaelheartrebooted into ubuntu.  didnt connect19:01
gaelheartmaybe go back to windows. re-pair and connect. then run the sudo bt-dualboot --sync-all --backup /var/backup/bt-dualboot AGAIN?19:01
gaelhearthmm19:02
gaelheartgonna try that19:03
gaelheartok. i forgot then re-paired in ubuntu. then mounted the windows partion.  then ran sudo bt-dualboot --sync-all --backup /var/backup/bt-dualboot1. then rebooted to windows and it connected.  then i rebooted to ubuntu and it also connected.  problem solved19:09
gaelheartThank you.  now i won't get irritated19:09
gaelheartthanks leftyfb19:11
quaklorkmgedmin hey. so after transplanting my SSD to my new laptop I had a couple of reboots. The issue I described earlier that as soon as I enter my LUKS passphrase and hit AltGr+Q to create an "@" on the german keyboard layout, persists and I am stuck with VT100 pseudographics als Layout! It is a game of luck and from 10-30 reboots I manage to get the19:15
quaklorkpassword working. It actually got "worse" since today as previously this only happend every other day. But now it happens like all the time. Check https://imgur.com/a/ubuntu-24-grub-luks-zfs-as-soon-as-i-enter-german-layout-altgr-q-output-switches-to-vt100-pseudographics-5rFHz6H to see some photo. Ive also tried CTRL+N and CTRL+O get out of it,19:15
quaklorksame as ^+N and ^+O (wasnt sure if you meant that previously). Nothing helps. As workaround I now added a second LUKS passphrase that does not contain any quaklork "@" character, which works as expected and 100% of the time the new passphrase works. That is super odd behaviour. Any ideas? Or should I report a bug?19:15
quaklorkBTW, the issue persited with GRUB_CMDLINE_LINUX_DEFAULT="splash" aswell, so I am back to GRUB_CMDLINE_LINUX_DEFAULT="" and use plymouth in text-mode19:18
=== y0sh- is now known as y0sh_
quaklorkmgedmin https://discourse.ubuntu.com/t/plymouth-luks-passphrase-hitting-altgr-q-to-create-character-causes-vt100-pseudographic-mode/5074619:41
oerheksaltgr + q gives what character?19:54
oerheksoh, just @19:54
quaklorkoerheks jep just a regular "@" on german keyboard layout19:55
oerheks 20:15
quaklorkoerheks cant see what u typed20:20
oerheksjust a space to see if i crashed20:21
SquareWhat partition tools comes with ubuntu out of the box?20:33
oerheksSquare, gnome-disk-utility20:34
leftyfbSquare: server or desktop?20:34
oerheksand parted20:34
leftyfbon ubuntu 24.04 desktop there's fdisk, gdisk, parted, gparted and gnome-disk-utility20:36
leftyfbhttps://releases.ubuntu.com/noble/ubuntu-24.04.1-desktop-amd64.manifest20:36
Squareoerheks, thanks20:42
Squareleftyfb, desktop20:42
Squareoerheks, does that even have proper partitioning support? Seems very basic20:42
oerheksso, basic, what is wrong with it?20:44
oerheksshould it have a fancy theme?20:44
SquareIt doesn't even seem capable of creating partitions in an empty drive?20:47
ravageIt is capable of doing that20:49
pragmaticenigmaSquare: you'll need to be more specific about what you are trying to do. The tools provided are more than capable of creating partitions.20:49
JanCwhat?20:49
JanCGnome Disks?20:49
JanCyou have to get used to it a bit, but it can do a lot indeed20:52
quaklorksuch basic questions yet human interaction wasting their time. I would suggest you do your own research Square, you received plenty information.20:52
quaklorkgn8 and hf20:52
Squarehttps://imgur.com/a/hecIgkl20:53
Squaresorry.. i prepared an image to illustrate my issue20:53
JanCthat wasn't very nice from quaklork...  :-/20:53
Squareif I click the cog I only get "Format partition...", "Create partition image...", "Restore partition image..", "Benchmark partition..."20:54
leftyfbSquare: and what feature do you feel is missing?20:55
Square"create partition" ?20:55
JanClooks like that disk has no partitioning yet; you have to go to the hamburger men at the top to create that20:55
leftyfbSquare: use gparted20:55
JanCeh, no, not the hamburger menu, the one with 3 dots20:56
JanC"Format Disk..."20:56
JanCassuming they didn't change this since the version I am now looking at  :)20:57
SquareJanC, https://imgur.com/a/kzQZEF220:57
JanCno, the one with 3 dots, not the one with 3 lines20:57
JanC(I'm on a 22.04 system here, I hope nobody changed that, otherwise somebody else will have to check where it is)20:58
leftyfbuse gparted20:58
SquareI'm now using gparted20:59
leftyfbJanC: I don't think disks is meant to create multiple partitions20:59
oerheksdisks can setup an empty disk20:59
JanCthere are things Gnome Disks can't do, there are things GParted can't do, so depends what is best  :)20:59
leftyfbright, but not create multiple partitions20:59
JanCyes it can20:59
leftyfbhow?20:59
leftyfbhttps://imgur.com/a/qAJ5aiM21:00
JanCyou have to create a partition table first21:01
oerheks3 dots, make sure it is unmounted, format disk21:01
oerheksthen you get the option GPT and such21:01
leftyfbah, I see21:02
JanCand then you can create partitions21:02
leftyfbbtw, it's got all the terminology incorrect21:02
JanC(or remove them, change them, etc.)21:02
leftyfb"format" is for filesystems, not partitioning21:02
JanCwell, no, it can mean many things21:02
leftyfbit's actually a horrible tool for this just for that fact21:02
oerhekswell, it is, to choose mbr/gpt21:02
enigma9o7Pull request now please.21:02
oerheksnot logical indeed..21:03
enigma9o7severity:urgent apperantly21:03
JanCit's all "formatting", just not formatting the file system21:03
leftyfbJanC: format refers to the format of a filesystem, fat32, ntfs, ext3, etc. Nothing to do with creating partitions21:03
JanCthere is even a formatting level below that (on the disk firmware level)21:04
leftyfblol21:04
leftyfbthere hasn't been low level formatting in 20 years21:04
enigma9o7low level format?21:04
leftyfbI used to do it21:04
oerheksinstall gparted, maybe more conveniant21:04
enigma9o7good god!21:04
JanCsome disks do have that again now21:04
leftyfbpretty sure that was only needed on old MFM drives21:04
SquareWhat filesystem should one use in 2024 while still mostly caring about things working but not be too conservative?21:05
leftyfbext421:05
leftyfbfor linux systems21:05
JanCdepends what features you want21:05
leftyfb"things working but not be too conservative" = ext421:05
leftyfbkeep it simple unless you know you have specific needs21:05
leftyfbotherwise you are just creating unnecessary complications that you'll have to deal with later21:06
JanCBTW: if this is an OS disk, don't partition it at all & let the installer do it21:07
leftyfboh man, I'm old. It's been about 30 years since we stopped low level formatting drives21:07
leftyfbJanC: +121:07
leftyfbSquare: are you just installing ubuntu?21:07
Squareleftyfb, no. Adding a new drive21:08
leftyfbfor what purpose?21:08
JanCsome modern disks allow "low-level formatting" to change sector size & wipe blocks marked as bad  & such21:08
Squaremore space for all humongous modern games21:08
leftyfbSquare: just format it as 1 ext4 partition21:08
leftyfbthere's no benefit creating multiple partitions in this case21:08
leftyfb"keeping things organized" should be done with directories and/or bind mounts21:09
SquareI always regret not partitioning disks21:09
leftyfbunlikely21:09
leftyfbhow big is the drive?21:09
Square2TB21:09
leftyfb1 partition21:10
Squarewhat if I want to boot into it21:10
leftyfb"[16:08:24] <Square> more space for all humongous modern games"21:10
SquareI could try out some exotic distros21:10
leftyfbyou didn't say you were installing an OS on it21:11
Squareamong other things. I didn't tell you about my hentai collection21:11
leftyfbgood luck21:11
SquareOut of 915 GB in a completely new partition, 870GB are free? What are those 45GB used for?21:39
oerhekssome 5% is used by the system21:50
oerheks.. allocated by privileged processes. Reserving some number of  filesystem  blocks  for  use by privileged processes is done to avoid filesystem fragmentation, and to allow system daemons, such as syslogd(8), to continue to function correctly after non-privileged processes  are prevented from writing to the filesystem.  Normally, the default percentage21:50
oerheksof reserved blocks is 5%.21:50
gordonjcpSquare: if your disk fills up to the point that nothing can write to it, this becomes Very Bad Very Quickly21:51
djshadowengwww.playdanceradio.com21:52
gordonjcpSquare: if your disk fills up to the point that *you* cannot write to it, this remains survivable21:52
oerheksdjshadoweng, lets not spam, thanks21:52
gordonjcpSquare: believe it or not, you can end up in a state where there is insufficient disk space available to delete something21:52
Squareoerheks, thanks21:52
oerheks!coc | djshadoweng21:52
ubottudjshadoweng: The Ubuntu Code of Conduct is the document that spells out etiquette in the Ubuntu community | http://www.ubuntu.com/project/about-ubuntu/conduct | For information on how to electronically sign the CoC, see https://help.ubuntu.com/community/SigningCodeofConduct | Watch http://static.screencasts.ubuntu.com/videos/2010/12/22/004-SigningCoC.ogv21:52
Squaregordonjcp, ouch21:53
pragmaticenigmapretty rare to end up in a situation where you cannot delete a file from disk... usually its an issue of running out of inodes22:10
enigma9o7hate running out of inodes22:11
arkanoidsound on ubuntu 24.04 desktop is crackling a lot. It didn't happen in 22.0422:11
enigma9o7wow, what causes that arkanoid?22:12
arkanoidno idea, trying solutions on the web22:12
arkanoidlike https://askubuntu.com/a/152533722:13
=== Bahhumbug is now known as Scrooge
djshadoweng www.playdanceradio.com22:35
=== runelind_ is now known as runelind
djshadoweng www.playdanceradio.com22:53
gordonjcp!ops djshadoweng22:54
gordonjcpbah, I can't remember the magic incantation22:55
gordonjcp!ops | djshadoweng22:55
ubottudjshadoweng: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant22:55
gordonjcpoh, no that wasn't quite it either22:55
gordonjcpsorry22:55
gordonjcpwell, and they left anyway22:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!