[00:01] <Jordan_U> xaviergmail: I have very little experience with ufw, but the first thing I would try is to make sure that you have a terminal multiplexer like screen or tmux, and then in one of those "windows" run "sudo sleep 5m && sudo ufw disable" . Or make a one line bash script with "sleep 5m && ufw disable" and run it as root. The reason I ran sleep as root, which may seem odd, is to try to ensure that sudo doesn't
[00:01] <Jordan_U> try to prompt you for a password when bash tries to run "sudo ufw disable", because with no ssh connection that could be bad...
[00:08] <Jordan_U> xaviergmail: Another more general option, which I don't actually recommend but which I have actually used for testing out different complex and critical configuration changes on a remote system, is to play with btrfs snapshots and rebooting. What I've done multiple times is first I have an entry in my /etc/fstab that just mounts the root subvolume to /all_subvolumes/ . Then I run "sudo btrfs filesystem
[00:08] <Jordan_U> snapshot / /all_subvolumes/@_before_making_unwise_changes/" then "sudo mv /all_subvolumes/@ /all_subvolumes/@_after_making_unwise_changes/" then "sudo mv /all_subvolumes/@_before_making_unwise_changes/ /@/" (which makes my safe snapshot the snapshot that will be mounted as '/' on next boot), then "sudo shutdown -r 10" to reboot the server in 10 minutes unless I cancel. If I get disconnected, I wait 10
[00:08] <Jordan_U> minutes for it to automatically reboot and I reconnect and try again.
[00:10] <Jordan_U> xaviergmail: If my unwise changes work well, then I "sudo mv /all_subvolumes/@after_unwise_changes/ /all_subvolumes/@/" and the subvolume that I've been booted from stays the defautl subvolume mounted in future boots.
[00:23] <tomreyn> Doc-Saintly: https://wiki.archlinux.org/index.php/PRIME should help there
[00:24] <tomreyn> Doc-Saintly: not too rarely, you can also set the primary graphics card on the 'bios'
[00:28] <uix> if I have four NICs on my computer and I want to use nmtui to configure three of them on a bridge (which I have done by master/slave configuration) and one port be the "WAN" port then is it still necessary to configure the other NIC ports as Ethernet ports individually in order to make them viable for usage?
[00:32] <Doc-Saintly> tomreyn, thanks, I'll read. Actually it's a virtual machine that I am passing through GPUs to, and I just want to use the basic display
[00:35] <tomreyn> Doc-Saintly: as long as xrandr sees those providers and they can operate (drivers + firmware loaded properly?), should be ok.
[00:36] <Doc-Saintly> none of the xrandr commands seem to work. they all say can't open display, even just trying to list
[00:37] <tomreyn> see whether the graphics cards were properly initialized then. journalctl -b
[00:40] <Doc-Saintly> I would guess not since I blacklisted the amdgpu driver while trying to get it to stop loading
[00:40] <Doc-Saintly> even setting the radeon.modeset=0 didn't prevent it from using it as the default, so I went all the way to black listing the driver
[00:40] <Doc-Saintly> I'll undo that and see if I can get the config to respond
[00:41] <cthulchu_> folks, how do you make files in Gnome?
[00:41] <cthulchu_> make empty text files
[00:41] <cthulchu_> the context menu only has an option to make folders
[00:41] <cthulchu_> odd
[00:42] <uix> cthulchu_: gedit <filename>
[00:42] <oerheks> touch <name>
[00:42] <uix> or that
[00:43] <uix> (do that from the terminal)
[00:43] <Doc-Saintly> tomreyn, don't see anything crazy in the journal after enabling it again
[00:44] <Doc-Saintly> (II) AMDGPU(0): [KMS] Kernel modesetting enabled. Number of created screens does not match number of detected devices. Configuration failed. (EE) Server terminated with error (2). Closing log file.
[00:44] <Doc-Saintly> X configure tells me that though
[00:46] <tomreyn> Doc-Saintly: but autoconfiguration during boot succeeded?
[00:46] <Doc-Saintly> Can you clarify what you mean by that?
[00:46] <Doc-Saintly> it loads the AMD card successfully (my OpenCL tools can use it now) but the integrated display I want to use just shows me the flashing _ now
[00:47] <tomreyn> Doc-Saintly: when Linux starts up, it will load graphics drivers if graphics hardware is detected,and those may load firmware. later one, if X starts up automatically, X will automatically generate a configuration on the fly and report the results of doing so.
[00:48] <Doc-Saintly> I see. I'm looking at the /root/xorf.conf.new and I see that it's trying to put the "Screen0" (coming from the AMD card) as the first one
[00:48] <oerheks> my bios gives a priority setting, IGP, descrete gp, both
[00:48] <tomreyn> Doc-Saintly: "integrated display"? so which graphics hardware are yu passing through?
[00:49] <Doc-Saintly> tomreyn, I'm using a VM with a virtualized "onboard display", and passing through a physical GPU
[00:49] <Doc-Saintly> I want the virtualized onboard display to be the primary display and the others to just be for open CL
[00:50] <tomreyn> "onboard display" sounds like you have an integrated gpu with the cpu, and then the dedicated graphics card?
[00:51] <tomreyn> which virtualization are you using?
[00:52] <Doc-Saintly> tomreyn, proxmox (qemu I think?)
[00:52] <Doc-Saintly> tomreyn, there is only one physical GPU that is being passed through (the one I don't want it to use for display), and then a virtualized one attached directly to the machine
[00:53] <Doc-Saintly> when I don't pass through the GPU, the virtual one works fine.
[00:53] <Doc-Saintly> Is there not a simple way to tell Ubuntu "use this device as your primary display" ?
[00:57] <tomreyn> see the "Device" Sections at https://blog.lobraun.de/2017/10/31/xorg-configure-no/ - this lets you specify which hardware X should use. the first one configured will be the primary one, i think
[00:58] <Doc-Saintly> ok, I'll play with that. is it possible to reload the config without restarting?
[01:00] <tomreyn> i doubt it
[01:05] <Doc-Saintly> tomreyn, well, no dice. I commented out all things in the xorg config file related to the other screen and device, set the one I want to the 0 position and it still gives me the blinking _
[01:05] <Doc-Saintly> thanks for your help, I'll have to try again tomorrow
[01:15] <discodingo> Hi - wondering if anyone has successfully installed Ubuntu on Razer Blade Stealth 2020. I'm having trouble booting into the liveusb. It keeps going to a blank screen.
[01:23] <cthulchu_> damn I like python
[01:23] <cthulchu_> on ubuntu :)
[01:40] <tomreyn> !nomodeset | discodingo
[01:49] <m0rd3cai> Hey guys hoping someone can help here. Setting up ubuntu on a machine with raid (just raid 0, 2 drives), Installs just fine until i get to the bootloader and this is where I am stuck. installing the BL at /dev/sda didnt work, I believe because of the raid which was setup as a just a standard 2 drive raid. I wasnt aware this changed the location the bootloader is supposed to be installed to.
[01:49] <m0rd3cai> Im still in the installer, is this an easy fix?
[01:49] <cthulchu_> any suggestions for a nice screenshooter? I need it to be able to make partial screenshots, allow simple editing (blur, arrows, text) and upload to a few destinations, including imgur
[01:50] <oerheks> standard screenshot tool is great under gome
[01:50] <oerheks> no need for something else
[01:50] <cthulchu_> oh, i didn't realize. gonna try, thanks
[01:51] <oerheks> hit print-screen :-)
[01:51] <m0rd3cai> Oh, also, when /dev/sda fails, i get a choice to choose different device. When I select the list of a different device I have tried both options but neither does anything.
[01:51] <cthulchu_> it doesn't allow upload or editing
[01:51] <cthulchu_> so not good enough
[01:52] <tomreyn> m0rd3cai: raid0 means "make it twice as likely as a single disk to loose my data". do you really, really want to loose data?
[01:55] <m0rd3cai> raid is of no concern. its a pc laying around my house, Do you have any idea why the bootloader wont load onto /dev/sda? even when i choose a different device from a dropdown menu it still willl not install.
[01:56] <tomreyn> m0rd3cai: is it software raid? are you booting in bios or uefi mode? how did you partition?
[01:57] <tomreyn> also which ubuntu release are you installing, and using which installer?
[01:57] <m0rd3cai> the configuration for raid comes right after bios on boot, Some type of hardware. even though its raid the pc should just see it as hard drive. not sure why this installation is being different.
[01:58] <tomreyn> so some fakeraid
[01:59] <tomreyn> does the installer see one or more disks?
[01:59] <m0rd3cai> just 1, thats where im confused
[02:00] <cthulchu_> how do I reload my console's context after editing bashrc?
[02:00] <Jordan_U> m0rd3cai: Are you installing for UEFI or BIOS based boot?
[02:00] <m0rd3cai> bios. i dont want UEFI headache for this pc. Itll be air gapped
[02:01] <tomreyn> how did you partition?
 also which ubuntu release are you installing, and using which installer?
