/srv/irclogs.ubuntu.com/2023/10/19/#ubuntu.txt

mcc@leftyfb: that doesn't work because I already remapped that to compose. Hence why I am trying to set up a new shortcut for it00:28
leftyfbdon’t00:29
mccI'm obviously not going to sacrifice an entire key and relearn my muscle memory from WinCompose just to get one low value shortcut.00:31
mccIncidentally I think there is a repro for my large text accessibility bug. I can leave the bugged state and get back in again https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/2039722/comments/700:32
-ubottu:#ubuntu- Launchpad bug 2039722 in gnome-settings-daemon (Ubuntu) "'Large Text' accessibility option cannot be turned off. Text is too large" [Undecided, New]00:32
Eickmeyermcc: With my bug team hat on, I'm escalating your accessability bug to see if the appropriate team can have a look at it. It's highly possible it's already fixed upstream, but I don't know for certain.00:50
tekisuiwhat´s this snap thing ?00:58
tekisuijemand wissen ?00:59
toddc!snap | tekisui01:00
ubottutekisui: Snaps are containerised software packages similar to Flatpaks and AppImages. For more info, see https://snapcraft.io01:00
tekisuidanke01:00
tekisuiinput output01:00
tekisuii have to install it manually now everythime ?01:02
tekisuifirefox started with it01:03
toddc!details01:03
ubottuPlease elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.01:03
toddcubuntu version and desktop ?01:04
tekisuifirefox started using snap with ubuntu01:04
tekisui22.0401:04
tekisuilubuntu01:04
toddcsoftware center for GUI installs or https://www.debugpoint.com/how-to-install-and-use-snap-packages-in-ubuntu/01:07
tekisuihmm, complicados01:07
tekisuimerci01:07
tekisuiam gonna trey turn it off and on again01:08
toddceasy after you do a few and get used to it01:08
tekisuiif you can´t fix it snap it01:10
=== chris14_ is now known as chris14
rfmmcc, Eickmeyer: I updated the bug, I can in fact reproduce it.  It is necessary to turn on large text while running the installer.02:07
Eickmeyerrfm: Thanks for the confirm on that. Those on the appropriate teams will get to it at the appropriate times. I'll probably bring it to their attention at my start-of-day tomorrow.02:10
mccrfm: so on my machine even if i turn on large text *outside* the installer, in the regular settings, it's sticky. do you mean it will only be sticky if during original install large text was on in the installer?02:10
=== esv_ is now known as esv
rfmmcc, yes.  On my machine where I installed without selecting large text in the installer, everything works.02:31
mccrfm: thanks. i see the update in the post now02:35
Eickmeyerrfm, mcc: A great place to discuss bugs is #ubuntu-bugs.02:44
mccThanks02:44
Eickmeyer(We just want to keep this channel strictly to support)02:44
omensup04:14
omenanyone had success in getting "Stability Matrix" working?04:15
rboxwhat is stability matrix04:16
omenits a combined stable diffusion package04:16
rboxwhat?04:16
omeni have stable diffusion running like a CHAMP at this point04:16
omenbut I'd like to try some other AI generaation systems04:17
omenif you try Stable Diffusion I reccomend the git for Automatic111104:18
=== Eickmeyer is now known as Erich
omenif you're on AMD gpu or Intel, use the webml version04:18
omenerrr directml04:18
omen... no stable diffusion users?04:21
omenhow about suggestions for a dist for a chromebook04:22
ice9I need a favor from anyone had a fresh installation of 23.10; I need a list of the programs listed in "Startup Applications Preferences" tool please04:23
omenjust a sex04:23
omenjust the SSH Key Agent, and Nvidia X Server if you have th ebeta nvidia drivers in04:24
omenthe ssh key agent is located at /usr/bin/gnome-keyring-daemon --start --components=ssh04:24
omeni caan ccheck on a lubuntu 23.10 if you want too...04:25
omenor raw debian with the new gnome...04:25
omenI have to many computers04:25
ice9thanks, that's okay04:25
omenI'm really digging 23.1004:26
omeni wish they would include gnome tweaks, extension manager and brave-browser instead of ireffox04:26
omeni need to sort out my keyboard repeating letter issue...04:27
omenbut i think its my kvm shitting the bed04:27
=== Erich is now known as Eickmeyer
bluesantaexit04:36
xu-help12wAs you can see I posted a question a while ago on the xu channel and they said that I stood a better chance of a response here with more users.  Is that the case ? Is this just a case of too low a level question to get any attention and if so where do I go to get help or am I tainted by my user handle ?05:16
Bashing-om!ask xu-help12w05:18
xu-help12wThanks I have that is where I started. zfs is common to both.05:19
xu-help12wSorry I misunderstood give me a second and I will ask again.05:20
xu-help12wHi All.  Thank you for being here and offering help and support (I will do the same if I can).  I have a working mirrored ZFS on root with lots of user installed packages and supporting config under 22.04.02 LTS and would like to copy it to a fresh install of 22.04.03 LTS on new hardware.  Unfortunately I have had a recent disaster where a05:21
xu-help12wsimilar mirrored ZFS on root failed to boot after an unintentianal upgrade. The pools and mount points on both systems are identical with the exception of 22.04.02 LTS where there is an additional dataset 'rpool/USERDATA' mounted at '/home/backuppc'.  Could anyone please suggest what is the safest/recommended way of transerring the old working set05:21
xu-help12wto the new target ?05:21
WaVMy first suggestion would be to back everything up - or at least the stuff you cant afford to lose. Other than that, someone else may be able to help you further.05:25
xu-help12wThank you for your response but the problem is my backup server is where I had the zfs mirrored boot failure so I am stuck with this situation of two pc one new and ready the old has the last remaining setup with data and config that would be very difficult to rebuild from scratch.  In the past I used apt-clone on a PI which worked perfectly  but05:32
xu-help12wmirrored zfs on root scares the hell out of me at the moment.05:32
FruitSaladz21heres a comparison between what i was using and what im using now05:57
FruitSaladz21https://www.topcpu.net/en/cpu-c/intel-celeron-n4500-vs-intel-core-i3-n30505:57
xu-help12wHas anyone here sent an entire system under zfs (bpool + rpool) from one pc to another and if so please could you detail the steps?  It has been suggested that I do it via live media however that does not make sense to me since one can take a snapshot of a running system, do a bodges install and roll it back without ever having to use a separate06:32
xu-help12wboot environment.06:32
oerheksYou can create a pool and use the zpool export06:33
oerheksand zpool import -f <poolname>06:33
oerhekshttps://docs.oracle.com/cd/E19253-01/819-5461/gbchy/index.html06:34
oerhekshow you do that, transport over http or usb, is your choice06:34
xu-help12wThaks.  I cannot physically remove the source because it is m.2 and the destination has none.06:37
oerhekssetup ssh then.06:38
xu-help12wdone06:38
xu-help12wAlthough there is a faster way mbuffer or something like that.06:39
oerheksis faster more safe? i don' t know06:41
xu-help12wThey are on the same hardwired lan and I will be doing this with ups psu when I get home from holiday.06:42
xu-help12wBesides the transport is not my problem.  What is is then exact commands that will work.06:43
xu-help12wSorry the problem is I do not know the exact commands to use.  Can you confirm that if the target and source pc both have working zfs on root that I do not need to boot from live media ?06:45
oerhekstake a read? https://docs.oracle.com/cd/E18752_01/html/819-5461/gbchx.html06:45
oerheks zfs send tank/dana@snap1 | ssh host2 zfs recv newtank/dana ## for example06:46
xu-help12wThank you I have pored over those docs before but still not sure about where live media is required.06:55
oerhekshave fun!06:55
xu-help12wIn the example you show and when the transfer is complete do I just do a restore of newtank/dana ?  What about the boot process and bpool ?06:57
oerheksi think the 1st url i gave, handles that?06:59
oerheksi am still learning/discovering zfs too06:59
xu-help12wI really do appreciate any help that is on offer.  Can anyone shine a light on the standard installed bpool ?07:01
xu-help12wI should mention that the source and destination hardware are very different so I cannot see how sending root to another pc will work.07:03
toddcxu-help12w: assuming both systems are setup and running ZFS you would be just replacing the rool so no issues should happen but with out details ???  I have only repalced the pools on working ZFS systems so I am limited in that area07:06
toddcedit replaceing the pools07:06
oerheksi never transferred it to another system too, just learning now too07:07
lotuspsychjeif it can help to someone, the linuxconfig tuts are always pretty nice; https://linuxconfig.org/install-ubuntu-20-04-with-zfs07:10
lotuspsychjehttps://linuxconfig.org/configuring-zfs-on-ubuntu-20-0407:10
xu-help12wBe very careful is all I can offer.  I lost my backup server because mirrored boot seemed to be not as robust as it makes out to be.07:11
lotuspsychjeno backup, no mercy :p07:13
xu-help12wAll the docs refer to server farms and identical hardware which is not the case at user level.07:13
oerhekshardware is not the issue, GPU and memory and such07:14
oerheksspinner or ssd ..07:14
xu-help12wNot looking for mercy.  Where do you stop backing up backups.  I am a one man band not an international organisation.07:15
xu-help12wnew hardware just EVO SSD old hardware EVO m.207:16
xu-help12woerheks: Thank you.  I do not think I have any special drivers but I installed 22.04 with zfs on root back when it was first released so cannot be 100% sure.07:22
xu-help12wAlso target kernel is 22.04.03 LTS and source is 22.04.02 LTS.07:23
xu-help12wWhat if I send my home and use apt-clone to install the user packages ?07:40
oerheksif the target is older, only metapackages would work. not individual packages with version numbers.07:41
oerheksthis is why i keep a list of installed metapackages, and additional plugins.07:42
xu-help12wThanks but what does that mean (metapackages) ?07:42
oerheksMetapackages describe a set of packages that are used together07:43
xu-help12wApt-clone went like a dream from Pi to PI.07:43
xu-help12wSo just the name of the package to install not a specific version ?07:44
oerheksexampl: ubuntu-desktop07:45
xu-help12wlike geany or influxdb ?07:45
oerheksno need to add gnome-terminal and such07:45
zetherooHow to disable the fingerprint authentication method when the laptop lid is closed?07:45
guivercxu-help12w, I'd describe metapackages as packages without actual programs/files inside; but by being installed ensure other packages are (or get) installed07:46
oerhekszetheroo, AFAIK you need to check /etc/systemd/logind.conf, check out gnome-tweaks ?07:49
zetheroooerheks: Ok, I just also realised that there are no fingerprint-related setting in Ubuntu Settings.07:50
oerheksi don't know, i have no device like that.07:51
oerhekshttps://help.ubuntu.com/stable/ubuntu-help/session-fingerprint.html.en07:51
zetheroonothing in gnome-tweaks either07:51
oerheksactivities > users07:51
zetherooYeah, that's where is was before, but now there are only two fields under Users > myuser: 1. 'Password' where you can reset your user password. 2. 'Account Activity'07:53
zetherooScreenshot: https://ibb.co/Bq5Fv6607:54
zetherooOh, that Ubuntu docu is for 23.10. I am using 22.04.07:59
zetherooStrange thing is also that the fingerprint enrollment options were there in the GUI before.08:00
xu-help12wTo get a list of user installed apps I found this 'comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)' from 2014.  Does anyone know if this will pickup all user installed apps with current versions of apt ?08:31
nteodosioWhat does current versions of apt means, xu-help12w? Apt should have only one version installed.08:39
xu-help12wI mean in comparison to apt from 201408:39
nteodosioAh well, there's a lot to unpack there but yes it should work.08:41
nteodosioThe only apt call is apt-mark showmanual which surely does what is intended forever.08:41
xu-help12wThe source https://askubuntu.com/questions/2389/how-to-list-manually-installed-packages mentioned that 'Very few packages still fall through the cracks, although I suspect these are actually installed by the user, either right after the installation through the language localization setup or e.g. through the Totem codec installer. Also, the08:44
xu-help12wlinux-header versions also seem to accumulate, even though I've only installed the non version-specific metapackage.'08:44
xu-help12wI no space for any doubt at the moment.  Would this still be the best way in 2023 ?08:45
=== alkisg_irc is now known as alkisg
nteodosioI would only absolutely trust a pen-and-paper tracking down of manual packages installed.08:47
nteodosioIt's a tricky term in the edge cases.08:47
xu-help12wIn the absence of a written logbook is this the best/most accurate ?08:49
xu-help12wAlso I was hoping to pass the list to apt. My source pc shows 64 apps. I recognise most of them.08:51
nteodosioI do not make that claim. The best or most accurate in an infinite set of possible solutions is best left to mathematics. (:08:54
nteodosioIt does look the best that you have, given that many eyes examined the solution in that forum.08:54
xu-help12wapt-mark showmanual lists nearly twice the number 116 ?09:01
tomreynthat's a statement, not a question.09:02
xu-help12wOK why are they so different09:04
nteodosioWhat do you mean, nearly twice the number 116? It lists about 200 packages? And why is that a problem?09:05
xu-help12wHaving lost the ability to boot my backup server (mirrored zfs on root) I am faced with having to manually copy each pc that was on the backup server to more reliable hardware.09:07
xu-help12wI have tried asking via zfs send receive but am concerned that the bpool will render the destination un bootable like my server.  So I have a new pc with 22.04.03 ZFS on root and was considering send/recv my home and generate a list of installed packages on my source machine to the use apt on that list on the target to install the apps and09:12
xu-help12whopfully pickup their config from my home.  When I run the script (which I do not fully understand it generates 64 apps.  When I run apt-mark showmanual it lists 116 apps.09:12
xu-help12wnteodosio: Your system is obviously different. I ask why does 'comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)'  generate a list that is nearly half the length of apt-mark showmanual on its own with out filtering ?09:18
tomreynbecause this is a different command, which applies filtering, as you just mentioned.09:19
xu-help12wSorry I do not understand the long piped script.09:19
tomreynit filters against the contents of /var/log/installer/initial-status.gz09:19
xu-help12wPretty obvious but what is being filtered out.09:19
tomreynall that's listed in this file, if installed09:20
xu-help12wwhat on earth is /var/log/installer/initial-status.gz09:20
tomreynthe file contains a list of packages that the installer installed (and marked as manually installed)09:20
xu-help12wMy source pc is 22.04.02 LTS with x number of manually installed packages.  My target is 22.04.03 LTS brand new install. Both under ZFS on root.  Would it be the safest to go with the latter longer list ? Would apt just skip any that are already installed by the installer ?09:23
tomreyn"apt install ..." would just point out the fact that packages that are already installed, and would makr them as manually installed (and say so) if that's not already the case.09:25
xu-help12wThank you.  Can I ask do you have zfs on root and have you ever copied all pools to new hardware without moving SSDs ?09:30
xu-help12wtomreyn: Sorry I am new to irc so please excuse my clumsiness. Thank you for your input.  Can I ask do you have zfs on root and have you ever copied all pools to new hardware without moving SSDs ?09:35
tomreynxu-help12w: i have no experience with zfs on root09:41
xu-help12wThank you, it seems like not many in userland have and all those in server farm land are too far up the food chain to even reply (other support forums not this one).09:44
xu-help12wAnyone else here with zfs on root who have copied rpool and bpool to new pc ?09:47
gordonjcpxu-help12w: zfs on root is a bit of a tricky one but you ought to be able to just export the pool and import it to a new disk09:49
xu-help12wgordonjcp: Thank you.  Does that require removing the SSD holding the exported pools ?09:51
gordonjcpI wouldn't have thought so09:54
gordonjcpyou'd have to have a drive with the pools to export, and a drive set up to receive the export09:54
gordonjcpyou'll need to make sure they haven't got the same name09:55
oerheksxu-help12w, you earlier said moving the m2 cannot be done.. also i gave docs howto export and send over ssh.09:56
oerheks?09:57
=== live is now known as vjadmin
xu-help12wgordonjcp: The m.2 is my last working setup so I could pull the target ssd from there and attach it to the source.  What do you mean about the same name ?09:57
vjadmin343243dfgdf609:57
gordonjcpxu-help12w: the zpool will have a name, if you've got two the same that's not going to work09:58
xu-help12woerheks: Sorry I missed that.  Is this where live boot is required on the source pc ?10:00
xu-help12wgordonjcp: so I will end up with two sets of pools on the target pc with bpool and rpool and the imported bpool_new and rpool_new is that correct ?10:03
xu-help12wassuming of course I name them so.10:04
oerheksyou might want to reask in #openzfs or #zfs?10:05
xu-help12wBeen there also tried tried zfsbootmenu three times but no joy.  I get bounced to ununtu by those who only deal with server farms.10:08
xu-help12wBut thank you for the suggestion.10:08
gordonjcpwell, the principle would be the same on a server as on anything else10:08
gordonjcpwhy do you think that would make a difference?10:08
xu-help12wgordonjcp: On my precious still standing source pc if I do an export of the running system wont it be busy or crash ?10:11
xu-help12wI seem to be too small a fish to get any real help tn those circles.10:13
gordonjcpxu-help12w: you probably need to look into snapshots10:13
gordonjcpxu-help12w: zfs is a fairly complex thing to get your head round, and mostly you won't need it.10:13
xu-help12wYes I thought that too and as for complexity it well exceeds my capability.  If  I snapshot bpool and rpool on my source and send to destination PC.and do a restore at the destination PC what do I restore first bpool snamshot of rpool ?10:17
xu-help12wAnd will it boot ?10:17
xu-help12wSorry typo should I restore bpool snapshot or rpool snapshot.10:19
xu-help12wfirst10:19
oerheksi guess bpool (boot) first10:22
oerhekshttps://askubuntu.com/questions/1444113/what-is-the-purpose-of-an-bpool-partition-in-zfs-and-what-does-it-contain10:22
xu-help12wThanks I will go and read.  To be fair to the other sources of help zol etc. my main problem was loosing the ability to boot.  They say the bpool UEFI partition arrangement is ubuntu specific.10:25
xu-help12woerheks: Thanks I presume I can restore bpool then rpool and then boot.  Otherwise the received bpool will not fing the right kernel untill rpool is restored.10:31
xu-help12wCan anyone confirm this assumption or suggest other sequences.10:32
xu-help12wSorry I meant the right kernel that is a match for the rpool10:35
dge_after 3 days to search to find how to cross-reference some files that dpkg or apt-get or apt created from foreign repo installation, i still not able to see the point to just list the installed foreign packages. I mean, not from command line, but from files (inside a Go code, so 0 shell command call). It looks like a nightmare. How does apt or what ever to find this list with 100% accuracy ?10:37
dge_if you knw someone i can ping to provide an accurate information about that, it would be very nice. Thank you.10:38
tomreyni guess the short answer is: it doesn't, that's why there are a couple separate tools which try to achieve the same.10:39
oerheksubuntu-security-status # gives a list10:40
oerhekspro security-status --thirdparty ## gives a list with foreign packages.10:40
tomreyndo-release-upgrade must have some routine to determine what it thinks are foreign packages, because it lists them during upgrades.10:41
oerheksro security-status --help ## for more option10:41
oerheksc/pro security-status --help ## for more option10:41
tomreyni'm not certain that the definitions of "foreign packages" are the same by these, though10:41
oerhekssee unknown for the rest of them?10:41
elfranneI am getting apt update stuck for days, I can kill the process so solve the issue but it comes back... What can I do to find what is making it stuck ?10:42
tomreynoerheks: yes, this may work (not sure, but a good suggestion)10:43
oerheksalso snap list10:43
tomreynelfranne: does "apt-get update" print any "W:" or "E:" or "Warning" or "Error" lines?10:44
tomreynwhere does it get stuck?10:45
tomreynare any media or file system errors reported on your kernel log?10:46
elfranneThe apt update is started from a 3rd party application (Puppet), I can't see any errors, other than E: Could not get lock /var/lib/apt/lists/lock. [...]10:49
oerheksthat lock means updates are pending in the gui updater?10:49
elfranneand strace the process gives: pselect6(12, [5 6 7 9 11], [], NULL, {tv_sec=0, tv_nsec=500000000}, NULL) = 0 (Timeout)10:50
elfranneit's on a headless/server install10:50
cbreakthere's either an other apt / update process running, or it crashed some time before without removing the lock10:51
elfranneI can see the process running, in ps10:52
elfrannebut what can i do to find out what is going on ?10:52
tomreynunless you can access its tty, not much10:55
tomreynyou could try stealing that with reptyr -T10:55
elfrannereptyr , let me look into that10:56
cbreakyou could take note of the command line it was invoked with, kill it, and run it yourself.10:57
cbreakmaybe you get comparable output... :)10:57
elfrannethe command is just "apt update", my guess might be some network issue no idea ...10:58
xu-help12wHow can I add 22.04.02 LTS to the bpool on a sparkley new 22.04.03 LTS so that grub will offer up a choice at boot time ?10:59
xu-help12wAny one done this ?11:00
cbreakxu-help12w: I gave up on the bpool / rpool split and merged them last year. Much nicer, and doesn't use grub11:02
cbreakbut the process is quite involved11:02
cbreakI now have several datasets with different ubuntu versions, and I can boot any of them, roll back, ...11:03
cbreakhttps://github.com/zbm-dev/zfsbootmenu11:03
xu-help12wHi cbreak,  I have tried to get zfsbootmenu with debian 12 several times bot it never worked for me.11:05
cbreakIt only works if you have a / dataset that includes /boot and kernels and so on11:06
cbreakso what I did was to copy my old bpool to /, along with all the other system datasets that ubuntu's installer created.11:07
cbreak(only ones I kept were the separate USERDATA and some others I made myself11:07
cbreakI use refind to boot into ZBM, and ZBM to boot into ubuntu11:08
cbreakworks with an encrypted pool too :)11:08
xu-help12wWell I came unstuck with all that chroot stuff and I could not build a live Debian 12 that had zfs in the kernel even following their custon live medial docs.11:08
cbreakbut yeah, with grub I haven't had any success11:08
cbreakah, that's the nice thing with ubuntu: It has zfs already :)11:08
dge_oerheks, tomreyn, thank you to try to help. 0 shell command is meaning that i will not use command line call at all from my Go code. That is why i specificaly asked and searching for "which files/databases to cross-references to find foreign deb like repo installed". Foreign is meaning there that it is not from official repo from the distro, but some that has been added inside repo files "*.list" from /etc/apt/sources.list.d/ directory.11:09
oerheksdge_, thanks for reporting back11:11
oerheksso, unknown is foreign package, without repo added11:11
dge_if i got foreign without unknown as your definition, it is ok. Only foreign in the way that there repos are listed inside /etc/apt/sources.list.d/ directory.11:12
dge_i don't know what can be the international standard well appelation (if you know, teach me like that i can be more clear when i ask something).11:13
xu-help12wcbreak: I was surprised to find a mirror did not have identical contents on each partition.  Especially EFI and EFI1.11:15
cbreakthe efi partitions are not part of the mirror11:16
cbreakthey're just separate partitions11:16
tomreyndge_: i did understand your request of having a means to determine what foreign packages are installed without running a sub process. i don't have an answer (other than suggesting which other applications' code you could look at and copy from / use as a baseline for your Go code). My point was that there are, apparently, different understandings of what "foreign" means exactly (thanks for clarifying yours).11:20
dge_yes, i understand.11:22
cbreakdge_: isn't there a library for this, like libapt-pkg?11:23
dge_to show my research and what i did try (withous 100% success) is to try to cross-ref: /var/log/apt/history.log.*.gz and /var/lib/dpkg/status file and /etc/apt/sources.list.d/ant_repo_files.list.11:24
tomreyndge_: to me, "foreign" can refer to packages or *package versions* (which may be the same package name as what is available in ubuntu main/universe/multiverse) from either currently configured (i.e. considered as installation candidates by apt) or currently *not* configured (i.e. *not* considered as installation candidates by apt) third party / ppa repositories11:24
dge_cbreak, ho maybe... i don't know.11:24
dge_tomreyn, i would be ok to use what evere you think can be the best appelation for what i'm trying to get.11:25
dge_cbreak, it can be a good idea to import a module or use a library api. I'm going to search this way.11:26
tomreyndge_: this is what eas my understanding a while ago: https://github.com/tomreyn/scripts#foreign_packages - but the tooling oerheks suggested above *may* actually be better.11:27
xu-help12wcbreak: If one was to create an ubuntu with zfs on root mirror after an initial install how do you populate the EFI /boot partitions so they are both bootable drives should one fail ?  Without doing so leaves a fragile setup.11:28
oerheksubuntu-support-status is now  pro security-status11:28
dge_tomreyn, maybe i missunderstood at some point, did oerheks suggested some libraries that can be used from a code or is it kind of "tools" that is a shell command call (that is definitely not a practice i will go with) ?11:30
oerheksgot this from https://jugmac00.github.io/til/how-to-check-support-status-for-installed-packages/11:30
tomreynmostly scripts, probably written in python11:30
cbreakxu-help12w: what I do is to rsync the working efi to the other one11:31
cbreakafter that I have two working efi :)11:31
cbreakjust have to be registered with efibootmgr command line11:31
cbreakxu-help12w: the /boot directory is not a partition, it's just a directory11:31
cbreakwith zfsbootmenu it must not be a separate dataset11:31
dge_tomreyn, call some script from a source code... you know that this is a very dirty practice, right ?11:32
cbreakdge_: happens all the time in shell scripts :)11:32
tomreyndge_: as i already suggested, you could rewrite the functionality in your preferred language, as a library or part of your application11:32
xu-help12wcbreak: Could one just dd the /boot and EFI partitions ?  I thought zfsbootmenu was great but I could not get it to work.  I am looking for a mirrored root that can boot from either drive.11:33
tomreyn(with the obvious drawback, that you'll need to keep it in sync in terms of functionality)11:33
dge_tomreyn, yes sure, as long as i know where to cross-ref searching things, i will. But use a C library is also a good idea and possible with Go.11:34
xu-help12wSorry efibootmgr is not zfsbootmenu my mistake.11:34
cbreakxu-help12w: without zbm, you have to rely on the grub ubuntu stuff11:35
cbreakI don't know how to make that thing work properly11:35
cbreakbut you would not use dd with it11:35
cbreakyou'd zpool attach additional devices to make it a mirror11:36
dge_imagine that is inside the var/lib/dpkg/status file , or also inside any histoory.log files, there is just one more tag to indicate the repo name... OMG !!! it would be so helpfull. Why not do that ?11:36
cbreakand manually sync the efi partition too11:36
cbreakbut since grub's config file is incomprehensible, I don't know how to actually make that work11:36
dge_subtitue is by is on my last sentence.11:36
dge_by if... waaaaaa11:36
oerheksdge_, status is checked against the repos?11:38
oerheksnot locally, i presume11:38
xu-help12wYes I did that and all seemed ok till a power cut broke the boot process.  The zfs docs obviously have nothing to do with the boot process and this leaves a gaping newbe hole to fall into.11:39
xu-help12wCan anyone here point me to a detailed description of zfs on root boot process ?11:40
cbreakit roughly is efi -> grub -> mount bpool -> run kernel / initrd on bpool -> import rpool -> mount / and boot to it... with lots of stuff in between11:41
oerheks:-)11:41
xu-help12wparticularly how to add another kernel option shown at boot time ?11:41
cbreakthat would be the grub config part... way too complicated :/11:42
cbreakubuntu will add new ones automatically if you make a kernel upgrade11:42
xu-help12wso how does it do that and is it documented ?11:43
oerheksenter grub menu like a normal install? hold shift or esc11:49
oerheksand why would you do that? are you writing a manual ?11:51
cbreakI think the problem is adding other entries manually11:52
tomreynthat's what /etc/.grub.d/4* and /boot/grub/custom.cfg are (or can be) for (normally, not sure whether they'd work in a zfs on root context)11:55
ice9dock icon notifications count is a gnome-shell feature or Ubuntu extension?12:02
xu-help12wHi oerheks, thank you.  Presumably the process of adding a kernel would be the same as when following chroot instruction for zfs on root ?12:02
oerheksis this a bot?12:03
xu-help12wis that a sarcastic comment?12:04
xu-help12wI am sorry but I have said I am new to irc so do not know who is replying to who sometimes.12:06
tomreynxu-help12w: so, we're all volunteer here. some of us are happy to give you a hint if you get stuck with something, but it's rare that someone will want to hand-hold while you're going through a process which is rather complex, while there are other, much less complex options, available. don't try to achieve the perfect solution, go with something that is easy enough, and then test more complex setups in a VM or container and take notes on how12:13
tomreynyou achieved what you wanted there.12:13
tomreyna good first step in using irc is to install an irc client.12:13
xu-help12wHi tortillasandwich thank you.  I am fully aware all are volunteers and I have been as polite as possible however it does not seem to be a mutual.  I also do lots of support in other forums and have never dissed a newbe.  I am simply trying to get an angle (any angle) to tackle my problem.12:18
xu-help12wtomreyn: Was 'is this a bot ?' aimed at me ? If it was then I think I deserve an apology.  I read the rules of conduct and would expect others to adhere to those as well.12:22
BluesKajHi all12:23
=== EriC^^ is now known as Guest8621
=== Guest8621 is now known as EriC^^
oerheksxu-help12w, my apology for that, you just go so deep into zfs, that i wonder if you are writing a manual or just an unregistered user chatbot ( we had them before)12:24
xu-help12wHi oerheks, thank you, apology accepted.  I am diving deep because that seems the only way to get to the bottom of my plight. I have lost the ability to boot my backup server with mirrored zfs on root.  This is a massive deal for me. It is not like I have not read the docs or tried different things or different forums.  I am over a week into12:30
xu-help12wthis nightmare so pleas cut me some slack.12:30
=== EriC^^ is now known as Guest8516
=== probableUser_ is now known as NullHasValue
=== Guest8516 is now known as EriC^^
ArsimaelHey everyone. I am having a bit of a problem here. I am running Ubuntu 22.04 and I want to get notifies if someone opens a ssh connection to my machine.12:49
ArsimaelHow can I do this? every solution I can find doesn't work, since I'm running on wayland.12:50
EriC^^Arsimael: notify-send doesnt work on wayland?12:51
Arsimaelnot if I remote ssh in with a different user12:52
EriC^^Arsimael: why dont you run the thing that checks for ssh connections from the main one where you want the notifications sent to?12:53
leftyfbArsimael: why do you have a desktop where you're allowing other people to SSH in and why do you need to know when they do?12:53
ArsimaelWork laptop. And the ppl remoting in are "support agents"12:54
ArsimaelWhich have the annoying habit of fixing my device to death...12:54
leftyfbturn off SSH?12:54
Arsimaelthen the "complaince checks" which are also performed via ssh are not working and I am getting kicked off the network completely12:55
oerheksThere is no package or option for that, write a script like this? https://radiohost.gr/enable-ssh-login-notification-on-linux-ubuntu-debian/12:55
ArsimaelThats an email notofocation. I COULD do that, but a desktop notification would be more recent.12:56
Arsimaeland the system's there. if I run "notify-send" from _MY_ user, it notifies me.12:57
leftyfbthen add that to your script12:57
Arsimaelbut even if I run sudo -u myuser notify-send Blah - All I get is "Permission denied"12:57
leftyfbdon't12:58
leftyfbwhy are you running as sudo?12:58
ArsimaelNot running as sudo is also not working12:58
oerheks> https://medium.com/@ikerib/get-a-notification-when-someone-connects-via-ssh-on-ubuntu-8d42f7c11f8b12:58
ArsimaelDISPLAY=:0 /usr/bin/notify-send <-- Not working under wayland...12:59
leftyfbArsimael: why are you specifying the display?12:59
oerheksnotify-send works fine here, * without sude13:00
ArsimaelI don't thats the line from the tutorial oerheks posted.13:00
oerheksc/sudo13:00
leftyfbnotify-send  "test"13:00
leftyfbjust run that13:00
oerheksit shows briefly ..13:00
Arsimaelnope. if I remote ssh into a my machine and simply run notify send without any sudo, dislpay or anything, I get: "Error calling StartServiceByName for org.freedesktop.Notifications: Process org.freedesktop.Notifications exited with status 1"13:01
oerheksnotify-send -u critical -t 0 "test"    stays until you click it13:02
oerheksah, via ssh.. you did not mention that13:02
leftyfbArsimael: why are you ssh'ing into a machine you are already logged into the desktop with?13:02
Arsimaelleftyfb, because I want to test if I get notified if anyone logs in via ssh.13:03
=== EriC^^ is now known as Guest5423
leftyfbArsimael: how are you going to see the notification on the desktop if you are only logged in via ssh?13:03
=== Guest5423 is now known as EriC^^
ArsimaelI have a laptop from work, with ubuntu 22.04. I work with this thing. We have Support people which tend to login to these devices via SSH without informing us. I want to get notified if they login.13:06
ArsimaelThey use a different support-only account they have.13:06
leftyfbArsimael: you haven't answered the question. How are you going to see the desktop notification if you are only SSH'd to the laptop?13:07
oerheksI see no way to alert you via ssh, so email it is.13:08
leftyfbArsimael: you want to be notified within your ssh session?13:09
EriC^^Arsimael: ssh_count=$(grep -c "ssh.*Accepted" /var/log/auth.log); while sleep 4; do new_count=$(grep -c "ssh.*Accepted" /var/log/auth.log); if [[ $new_count -ne $ssh_count ]]; then notify-send "someone logged in ssh"; ssh_count=$new_count; fi; done13:09
EriC^^that should work, it only looks or ssh...Accepted for pubkey, not sure what's written in the log for password logins, you could modify to look for both if it's different13:10
EriC^^and change the sleep 4 to a higher number13:10
_yo13:10
=== _ is now known as Guest3243
Guest3243yo13:10
Guest3243i broke the apt update13:11
Guest3243i mean13:11
Guest3243i deleted all sources list / keys13:11
KadiganGuest3243: why would you do that? :D13:11
oerheksleftyfb, perhaps wall ? https://www.geeksforgeeks.org/how-to-send-a-message-to-logged-users-in-linux-terminal/13:11
oerheksand triggered with MOTD ?13:11
ArsimaelI am working on my laptop. With a desktop. Having applications open and do stuff...13:12
Guest3243@kadigan tried to installing anydesk13:12
Guest3243and13:12
Guest3243i13:12
leftyfbArsimael: then don't test the script over ssh13:12
KadiganGuest3243: does this help at all? => https://askubuntu.com/questions/124017/how-do-i-restore-the-default-repositories13:12
Guest3243lemme see13:12
Arsimaelleftyfb, how shall I test it then?13:13
leftyfbArsimael: why opening a terminal emulator on your desktop like any other application13:13
ArsimaelI want to get notified if someone does a ssh login. How shall I test if I get notified if someone logs in via ssh without sshing into my machine?13:13
Guest3243already done that method but it doesnt work @kadigan13:13
Guest3243i need a key13:14
Guest3243key fil13:14
Guest3243file13:14
EriC^^Arsimael: from your main desktop, from any terminal like leftyfb suggested, you dont have to be logged in via ssh to test for ssh logins13:14
leftyfbArsimael: you can login to test the script, but don't run the script via ssh. Open a terminal on your desktop to run the script13:14
Guest3243" NO PUBKEY " @Kadigan13:14
leftyfbGuest3243: what directory/file exactly did you delete and how?13:14
Guest3243i deleted the content of sources.list13:15
leftyfbGuest3243: what release of ubuntu?13:15
Guest324322.0413:15
Guest3243i tried fixing with software and updates official app but it give me error13:15
Guest3243" no pubkey "13:15
Guest3243can't even do apt update13:16
leftyfbGuest3243: https://termbin.com/p7kl   repopulate /etc/apt/sources.list with that13:16
oerheksthere is a copy in /usr/share/doc/apt/examples/sources.list13:16
oerhekscopy it back, enable universe again13:16
JanCArsimael: do you have root access to that laptop?13:16
leftyfboerheks: mine is much cleaner ;)13:16
Guest3243alr thanks13:16
ArsimaelJanC, yep13:16
JanCso you can configure the sshd on it to do pretty much anything you want on a login13:17
Guest3243@leftyfb , it doenst want to fix13:18
leftyfbGuest3243: run this:       sudo apt update | nc termbin.com 9999     # then post the resulting URL here13:19
oerheksGuest3243, how did you delete keys too???13:19
Guest3243idek13:19
oerheks🤔13:19
Guest3243https://termbin.com/qnmo13:19
Guest3243u will not understand cuz is italian13:20
leftyfbGuest3243: remove the opera PPA repo in /etc/apt/sources.list.d/13:20
Guest3243alr13:20
leftyfbDO NOT delete everything in /etc/apt/sources.list.d/13:21
Guest3243there's only the opera13:21
Guest3243repo13:21
JanCincluding send you a message through IRC, jabber/bonjour, whatever; using notifications probably only works when you are within the same login session as the DE13:21
=== Guest3243 is now known as _
=== _ is now known as Guest4515
Guest4515wtj13:23
Guest4515wth13:23
Guest4515irc client just died13:23
Guest4515btw im the " no pubkey " guy13:23
leftyfbGuest4515: removing the opera repo should have resolved your error13:23
ArsimaelJanC, I don't have proiblems with getting scripts and tools to run, I have troubles getting tools and scripts to do what I want.13:24
Guest4515it doesnt work13:24
JanCArsimael: another option is to run a simple "daemon" on the desktop side that listens to messages over a socket & then sends a notification...13:24
leftyfbGuest3243: run this:       sudo apt update | nc termbin.com 9999     # then post the resulting URL here13:24
Guest4515https://termbin.com/5ifh13:24
ArsimaelTBH, I don't think running a whoile daemon, or a logfile crawler or whatnot is necessary if I have a specific event.13:25
JanCArsimael: I suspect the problem is the login session; notifications use dbus, which blocks access from outside the login session, even from the same user, IIRC13:25
oerheksreinstall ubuntu-keyring13:25
JanCthe "daemon" could be as simple as a bash script reading from a fifo probably  :)13:25
ArsimaelCurrently I have a script that drops ssh users into a tmux shell which records everything. IF thats possible, there must bne a way to send a simple "ping" to the notification daemon of gnome...13:25
leftyfbJanC: to use notify-send, then should be running the test script from a terminal from the DE session. Not over SSH13:25
oerheks!info wall13:26
ubottuPackage wall does not exist in mantic13:26
oerheksoh13:26
JanCwall is installed by default13:26
Arsimaelleftyfb, I don't run that script from an ssh session, I just login to trigger that script.13:26
JanCor not; it's part of bsdutils13:27
oerheksJanC, ah indeed, one just to configure https://www.geeksforgeeks.org/how-to-send-a-message-to-logged-users-in-linux-terminal/13:28
JanCor 'nwall'13:28
leftyfbArsimael: how exactly do you currently have your system configured to trigger a script when someone ssh's in?13:31
ArsimaelForceCommand in /etc/sshd_config13:31
JanCprobably ssh's built-in hooks13:32
leftyfbArsimael: ok, so that is running as the other user who is logging in. That would not be the right way to do this13:33
leftyfbArsimael: you also left out that critical detail13:33
ArsimaelI also tried modifying pam to run a script, did not work out.13:34
leftyfbArsimael: you want a script that polls your ssh logs and then notifies13:36
ArsimaelI don't wan't a script which runs permanently in the background and waits for an event to happen, If I already have a trigger which goes off when the event is happening.13:38
leftyfbArsimael: so you want to rely on the individual user accounts to run something to notify you? Giving them access to your desktop?13:39
leftyfbbecause that's what ForceCommand does13:39
ArsimaelIt's just one specific account I need to supervise. And I know it's a shitty soluition. But I am working on a shitty, misconfigured, mangled and crippled os...13:40
leftyfbok, with that attitude, good luck13:41
ArsimaelNot talkign about ubuntu, talking about the "customisations" my Employer did to it. (Just to be clear)13:41
JanCit's fine if the script runs as the other user as long as it can access a public resource13:41
leftyfbArsimael: the only way ForceCommand would work is for the other account to have the ability to run a script as your user and writing to your desktop resources13:42
ArsimaelIt has.13:42
Arsimaelthe remote account has full sudo access without any password protection.13:42
ArsimaelThat's what I meant with "shitty" and "misconfigured" by the internal It folks in my company...13:43
stennono public key auth?13:45
Arsimaelnope13:45
stennoyou can just login as root without password?13:45
stennook hhe13:45
Arsimaelrandomized passwords baby...13:45
leftyfbrandomized once != random13:46
Arsimaelthey can login via ssh and then do a "sudo -i" without a password.13:46
oerheksArthey must have a key then13:47
KadiganArsimael: since you're working from a lost position, why not just bodge it? Have a script run on SSH login that inserts login name into a DB, with timestamp. Then on the other side, poll for changes.13:47
Arsimaelnah, thats an own TOTP like solution which changes every 5 minutes.13:47
ArsimaelComplöetely nuts and overengineered...13:47
leftyfbyeah, because what you're trying to do is very straight forward and easy to accomplish otherwise13:48
leftyfbyou have solutions, you refuse to do them13:48
JanCI wonder if this still works... https://askubuntu.com/questions/10294/run-system-script-on-ssh-login-and-or-logout/10371#1037113:48
leftyfbJanC: it still has the same issue13:48
JanCKadigan: no need for a database when you can just use a fifo or such...13:48
leftyfbJanC: for desktop notifications, the remote user would need to run a script that writes to Arsimael's users desktop session13:49
Arsimaelleftyfb, which solutions? I got solutions to run a script in the background which notifies me, or running tools which don't work under wayland. The Trigger is not the problem. I don't need help in starting a script. I need help in pushing an information to a desktop notification in a prominent way.13:50
leftyfb"I got solutions to run a script in the background which notifies me"13:51
leftyfbdo that13:51
Arsimaelleftyfb, exactly. the remote user has root privileges. But whatever I try, I get eigher permission denied, or "fail"13:51
JanCArsimael: desktop notifications don't work from outside the session13:51
ArsimaelJanC, ok, is there a way to make them work?13:52
JanCyou need "something" inside the session for that13:52
JanCmaybe a screen/tmux session started from within the desktop could work13:53
ArsimaelI have to run a demon from weithin my userspace - In my desktop session - to get notifications. There is no other way to get notified?13:53
JanCif you can attach to it13:53
leftyfbArsimael: maybe forget about the desktop notification. Use email or a push notification. But for both, and the way you want to do it, you would still need to give the other user full access to the ability to send either13:54
JanCdo you use -i and -u when you use sudo?13:54
KadiganArsimael: hmm... I mean, you usually want something running user-side as the recipient & manager of the user-side of things... I mean, if something is *sending* a message, there needs to be a recipient to *receive* it.13:56
JanCKadigan: there is, it's just not accepting anything from outside the session  :)13:56
KadiganIs that by design, by any chance?13:57
ArsimaelI thought notify-send was intelligent enough to realize "Hey, I am on the same machine, someone wants me to notify them if something happens"13:57
JanCyes13:57
KadiganSo there are three ways here: a) use something that wasn't designed for this, b) use something that was explicitly designed to prevent this, and c) use an entirely new thing13:57
Kadigan... :D13:58
JanCArsimael: did you try sudo's -i option when changing user?13:58
ArsimaelI am thinking about... what is notify-send used for? If I can't even use it in scripts in the background if I do not start them from my own uisersession, it seems to be quite useless...13:58
ArsimaelJanC, only when I need an interactive shell.13:58
leftyfbArsimael: notify-send is not a messaging system. It's a desktop session notification system13:58
oerheksArsimael, you claim it does not work with systemd. it does13:58
KadiganJanC: so I guess the DB intermediary idea isn't complete rubbish after all, if what exists is meant to explicitly NOT do this.13:59
Arsimaelleftyfb, But what's it use concept?13:59
leftyfbdesktop notifications13:59
leftyfbI use it all the time from scripts I wrote13:59
leftyfbit works perfectly fine (other than that annoying bug that ignores timeouts)14:00
JanCnow that I think about it, it might be possible to trigger a systemd user service somehow...14:00
Arsimaelfor what? The only use I can see for this tool is to open a terminal and type messages top myself...14:00
JanCKadigan: why would you use a database if you can just send something through a fifo or a socket?14:00
EriC^^is there something similar to xhost for wayland and that helps maybe?14:00
oerheksnotify-send -u critical -t 0 "test"    stays until you click it14:00
ArsimaelAh. ok. If you run own scripts from terminals... ok. there is a usecase.14:01
EriC^^Arsimael: try "xhost +" as a test14:01
oerheksrun it from MOTD14:01
leftyfboerheks: yup, I know that one14:01
EriC^^and see if DISPLAY=:0 notify-send works14:01
leftyfbEriC^^: it's not always :014:02
Arsimael"xhost:  unable to open display """14:02
leftyfbArsimael: as your user14:02
leftyfbtry :114:02
Arsimaelsame problem: Wayland says "no"14:02
Arsimaelah "access control disabled, clients can connect from any host"14:02
oerheksThis error is produced by the xhost14:06
Arsimaelyes14:06
ArsimaelI think I use the email approach and try to set a rule in evolution which highlights that mail. It's a delay but at least it's a notification.14:07
ArsimaelOr does anyone knows a "push service" whcih I can host by myself?14:08
ArsimaelOr does anyone know a "push service" whcih I can host by myself?14:08
Arsimaeloops -  bad habit. sorry.14:08
leftyfbArsimael: there's multiple14:10
leftyfbArsimael: https://github.com/binwiederhier/ntfy https://github.com/gotify/server/14:11
JanCI was just thinking: maybe create a oneshot systemd user "service" that runs notify-send, and trigger that from ssh using sudo -u14:13
ArsimaelJanC, that worked.14:20
JanC\o/14:20
ArsimaelCreating a nw unit via "systemctl --user edit --full --force  notify.service", then configuring a basic oneshot14:20
Arsimaelthen calling it with "sudo systemctl --user --machine=myuser@ start notify.service"14:21
Arsimaelgives a notification.14:21
leftyfbthat's because the service is run as your user, not another14:21
leftyfbguess what that is? A service that's always running the background14:21
JanCand because it works from outside the session  :)14:22
ArsimaelIt's a  oneshot. it gets started one time and den exits.14:23
JanC'systemd --user' is running though14:24
JanCit has the advantage that it is always running anyway14:24
Arsimaelthats ok for me, since systemd is already running due to "onedrive"...14:24
Arsimaelsystemd --user14:25
JanCit's running because gnome starts it (assuming you use gnome)14:25
JanCprobably some other DEs use it too now14:25
ArsimaelThanks for helping. Thats def. something I need to write down.14:28
ArsimaelColleagues are already asking for it. Especially the "record SSH Sessions" part...14:29
CytozaneonCan I get more verbose logging on how the load average calculation is being produced?14:38
leftyfbCytozaneon: there is no log that tells you how load average is calculated. Read here: https://www.atatus.com/blog/load-average-in-linux/14:39
CytozaneonNot an explanation on how it is calculated... but to actually see what values were at that were used in the calculation at any given time14:39
leftyfbCytozaneon: top and htop shows you those numbers14:40
leftyfband uptime14:40
CytozaneonNo - they don't14:40
leftyfbwithin a minute they do14:40
CytozaneonNope14:41
leftyfbyes, that's what the numbers mean14:41
leftyfbthe 1st number is the load average over a minute14:41
CytozaneonWhen my system freezes to a near crawl roughly every 30seconds-ish and the load average is spiking at the same time... and all the processes look good in terms of cpu/ram load... something else is effecting that load average calculation14:41
tomreynxu-help12w: I did not make the statement you quoted, I do not mean to 'diss' you at all, was just trying to help by giving you a better measure of what amount of support you can reasonably expect here (and what not), because you repeatedly mention that you do not have irc experience (which is fine). sorry if it came over differently, not intended.14:41
CytozaneonI actually want to *SEE* that calculation14:41
Cytozaneonnot just the end number14:42
KadiganJanC: because you can then leave the DB to have the necessary permissions to open sockets, doing away with the whole "who can send where" song and dance14:42
leftyfbCytozaneon: have you tried making sure you have the proper gpu drivers installed? That's usually a cause of this sort of thing14:43
JanCKadigan: it's still bloated over-engineering :)14:43
KadiganJanC: maybe so, but at least it gets you where you need to be in a few hours, instead of a few days - especially if you already have the database sitting there doing other things. I don't know, maybe it's just the approach I'm most comfortable with?14:46
JanCwe got to where we had to be in less than 2 hours  ;)14:47
JanCcould have done something that worked in minutes really14:47
ruserhas anyone encountered upgrade-grub trying to unmount a file system  when installing into a chroot env?14:53
dge_oerheks, npt really. sometimes HomePage or a Tag can refer to the url on repo .list file... but... sometimes the version is a clue. it should have a magick black box somewhere... but where ?14:58
oerheks?14:59
dge_i answer very late, sorry, i was afk.15:01
parisWhat's the best way to put ubuntu on my android tablet on top of Android?15:05
paris!android15:06
oerheksparis see if yours is in the list https://devices.ubuntu-touch.io/15:07
oerheksor do some research on https://www.androidauthority.com/install-ubuntu-on-your-android-smartphone-765408/15:08
oerheksthere is not an official version of Ubuntu that runs on mobile devices like phones and tablets, so no support here15:08
oerheks!touch15:08
ubottuInformation about the mobile port of the Ubuntu platform (formely Ubuntu Touch) for Phone and Tablet is available here: https://ubports.com/. Support and discussion in #ubports15:08
mccI installed a closed-source program from a .tar. The installer put an icon on my desktop. I don't really want an icon on the desktop, however, I *do* want the application to be accessible by clicking the applications menu (the 9 squares button) and typing the name of the application. And it's not.16:05
mccI want to convert my desktop icon (it's a ".desktop" file) to something I can search for in the applications menu. How do I do this?16:05
mccAlso: Is there some trivial command-line way to execute a .desktop file?16:06
oerheksmcc, create a desktop launcher? https://linuxconfig.org/how-to-create-desktop-shortcut-launcher-on-ubuntu-22-04-jammy-jellyfish-linux16:08
oerheksif your closed source thingy does not provided it standard, do some research16:09
oerheksunless you name the program, we could help you find it16:10
krytarikmcc: Just move the file from '~/Desktop' to '~/.local/share/applications'16:11
oerhekshe said16:11
oerheks'installer file',  so it sounds not like a launcher16:11
oerheksto be accessible, it should be stored in /usr/share/applications/16:13
leftyfboerheks: ~/.local/share/applications also works16:15
mcc@krytarik, thank you, that was exactly what I needed16:16
krytarikYw!16:16
mcc@oerheks I don't think I understand the difference between a "desktop launcher shortcut" and a .desktop file. It seems like double-clicking a .desktop file causes the program to be launched...16:17
Eickmeyermcc: There's no difference. Same thing.16:19
mccThanks16:19
Eickmeyermcc: Also, notified someone on the Desktop team about your accessibility bug, no response so far, but working on it.16:20
mccAh, I misread the summary, it made it sound like there were two things16:20
leftyfbmcc: for your 2nd question, you can use:   gtk-launch /path/to/file.desktop16:20
mcc@eickmeyer Thanks. Because I now have the workaround (manually setting the text scaling in gsettings) I no longer have a specific need for a fix. But it seems like you really want to fix that as it is sort of a trap for other users. (It would also in the long run be *nice* to have a real fix, because until there is a real fix the bug means if I ever want to turn on large text on purpose I can only control it through the CLI)16:21
mcc@leftyb great thanks again16:21
Eickmeyermcc: Agreed. Accessibility is a pretty serious issue.16:22
leftyfbmcc: you can also use gio launch file.desktop16:22
ice9why the NetworkManager in 23.10 uses netplan for networks configuration?16:51
leftyfbice9: that's been the case for about 5 or 6 years now16:53
leftyfbice9: why does it matter?16:53
rfmno, it's new in 23.1016:54
ice9leftyfb, I remember in the previous releases, connections where stored right into /etc/NetworkManager/systems-connections; I would like to know the benefit of netplan16:55
leftyfbrfm: ?16:55
leftyfboh, I see16:56
leftyfbthe NM profiles are now stored in /etc/netplan16:56
leftyfbice9: just so you know, support in this channel is provided by ubuntu community volunteers. Not Canonical employees. Decisions like this are made by Canonical and you're not always going to get answers to "why" questions here16:58
rfmthe reason for doing this is now one can configure the network without knowing how the the system was installed (server or desktop)16:58
leftyfbthat is nice16:58
rfmhttps://ubuntu.com/blog/a-declarative-approach-to-linux-networking-with-netplan talks about the rationale16:59
ice9thanks rfm17:00
ruserhas anyone encountered upgrade-grub trying to unmount a file system  when installing into a chroot env?  [attempting] to install ontop of a root pool in zfs17:06
chilverscIs there a mirror for git://kernel.ubuntu.com/virgin/testing/crack.git ?17:27
oerhekschilversc, i found the source git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack   from https://people.canonical.com/~kernel/reports/kteam-tools/info/repositories.txt17:30
=== TheCaptain2 is now known as TheCaptain
chilverscoerheks: thanks17:33
bitbingeWhat is blocking the iperf3 port on stock ubuntu lts? What firewall/other thing?17:41
leftyfbbitbinge: there is no firewall rules enabled in a default install of ubuntu17:48
bitbingeAnyone?17:52
leftyfbbitbinge: there is no firewall rules enabled in a default install of ubuntu17:55
EriC^^bitbinge: maybe try sudo lsof -i:<port> to see if something is using it17:56
leftyfbbitbinge: maybe start with an error message. Running as a server or client17:57
ruserhas anyone encountered upgrade-grub trying to unmount a file system  when installing into a chroot env?  [attempting] to install ontop of a root pool in zfs. Is there a better place to ask the question (zfs support?)18:01
leftyfb!repeat | ruser18:01
ubotturuser: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/18:01
ruserleftyfb: day 3.. :)18:01
Eickmeyerruser: Then nobody knows the answer.18:01
leftyfbruser: yes, and the 4th time you've asked the question in 2 days18:02
leftyfbruser: I don't know the answer and it doesn't look like anyone here thus far knows. I would try posting on ubuntuforums.org18:03
Eickmeyerruser: From the factoid: "if nobody knows your answer, nobody will answer you."18:03
ruserleftyfb: agreed, which is why i added if there is a better place. Thank you.18:03
Eickmeyerruser: To dovetail on what leftyfb said, try asking on askubuntu.com.18:03
rusereither way I appreciate everyones time18:03
ruserIs discord active?18:04
bitbingeThere's no error. I still can't connect. One device gives Connection refused, the other Invalid argument.18:04
ruserEickmeyer: thank you18:04
bitbingeI'm running this from my openwrt router.18:05
leftyfb!openwrt | bitbinge18:09
leftyfbbitbinge: we can only support ubuntu here. Not openwrt18:09
leftyfbbitbinge: you know you need the iperf server running/listening on the target right?18:09
bitbingeYup, it's running. It worked properly for a bit, but now this.18:10
leftyfbbitbinge: then you have an issue with your network18:10
MegaWetHi guys, I'm going to use Lubuntu, and want to upgrade my LUKS version and algo to be use the more secure Argon2id.  But by default Lubuntu is using Luks1 with the less secure PBKDF2. How can i upgrade my LUKS version to use the more secure algo?18:14
leftyfb!latest | MegaWet18:14
ubottuMegaWet: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa.18:14
MegaWetso hmmm18:15
MegaWetI'm seeking a light apt distro which uses the more updated luks version18:15
MegaWetand advice guys18:17
leftyfbMegaWet: I'm not very familiar with this, but everything I'm reading says Ubuntu since at least 20.04 has LUKS2 support18:19
MegaWetsupport but not on my default18:20
MegaWetmaybe18:20
baldpopeattempting to upgrade from 16.04.07 but receiving an error18:21
leftyfbMegaWet: https://mjg59.dreamwidth.org/66429.html18:21
baldpopehttps://paste.linux.chat/?e1739cb4a506e550#3jBsBv1ifG6pEV21jN5cBKz79ELGTg3uu9Q33nsv3Don18:21
leftyfb!eolupgrade | baldpope18:21
ubottubaldpope: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades18:21
baldpopethankyou leftyfb , reading18:22
MegaWet2hey guys19:01
LadyGagaRealhey guys19:05
sybaritenis anyone here using evil mode for emacs?19:21
ayjay_tyes sir sybariten19:28
ayjay_ti only use emacs for certain things but when i do it's evil19:28
ruserdoes anyone know which package contains add-apt-repository  in it? apt search add-apt-repository doesn't list anything.19:31
leftyfbruser: software-properties-common19:32
ruserleftyfb: merci19:32
leftyfbfound by using apt-file search add-apt-respository19:32
ruseroh even better, i was just about to ask, thanks19:34
ruserwith regrads to my earlier question looks like i'm getting some headway: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/203104219:36
-ubottu:#ubuntu- Launchpad bug 2031042 in grub2 (Ubuntu) "Upgrade to 2.12~rc1-4ubuntu1 failed with 'umount: /tmp/zfsmnt.5DJ7yi: target is busy.'" [Low, Fix Released]19:36
HyP3rHey guys... I'm pretty confused right now. I have cloned my kubunto from my thinkpad t530 (old as hell) to my new thinkpad P16s Gen 2 (very, very new). Now when I boot the os I have just a blinking coursor19:42
HyP3rWhen I press Strg+Alt+F2 I can login... everything is ok. No systemd.service is crashed everything is fine19:43
ruseralso, to my way earlier question usrmerge is a PITA and i'm down this rabbit hole due to it19:43
HyP3rWhat should I do now?19:44
HyP3rI'm using Ubuntu (Kubuntu) 22.04 LTS.19:44
tomreynHyP3r: how did you clone? were yuo previously using nvidia proprietary graphics drivers?19:45
HyP3rtomreyn: I used gparted to clone each partition19:45
HyP3rAnd no, no proprietary graphics drivers19:45
sybaritenayjay_t: ok cool, do you know if it changes how text selection looks? I have a rather new emacs here, but the selected ("marked"?) areas are invisible, if you want, they're not in a contrasting colour19:45
HyP3rI think... How can I check that?19:46
tomreynHyP3r: i think /var/log/gpu-manager.log or something19:46
tomreynHyP3r: are you booting in uefi or legacy bios mode? is "secure boot" enabled?19:47
tomreynecho -n 'This system booted via: '; [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS19:47
HyP3rI boot with UEFI, and secure boot is disabled19:48
HyP3rThis was my first problem ;)19:48
HyP3rGive me a moment I'll check that log19:48
ayjay_tsybariten: the selected areas on my machine (using v in non-insert mode, whatever that's called) are like very very very lightly shaded gray19:48
HyP3rtomreyn: /var/log/gpu-manager.log seems pretty ok... In the middle there is a "can't access driver" but I think this is ok?19:49
ayjay_tsybariten: https://pasteboard.co/I3YNLMGXsBsG.png19:49
ayjay_ti'm not sure what the emacs gui inherits but i'm running on i3 on ubuntu server19:50
sybaritenayjay_t: using v?  i'm thinking of selecting using ctrl-space...19:50
ayjay_tha well sybariten i use evil mode and i use vim's method of selecting... that's the whole point of evil mode lol19:50
ayjay_tbut lemme check19:50
sybariteni used to have this mode or whatever it was, where the selected text was very stronly blue or something (in a console emacs). I dont even know the terminology anymore. Highlighted region?19:51
ayjay_tsybariten: they have the exact same effect, v = xtl+space19:51
ayjay_tsure19:51
sybaritenbut that was on another machine, now i have a fresh emacs... doesnt really behave like i'm used to.19:51
ayjay_there you go bud, try this: https://stackoverflow.com/questions/18684579/how-do-i-change-the-highlight-color-for-selected-text-with-emacs-deftheme19:51
ayjay_tsybariten: if you don't want to edit your init.el you can use the M-x customize-face like in another answer19:52
sybaritenWait, you know what ayjay_t , maybe evil mode isn't at all the thing I was thinking of. There is some very big major configuration kit that a lot of people use, and i think i confused it... with yours... is it space emacs or something?19:52
ayjay_tbut also sybariten there is a great #emacs channel where you might get better support19:52
ayjay_tsybariten: i don't know, i'm just an evil guy19:53
sybaritenayjay_t: i know but they didnt really catch on to my question earlier so thats why i asked here hehe19:53
ayjay_ti think i'm not going to be any more help on this issue, i'm not an emacs expert. good luck!19:53
sybaritenah, it's called doom emacs (there's also spaceemacs, its something in the same philosophy i think)19:54
sybaritenthanks!19:54
ruffleSATTENTION: ESSX3886 sound card fix. After many attempts I was able to fix mine by running the following script: https://raw.githubusercontent.com/gnickm/sof-essx8336-debian-fix/main/setup-alsa.sh20:05
ruffleSHow can I report that so this config is available to anyone?20:05
EickmeyerruffleS: Was there ever a bug report, askubuntu question or wiki article about it?20:08
Guest46hi20:14
ruffleSEickmeyer: I found it here https://ubuntuforums.org/showthread.php?t=248644320:28
EickmeyerruffleS: Excellent. Then reply to that as it's probably the best place for your information.20:29
ruffleSThis link points to a github repo with some steps to folllow: https://github.com/gnickm/sof-essx8336-debian-fix20:30
ruffleSOn Ubuntu 23.10 I tried just to run the alsa config script and it worked20:30
EickmeyerruffleS: Ok, but this isn't the place to post that.20:30
ruffleSOK! Posted on Ubuntu Forums. Thanks!20:39
samd3vHi20:46
blasterHi I am having trouble upgrading my system.  I get a huge log of 404 errors from packages on repos such as http://ca.archive.ubuntu.com/ubuntu kinetic-updates/main20:50
ravageblaster: Ubuntu 22.10 is EOL and the repos are not online anymore20:51
ravage!eolupgrade | blaster20:52
ubottublaster: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades20:52
blasterI see, thanks20:52
ravage( fastest way is to backup your files and install a supported release. if you dont want to upgrade every 9 months choose a LTS release )20:53
ravagethe current one is 22.04. next will be 24.0420:53
blasterI can just do-release-upgrade right?20:53
ravagehttps://help.ubuntu.com/community/EOLUpgrades20:53
SquareWhat are my chances wayland will one day not behave like shit on my nvidia GT 1030 card? Is there any work done on improving wayland nvidia support?20:55
ravageask nvidia20:55
ravagethey claim to work on compatibility20:56
EickmeyerAnd please watch your language.20:56
SquareEickmeyer, sorry. Not meaning to sound von oben or complain. Just assessing my odds of continue with my 1030. I know nvidia isn't the greatest partner and bears the blame.21:11
EickmeyerSquare: That's great and all, but we do have underage participants and community contributors, so we keep things family friendly. See the guidelines linked in the topic.21:12
blasterThe updated sources list in the EOL upgrade documentation doesn't seem to correspond to what I have.  I don't have an entry that contains `kinetic main restricted universe multiverse`.21:17
blasterI do have `kinetic main restricted`21:17
ravageall you really need to do is change the server21:17
ravage( to old-releases.ubuntu.com )21:18
blasterAll of them?21:18
ravagei dont know if they all exist there. but you will see that on apt update21:18
ravagecomment out the ones that dont work after the change21:19
ravageyou can also !paste your result here21:20
blasterThe docs basically show all the repos combined into one entry but my sources.list has them split between a few entries, I'll try changing all of the ones that match21:21
ravagefor the upgrade you should disable all external sources21:21
blasterAll of the sources in my sources.list are from Ubuntu, but I imagine all of my external ones would be in the .d directory21:22
ravagethat is usually the case yes21:23
blasterIf I upgrade to the latest LTS from 22.10, won't I be downgrading to 22.04?21:25
ravageyou cant downgrade21:25
ravageyou can get to 23.04 for now21:26
ravageupgrades to 23.10 will be enabled officially soon21:26
blasterAh okay, I'll just do this again when the next LTS comes out.21:26
ravagethen you can upgrade do 24.04 next year21:26
ravageor you can do a clean install of 22.04 now and upgrade directly to 24.04.1 next year21:27
blasterI would prefer that I just have a lot of configuration21:28
HyP3rtomreyn: I don't know what it was... but I just updated to 23 (jammy?) and now everything works fine21:56
HyP3r23.04 lunar...21:56
Guest68how do we report problems with the new ubuntu, i have installed 23.10 and i have strange problems like wifi not waking up when the laptop goes to sleep22:00
loswedsededwhen will the upgrade path to 23.10 be released?22:31
mybalzitchit's not a LTS release. if you're running a LTS release you have to wait until the next LTS release.22:38
mybalzitchyou can jump from lts to non-lts, but you can't go back to 22.04 from 23.1022:38
ravageloswedseded: there is no exact date. usually when all open bugs related to the upgrade process are resolved.22:40
LinuxNoobHello peeps23:19
LinuxNoobI am getting this libnvidia-compute-535 (!= 535.113.01-0ubuntu0.22.04.3) will break libnvidia-compute-535:i386 (535.113.01-0ubuntu0.22.04.1)23:19
LinuxNoobwondering if someone can help please23:19
LinuxNooband also this:  libcuda-10.0-1 conflicts with opencl-icd23:20
=== chris14_ is now known as chris14
=== five61848 is now known as five6184

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