/srv/irclogs.ubuntu.com/2024/04/21/#ubuntu.txt

JoeBkhello00:07
JoeBkis there a problem installing 24.04 on a drive connected to USB?00:07
=== JoeBk is now known as Guest950
=== JoeBk_ is now known as JoeBk
=== abydon6 is now known as abydon
TuxHubHey everyone I am launching a Linux only software index website that is free to use (no ads), I am looking for anyone who would like their software listed on my site the rules are simple: No emulated applications, No closed source applications, No applications that rely on paid/proprietary dependencies that are not included. To submit your software03:17
TuxHubyou just need to private message me on IRC with one link to your project, this must be the main link that displays all of the information about your software such as a homepage or git repository. Thank you!03:17
linealcan you guide me on a reliable way to record macros in linux. The problem i am facing is when using extensions for browser it is unable to extract data from spreadsheet04:07
linealprefered if possible from terminal04:08
rock8787theres xdotool can press keys and write stuff maybe04:23
TuxHubwmctrl too might help04:31
linealThanks a bunch, I have a repeated task for 700 data entries and tomorrow to submit.04:33
linealI did install xdotool04:33
linealcan you also recommend some data scraper to extract data04:34
linealfor teminal04:34
rock8787c++ jk04:35
rock8787idk04:35
WhoopieHi, I activated Ubuntu Pro on a Ubuntu 14.04 installation (yeah, I know. ;-)). It updated a lot of things, but not firefox and thunderbird. Is that intentional?04:36
rock8787theres cat cmd04:37
rock8787but idk how to extract04:37
rock8787use some kind of find command then pipe into echo04:40
rock8787but dont overwrite same name as file04:41
linealThanks04:44
Lvl4Swordlineal, What exactly are you trying to do? Can you be more specific?04:45
rock8787yeah04:45
rock8787maybe you neded a json extractor or something04:46
rock8787idk what youre doing04:46
rock8787we04:47
Lvl4Swordlineal_, Guessing you lost connection. What exactly are you trying to do? Can you be more specific?04:48
lineal_well i have spreadsheet for data which i have arranged for data entry, Requiring me to put the data in the university website, for completion of records for 700+ staff member, there are three types of automation that i am trying to make04:51
lineal_1. to navigate the said website04:52
lineal_2. using repeated key stokes for inserting data04:52
lineal_3. using if condition to select from drop down menu04:53
lineal_4 repeat the process04:53
lineal_I have tried using extension based auto clicker, ui vision but all of them have some issues with spreadsheet and instead of using reference cell it directly copies values which is not useful04:56
JanClineal_: those are not exactly questions for #ubuntu, but if this is an online spreadsheet, why not just export the data?05:23
JanCor copy/paste05:24
lineal_that is the problem, the university website does not allow batch upload or provide api, and i hope you can relate to the level of pain you get for manual entry of 100s of data05:26
lineal_yes just copy pasting 100s of data05:26
JanCsounds like they need to fix the process for whatever you are trying to do05:28
JanCit might be possible to automate this with curl05:29
goliabuongiorno05:32
quadrosounds like job security. why fix that? lol.06:30
tyrone_jbecause any indian it worker is able to replace you then06:51
Bochi_ahoi. i am playing with the new ubuntu24 desktop installer and I am trying to find a way to run an automated installation with it. unfortunately the docs are not showing a way to do so, any pointers would be welcome.08:10
Bochi_i see its started using "ubuntu-desktop-bootstrap" which seems to accept a machine config, also i can find answers.yaml in the snap but how would i make the installer ask no questions whatsoever but read them from a configuration file?08:11
gigioneciao08:26
gigione!list08:26
ubottugigione: No warez here! This is not a file sharing channel (or network); read the channel topic. If you're looking for information about me, type «/msg ubottu !bot». If you're looking for a channel, see «/msg ubottu !alis».08:26
ice9why camera preview in Cheese or Snapshot apps looks opposite to reality?08:37
rfmice9, because you're used to seeing yourself in a mirror09:04
ice9rfm, that's not right, because the resulted images are different than the images I take from a phone back camera for example09:05
rfmice9, no, you misundertand. the apps flop them on purpose, because otherwise when you move it would look wrong.if you look at the pics from the phone selfie camera, notice that the preview you see while taking the picture is flopped but the image saved isn't. and this has nothing to do with ubuntu so I'lls shut up09:11
soxfoxroxI have a ubuntu 22.04 server running mail and multiple Wordpress sites. I have added a new site with a new domain, but unlike my other Wordpress installations, administrative e-mails sent from the new site are not DKIM signed. I can't remember what I did (or if I did anything?) to have the e-mails sent DKIM signed, so I'm at a loss for figuring out why the e-mails sent are not signed. My mail09:35
soxfoxroxis set up with Postfix using this tutorial: https://123qwe.com/tutorial-debian-10/. Can anyone point me in the right direction to find out what I need to setup to have e-mails sent for the new site DKIM signed?09:35
tyrone_jis ubuntu still fixing bios mode boot bugs? i'm installing 22.04 on a 2006 pc with no uefi but looks like the installer thinks it has uefi10:10
tyrone_ji ran into the problem that the disk is partitioned as mbr but the installer wants me to create a small bios boot partition on it, and it creates gpt on it10:12
tyrone_jalso complains of a missing efi esp10:13
tyrone_ji mean i want to put mbr on the disk, but the installer doesn't ask about it. just creates gpt on it10:15
tyrone_jif i precreate the mbr and partitions, the installer works fine(ish)10:32
PeGaSuSwhat's the installation media and how did you create it?10:34
tyrone_jPeGaSuS: burned a dvd10:36
tyrone_jPeGaSuS: couldn't make it boot off a usb stick10:36
tyrone_jit almost worked as i saw the usb stick name in the bios10:37
PeGaSuSdid you burn it on another Linux distro or Windows?10:38
tyrone_jPeGaSuS: on linux with k3b10:39
=== duckworld_ is now known as duckworld
PeGaSuSI wonder if k3b is burning the DVD with "to be used on GPT" mode by default10:41
tyrone_jit's the normal ubuntu mate 22.04 iso10:42
xyprontyrone_j: BIOS should be able to read GRUB PC from first sector with GPT.10:42
xypronThete  will be protective MBR sector.10:42
PeGaSuSso far I've used only Rufus on Windows and BalenaEtcher on Xubuntu. with Rufus you can choose if the target partition is MBR or GPY. unsure about the others10:43
tyrone_jit fails probably because i don't create the small bios_boot partition10:46
PeGaSuSI don't remember needing to create any partition ever either on MBR or GPT10:50
PeGaSuSbut my oldest PC is from 2012, though10:50
tyrone_jif you want to boot the computer in both modes, then you need it10:51
tyrone_jbut now ubuntu mate is installed in bios/mbr mode and it works10:54
PeGaSuSyeah. usually I just choose MBR or GPT and format the entire drive to match10:54
tyrone_ji've created a multi-boot usb stick that boots in both modes. uses grub on the stick10:55
tyrone_jand i'm sure ubuntu devs that test the distro might have a use for it :)10:55
tyrone_ji mean the possibility to boot in both modes10:55
BluesKajHi all12:06
jeremy31tyrone_j: The Ubuntu ISO should be able to boot in BIOS or UEFI mode.  I think that the problem happens when you choose erase disk and install Ubuntu- it will format the drive using GPT even if you boot in BIOS mode and some old computers can't boot it even with the bios boot partition12:14
tyrone_jjeremy31: that's my issue. i don't get to use bios/mbr if i don't pre-create the mbr partition table12:21
tyrone_jjeremy31: now on that system i have one btrfs filesystem and a swap partition12:21
jeremy31tyrone_j: A guy made a tutorial about doing it on Mint, Ubuntu likely isn't much different https://foxclone.org/downloads/20230509-LM21_legacy.pdf12:24
tyrone_jjeremy31: only thing i needed to do was pre-create the mbr partition table12:29
tyrone_jthe installer doesn't ask if i want to use mbr or gpt12:30
tyrone_jWhat’s the problem?12:32
tyrone_jMint (and ubuntu) have changed the way they install in legacy mode when “erase and12:32
tyrone_jinstall” is selected. They now use a GPT partition table, with a bios_grub partition, an EFI12:32
tyrone_jpartition and a single ext4 partition for /.12:32
tyrone_jin my case i installed on an empty ssd12:33
tyrone_jthe pc is not that important to me but it's still working ok. i have a hp scsi scanner connected to it (i hate ditching working hardware)12:40
tomreyntyrone_j: i don't seem to understand the issue, yet. is your computer is unable to boot off a gpt patitioned disk?12:42
tyrone_jand i have a sata raid 1 on it12:43
tomreynhardware? fake raid?12:43
tyrone_jtomreyn: i didn't test. i just want to create a mbr partition table on it with those two partitions12:44
tyrone_jtomreyn: it's real hw raid but kinda cheap card12:44
tomreynmaybe this old hw raid prevents booting from gpt, not sure.12:45
tomreyneither way, that's quite the special case and the workaround seems easy enough. it should be documented though, if one is needed.12:46
tyrone_jtomreyn: i didn't try booting it because i didn't create that small partition12:47
tomreyni don't think i can follow anymore.12:48
tyrone_jthe installer wants me to create a small partition if i have a gpt table12:49
tyrone_jfor booting12:49
tyrone_jthe installer doesn't ask if i want to use mbr or gpt12:49
tyrone_jfor mbr, i just need a root fs partition and a swap partition12:49
tyrone_jfor gpt, it seems to need that extra small partition12:50
tomreynyes, for gpt, you'd additionally need another 1 MB bios_grub partition. what's the issue you're trying to solve?12:50
tyrone_ji think its name is bios_grub12:50
tyrone_jsorry i can't take this any more12:51
ZumoHello, I have a disk that is filled and I can't find the reason why... I do du command it says that folder 92kb and when I do the df it that 100k is free of 200G. Can anyone give me a hint in what to look?13:06
oerheksdifference df and du ?13:07
ttkapat the root of the disk start with `du -h --max-depth=1 .` and narrow it down from there ?13:09
oerheksforget df; du -a | sort -n -r | head -n 513:09
tyklingZumo: if something has been writing to a large file, and that thing has not been restarted since the large file was deleted, then it will still hold a handle for the large file and it will still take up space13:09
Zumorebooted the server 2 times already13:10
tyklingah, then it is not that :)13:10
Zumohttps://pastebin.com/zWgQK3La13:12
Zumothat's the weird part | 92K./docker | /dev/mapper/vg0-lv--0              196G  100K  186G   1% /docker13:13
Zumoconfused13:13
ttkaptime for some docker prune commands i bet13:15
Zumodone that13:15
EriC^^Zumo: ncdu is nice for stuff like this13:15
Zumoncdu?13:15
EriC^^sudo apt-get install ncdu13:16
tomreyn/dev/mapper/vg0-lv--0 may be a thin provisioned LV13:18
Zumonope13:18
tomreynif that's the partition this is about, look into that.13:18
Zumothe server has 8TB13:18
Zumoand only 3% is full13:18
Zumo220G13:18
tomreynso you're looking for the unpartitioned space in the VG?13:19
ZumoI don't know, that's the weird part13:19
tomreynsudo vgs may explain13:20
EriC^^Zumo: du -sh ./docker showed 92kb used?13:20
Zumoyep13:20
Zumo# du -sh /docker13:20
Zumo92K/docker13:20
tomreynZumo: which space are you missing? the 7,8 TB (supposedly unpartitioned / not assigned to an LVM2 LV) or the ~190GB on the LV mounted at /docker, or something else?13:27
Zumothis is a VM, so what is missing is the 190GB13:27
Zumois not missing something filled it in13:27
tomreynsudo lsof +L1 /docker13:30
tomreynsudo vgdisplay vg013:31
Zumohttps://pastebin.com/QzjWkbW013:38
tomreynthe VG looks fine, it'll be an issue with the file system on it, i guess13:40
tomreynyou don't have locked deleted files on /docker, though.13:41
Zumonope13:41
tomreyni suggest unmounting the file system and running a a file system check on it.13:41
tomreynwhich file system type is it?13:42
Zumoext413:58
tomreyndoes the e2fsck -f on the unmounted file system give a clue on what may be wrong, though?14:01
=== duckworld_ is now known as duckworld
Russ_ciao14:39
FKAShinobiAfter disabling plexmediaserver and restarting my system, the service still loads at boot time. Why is that?14:59
FKAShinobiMonit restarted it...15:08
tyrone_jtomreyn: my expectation on the old non-uefi system was to use mbr table and two partitions. ubuntu created gpt on the ssd and wanted me to have 3 partitions on the ssd and then when i didn't have that 3rd bios_grub partition the install failed15:32
tyrone_jtomreyn: after pre-creating mbr on the ssd, the install succeeded15:33
tyrone_j(with two partitions)15:35
tomreyntyrone_j: alright. but when gpt was being used, did the installer not create the bios_grub partition, or did you remove it manually? were you just unhappy with the installer using gpt and thus having to create the bios_grub 1MB partition so that BIOS booting off it could be possible, or did something not work there?15:43
tyrone_jtomreyn: i always use "something else" with ubuntu and i didn't create bios_grub15:46
tomreyntyrone_j: did the installer warn about a need to create bios_grub, though (or do it automatically)?15:47
tomreynif at least one of the two applies, then i don't think there is an issue.15:52
tomreyndefaulting to gpt makes sense, since it is the more forward-compatible and more flexible partitioning scheme.15:53
avskhi15:54
avskexit15:55
tyrone_jtomreyn: there is an issue, you just don't get what it is15:55
tomreyntyrone_j: then i'm sorry for not understanding your description of it. you could file a bug report if you're sure there is one.15:58
tyrone_jtomreyn: i just described the issue above15:59
tomreynhmm then maybe your expectation that the installer would/should always create an MBR partition table makes you to assume there is an issue.16:01
tyrone_jtomreyn: there is an issue, you just don't get what it is16:01
tyrone_ji know for a fact that bios/mbr boot doesn't need the bios_grub partition. the installer doesn't tell the user that it's going to create gpt. the user expectation is bad16:08
tyrone_jor is it called user experience? ux16:09
tomreynright, bios booting off an mbr partition table doesn't need the extra partition. bios booting off gpt does. the installer goes ahead and creates a forward-compatible parition table if none exists. seems sensible to me. i don't see a need to point this out, though it could be nice to do so. i think you mean to say that the user experience is bad because your expectation seems to be that the installer should always create an mbr partition table,16:18
tomreynwhich is not what the installer does.16:18
tyrone_jwhere did you learn your deflection tactics?16:19
tyrone_jbecause fuck they're really good16:19
ravage!language | tyrone_j16:20
ubottutyrone_j: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList16:20
tomreyni didn't even mean to, just trying to pinpoint our different takes.16:20
tomreyn(and to work out whether there is an issue that you should report)16:20
tyrone_jwell if you16:21
tomreynplease note that i'm just another user, my opinion doesn't overrule yours at all.16:21
tyrone_jwell if you're handling that issue report, it would be in vain16:21
tomreyni will not16:22
jeremy31tyrone_j: File a bug report16:31
=== paul is now known as Guest5465
tyrone_jjeremy31: i'll reinstall it in a few days now that i know it's working16:52
petroshi17:10
petroshi17:11
petrosijl17:11
quazimodohow does gdm show an ubuntu (wayland) option when there is no correspondin /usr/share/xsessions/<session>.desktop file17:30
quazimodoha i'm a dumbass it's in /usr/share/wayland-sessions17:31
quazimodothanks everyone i've been great17:31
quazimodohere's a different story17:31
quazimodofor the life of me i cant seem to change how menus look17:31
Niklas_E_if you get a newer computer and want to install all programs ytou have on the old one is there any specific files to copy like make.conf  to make in install all the programs?20:06
leftyfbNiklas_E_: comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)20:07
leftyfbNiklas_E_: though I would go through that list and only keep the packages you know you need. The rest will be dependencies that will install on their own20:07
leftyfbNiklas_E_: use the final list to install your packages again using apt20:08
Niklas_E_an thanks20:08
leftyfbor my personal preference, ansible20:08
bprompt!ansible20:08
bpromptNiklas_E_: so, just a programs transfer? hmmm I mean, I've done that many times, but I usually keep all my .deb files, all in the same folder, so on another machine, I simply install all debs using "dpkg"20:11
leftyfbI do not recommend keeping and re-using .deb files20:12
Niklas_E_I got the files list and that is super.20:12
quazimod1does ubuntu modify any of the gtk themes to make them look better?21:14
quazimod1i'm fiddling with Yaru and noticed that in gnome-shell popup menus look less condensed that when I run a gnome session with i3, using the same theme21:15
quazimod1I loaded gtk inspector & played with the theme CSS, got it looking better. The CSS i generated does look a bit different to the stuff in the Yaru theme21:16
quazimod1have i messed up something?21:16
quazimod1am I a dumdum?21:16
quazimod1do i need to fire myself21:16
bholaHello guys. Looking for some help. I have Lubuntu 22.04 Desktop installed on my PC stick. I want to change its boot mode from Desktop to Server mode i.e. It should boot as if no desktop environment is installed. But I can run it whenever I need it.22:47
bholaI wan to boot my system only in command line mode so it can go to login prompt in text mode asap.22:48
JanCbhola: I think https://www.cyberciti.biz/faq/switch-boot-target-to-text-gui-in-systemd-linux/ explains what you need to know (read the whole article)23:07
bholaJanC, Thanks. I will have a look at it.23:09
Bashing-ombhola: One can also start the GUI from TTY on demand. Not sure what Lubuntu uses as a display manager - ' cat /etc/X11/default-display-manager ' . for the systemctl command to start the GUI.23:32
JanCBashing-om: that page explains how to start the graphical target on demand if you read far enough down it  :)23:35
Bashing-omJanC: Great - however - more than one way; I am the more familar with such ' sudo systemctl start lightdm.service '// where I run lightdm as the DM.23:46
JanCI think the difference is that it should start things as they are started when you automatically start the desktop normally23:47
JanCin theory, there _might_ be useful/expected things missing otherwise23:49
JanC(it's possible that service depends on the graphical target in which case it probably doesn't matter)23:50
Bashing-omJanC: Good point - so noted :D23:52

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