[02:01] <cthulchu_> of, . ~/.profile  did the trick
[02:01] <m0rd3cai> tomreyn selected automatic partitining
[02:02] <tomreyn> okay, 2 more questions to go, you can do it!
[02:02] <Jordan_U> m0rd3cai: Using CSM with UEFI based motherboards often causes problems. For example, the boot firmware will assume that since you're booting via BIOS that you must be installing an old release of Windows that doesn't support UEFI, like XP, and disables features XP doesn't support, or enables cludges to work around XP bugs (that then cause problems with Linux), or simply use code paths that are not well
[02:02] <Jordan_U> tested.
[02:03] <Jordan_U> m0rd3cai: Please pastebin the output of "sudo parted -l" and "sudo blkid".
[02:05] <m0rd3cai> gotta put the kid to bed, back in a second
[02:34] <_jak> Hi everybody! I know I can disable the gnome-shell overlay key by setting org.gnome.mutter overlay-key to an empty string, but I'm wondering how I might set it to a combination of keys
[02:34] <_jak> basically, I'm wondering how to represent a combined keypress, if that's a thing that would even make sense
[02:34] <_jak> anybody know how to do that?
[02:42] <SrPx> I'm just trying bspwm for the first time, but it seems like a lot of gnome configs are ignored. For example, zoom, natural scrolling. That means windows become really small on my 4k XPS 13. Is there any way to inherit gnome's configs?
[02:45] <Jordan_U> SrPx: Firstly, probably not. Unfortunately for the most part configuration for one desktop environment will not be compatible / usable by another DE, or in this case another Window Manager. Also, it sounds like you want HiDPI support, and I don't think bspwm has that.
[02:45] <SrPx> I see, okay. Is there any windows manager with HiDPI support?
[02:45] <SrPx> tiling*
[02:48] <Jordan_U> SrPx: sway is a drop in replacement for i3wm, but written from scatch as a Wayland compositor. For HiDPI, especially if you have multiple displays with different scaling values, Wayland is generally a better fit than Xorg.
[05:16] <uix> hmmm....more ipv6 users than I realized
[05:42] <m0nk3y_b0y> Do you guys think its important to check Ubuntu iso checksum before installing? I installed Ubuntu without checking and now it has me wondering ...
[05:48] <M_aD> m0nk3y_b0y: always check the checksum
[05:49] <m0nk3y_b0y> M_aD: shit so now I got to reinstall? damnit
[05:52] <m0nk3y_b0y> would Ubuntu admit to having been hacked and had a modified iso being downloaded by thousands of people from their site?
[05:53] <m0nk3y_b0y> not sure if its worth re-installing just to check the checksum
[05:53] <oerheks> !fud
[05:53] <M_aD> not necessarily but the next time just do so and check
[05:53] <oerheks> just check your iso with md5sum, many usb tools check it automaticly
[05:54] <m0nk3y_b0y> I don't have t he iso now since I wrote it to a usb
[05:54] <oerheks> intresting.
[05:55] <M_aD> m0nk3y_b0y: if you're really in doubt, download the iso again, run the checksum and reinstall. Done. :)
[05:55] <m0nk3y_b0y> M_aD: I guess thats the only way to do it
[06:03] <m0nk3y_b0y> M_aD: but I think if that ever happened I think it would have definitely make news
[06:06] <m0nk3y_b0y> ubuntu wouldn't have to admit anything, as soon as someone sees checksum doesn't match its news
[06:07] <oerheks> .. as you cannot prove the download is wrong, please stop these wild conspiracies, thanks.
[06:07] <oerheks> this is a technical support channel
[06:07] <m0nk3y_b0y> true
[06:22] <M_aD> what happend to Mint a few years ago doesn't mean it will happen to Ubuntu
[06:23] <oerheks> sure, there has been a nasty incident withs snaps.
[06:23] <oerheks> not a breach but a malware/backdoor upload.
[08:27] <Doc-Saintly> I'm having issues with X11 not loading my config, I get these errors:
[08:27] <Doc-Saintly> https://bin.disroot.org/?1923967d445fd4a3#8jFCsXeSRXn4r715V2mcWEtpB7GxahuFNkKsBB8emkYG
[08:29] <Doc-Saintly> This is my conf file, you can see I've commented out a second monitor I am trying to disconnect:
[08:29] <Doc-Saintly> https://bin.disroot.org/?808511c52fef4f84#4tLyYkr2BedcX4JiXJJhmcTA3YmAumYgVDf2Vrv6BGzY
[08:43] <Doc-Saintly> I notice there are two of these files, one in snap and one in another place?
[08:43] <Doc-Saintly> locate radeonsi_dri.so
[08:43] <Doc-Saintly> /snap/gnome-3-34-1804/24/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
[08:43] <Doc-Saintly> /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
[08:48] <Doc-Saintly> >.< Why is there not a simple way to tell Ubuntu "Just use this graphics card to display"
[09:19] <fego> 1/
[09:20] <lotuspsychje> can we help you fego
[09:25] <lotuspsychje> !19.10
[09:29] <MadLamb> I'm getting this power management notification sound every 30 seconds. How can I figure out what is going on?
[09:30] <lotuspsychje> MadLamb: journalctl -f and see what kind of errors you are getting in realtime
[09:32] <MadLamb> lotuspsychje, as the sound plays, nothing shows up there
[09:33] <MadLamb> its like Im disconnecting the power supply and connecting again
[09:33] <lotuspsychje> MadLamb: can you pastebin your dmesg please, lets have a look there
[09:35] <MadLamb> lotuspsychje, https://pastebin.com/JD2DGs7A
[09:36] <lotuspsychje> MadLamb: thats only a little piece of dmesg, full log please, seems like your cpu jumping up and down
[09:38] <MadLamb> lotuspsychje, https://pastebin.com/dWVbXreB
[09:40] <lotuspsychje> MadLamb: still missing some info like kernel & bios versions, you might wanna enter your bios and check your cpu settings/temps
[09:40] <MadLamb> lotuspsychje, I did dmesg > full.txt
[09:41] <lotuspsychje> MadLamb: try just dmesg in terminal and copy paste from there
[09:41] <MadLamb> lotuspsychje, Im using psensor, cores are at ~70c
[09:42] <lotuspsychje> MadLamb: are you overclocking your pc?
[09:43] <MadLamb> lotuspsychje, no
[09:43] <MadLamb> lotuspsychje, its a notebook btw
[09:44] <MadLamb> lotuspsychje, https://pastebin.com/bCw7sAEu
[09:44] <lotuspsychje> MadLamb: try this, sudo apt install inxi, then pastebin the output of inxi -F
[09:45] <BluesKaj> 'Morning all
[09:46] <MadLamb> lotuspsychje, https://pastebin.com/nZD42hw7
[09:47] <lotuspsychje> MadLamb: tnx, looks a pretty neat system, did you check if your mobo has biosupdates?
[09:47] <MadLamb> lotuspsychje, for a while no
[09:48] <MadLamb> lotuspsychje, you know this sound when you disconnect the power supply?
[09:48] <MadLamb> lotuspsychje, it plays that, and imediately after the one when you connect
[09:48] <lotuspsychje> MadLamb: i do yes, im also on 20.04
[09:48] <MadLamb> lotuspsychje, like I was disconnecting and reconnecting it very fast
[09:49] <MadLamb> and it happens every ~30 seconds
[09:49] <MadLamb> feels like some power mgmt stuff
[09:49] <lotuspsychje> MadLamb: can you try something, create a new test user and see if dmesg splits out the same there aswell?
[09:49] <lotuspsychje> *spits
[09:49] <MadLamb> lotuspsychje, the same in the sense of the throtling?
[09:50] <MadLamb> lotuspsychje, my assumption this is due to the heavy load I have on the system. I doubt this is related
[09:50] <lotuspsychje> MadLamb: yeah the cpu throttle errors
[09:50] <lotuspsychje> MadLamb: this way we can rule out its hardware or user related
[09:50] <MadLamb> I`m running ~30 docker containers, intellij IDE, chrome, etc...
[09:51] <lotuspsychje> right..
[09:51] <MadLamb> its heavy load :D
[09:51] <lotuspsychje> so i would suspect its your suer indeed
[09:51] <lotuspsychje> user
[09:51] <MadLamb> right but anyway I dont want to hear a popping sound every 30 seconds
[09:51] <MadLamb> even if its related to load
[09:51] <MadLamb> Im not disconnecting my power supply
[09:51] <MadLamb> so it doesnt make any sense
[09:52] <MadLamb> regardless of the load, as long as the cable is still connected, I should not hear this sound
[09:52] <lotuspsychje> MadLamb: but if ubuntu says there's something going on by default, there's something wrong right
[09:54] <MadLamb> lotuspsychje, https://askubuntu.com/questions/175602/periodic-clicking-sound-from-pc-speaker
[09:57] <lotuspsychje> MadLamb: what you can try is tweaking your sound alerts with dconf-editor, but that would be ignoring system problems right
[10:02] <MadLamb> lotuspsychje, I see your point but I dont get why CPU throttling would display a power disconnection notification. I agree I need to look into the CPU thing, it just doesnt seem to be connected.
[10:03] <lotuspsychje> MadLamb: yeah, we did not prove yet its related
[10:03] <MadLamb> lotuspsychje, also I am not hearing the sound when the throttle happens
[10:03] <lotuspsychje> exactly
[10:03] <lotuspsychje> MadLamb: its not like your battery or something?
[10:04] <MadLamb> lotuspsychje, could be, I had a bloated batt before
[10:04] <MadLamb> lotuspsychje, maybe if I remove the batt and run the device without it I can know
[10:04] <lotuspsychje> yeah try that
[10:05] <MadLamb> lotuspsychje, (its not removable btw, need to really take it out)
[10:05] <lotuspsychje> lets hope its not glued then :p
[10:16] <Xano> Morning! Is it possible to install 20.04 on top of an existing installation, on an encrypted disk, keeping /home intact? Even when decrypting and mounting the volume, the installer does not seem to recognize the existing installation.
[10:33] <tomreyn> Xano: i don't think any of the installers (other than debootstrap, but that's not a full installer) would support this scenario.
[10:34] <tomreyn> Xano: maybe the easiest approach is to backup and then install + restore
[10:43] <Doc-Saintly> What is the difference between blacklisting a driver and using modeset in GRUB?
[10:46] <tomreyn> the former prevents a driver from loading,t he latter switches to a different mode of initialization
[10:49] <tomreyn> for mode setting there's KMS (kernel mode setting) and UMS (user (space), so without direct kernel involvement). UMS was the default with almost all graphics drivers some years ago, nowadays KMS is for most.
[10:55] <Doc-Saintly> which is correct? radeon.modeset=0 or amdgpu.modeset=0 ?
[11:05] <Doc-Saintly> tomreyn, from your feedback yesterday, I've tried editing the xorg config to remove the other GPUs, but in the error log I can still see that there is an error loading the amd drivers.
[11:06] <Doc-Saintly> So I'm guessing the flashing _ I'm seeing is because X11 is failing to start in general when trying to load the AMD drivers, but why is it trying to load them at all if I have removed those devices from the X11 config?
[11:06] <scatterp> hi i have a script that i am launching from php it then source`s a second script which shutsdown apache2 but the source`ed script terminates at this point how can i avoid this behavior i want to complete a task then restart apache2
[11:06] <qpt> Hi, I am trying to use 'at' to run a bash script and pass it some parameters. However it doesn't like how I input this. if I do at 21:04 -f _TAB.SH param1 param2 param3 it gives me this "Error in day of month. Last token seen: D Garbled time"
[11:07] <qpt> Adding quotations "" around the entire thing from _TAB to the end, or just the parameters, also doesn't work either. Any suggestions?
[11:07] <tomreyn> Doc-Saintly: i would guess that you want neither radeon.modeset=0 nor amdgpu.modeset=0. i think both drivers are meant to be used with KMS (and this option disables it, which woud only leave UMS, which I don't think these modules support well, or at all?)
[11:08] <Doc-Saintly> I see. I'll remove them then... Even when I have the flashing _ and the display doesn't work, I can access the cards via OpenCL, which is what I want.
[11:08] <tomreyn> Doc-Saintly: before passing kernel parameters you should get a better understanding which of those modules match your hardware
[11:08] <Doc-Saintly> so it shows that the OpenCL driver is working for these cards. so I just need the system to stop trying to display to the cards and use my other dislpay
[11:10] <lotuspsychje> qpt: perhaps a question for ##linux ?
[11:10] <lotuspsychje> or #bash
[11:10] <qpt> i'm banned for some reason :(
[11:10] <qpt> oh ok i'll try #bash, ty
[11:15] <tomreyn> scatterp: append ' &' (not the quotes) to the command you're calling from php. overall this doesn't sound like a very good approach, restarting a webserver from a scripting language depending on it.
[11:16] <scatterp> tomreyn its not its a hack to solve an issue
[11:16] <scatterp> thx
[11:16] <scatterp> will try it now
[11:42] <Doc-Saintly> :\ even disabling glx graphics acceleration in the xorg conf it keeps trying to initialize the radeon drivers. This is a bit insane ~.~
[12:08] <sohailahmed> What is the preferable way of uploading pdf here?
[12:09] <sohailahmed> or a pic
[12:14] <quadrathoch2> sohailahmed imgur.com
[12:20] <sohailahmed> quadrathoch2: thanks!
[12:22] <sohailahmed> I am having a little problem. There is this jnlp file that I run by javaws filename.jnlp and now I have this applet. The problem is that text fields are very small while all my other programs are executing fine. Here is the image: https://i.imgur.com/qiQ0DP8.png
[12:23] <sohailahmed> What could be the problem?
[12:25] <tomreyn> looks like mismatched fonts to me. there's probably not a lot you can do about it unless there are helpful warnings / error messages when you start it from a terminal.
[12:26] <tomreyn> your best option may be to contact the developing company about it.
[12:27] <sohailahmed> tomreyn: any thing I can try. Actually, the developing does not provide support for linux
[12:28] <tomreyn> maybe you can run what they support in a vm
[12:29] <tomreyn> are there any warnings / error messages when you start it from a terminal?
[12:30] <sohailahmed> tomreyn: Not that I know of.
[12:49] <zeroes> I am trying to set up a simple sftp for learning by ~ following this guide, https://linuxhandbook.com/sftp-server-setup/. When I tried to access the sftp server and passed password, I got this error "packet_write_wait: Connection to <ip> port 22: Broken pipe"
[12:50] <zeroes> someone know what is wrong?
[12:56] <zeroes> roughly I have created a user and a sftp-group to access a sftp-server (/sftpdata/<username>/). Then appended this lines '"Match Group sftpg ChrootDirectory /sftpdata/%u ForceCommand internal-sftp"' to /etc/ssh/sshd_config
[13:00] <Doc-Saintly> tomreyn, I made one change in Proxmox, setting the GPUs to pci express = false, and now things suddenly work. It actually reads my Xorg config and shows the single display, and I can connect to the cards via open CL
[13:00] <Doc-Saintly> before I go bug them, any ideas why that would make such a big difference in how X11 loads things?
[13:03] <andi_> if i want my ubuntu 20.04 get connected with an windows network (activ directory) is there anything special i need to do?
[13:04] <SrPx> My Dell XPS 13 developer edition stopped booting. It was working when I went to sleep. Now after the login screen it just stays purple. What do I do now? I spent 2 days configuring it
[13:13] <SrPx> booted!
[13:30] <zeroes> lyhyesti: olen luonut sftp:n käyttäjän ja ryhmän. Sen jälkeen loin kansion jaettavaksi. Sen jälkeen appendasin tämän: '"Match Group sftpg ChrootDirectory /sftpdata/%u ForceCommand internal-sftp"'  /etc/ssh/sshd_config-tiedostoon.
[13:30] <zeroes> sorry wrong channel
[13:39] <foxen__> :o
[13:55] <SrPx> So, in order for my keyboard layout to work, I need lv3:caps_switch. But it seems like that only affects Ubuntu, not a separate tiling windows manager like i3 or bspwm. Does that mean I can't remap caps lock to lv3 on it?
[13:58] <nomn> apt has <2018 version packages (git, python3...) as the newest ones, is this normal on a 18.04 release?
[14:01] <sonOfRa> nomn: well, the ubuntu version itself was released in april of 2018, so of course all packages must be older than *that*
[14:01] <sonOfRa> Generally, the feature-freeze is quite a bit (at least a month or two) before the release, so that'd be february 2018, so all packages would be older than that.
[14:02] <nomn> so i need the latest release to access up-to-date repos? hmm
[14:04] <sonOfRa> nomn: yes. Generally, you get security updates backported to older versions. But if you want new package versions, you need to update to a newer release
[14:07] <nomn> i'm not sure why that is, is it for security reasons? new versions of packages are tested and it takes time?
[14:09] <DJones> Quick question about vm's and hardware, I've inherited an old (Win XP age) film scanner that I've been asked to scan some some 50+ year old film negatives for my mother in law. The scanner is so old, that there isn't a driver for Win 10 and although recognised via lsusb in Ubuntu 20.04, there isn't a suitable driver for it.  If I set up virtuabox with a win xp install in it, would the scanner be recognised
[14:09] <nomn> what makes one distribution be faster at updating its repos than another?
[14:09] <DJones> in the VM even though the host operating ...
[14:09] <DJones> ... system won't recognse it with a driver to be able to use it. I wasn't sure if the hardware had to be recognised by the host O/S before it would work in the VM, or whether the VM just works at a hardware level. If its not likely to work, I won't waste time trying it, I have got it working on an old laptop with a Win Xp install, so its ot a major problem, just wondering for a longer term solution
[14:11] <DJones> nomn: Generally, that would just be down to how quick the maintainers are able to update & test
[14:40] <SrPx> ok still about the configuration issues, I'm confused
[14:40] <SrPx> definitely none of my Ubuntu configs (keyboard tweaks, touchpad settings, display dpi, etc.) were loaded by BSPWM
[14:41] <SrPx> but it seems like I can easily re-add those configs back one by one on my .xinitrc, through commands like xset
[14:41] <SrPx> so my question is, why didn't gnome just use .xinitrc and similar files to store its config in a way that is compatible with other environments?
[14:41] <SrPx> seems a little confusing that configs go in so many different places
[14:45] <srged> I am having trouble connecting the power source to the mainboard. can anyone help ?
[14:51] <pinheadmz> when I xxd this file that has a 40 character string in it and nothing else, in ubuntu there is a 0x0a (line feed) byte at the end. This is not the behavior of OSX and is causing me a bit of a headache... any thoughts? THe file has no extension could that be it?
[14:52] <pinheadmz> echo 'test' > test; xxd test
[14:58] <satanist> pinheadmz: echo impliziet prints a \n at the end, also most editors implizied add a \n at the end of a file
[14:59] <satanist> you can create a file without a \n at the end with printf 'test' > test
[15:05] <thyriaen> Hi, i am running a fresh install of Ubuntu 20.04 ( default kernel, packages fully upgraded ) and i would like to use a ethernet-to-USB-C adapter, which does not "work" i think it doesn't get reccognized because it does not change the output of lsusb - can someone help me to debug the issue ?
[15:17] <akik> thyriaen: watch "dmesg -Tw" while you plug it in
[15:17] <thyriaen> aktik, does the wlan cable has to go in aswell, or does that not matter for dmesg ?
[15:18] <thyriaen> the wireless lan cable
[15:18] <thyriaen> :)
[15:18] <akik> heh
[15:18] <akik> not needed
[15:18] <thyriaen> kk ^
[15:19] <thyriaen> nothing happens
[15:19] <akik> thyriaen: here's an example when i insert an usb-to-ethernet adapter https://pastebin.com/raw/WF0Lm3Vx
[15:20] <akik> thyriaen: maybe that usb port is broken
[15:20] <thyriaen> i get no change, no interupt or anything
[15:20] <thyriaen> i used a different port, which works ( for power ) and still no change
[15:20] <akik> maybe the device is broken :)
[15:20] <thyriaen> and "sometimes" it does work
[15:21] <thyriaen> yea, possible but i just bought it new
[15:21] <thyriaen> i could try my other pc
[15:22] <thyriaen> are you sure i don't need to plug in the ethernet cable ?
[15:22] <akik> thyriaen: yes
[15:22] <thyriaen> ok
[15:22] <thyriaen> anything else i can try ?
[15:23] <akik> thyriaen: try on another computer
[15:23] <thyriaen> ok gimme a sec
[15:24] <akik> watch dmesg -Tw
[15:24] <thyriaen> ill need to go offline here to check
[15:24] <thyriaen> wait no, i dont have to
[15:28] <thyriaen> akik it works on the ather pc
[15:29] <akik> thyriaen: ok not sure what's going on then with the other pc
[15:30] <thyriaen> could it be a kernel problem ?
[15:30] <thyriaen> on the other pc i am running Ubuntu 16.04 with the newest mainline kernel
[15:31] <thyriaen> or maybe a bios setting ?
[15:32] <akik> thyriaen: it showing nothing when you plug it in indicates a hardware problem
[15:33] <thyriaen> hmm
[15:34] <thyriaen> okay ty not sure what else to try now tho
[15:37] <TheWild> hello
[15:37] <TheWild> when PHP 7.4 will be added to the apt repository?
[15:38] <akik> thyriaen: maybe reset the bios/uefi settings to default and boot a live session
[15:39] <thyriaen> akik will do, i'll report back
[15:43] <quadrathoch2> TheWild ubuntu 20.10
[16:21] <tomreyn> TheWild: it'S in 20.04 LTS
[16:22] <TheWild> well... maybe it's time to upgrade my OS
[16:22] <TheWild> "There is no development version of an LTS available."
[16:22] <tomreyn> you can easily check such things on https://packages.ubuntu.com by the way
[16:23] <tomreyn> the quoted statement seems correc to me
[16:23] <tomreyn> *correct
[16:23] <TheWild> so... 20.04 LTS isn't officially released yet?
[16:24] <tomreyn> sure it is. what makes you ask this?
[16:25] <TheWild> then why quoted statement seems correct for you?
[16:25] <WaV> I believe there seems to be some confusion as to the statement he quoted.
[16:25] <tomreyn> because no LTS release is currently in development
[16:25] <TheWild> :O
[16:26] <TheWild> okay, then why my OS expects a development version?
[16:26] <tomreyn> does it? what makes you think so? and what is 'my OS' anyways?
[16:27] <TheWild> it's Ubuntu 18.04.4 LTS
[16:27] <TheWild> ("my OS" alias of "OS installed on my computer")
[16:28] <tomreyn> i see. now what makes you think that your ubuntu 18.04 LTS installation is 'looking for' an in-development LTS release?
[16:28] <tomreyn> sorry, 'expecting'
[16:29] <geirha> The option to upgrade should appear when the first point release (20.04.1) is released
[16:29] <tomreyn> or i could just answer the question you never asked, but seem to have on your mind: no, there's no support too upgrade 18.04 LTS to 20.04 LTS, yet.
[16:30] <TheWild> well, all clear. Thanks tomreyn.
[16:31] <tomreyn> you're welcome
[16:51] <compufreak> Are there differences beside image format for the ubuntu cloud images? https://cloud-images.ubuntu.com/
[16:55] <tomreyn> yes, they also differ by version, size, timestamp (just slightly)
[16:56] <compufreak> Are there docs/where can I find the build source? I have a cloudinit metadata service I'm setting up/testing out
[17:02] <tim9p> hi, in case of low disk space, the file system automatically turns to read-only mode.
[17:03] <tim9p> if i free up the space, is there a way to recover it from read-only mode to normal mode, without restarting Ubuntu?
[17:03] <tomreyn> compufreak: i don't know, you may need to talk to canonical support on this. https://git.launchpad.net/~cloudware/cloud-images/+git/ubuntu-old-fashioned seems to provide a method to build the images yourself. but it seems to be not the default approach anymore. maybe this is no longer public.
[17:03] <compufreak> hmm, ok
[17:04] <tomreyn> tim9p: technically, yes. is this a safe approach and a good idea, though? most likely no.
[17:05] <tim9p> tomreyn: what is the (unsafe) technical method? :)
[17:05] <tim9p> even `df` is giving me `-bash: /bin/df: Input/output error`
[17:05] <tim9p> but i have freed up the space externally.
[17:06] <tim9p> os is kind of bricked atm.
[17:07] <tomreyn> then reboot?
[17:08] <tim9p> question is; is rebooting the only option?
[17:08] <tomreyn> the only sane option
[17:08] <tim9p> i would rather try something clever to save my work
[17:08] <tomreyn> save it on a different storage then
[17:10] <tomreyn> "bash: /bin/df: Input/output error" isn't an expected outcome of the root file system running full, there must be more problems.
[17:12] <tomreyn> and what triggers remounting / read-only is not "low disk space" but "file system inconsistency"
[17:13] <tim9p> it happened due to low diskspace (when it fell below ~150 MBs)
[17:13] <tim9p> it has happened before, i deleted some large files and restarted the computer to fix it.
[17:13] <tomreyn> make sure you never do this, there's several approaches to prevent it.
[17:14] <tomreyn> "this" -> run out of space on /
[17:18] <tim9p> thanks. i will try to review my mountpoints. for now, im restarting the system to recover from RO state.
[17:32] <bumblefuzz> how can I resize my ubuntu partition while using it?
[17:37] <Ken_H> Okay, apparently I am retarded.  I have installed Ubuntu Server 20.04 on a VM in FreeNAS.  I cannot get the DNS settings to bind.  I have modified /etc/systemd/resolve.conf, but it makes no difference.  Why doesn't it detect my DHCP settings, and if not, why doesn't it apply the settings I made to resolve.conf?
[17:38] <Ken_H> I previously had Ubuntu Desktop installed without issue.
[17:43] <blahboybaz> If I install a package by downloading the .deb from the creator's website then will it be tracked by apt for later updates? (will updates get pulled in with apt get update/upgrade)?
[17:44] <quadrathoch2> blahboybaz by default no, but there a lot of packages which install a repository that will then make apt track that. but that depends on the creator
[17:46] <blahboybaz> quadrathoch2: Is there any way to tell before downloading the package? Or before installing it?
[17:46] <blahboybaz> Something to see inside the downloaded packeage maybe to show if a repo will be installed?
[17:47] <quadrathoch2> blahboybaz you could 'unzip' it and look if there is a repo file in it
[17:47] <rfm> Ken_H, netplan is where to be configuring net in ubuntu server.  it's possible cloud-init is screwing something up, too, I did "touch etc/cloud/cloud-init.disabled" to make it go away...
[17:47] <blahboybaz> quadrathoch2: If there is then it should contain enough info to install the repo with apt and get the package that way right? (Assuming the maintainer did not provide the information).
[17:49] <quadrathoch2> blahboybaz yeah, as it's just a text file with deb http:// stuff in it
[17:49] <blahboybaz> right on
[17:49] <quadrathoch2> which will be moved to /etc/apt/sources.list.d/
[17:50] <Ken_H> rfm, I will try that.
[17:53] <blahboybaz> 1. I thought that ubuntu uses different version numbers for it's packages than what the creator may use? 2. Is there a way to actually tell if I'm going to get the latest version of something (with apt) before installing it?
[17:54] <quadrathoch2> apt info pkg blahboybaz
[17:57] <blahboybaz> quadrathoch2: That's not working
[17:57] <blahboybaz> tried every combo there is and geting all kinda complaints on the command line (but no action)
[17:58] <blahboybaz> with/without sudo, with/without "--" prefixed to "info", with apt, with apt-get... no go
[17:59] <quadrathoch2> apt show pkg does work? blahboybaz
[18:02] <blahboybaz> quadrathoch2:  Works, but..  for the package irssi I see version of " 1.0.5-1ubuntu4.2 " which appears to be an ubuntu specific versioning number ?  The irssi website shows the latest version is 1.2.2
[18:02] <blahboybaz> I don't see how to make a correlation between the data to ensure I will get the latest version (or not)
[18:34] <blahboybaz> irssi shows the latest version as being 1.2.2 on their website, however, apt show irssi shows the version as " 1.0.5-1ubuntu4.2 "  <--  there is no sequence of characters corresponding to " 1.2.2 " in that string.   1. How can I tell what actual version of irssi will be installed?
[18:35] <zutat> blahboybaz: the packaged version typically isn't the very latest one, but it's usually tested to work
[18:36] <quadrathoch2> and has security fixes backported
[18:37] <coconut> blahboybaz, apt policy weechat
[18:37] <blahboybaz> zutat: I understand.   I want to find a soln that includes updates / tracking through apt in the future (a connection to a repository). Also, I see that the available version in the existing repositories (default) is " 1.0.5-1ubuntu4.2 ". I don't see how to make a correlation between the data to ensure I will get the latest version (or not).   So I am hoping to both get the latest version now as well as have a connection to
[18:37] <blahboybaz> updates (and any dependencies) in the ongoing future.  The irssi website may contain information that is useful but I don't know how to use it (if that makes any sense).  I need help to implement the soln
[18:37] <Jordan_U> blahboybaz: "irssi --version" is helpful. Note that whatever version that gives you, there are also security updates on top of that.
[18:38] <Jordan_U> blahboybaz: (For me, on Ubuntu 20.04, it gives "irssi 1.2.2-1ubuntu1 (20190829 0225)" )
[18:38] <coconut> blahboybaz, apt policy irssi
[18:39] <blahboybaz> if it says " 1.0.5-1ubuntu4.2 " (even apt policy irssi contains that)  then does that mean that it's irssi version 1.0.5 ?
[18:40] <blahboybaz> Jordan_U: So maybe they have not (backported?) it to earlier versions of ubuntu?
[18:44] <blahboybaz> There is a gpg key given on the website but I don't know how exactly to use it to install the repository or if it is the correct repostory for my distro.  In the past I have preferred to use " add-apt-repository " to install repositories but I'm not sure how to make that work with the info that's available
[19:27] <blb4393> hello, why xserver-xorg would depend on python3-apport?
[19:28] <ioria> blb4393, error reporting , i guess
[19:31] <eydaimon> after installing linux on root encrypted, I add another ZFS device, and the bootloader gets confused. This is alpine linux but no one there has an answer. Maybe someone here is more informed ?   On my experimental machine, I solved it by reinstalling, but I want to know how to actually solve it since it's happening on my main machine now and I want
[19:31] <eydaimon> to fix without reinstalling
[19:31] <blb4393> ioria: exactly, so why the dependency. What if I don't want no error reporting
[19:31] <eydaimon> correction, it's not the bootloader that gets confused, but probably something probing. Screenshot: https://www.dropbox.com/s/ak4du3dosnunmqv/2020-07-18%2011.30.14.jpg?dl=0
[19:32] <blb4393> ioria: so I cannot purge this package without purging the whole xserver. That's insane
[19:37] <ioria> blb4393, if you don't want error reporting, you can disable it ; but the pkg is a dependency (probably considered a vital function for Ubuntu developers to gather and process crash logs)
[19:40] <thyriaen> when i try to shutdown my pc - it gets stuck on shutdown and displays this: https://hastebin.com/ukuzojuxaz.pl any help ? ( i am running 20.04 )
[19:41] <rr123> I have two screen, and I like to move the window(terminal,browser,document,etc) to the center of the screens so I do not need twist my neck for elsewhere for two long, is there a way do this faster? at the moment I alt-tab and select a windw, then drag it to the center, actually, swap will be even better, i.e. swap in a terminal window and swap out a browser, it's ok to read from non-center areas but just
[19:42] <rr123> not for too long
[19:42] <rr123> s/two/too/
[19:43] <rr123> shortcut with xdotool?
[20:20] <abdulhakeem> Is it possible to make Nextcloud run at a different port than 443 because I'd already be hosting a web page at 80/443?
[20:21] <tomreyn> this sounds like a good question for a nextcloud support channel
[20:26] <dm2912> abdulhakeem: it doesnt install in teh root www directory. and with a standard install its at your.domain.com/nextcloud anyway
[20:26] <dm2912> abdulhakeem: it doesnt install to your main domain unless you specify it to
[20:27] <dm2912> abdulhakeem: and then depending on your server you just reverse proxy it anyway. my domain is domain.xyz, nextcloud is at cloud.domain.xyz
[20:28] <dm2912> you dont switch ports, you just have it at either a subdomain on a subdirectory
[20:28] <dm2912> by default it installs and sets itself up in a subdirectory
[20:36] <liviuba> Hi, I'm trying to install ubuntu 20.04 on a Lenovo ideapad and I get "lvm2: No such file or directory" and "stdin: Invalid argument" for a few seconds (during the splash screen part), and then get dropped onto a busybox prompt. Any ideas how to debug this?
[20:36] <liviuba> the lvm2 part oly appears once, and the Invalid argument part multiple times, as if retrying* forgot to mention
[20:37] <nshire> is there a way to strip out the return symbol from pasting into terminal?
[20:37] <nshire> ctrl-shift-v-ing things with the enter symbol into ssh has caused me so many headaches
[20:38] <liviuba> trying to install Ubuntu on a Lenovo Thinkbook * sorry, brain is fuzzy
[20:38] <akik> nshire: i was just looking at that problem today
[20:39] <nshire> find anything good?
[20:39] <akik> nshire: in my case the system was adding extra linefeeds when i copied a multi-line command from less
[20:40] <akik> nshire: i learned that i can either cat or grep the file i want to copy stuff from or use less's / feature to search forward in a file
[20:40] <akik> nshire: for some weird reason using less's b for going back in a file breaks it :)
[20:41] <akik> nshire: what's your problem case?
[20:42] <nshire> just in general, accidentally entering commands before I'm ready after I copy text from somewhere
[20:42] <nshire> if I plan ahead I can just paste it into Notepad++, remove CR+LF chars, then repaste it...
[20:42] <akik> oh ok in my case i just use gnu+linux
[20:43] <nshire> well yes I am SSHed into a system
[20:43] <nshire> the text editor does not matter here
[20:44] <nshire> anything where you can show control characters in text would work for that
[20:47] <akik> nshire: windows and gnu+linux use a different line ending
[20:49] <akik> but in my case i had the problem even copying from gnu+linux to gnu+linux
[20:59] <RadSurfer> How do you delete CONTENTS of a folder (files & subfolders), but not folder itself?
[21:01] <nshire> rm /folder/*
[21:01] <nshire> * is wildcard
[21:01] <nshire> actually
[21:01] <nshire> rm -r /path/of/folder/*
[21:01] <nshire> RadSurfer
[21:02] <RadSurfer> that ALSO deletes folder itself
[21:03] <RadSurfer> I need to KEEP folder, delete files/subfolders underneath
[21:04] <RadSurfer> Why does Ubuntu 20.04 no longer show Trash folder on SD cards? How do I re-enable that option/feature?
[21:26] <MrKeuner> Hi, 18.04 here. Is it possible to disable large downloads when connected to a specific WIFI network? If I can disable apt-update that would be a good start. (assuming it downloads packages automatically) I have a metered Internet connection on my phone and I'd like to be able to use my laptop with the hotspot my phone provides.
[21:28] <kedar_apte> are you using xenial, bionic or focal?
[21:28] <kedar_apte> hey. sorry...my bad.. did not read 18.04
[21:29] <MrKeuner> if it is coming on 20.04 I'd be fine by that.
[21:29] <kedar_apte> do you only want to disable automatic downlaods of ubuntu updates?
[21:29] <MrKeuner> kedar_apte, right but only when on a specific WIFI connection...
[21:29] <kedar_apte> or generally anything that is larger than a specific size?
[21:29] <MrKeuner> that would be even better
[21:30] <oerheks> a few steps to disable unattended updates https://itsfoss.com/auto-updates-ubuntu/
[21:30] <oerheks> the normal updates is done in the update settings.
[21:31] <kedar_apte> I am assuming you are using a desktop edition
[21:31] <MrKeuner> oerheks, I like unattended updates 99% of the times. If possible I'd like to disable it only on a specific WIFI connection
[21:31] <MrKeuner> kedar_apte, correct
[21:32] <oerheks> automatic check - never , when there are updates - show, other updates, show every 2 weeks?
[21:32] <oerheks> MrKeuner, not that i know of, forcing updates on one adapter
[21:32] <kedar_apte> go to settings -> Network and select whichj network you want to disable large file downloads and updates
[21:32] <kedar_apte> click on that gear icon and it will open the settings for that network
[21:32] <kedar_apte> click on metered connection
[21:33] <MrKeuner> !!!
[21:33] <MrKeuner> Didn't expect to have it great. thank you
[21:33] <oerheks> good find kedar_apte
[21:33] <kedar_apte> does it work?
[21:33] <MrKeuner> I'll check right away.
[21:35] <kedar_apte> I am from India and data is extremely cheap in India and I always wondered who would use it...yup there are use cases which I was not expecting....
[21:35] <kedar_apte> :)
[21:35] <MrKeuner> I have Google Fi
[21:35] <MrKeuner> which is metereed
[21:35] <kedar_apte> aah ok
[21:36] <MrKeuner> Yes the option is there.
[21:36] <MrKeuner> It's called slighlt different
[21:36] <MrKeuner> Restrict background usage...
[21:37] <kedar_apte> good luck..its really late out here.. 3 am...signing off now..have a great day..do post here if it is effective? bye
[21:38] <MrKeuner> bye have a good night
[21:38] <kedar_apte> 👍️
[21:54] <abdulhakeem> When setting up Transmission, the "Incomplete" folder is self-explanatory but what is the difference between "Torrents" and "Completed"? https://www.smarthomebeginner.com/install-transmission-web-interface-on-ubuntu-1204/
[21:54] <abdulhakeem> like what are they for
[21:54] <abdulhakeem> what is their purpose
[21:54] <abdulhakeem> I would think you'd only need one or the other, not both
[21:54] <abdulhakeem> or just one single Transmission folder actually, idk why there has to be 3 separate folders
[21:54] <oerheks> completed is an option to move complete torrent-files to a dedicated folder
[21:55] <oerheks> to keep things organized
[21:55] <abdulhakeem> is there a benefit to that? Couldn't they just stay in the same download folder as everything else?
[21:57] <oerheks> well, you can. if you hold 'keep incomplete torrents' and 'save to location' the same
[21:57] <oerheks> as standard
[21:59] <texla> What is the name of 20.04 lts
[21:59] <oerheks> texla, sure you found it.
[21:59] <abdulhakeem> focal
[22:12] <abdulhakeem> anyone know what watch-dir does in Transmission settings.json ?
[22:12] <abdulhakeem> ah nvm found it
[22:12] <oerheks> in options, you have a setting to watch a folder to add the torrent automaticly
[22:13] <oerheks> pretty nifty
[22:23] <jrgilman> hey there, currently debugging an issue, and in the moment noticed that pulseaudio is running twice, one under my own user and one under the gdm user. Is this okay?
[23:58] <bumblefuzz> how do I partition my hard drive with ubuntu on it?
[23:59] <bumblefuzz> I tried to using the '