[01:03] <DynamiteDan> Greetings. I needed to change grub menu on a zsys setup, but I can't update grub. Could someone let me know how to do it? thanks
[01:06] <Bashing-om> DynamiteDan: A simple ' sudo update-grub ' ??
[01:07] <DynamiteDan> yeah
[01:07] <DynamiteDan> but si nce the control in on zsys
[01:07] <DynamiteDan> I presume it might be a zsys command
[01:07] <DynamiteDan> but I can't find it
[01:08] <DynamiteDan> device-mapper: reload ioctl on osprober-linux-sda7  failed: Device or resource busy
[01:49] <Guest84> Trying to get Ubuntu Desktop to dual boot on a Samsung Galaxy Book Go.  I found supposedly suitable 64-bit ARM builds here:  https://cdimage.ubuntu.com/focal/daily-live/current/  First I tried using an external USB DVD drive I had sitting around.  I think there was a hardware incompatibility issue with the drive itself as it kept reinitializing
[01:49] <Guest84> every 3 seconds (even with the machine turned off) so I ended up going the bootable USB route.  Used Rufus to load the ISO onto a 16GB USB stick.  I eventually figured out I needed to disable Secure boot in the UEFI BIOS because the system just kept booting to Windows.  I can now get as far as GRUB with the list of menu options but if I select
[01:49] <Guest84> the "Try out Ubuntu" or "Install Ubuntu" option, the screen goes blank with a blinking cursor for a few seconds and then the whole system reboots.  There aren't any error messages nor does the kernel seem to load.
[01:51] <Bashing-om> !nomodeset | Guest84 Try this
[02:03] <Guest84> That didn't work either.  I was able to add the `nomodeset` option to the `linux` line via GRUB.  After pressing Ctrl-X, it did output "Booting a command list" but produced the same result...just shows a cursor for a few seconds and then reboots.
[02:20] <Bashing-om> Guest84: Just as a thought - Grub not installed to the internal drive ? From the grub menue ' c ' for a command line . what here shows for the command ' ls ' ?
[02:22] <JanC> Guest84: the daily live is never really guaranteed to work, as it's an in-development version
[02:23] <JanC> also, I'm not sure the ARM version would work on all ARM systems
[02:32] <JanC> also, maybe try the image here: https://cdimage.ubuntu.com/daily-live/current/
[02:32] <JanC> I'm pretty sure that would have more recent hardware support
[02:34] <morganu> 20.02 Unable to locate packago signal-desktop
[02:34] <morganu> 20.04
[02:35] <Guest84> Thanks JanC.  Yeah I saw that but the official release for that version isn't until April 2022.  I'll give it a go.  I'm pretty sure the version I've got is messed up.
[02:35] <JanC> Guest84: I think ARM desktop systems aren't really officially supported also
[02:35] <JanC> outside Raspberry Pi
[02:36] <Bashing-om> !info signal-desktop focal | morganu
[02:36] <morganu> 20.04 Unable to locate packago signal-desktop  ---I used https://signal.org/en/download/#
[02:36] <morganu> well can I use signal then?
[02:37] <JanC> so those arm64 desktop images might be somewhat experimental / for testing purposes?
[02:39] <Guest84> I kind of figured that.  I'll probably have to try a few other distros.  I'm just kind of partial to Ubuntu.
[02:40] <JanC> you could also try the server images to see if those boot  :)
[02:40] <Bashing-om> morganu: "https://updates.signal.org/desktop/apt xenial main" xenial is End_Of_Life - talk to the package manintainers to see if there is an updated release for 20.04.
[02:40] <JanC> arm64 server
[02:43] <JanC> Guest84: there is also the #ubuntu-arm channel; maybe someone there has more experience with what you try to do...
[02:57] <Guest84> The Jammy ISO doesn't even load GRUB.  Gonna try a server ISO next.
[02:57] <guiverc> Guest84, Jammy uses grub 2.06 which is different; but it's off-topic here; please use #ubuntu-next for jammy questions.
[02:58] <guiverc> & fyi:  jammy DOES use grub; it's a later grub with more secure rules
[02:58] <jhutchins> guiverc: ISOs don't necessarily use grub, they tend to use isolinux.
[03:01] <Guest84> Sorry for any confusion.  Was continuing a previous conversation.  I meant GRUB doesn't even load using the Jammy daily-live ISO for ARM.  Just seeing if I can get Ubuntu to even load onto a Samsung Galaxy Book Go (ARM-based processor).  Jammy was a Hail Mary for desktop ISOs.
[03:20] <Guest84> And the Server LTS ISO is out too (even with `nomodeset`).  Same problem in all cases:  GRUB loads and runs but it doesn't get any further past that point - the system just reboots after a few seconds.  Thanks for the assistance JanC but I think Ubuntu on the Galaxy Book Go is a lost cause at this point.  I'm going to see if I have better luck
[03:20] <Guest84> with another distro.
[03:27] <mafiaso70> hello
[03:54] <freetester> hi
[03:57] <freetester> someone here?
[03:57] <tomreyn> freetester: hi there. welcome to ubuntu support. got a support question?
[03:58] <tomreyn> there's also #ubuntu-offtopic if you're looking to chat.
[04:00] <freetester> tomreyn: hi! yes im tryng to do simple stuff but i have some trouble... im very happu to have installed ubuntu on my pc, and now i would like to work with my 3d printer here. I have installed Ultimaker Cura with AppImage and now i would like to have the icon on my menu, but here the problem
[04:00] <freetester> im reading form this https://wiki.ubuntu-it.org/AmbienteGrafico/IconeDiAvvio/Modalit%C3%A0Manuale
[04:01] <tomreyn> have you tried just right-clicking on the softwares' icon while it's running, and adding it to favorites?
[04:02] <tomreyn> i'm not sure that would work in this case (appimage), but it's worth a try.
[04:02] <tomreyn> other than that, yes, you'd need to write a desktop file
[04:03] <tomreyn> apparenlty, "Ultimaker Cura" is also available as a snap on ubuntu - which may be better integrated into the desktop.
[04:05] <freetester> yes I tried to do as you told me (favorites) but I don't get my goal.
[04:05] <freetester> I could easily run the program but I would like it to be present as an icon in my menu (ubuntu 21.10 gnome)
[04:06] <tomreyn> this said, i don't generally recommend using snaps, since this proliferates a move towards a centrally controlled software store, which lacks transparency into its policies, and treats proprietary software the same way as open source software.
[04:07] <freetester> these things are also a learning opportunity for me. I really like the open source / free sw philosophy and now I would like to start getting my hands dirty and understand everything better :-)
[04:08] <tomreyn> good motives, good luck there. :)
[04:08] <freetester> yes i undestand what you say
[04:08] <freetester> thanks
[04:09] <freetester> I hope I have explained my goal well, even my English is a bit poor
[04:10] <freetester> I just want the Cura launcher icon in my programs just like open office and other stuff like that, is that right what I'm trying? -->https://wiki.ubuntu-it.org/AmbienteGrafico/IconeDiAvvio/Modalit%C3%A0Manuale or not?
[04:11] <tomreyn> my italian is not so good, so it's not so easy to tell
[04:11] <tomreyn> but it doesn't look wrong based on the code snippets o this page
[04:11] <tomreyn> there is probably #ubuntu-it, too
[04:13] <tomreyn> this is a good general explanation in english https://wiki.archlinux.org/title/desktop_entries
[04:14] <tomreyn> it's targetting arch linux, but this is really about the freedesktop / 'xdg desktop' standard and gnome-shell, so it should be universal
[04:15] <tomreyn> you can place custom .desktop files in ~/.local/share/applications
[04:16] <tomreyn> freetester: just for some context: normally, software you install would provide a desktop file and be added to your desktop menu automatically. this is apparently not the case here - appimage is one of the less advanced packaging formats, and not one that's "native" to ubuntu.
[04:17] <freetester> https://snipboard.io/gCs9wT.jpg
[04:18] <tomreyn> you'll need a .desktop file for this
[04:19] <freetester> yes but àubuntu-it is sleeping... :-/ yes right its what i have do it
[04:20] <freetester> i have create the cura.desktop file and then moved on /usr/share/applications/ (4 all the users) but nothing is happened
[04:21] <tomreyn> see the "validation", "installation", "update database of desktop entries" sections on the wiki i linked above
[04:21] <freetester> [Desktop Entry]
[04:21] <freetester> Version=1.0
[04:21] <freetester> Name=Ultimaker Cura
[04:21] <freetester> Comment=Launch Ultimaker Cura
[04:21] <freetester> Exec=/home/ubuntu/Programmi/Ultimaker_Cura-4.12.1.AppImage
[04:21] <freetester> Icon=/home/ubuntu/Programmi/Cura-Logo.png
[04:21] <tomreyn> !paste | freetester
[04:23] <tomreyn> freetester: what you pasted was interrupted on purpose, so we haven't seen all of it. you can talk agai now.
[04:33] <freetester> ok here im -->https://paste.ubuntu.com/p/Fy2mZ2v3cC/
[04:36] <freetester> in the Exec i have only insert the path of program, its right or wrong?
[04:37] <tomreyn> i guess this could work. do you know man pages? they let you read up on how things work
[04:37] <tomreyn> !man
[04:38] <tomreyn> have you run desktop-file-validate against your desktop file?
[04:47] <freetester> yes now, no error
[04:48] <freetester> yes i know command man, we rae becoming friends
[04:49] <freetester> anyway, how do u do if u download an -appimage file and you want to creat an icon to show it in your application menu?
[04:50] <tomreyn> did you follow the steps i suggested, from the arch wiki?
[04:50] <freetester> yes ure
[04:50] <freetester> sure*
[04:50] <freetester> its the same of mine
[04:51] <tomreyn> so the desktop file is now installed, and the database updated?
[05:02] <freetester> im following, im stop to the installation
[05:02] <freetester> step
[05:02] <freetester> i dont understand that ---> $ desktop-file-install --dir=$HOME/.local/share/applications ~/app.desktop
[05:03] <tomreyn> i think that's not needed if you placed the desktop file in /usr/share/applications
[05:04] <freetester> ok
[05:04] <freetester> yes is there
[05:05] <freetester> weel then i only need to upgrade db, in my case not --> $ update-desktop-database ~/.local/share/applications
[05:05] <freetester>  (like in he article) but
[05:05] <freetester> $ update-desktop-database ~/.usr/share/applications right?
[05:06] <tomreyn> i think you mean    sudo /usr/share/applications/app.desktop
[05:06] <tomreyn> i think you mean    sudo update-desktop-database /usr/share/applications/    < that rather
[05:07] <tomreyn> or probably just sudo update-desktop-database
[05:08] <tomreyn> but i'd always place .desktop file which point to applications stored within a users' home directory (and are thus not usable for other users anyways) in the users' home instead.
[05:08] <tomreyn> i.e. in ~/.local/share/applications
[05:08] <tomreyn> and not in /usr/share/applications
[05:11] <freetester> ok with sudo upgrade-desktop-database --> https://ibb.co/44cxRPh it's work! thank you so much
[05:12] <tomreyn> great :)
[05:12] <freetester> ok, i read what you write - but i'd always place .desktop file which point to applications stored within a users' home directory (and are thus not usable for other users anyways) in the users' home instead.
[05:13] <freetester> so you tell me it's better that when I install applications I only enable them for the session user, and not for everyone like I did, right? Are you saying this for a security question or something else?
[05:13] <freetester> for a security reason* (sorry Gtranslator)
[05:15] <tomreyn> i'm saying that when you use non-standard software installations (i.e. not from an apt repository, or a snap), and rather place executable files inside your users' $HOME directory (such as this appimage), and want to do a .desktop file for this, then you should also do the desktop file for your user only.
[05:16] <tomreyn> this is not about security, it's just that some other user on your system will not be able to run the .appimage file in your $HOME directory anyways
[05:16] <freetester> yes clear i understand
[05:17] <tomreyn> so giving them a starter in their menu for a software they cannot run doe snot seem to make much sense
[05:18] <tomreyn> also, /usr/share/applications is a location which ubuntu packages will expect to be able to write data to, and you may run into software installation problems in case some ubuntu package would try to write to the same location.
[05:19] <freetester> why other user can not to run?
[05:19] <tomreyn> i assume that the .appimage file is only executable by your user
[05:19] <tomreyn> otherwise it should not be in your home directory
[05:20] <freetester> ok in this case i move in to local/share/applications/
[05:20] <tomreyn> you could maybe place the appimage file somewhere in /opt/
[05:20] <tomreyn> if you wanted to make it generally available (to all users)
[05:21] <tomreyn> there may be a better location, i don't know what is recommended for appimages
[05:21] <freetester> aw ok, all is clear
[05:22] <freetester> where the program are saved normally?
[05:22] <freetester> in opt?
[05:23] <tomreyn> in multiple locations
[05:23] <tomreyn> https://packages.ubuntu.com/focal/amd64/bash/filelist is an example of where the bash shell is installed. the executable files are usually in /bin/ or /usr/bin/
[05:24] <tomreyn> but only debian packages (.deb) should install to these lcoations
[05:27] <tomreyn> freetester: this may be a better example: https://packages.ubuntu.com/focal/all/update-manager/filelist
[05:27] <tomreyn> !fhs | freetester
[05:29] <freetester> aww wow thank you so much i know that i have to learn the linux file system to fully understand the correct way to work thank you i'll study
[05:30] <node1> Hello
[05:31] <node1> I'm unable to open a chromium  browser on Ubuntu.
[05:32] <tomreyn> freetester: :) for now, i think you just need to get a general idea, which this help page provides. take a closer look at some of the debian packages you have installed, this will be a great opportunity to learn. using https://packages.ubuntu.com or, better, apt and apt-file
[05:32] <node1> Chromium is installed but it looks i'm unable to open.
[05:32] <tomreyn> node1: has it ever worked? whch ubuntu release is this ( lsb_release -ds; cat /proc/version )?
[05:34] <node1> Yes it worked previously. Also i run fsck on /dev/sda after that this issue comes.
[05:36] <tomreyn> sda is a full disk (usully those contain partition tables, not just a single file system), hopefully you ran it against something containing a file system
[05:36] <node1> Also, when i poweroff my laptop. Then it looks battery is still being used and it drain my all battery. I'm using Ubuntu 20.04 LTS
[05:36] <tomreyn> what's the output of these commands, run in a terminal? lsb_release -ds; cat /proc/version
[05:36] <node1> I run on sda1,2 both
[05:39] <tomreyn> so?
[05:40] <node1> I run it because whenever i poweron my laptop it drops me into initrms shell.
[05:40] <tomreyn> do you read me?
[05:42] <node1> This is the output i have receid  https://pastebin.com/raw/3MBmaqRcved
[05:43] <freetester> tomreyn in the meantime may i quest another question. Now i want to move my .desktop in the correct path -> ~/.local/share/applications . But what does mean "~/."?
[05:45] <tomreyn> node1: this page says "page not found"
[05:47] <tomreyn> freetester: it's a shortcut, pointing to your users' home directory. try this in a terminal: echo ~ ; echo $HOME
[05:47] <freetester> ok and the "." ?
[05:47] <tomreyn> you'll notice that this shortcut and the value of the HOME environment variable are identical
[05:48] <tomreyn> ".local" is just the name of the directory. directories and files starting with a dot are hidden by default.
[05:48] <freetester> ok thank you sososo much!
[05:49] <freetester> and sorry 4 my noob question :-P
[05:49] <tomreyn> i.e.   ls ~    won't list the .local, but    ls -a ~    would
[05:49] <tomreyn> freetester: keep them coming, no need to be sorry
[05:49] <tomreyn> !terminal | freetester
[05:49] <tomreyn> see the link at the end
[05:50] <node1> Please re-check again https://pastebin.com/raw/3MBmaqRc
[05:50] <freetester> ok thank you
[05:55] <bayman> how can I add or change the nameserver on /etc/resolv.conf on a running container?
[05:55] <tomreyn> node1: did you make any changes to chromium or any related changes to the system, which could have caused chromium to no longer start up properly? have you tried running it from aterminal window, and if so, are there warnings or errors printed there?
[05:55] <freetester> is it a good idea to show directories that start with a dot or rather leave hidden? i prefer to see :-P
[05:57] <node1> tomreyn well i have decided to upgrade the OS
[05:59] <tomreyn> node1: good luck then, i'd suggest fixing the initramfs first of all, though. and have backups. maybe a fresh install would actually serve you better.
[06:00] <SudoBash> does anyone know how to execute a command on through another bash PID?
[06:00] <tomreyn> freetester: that's entirely up to you, the idea of hiding them is just to make things less cluttered, i guess
[06:00] <tomreyn> SudoBash: type the command into the other shell?
[06:02] <SudoBash> no from one shell to another
[06:02] <SudoBash> to another user even
[06:03] <tomreyn> SudoBash: that would be kind of a security issue, don't you think? what's the use case, what's the ubuntu support topic?
[06:03] <SudoBash> I mean as long as you're root, it should work right?
[06:04] <tomreyn> i'll respond to this once you asnwered my questions.
[06:05] <SudoBash> I'm exploring ubuntu security actually
[06:05] <SudoBash> but I don't really think this is a security issue, but just really cool
[06:06] <tomreyn> so it doesn't seem to be a support topic really
[06:07] <tomreyn> and no, should not work as root.
[06:07] <SudoBash> it does
[06:08] <SudoBash> I think it should work as root, root should be able to do anything right?
[06:08] <SudoBash> echo "echo $($echo ls)" >> /proc/[PID]/fd/0
[06:09] <tomreyn> try #ubuntu-offtopic for non support topics. there is also #ubuntu-security and #bash
[06:10] <SudoBash> you have nothing to say about how flexible that is?
[06:11] <tomreyn> SudoBash: do you have an ubuntu support question?
[06:16] <freetester> XD
[06:16] <SudoBash> you know you tried it
[06:17] <SudoBash> and added it to your command cheat sheet
[06:18] <freetester> tomreyn: i would like to customize my desktop with some usefull stuff, i see conky but i saw that is for x11 and my ubuntu is with wayland, do u have some suggest?
[06:19] <tomreyn> freetester: that's so generic a question ("useful stuff"), i don't think i can answer it.
[06:20] <tomreyn> there is gnome tweaks, there are gnome-shell-extensions, but many of them will just break your graphical desktop, so better don't
[06:21] <freetester> you are right, I would like to insert some system monitoring boxes
[06:21] <tomreyn> you'd probably need to experiment with gnome-shell-extensions there.
[06:21] <freetester> https://i2.wp.com/itsfoss.com/wp-content/uploads/2013/07/Conky_Ubuntu.jpeg?ssl=1
[06:22] <freetester> no better dont... :-)
[06:24] <freetester> conky seems to be perfect... do u use something like that?
[06:25] <tomreyn> personally i don't, i run top when i need to know what's going on
[06:25] <tomreyn> or sensors
[06:27] <tomreyn> freon (a gnome-shell-extension) may work
[06:30] <freetester> thanks
[06:30] <freetester> for you is better x11 or wayland?
[06:34] <duuude> freetester: x11 works better with nvidia and some other stuff
[06:35] <duuude> but it has some screen tearing and security issues so they are trying to end it
[06:35] <tomreyn> freetester: X11/Xorg is in maintenance mode, it's veeeery old software, and will not be maintained for very much longer. the general move is towards wayland, but it's a process.
[06:36] <tomreyn> the next Ubuntu LTS release will default to wayland (maybe not for nvidia, if they still haven't gotten their drivers ready)
[06:37] <freetester> clear, well they should to upgrade conky 4 wayland :-P
[06:40] <tomreyn> https://github.com/brndnmtthws/conky/issues/56
[06:50] <freetester> tomreyn: thanks
[06:51] <amazoniantoad> Hey guys. I'm trying to turn the led on my keyboard for my asus zenbook. xset doesn't seem to do anything. Does anyone else have any suggestions?
[06:53] <freetester> https://pastebin.com/19w7fnt7
[06:53] <freetester> they say that works... is possible?
[06:54] <freetester> and then ---> conky does work on wayland, atleast on gnome without any problem, it is the wlr-layer-shell protocol that it's currently incompatible with
[06:54] <amazoniantoad> conky is just an awful program...
[06:54] <amazoniantoad> Are you using i3 or something>
[06:54] <amazoniantoad> ?*
[06:54] <freetester> yes
[06:54] <freetester> do u use too?
[06:55] <amazoniantoad> Yes. It's terribad. I suggest just making your own desktop app via kivy or something.
[06:55] <amazoniantoad> Do you know python?
[06:55] <freetester> amazoniantoad, sorry i could not be helpfull for you issue :-/
[06:55] <amazoniantoad> freetester: it's okay
[06:56] <freetester> no i dont know python but i use c/c++
[06:56] <amazoniantoad> I suggest you write your own desktop app
[06:56] <freetester> i ll never do what you say
[06:56] <ravage> amazoniantoad: google says the FN-keys for the keyboard should work out of the box maybe "acpi_osi='!Windows 2012'" is needed as a kernel parameter
[06:57] <freetester> do u have some helpfull documentation or links please?
[06:57] <amazoniantoad> ravage: thanks
[06:57] <amazoniantoad> ravage: Haha! Sorry. I forgot to even try fn keys...Oh man I feel dumb
[06:57] <amazoniantoad> Thanks guys. Merry Christmas everyone!
[06:58] <ravage> :)
[06:59] <freetester> u too :-)
[07:06] <yukiup>   cheers!
[07:22] <Guest6> Hello
[07:22] <Guest6> I would like to volunteer for ubuntu development
[07:22] <Guest6> I don t have any background in coding but i did sound editing for a pornographic company
[07:23] <tar_xvf> code in a sound of an orgasm when something compiles with no errors
[07:23] <Guest6> Would that be useful for real or you joking?
[07:24] <Guest6> I would like to contribute
[07:24] <Guest6> Because Ubuntu changed my life
[07:30] <ravage> Guest6: https://wiki.ubuntu.com/ContributeToUbuntu
[07:31] <Guest6> Thanks
[07:31] <Guest6> Did Ubuntu change your life ravage?
[07:32] <ravage> im not sure i would go this far. Linux in general freed me from Windows :)
[07:33] <Guest6> Ravage ubuntu gave me the strength to divorce my abusive wife
[07:35] <ravage> This is a rather unusual merit of Ubuntu. But good for you!
[07:36] <ravage> if you want to discuss Ubuntu in general and don't have any support question join #ubuntu-discuss or for general chat #ubuntu-offtopic
[07:37] <Guest6> Also, thanks to forensic software developed for ubuntu we discovered the murderer of my father
[07:37] <Guest6> I think ubuntu was coded by the archangel gabriek
[07:37] <Guest6> Gabriel
[07:38] <Guest6> I think the Magi gave the source code for Ubuntu to Jesus at his birth
[07:38] <Guest6> As a present
[07:38] <Guest6> I read the bible i am pretty sure about that
[07:39] <Firefishe> How can I diable apt-cacher-ng from doing proxy lookups?
[07:39] <Firefishe> Guest6: Silent Night, Codely Night, All Is Done, Syntax Is Right... ;-)
[07:41] <Guest6> Ubuntu was coded by prophet Ezekiel
[07:45] <Guest6> The Gospel of Luke contains the Linux kernel
[07:45] <Guest6> The Gospel of Matthew is clearly Windows-influenced instead
[07:46] <Guest6> Is the Old Testament FOSS? Can i fork it?
[09:01] <skraito> hey ubuntu
[09:48] <smecin> hi all
[09:48] <smecin> i am using zorin os
[09:48] <smecin> https://zorin.com/os/
[09:48] <smecin> is that you guys
[09:48] <smecin> debian ?
[09:49] <smecin> oh wait wrong channel
[10:00] <webchat54> rsync -avz --exclude={'dir1','dir2'} --update --append --delete /dir3/ root@IPADDRESS:/dir3/
[10:00] <webchat54> We can use rsync exclude, update, delete options in a single go as above, right ?
[11:21] <ice9> I'm trying to run anbox with "anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity" but display an empty window for a while then crash
[11:21] <ice9> ?
[11:21] <ice9> is it the correct way?
[11:25] <ice9> like this one: https://github.com/anbox/anbox/issues/740
[12:17] <jjakob> the ppa.launchpad.net problem seems to have fixed itself
[12:27] <SudoBash> Sauvin, can you unban me from #linux-ops ? I was banned in #linux and they asked me to go there if I wanted to know why?
[12:32] <ketiv> oi guys
[13:20] <Aarch64debian> !linux-gnu
[13:43] <anms> Hey everyone! I'm trying to set a proxy on APT and it's not respected at all. I'm trying both HTTP_PROXY and HTTPS_PROXY env vars as well as Acquire::http::Proxy and Acquire::https::Proxy options, and all I get is "0% [Working]" and it's stuck there. Anyone have any ideas what I might set to get it working?
[13:49] <velix> Is this AWS only? https://ubuntu.com/aws/pro
[14:10] <ravage> anms: maybe your proxy just isnt working/reachable?
[14:29] <noodleking> hi
[14:30] <noodleking> I'm using Ubuntu 21.10 and can't seem to make joint display work.
[14:30] <noodleking> I have a HP laptop and a Benq 1440p external monitor, connected via HDMI.
[14:30] <iamtheworstdev> is there a tool I can use to remap my touchpad .. like adjust what part counts as left/middle/right click?
[14:30] <noodleking> So far, the only thing that works is "mirror display".
[14:31] <noodleking> No "joint display" nor even using the Benq exclusively (screen goes blank).
[14:32] <Jeremy31> iamtheworstdev: might be able to use xinput in terminal
[14:38] <WickedDekciw> ciao aimici! so I was wondering.. I've created a freedos image from unetbootin as is usual but it doesn't boot at all.. I went and got a full freedos vhd and flashed it to the drive, it doesn't boot either.. I tried instead Windows-specific tools because there's more of them there and I specifically chose an MBR style partition table for a legacy boot, again no dice. Is there any way that actually DOES something?
[14:41] <iamtheworstdev> where does ubuntu keep it's touchpad settings stored
[14:41] <iamtheworstdev> i don't see anything in /etc/X11/xorg.conf.d
[14:43] <Jeremy31> iamtheworstdev: might be some part of libinput
[14:45] <iamtheworstdev> found /usr/share/X11/xorg.conf.d
[14:46] <iamtheworstdev> nothing useful in it tho
[14:50] <WickedDekciw> Because this is getting tiring LOL
[15:07] <Matt|home> hi. haven't done an OS upgrade in a while. im on 18.04. 20.04 is what i should be upgrading to?
[15:07] <ravage> Matt|home: yes
[15:08] <Matt|home> ty
[15:09] <iamtheworstdev> hmm.. gnome-tweaks like half solves this problem.. looks like I'd need to switch to synaptic to really solve it
[15:26] <anms> ravage, Proxy is working and reachable. I can use it to wget with HTTP_PROXY and HTTPS_PROXY and wget https://www.google.com and other tests work through the proxy including using Firefox with that proxy configured. I'm using Apache with mod_proxy and mod_proxy_connect
[15:27] <ravage> anms: the variables are http_proxy and https_proxy. i think they are case sensitive
[15:27] <ravage> at least i never tried tham upper case
[15:27] <anms> ravage, I tried that as well, but let me try it again
[15:28] <ravage> but for apt your config looks about right
[15:29] <ravage> like /etc/apt/apt.conf.d/proxy.conf and https://p.haxxors.com/9k7p1m0d.txt
[15:30] <anms> https_proxy=http://10.2.0.4:8080/ http_proxy=http://10.2.0.4:8080/ apt-get -o Acquire::https::Proxy="http://10.2.0.4:8080/" -o Acquire::http::Proxy="http://10.2.0.4" update;
[15:30] <anms> I tried this and it did not work either.
[15:31] <ravage> again not sure if it has to be HTTP::proxy
[15:31] <ravage> thats what all docs say
[15:31] <anms> I used the casing which is set by the Ubuntu installer
[15:31] <ravage> try to create the config file
[15:31] <anms> so, I set the proxy on install and this is the casing I got. But I will try it the way you sent also
[15:32] <anms> ravage, I have the config file. /etc/apt/apt.conf.d/90curtin-aptproxy as created by Ubuntu installer
[15:33] <anms> Yep, I tried the format you sent in the link and it also stops on 0% [Working]
[15:34] <anms> I also did "netstat -t" and I see it connecting directly to the sources.list entries directly instead of using the proxy setting.
[15:34] <anms> It's as if it doesn't recognize the settings, even if I specify them with "-o" at command line.
[15:36] <ravage> not really sure whats wrong with your system then. i never used any proxy for apt before but i only created the config file and it uses my proxy
[15:38] <anms> Yeah, it's something strange. The problem is that I can create a new VM and use the config file and that works just fine. It's just this one machine that's broken, and I'm not sure what to try.
[15:39] <BluesKaj> Hi folks
[15:47] <anms> ravage, I mean on that same box (which boots the Linux install with the issue), I can create a new VM on that box with Ubuntu on it, and set the proxy server, and APT will work from that VM from that box. It's just that box itself. It's a vanilla 18.04 LTS install that I've kept up to date and have some services running, but otherwise it's a normal Ubuntu install. Idk what's happening.
[15:56] <Guest73> hi
[15:59] <Guest73> Hi canonical is in there?
[16:02] <Guest73> hi
[16:02] <Guest73> nobody is talking here :(
[16:04] <ravage> !ask | Guest73
[16:04] <Guest73> Ask that question to me please
[16:04] <Guest73> not with the ask command
[16:06] <anms> Guest73, I don't think that was a question. There are no question marks in those sentences. I think it's more about informing you that you don't need to ask to ask.
[16:06] <Guest73> but he said the !ask command
[16:06] <Guest73> And nobody wants to talk with me :(
[16:07] <Guest73> I tried the caps lock number thing, followed all steps, uses an azerty keyboard and followed the french page because i'm french, but still, all i get when using caps lock is ÉÈÀÇ
[16:07] <ravage> this is the Ubuntu support channel. so if you have an Ubuntu support question ask it. for general talk please go to #ubuntu-discuss or #ubuntu-offtopic
[16:07] <Guest73> it's for support dude
[16:08] <Guest73> look above
[16:08] <Guest73> how do i fix my problem? I use original ubuntu with kde plasma and followed the steps properly using kate
[16:10] <ravage> i dont use Plasma but im almost sure there is no need to edit anything with a text editor. you can setup your keyboard layout through the system settings
[16:11] <Guest73> But there's no type numbers with caps lock settings
[16:11] <Guest73> I also tried with gnome
[16:13] <Guest73> The page i followed https://doc.ubuntu-fr.org/utiliser_verr_maj_pour_ecrire_des_chiffres i have an azerty keyboard and knows french a lot and also live in france
[16:16] <Guest73> q
[16:16] <Guest73> any answer
[16:18] <Guest73> O.o
[17:21] <ViperXL75> So i'm walking through an install guide for my Ubuntu 20.04 LTS. And then all of a sudden i'm faced with an choice. (for a linux noob, a choice is a nightmare). In the walkthrough they say: "For SysVinit Systems" and "For Upstart Systems" and "For Systemd Systems"
[17:22] <ViperXL75> What does Ubuntu 20.04LTS use?  0_o
[17:26] <ravage> All supported Ubuntu releases use systemd
[17:27] <ViperXL75> ahhh.  See?  For a pro (ravage), that answer is easy. Thank you for giving me a quick answer.   Heheheh
[17:27] <ViperXL75> ./bow
[17:33] <jhutchins> ViperXL75: I hate those.
[17:34] <jhutchins> ViperXL75: Is this the Ubuntu installer, or something you're installing on Ubuntu?
[17:35] <ravage> must be a general installation guide for some software. no ubuntu guide would talk about system V i hope :)
[17:35] <jhutchins> ravage: I would think building a SysV install would be a very reasonable thing to do.  It's still more reliable and stable than systemd.
[17:36] <ravage> that sounds like something for the offtopic channel really
[17:37] <jhutchins> ravage: Seriously?  Choosing an init system is off-topic?
[17:37] <ravage> yep. this is the Ubuntu support channel and Ubuntu only supports systemd
[17:37] <lotuspsychje> !systemd
[17:37] <jhutchins> default != exclusive
[17:38] <ravage> feel free to configure whatever you like. it is not supported here then
[17:38] <jhutchins> The whole point of a support channel is to handle things that are not part of the normal, expected defaults.
[17:39] <ravage> thats why we choose to limit the amount of pain here
[17:40] <jhutchins> If there were no pain, there would be no need of support.
[17:41] <lotuspsychje> lets not debate in here please
[17:41] <ravage> believe me that "no pain" is not accurate to describe this channel. but maybe just join #ubuntu-offtopic
[17:41] <ravage> this is already way OT
[17:44] <myny123_> oii
[17:47] <ViperXL75> jhutchins: sorry.... a phone call came through
[17:47] <ViperXL75> i'm just installing on ubuntu
[17:57] <ViperXL75> it worked. Thanks a lot guys
[17:57] <ViperXL75> Ubuntu ftw!!!
[18:03] <Matt|home> while im running an OS upgrade is it necessary/advised to close other processes running
[18:03] <Matt|home> ?
[18:05] <lotuspsychje> Matt|home: wich proces do you wanna close and why exactly?
[18:06] <Matt|home> just wondering if i need to shut down the web browser or if it doesn't matter
[18:06] <Matt|home> and irc
[18:06] <lotuspsychje> Matt|home: firefox will ask you to restart when it updates via apt for example
[18:07] <Matt|home> i remember some older windows versions for examples advised you to "close all unecessary programs" when installing something
[18:12] <ravage> For normal package updates I don't close anything. For a major upgrade from like 18.04 to 20.04 closing as much as you can is probably a good idea
[19:56] <SamuelMarks> hi
[19:56] <zmc> I'm trying to enable a swapfile, and I get "Invalid argument" from swapon. File is on ext4, created with dd from urandom to avoid holes. Physically on a microsd. Anyone have an idea how to trace this? strace and dmesg didn't give me any clues
[19:57] <SamuelMarks> On debian this works, on ubuntu I get "/usr/include/string.h:33:10: fatal error: 'stddef.h' file not found". How do I resolve? - https://github.com/SamuelMarks/type-correct/runs/4644663108
[19:57] <EriC^^> zmc: what's the swapon command you're using and line in fstab?
[19:58] <zmc> EriC^^: swapon /root/swapfile  I don't have anything in fstab yet since I can't get it to work.
[20:01] <zmc> Here's the end of strace swapon /root/swapfile https://pastebin.com/mkR1NazW
[20:04] <EriC^^> zmc: just covering the basics, you ran mkswap on it and chmod 600 and are running swapon command as root right?
[20:04] <zmc> EriC^^: That's correct.
[20:05] <zmc> If I rerun mkswap it says that it's wiping the old signature, so I imagine that it was correctly written before and can be read.
[20:05] <zmc> sdcard is Sandisk high-endurance and brand new.
[20:05] <EriC^^> odd
[20:05] <EriC^^> isnt swap files kind of bad for sdcards?
[20:06] <zmc> I know, really weird.  Swap support is compiled-into the kernel, not as a module.
[20:06] <EriC^^> doesnt it do alot of wear and tear i mean?
[20:06] <zmc> EriC^^: Yea, it is, but I need it just for a moment.
[20:06] <EriC^^> oh
[20:06] <EriC^^> try using fallocate maybe, its quick and should work
[20:08] <EriC^^> try to move it to /swapfile in case that helps, adding it to fstab and running swapon -a
[20:08] <zmc> Same result
[20:10] <zmc> EriC^^: Same results with new location and fstab usage for both dd'd and falloc'd swapfiles/
[20:13] <jhutchins> EriC^^: Swap shouldn't get much traffic if you have a reasonable ammount of RAM.  If you had a system that was swapping enough to cause "wear" on an SD, you'd have worse problems to fix.
[20:16] <zmc> Ok, here's something interesting.  I just added a USB drive, and can create and use a swapfile that's a partition, and one that's a file in an ext4 filesystem correctly.
[20:16] <zmc> What's not working is creating it in the root filesystem (sdcard)
[20:17] <EriC^^> are you sure the root partition is ext4?
[20:17] <zmc> EriC^^: Oh snap.  You're right. It's some weird overlayfs
[20:20] <EriC^^> aha
[20:20] <zmc> That's got to be it.  I'll figure out where this data is actually living and try from there.
[20:32] <zmc> EriC^^: Thanks for your help. This weird overlay is what's causing the issue!
[20:32] <EriC^^> zmc: no problem
[20:40] <chesteroni> hi everyone :-)  I found something weird with using the 'almost full disk encryption' tutorial for ubuntu
[20:41] <chesteroni> I have pc with few disks: nvme, hdd, ssd. I first installed ubuntu on nvme drive, rebooted, works fine. Later I have installed it on ssd drive. All looked good, but after reboot I have noticed that
[20:41] <chesteroni> 1. bios does not detect ssd drive as bootable
[20:42] <chesteroni> 2. nvme has grub altered by the installation and it asks for password to decrypt ssd partitions
[20:42] <chesteroni> I am 100% sure I had sda and not nvme used in the whole process
[20:43] <chesteroni> (Actually I repeated the whole double installation to ensure I haven't used nvme accidentally)
[20:44] <chesteroni> grub shell is asking for pass for wrong hdX,gptY pair. It really sucks that you can't have separate installations
[20:50] <cbreak> chesteroni: maybe ubuntu installer did something dumb and installed the grub onto the wrong efi partition?
[21:10] <chesteroni> cbreak: it looks like that. I am 100% sure that from the dropdown menu I have picked 'sda' when installed the second time
[21:11] <chesteroni> and it still installed on nvme despite my choice :(
[21:12] <chesteroni> I saw some advisory for dual ubuntu installation on separate drives and it mentions that dropdown. Apparently there is something wrong, maybe only for nvme + sdx combination (nvme is still something not that widely tested as hdd/ssd
[21:17] <zenof> chesteroni: what's your goal? to have two or three completely separated installations, so with two installations of grub, or only a single grub managing the different installs?
[21:19] <chesteroni> the former; few completely separate installations with separate GRUB installation, all installations having full disk encryption like described here: https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 , I want to switch between them in BIOS
[21:20] <chesteroni> disks are subject to change so I want that flexibility + I want to perform some experimentation with one installation and I don't want to break the main installation, they don't need to be aware of each other (+ I can use 'disks' utility to cross-mount them if needed)
[21:21] <zenof> okay, then it might be a solution to plug in only the drive you're currently installing on?
[21:22] <chesteroni> not really, I don't want to touch the NVME plugged in motherboard - I would need to remove GPU, then the cover on the MB and it may at some point end badly
[21:22] <zenof> temporarily disable it in BIOS?
[21:23] <chesteroni> I don't see that option in my bios (gigabyte motherboard)
[21:23] <chesteroni> not for nvme drives for sure - I looked for that
[21:25] <zenof> hm, don't have one, can't help on that... then, only thing I can think of would be to not let the installer install grub at all, but do it manually afterwards.
[21:26] <zenof> which undermines a bit the convenience the installer should bring...
[21:26] <chesteroni> that may be one option but doing that all with encrypted LVM looks like serious PITA
[21:29] <chesteroni> it all look like bug in the installer to my taste. I will just give up for now because I can't even force grub to properly boot another drive - initramfs constantly tells me I haven't passed 'root' variable despite I did that - this has taken 1.5 my day :/
[21:34] <tomreyn> i haven't followed the full conversation, but there's an existing bug report about the installer ignoring the grub installation target on uefi installations, but just installing grub to the first efi system partition
[21:34] <tomreyn> maybe that's what this is about, chesteroni?
[21:35] <cbreak> chesteroni: I do full disk encryption via zfs
[21:35] <cbreak> but the process was a bit manual
[21:35] <tomreyn> bug 1396379
[21:35] <chesteroni> tomreyn: that looks exactly like my problem based on your description
[21:36] <cbreak> and boot isn't encrypted, just the root
[21:36] <cbreak> tomreyn: that bug's seven years old
[21:37] <chesteroni> cbreak: boot is encrypted - check how it is achieved now in the tutorial I linked aboce
[21:37] <tomreyn> cbreak: that's a correct observation
[21:37] <cbreak> chesteroni: yes, I could also encrypt boot if I'd use other techniques
[21:38] <cbreak> but the way I do it works with multiple EFIs :)
[21:38] <cbreak> tomreyn: surely, the ubuntu people would have been able to fix such a high severity issue within 7 years :O
[21:38] <chesteroni> well seasoned bug
[21:39] <tomreyn> cbreak: i don't know how the desktop teamprioritizes things, but i cannot understand this either. i do get the impression that they basically gave up on ubiquity and are just focussing on the new installer now.
[21:40] <cbreak> seems like it :/
[21:40] <cbreak> I'm thinking about switching away from grub
[21:41] <cbreak> moving my boot into the main pool, so it's also encrypted, and booting via zfs-bootmenu
[21:41] <cbreak> but that's even further from stock ubuntu than I'm already
[21:41] <chesteroni> I don't mind anything that provides fde with ext4 as primary partition type
[21:42] <chesteroni> and with stock ubuntu: I am also using hashcat and nvidia gpu - it didn't work when I tried 21.10
[21:42] <tomreyn> grub can boot off LUKSv1, and soon LUKSv2
[21:42] <chesteroni> it all works good with grub, it's ubuntu installer what has bug
[21:43] <tomreyn> use debootstrap
[21:45] <cbreak> chesteroni: maybe you have to do the windows thing
[21:46] <cbreak> physically disconnect or disable in your UEFI menu the other device, before you start installing ubuntu, to prevent it from clobbering everything else
[21:47] <chesteroni> I didn't need to disable anything when I installed windows and ubuntu on separate nvme drives
[21:47] <chesteroni> I have two physically separate nvme and ssd drive as third device
[21:47] <chesteroni> to my surprise win/linux managed to keep the separation well
[21:47] <chesteroni> only linux+linux have issues ;/
[21:48] <cbreak> well, I guess windows isn't as bad as ubuntu then
[21:48] <chesteroni> in this case you are unfortunately right
[21:52] <chesteroni> wow, using that bugreport I managed to at least boot the nvme-based linux, thanks!
[21:54] <Aarch64debian> why is ubuntu bad
[21:56] <chesteroni> because it has serious issue in the installer for many years and it breaks people's installations - ignoring that kind of bugs is just bad
[21:57] <chesteroni> and I am not Windows fan at all - I am just a guy who had to re-install his system and wasted a lot of time because simple option in the installer just does not work
[21:57] <chesteroni> Ubuntu user since Hardy Heron :)
[22:05] <chesteroni> I have emailed Tj (FDE howto author) about this issue and possible solution
[22:06] <chesteroni> I am going to install ubuntu twice for the third time and fix the installer error