[00:00] Might try to connect my headphones via usb tomorrow. Any specific packages i'll need? [00:01] you will see tomorrow, i guess nothing. [00:51] with update to the Firefox 90, xpinstall.signatures.required does not have effect anymore and all of my custom webextensions are disabled. Is there still a workaround? [00:51] and is this actually intended or bug? [00:53] I have server installation with X installed on my laptop for 20.04. Is there a tutorial on what to install to get the touch pad working with multi gestures? [00:54] hi [00:55] maybe it is new signing? guest3426 [00:55] else, ask in #firefox [00:56] its ubuntu specific thing - on official firefox the signature check has been mandatory for years [00:56] what happens here ? [00:57] Guest7700: people helping each other with ubuntu questions [00:57] guest3426, are you sure about that? what ubuntu are you on? [00:57] Im sure. 18.04 [00:58] That's wonderful [00:58] Am using 20.04 [01:00] New about:third-party page that highlights compatibility issues with third-party apps. [01:02] ubuntu firefox 90 === [_] is now known as [itchyjunk] [01:03] I'm on linux so that does not apply. === dynorsau is now known as frib [01:05] well,. without knowing what your custom webextentions are, maybe you better join this bug https://bugzilla.mozilla.org/show_bug.cgi?id=1714767 [01:05] Mozilla bug 1714767 in Toolkit "Unsigned extensions don't work in Firefox Developer Edition 90" [--, Resolved: Worksforme] [01:06] 90.0b4 fixes that? [01:06] I am using wpa_gui and it is not finding my wifi adapter. Is there something I need to start? [01:08] snaps give the same version, and 91 https://snapcraft.io/firefox [01:16] can I modify a file like /etc/hosts to get my browser to try an IP to resolve a specific address? [01:17] ash_worksi: yeah that should work, i'd expect most browsers to check that file while resolving addresses [01:17] sarnold: thanks [01:17] Yes, or resolv.conf but changes will be lost after reboot === genii is now known as genii-core [01:20] sarnold: hmm, that didn't work like I expected it to; when I `curl -sv --resolve :80:` it asks me to log-in; when I do that (using `-u`) I get `Location: /admin-login.php` which is great, but using with in my /etc/hosts doesn't send the browser to the same location [01:20] genii-core: that's actually ok for me [01:21] I'm not sure the format of resolv.conf, but maybe it will help me be more explicit than /etc/hosts allows me to be? [01:23] ash_worksi: you may need to give the 'server name' if the server you're contacting is deciding what content to send you based on the Host: header sent by the client [01:23] sarnold: in which file? [01:24] ash_worksi: it's not part of a file, it's part of the url that you're giving to curl [01:24] sarnold: curl works fine; I would like to see it in a browser though [01:24] I don't know how to get my browser to route the same way `curl --resolve` does [01:24] ash_worksi: aha :( [01:25] yeah I *love* that --resolve feature [01:25] * ash_worksi is not sure if sarnold is being sarcastic [01:25] ash_worksi: I'm not, I love it [01:26] I use it all the time when people report ubuntu mirror problems; it's an easy way to check all the mirrors in a few seconds [01:26] sarnold: yeah, me too! [01:28] anyway, no ideas on /etc/hosts or /etc/resolv.conf ? [01:28] I don't think /etc/resolv.conf would help, unless you're going to put in a new dns server to serve the addresses you want [01:29] sarnold: mer... [01:29] I was hoping there would be _some_ file where I can specify: route request to this IP like this... [01:29] ash_worksi: so.. check the browser's configuiration to see if you're using dns over tls or dns over http; it's possible that if that's enabled it might not consult /etc/hosts at all [01:30] sarnold: well, even still, I have in --resolve `:80:10.0....` so... not sure where I'm supposed to put that [01:32] ash_worksi: runniung your own dns server to fake this answer is quite a lot more involved than curl's friendly command line switch :) [01:32] sarnold: I was hoping for something more simple like /etc/hosts but I don't know that I can resolve that correctly with just a public IP and domain [01:33] ash_worksi: historically /etc/hosts worked great but the browsers keep "improving" things :) [01:33] ash_worksi: check your browser DNS settings -- is it set to use DNS over HTTPS? or DNS over TLS? [01:33] I'll look; it's firefox ftr [01:34] [v] Enable DNS over HTTPS [01:34] might unchecking that help? [01:36] hmm [01:36] still redirects me [01:36] maybe restarting firefox will help [01:37] yeah, that's the thing, try undoing that :) [01:37] undoing = uncheck the box? [01:37] (I tried that already) [01:37] yeah [01:39] something must be funky with the server config; trying to hit the login page directly succeeds === M4he is now known as mahe === William is now known as Conna [03:20] wepa [03:22] hi [03:23] how to make the chan not showing join and quit [03:23] it depends on your client [03:23] I join in another chan but not displaying tons of join leave [03:24] yes you right, I will shoot my client, giggles [03:24] https://cdn.discordapp.com/attachments/794233002577231912/866883169239040030/Screen_Shot_2021-07-20_at_10.23.34.png [03:24] I use this script https://github.com/irssi/scripts.irssi.org/blob/master/scripts/hide.pl [03:24] hah that doesn't look like irssi :) [03:27] How do I update Lubuntu via CLI exactly? [03:28] Guest76, isn't that just `sudo apt upgrade` ? [03:28] don't forget the sudo apt update first [03:28] sudo apt update && sudo apt upgrade [03:29] thank you O wise Linus === kevr is now known as evr === evr is now known as kevr [04:24] oerheks sorry, had to go afk [04:25] oerheks bug 1714767 seems like it might be related, but likely not exactly it, since 1) I do not use Dev-edition 2) The bug was fixed in beta4 and I'm using release version. [04:25] Bug 1714767 in ubuntu-docs (Ubuntu) "Wifi network now showing" [Undecided, Invalid] https://launchpad.net/bugs/1714767 [04:26] oerheks it could be related, which would suggest this is indeed a bug and not intentional change [04:28] oerheks have purged anything snap related from my installation, so cant test, but in any case I think the snaps are made by Mozilla, so they are unlikely to have any custom patches by Canonical [04:53] So I accidentally did a Partial Upgrade and now networking doesn't work. I think that the 5.11 kernel installed doesn't have the correct driver (r8169). I can reboot and get into kernel 5.8. How straightforward is it to make my system not partially upgraded? [04:54] That is, obviously 5.8 is still there, and I'd like it to be the default. I'm not sure how to get rid of 5.11 or if that is even what I want to do. [05:20] Ok, I was able to uninstall the 5.11 kernel, but I needed to uninstall linux-image-unsigned-5.11.0-22-generic and linux-modules-5.11.0-22-generic in order to get the grub configuration to no longer list it. I *think* everything is fine? [05:21] GBGames: sudo apt update && sudo apt full-upgrade and see if apt spits out errors [05:23] lotuspsychje: No errors. [05:24] GBGames: can you pastebin dpkg --list | grep linux-image plz [05:25] lotuspsychje: Sure. Although I'll say that since I uninstalled things, I no longer see the 5.11 linux-image listed. I see a lot of 5.8 and a 5.4 as rc, which I understand means it is not installed. I have two 5.8 that are listed as ii. [05:25] I also see linux-image-generic-hwe-20.04 as ii [05:26] wich ubuntu release are you on GBGames [05:26] 20.04 LTS [05:26] To purge the rc packages, you can do this: sudo apt-get purge --auto-remove -y $(dpkg -l | awk '/^rc/ { print $2 }') [05:26] rc means "uninstalled, but while keeping the configuration files" [05:26] If you won't reinstall them, and you don't need their configuration files, you can use purge instead of apt remove [05:27] !info linux-image-generic-hwe-20.04 [05:27] linux-image-generic-hwe-20.04 (5.11.0.22.23, hirsute): Generic Linux kernel image. In component main, is optional. Built by linux-meta. Size 3 kB / 18 kB. (Only available for amd64, armhf, arm64, powerpc, ppc64el, s390x.) [05:27] should be your hwe kernel GBGames ^ [05:28] -hwe in 20.04 has 5.8 [05:28] -hwe-edge has 5.11, this is like "beta" [05:28] The bot above mentioned the hirsute kernel, not the focal kernel [05:28] So lesson learned: never say yes to a partial upgrade. [05:28] GBGames: don't use apt upgrade. Use apt full-upgrade [05:29] full service blowjob [05:29] apt upgrade means "partially update", which as you saw causes issues [05:29] oh right [05:30] sudo apt update && sudo apt full-upgrade [05:30] Right [05:30] alkisg: Ah, see, I was wondering why I hadn't seen the Ubuntu Software Updater. It usually pops up with updates at least weekly. So I ran it manually, and it asked me to do the partial upgrade. [05:30] Ah, that's usually a temporary problem in the repositories. AFAIK the updater does "full-upgrade" [05:31] In the past, I used to run apt-get update && apt-get upgrade, and then someone long ago told me about aptitude, which I've used since. I was aware of apt, but I haven't looked into it. full-upgrade is new to me. [05:31] So if it mentions a partial upgrade, wait for later :) [05:31] apt-get upgrade is also bad; apt-get dist-upgrade is the "correct" one [05:32] Huh. I always thought dist-upgrade was the "use this if you are upgrading from one version of the system to another" but I never actually dug into the details of how it worked. [05:32] No, that's "do-release-upgrade" [05:32] Their naming sucks, indeed :) [05:35] According to https://phoenixnap.com/kb/apt-vs-apt-get the difference between apt-get upgrade and apt-get dist-upgrade is that the latter also removes unnecessary dependencies, and it apparently makes to full-upgrade for apt. [05:35] s/makes/maps/ [05:36] The main difference to dist-upgrade is that it installs new dependencies [05:36] So if package a version 1 goes to version 2, which requires the new package b, it will allow it [05:36] While apt-get upgrade (or apt upgrade) will stay with a version 1 [05:37] Ah, ok. [05:37] This is a good thing; otherwise installing new kernels wouldn't even be possible with apt upgrade [05:38] While apt is the "newer version" of apt-get; while apt-get will continue to be there for scripts that use it, it's recommended that sysadmins use apt [05:39] ok, good to know. Thanks for your help, lotuspsychje and alkisg! [05:39] np [05:39] I hate that I am now hours past my bedtime, but I love that I got to dig into these administrative details some more. === Agent is now known as Zgent === Zgent is now known as Agent === SmokenatorZ2 is now known as SmokenatorZ [06:31] hai everyone [06:31] hi [06:31] radiobot is not in the sudoers file. This incident will be reported. [06:31] what must i do now [06:32] please guide me [06:32] add that account to the sudoers file with your root/first account? [06:32] ok [06:32] im new to this [06:33] RaimondRaj, https://www.digitalocean.com/community/tutorials/how-to-edit-the-sudoers-file [06:35] ?? [06:42] RaimondRaj, if youŕe using the sudoers file as ubuntu shipped it, itś easier to just add the radiobot user to the sudo group. [06:42] ok [06:45] https://phoenixnap.com/kb/how-to-create-sudo-user-on-ubuntu [06:49] E: Unable to locate package libprotobuf23 [06:50] im try to install ShoutIrc [06:53] !info shoutirc | RaimondRaj [06:53] RaimondRaj: Package shoutirc does not exist in hirsute [06:54] i dont know about that [06:54] can u explain more [06:54] Bashing-om : where to info [06:54] !info shoutirc [06:55] Package shoutirc does not exist in hirsute [06:55] RaimondRaj: in terminal; ' apt policy shoutirc ' - the pckage is not an ubuntu package, so where are you getting it from ? [06:57] sorry im lost [07:01] RaimondRaj: perhaps this will help - http://wiki.shoutirc.com/index.php/Installation - I never heard of ShoutIRC. [07:02] http://wiki.shoutirc.com/index.php/Installation#Ubuntu_Installation [07:02] i follow this [07:02] stil found some error [07:03] #irc [07:06] well, Type tar -xzf ../radiobot5.debian.tar.gz is problemenatic to me since "f" means force it to install whether it works or not. I was going to send you to shout's room, but they havenone. Just curious, what is wrong with konversation? or perhaps an alternate designed/tested with ubuntu under "software manager"? [07:07] im stuck [07:07] just leave it [07:07] i off it [07:08] no idea to instal it [07:08] you could create a VM with just ubuntu, see if it works in there, then start to find differences -but... i doubt it is worth the effort. what does shoutirc do that you are interested in? === BlessJah_ is now known as BlessJah [07:44] anyone know why xpinstall.signatures.required has no effect after updating to firefox 90 (from 89)? [07:50] orcus: many many thanks it worked [07:57] orcus is wise === cacti is now known as madmax [08:26] Would Ubuntu Docker image questions belong in #ubuntu or #ubuntu-server? [08:26] there is also #docker [08:27] Yes, but this is not a general question about docker, but more specific to the Ubuntu distro and an application that I am trying to run in the container. [08:27] I am in #docker as well, but, figured that it is more specific to ubuntu, it is better to ask here first. [09:16] Hello, I have just installed ubuntu server and I need to spoof my mac adress to access the network. How can I do it manually (I can't install any packages because I don't have access to the network) [09:19] !info macchanger | Bardon maybe? [09:19] https://www.ubuntubuzz.com/2012/11/how-to-change-mac-address-on-ubuntu.html [09:19] Bardon maybe?: macchanger (1.7.0-5.4, hirsute): utility for manipulating the MAC address of network interfaces. In component universe, is extra. Built by macchanger. Size 187 kB / 636 kB. (Only available for linux-any.) [09:21] I can't install maccchanger (I can't download anything) [09:21] Or I could download the deb file and copy it over via usb.. [09:21] Ah nevermind, I just found `sudo ip link set dev enp0s31f6 address XX:XX:XX:XX:XX:XX` [09:21] :) [09:58] Hey [09:59] Can anyone help me with using non english keyboards? [10:02] Anyone? === diskin is now known as Guest7049 === diskin_ is now known as diskin [10:03] Can't believe that everyone is afk here [10:04] I would suggest to plug it in like any other keyboard [10:04] My problem is, when using windows, and a hungarian keyboard, if I press ctrl + alt + v, it writes a "@" [10:05] However here, it doesn't work [10:05] Same with ctrl + alt + j writing a í in windows, however here it doesn't work at all [10:06] Is Ubuntu using some other keybinds? [10:06] (I'm using an english keyboard, but the keyboard layout is hungarian) [10:08] I have no idea how mixing that will affect key bindings [10:09] Usually it messes up everything [10:11] webchat17: what's the output of this command? setxkbmap -query [10:13] rules: evdev [10:13] model: pc105 [10:13] layout: hu,us,us [10:13] variant: ,, [10:16] webchat17: this is the hungarian layout: http://imgur.com/a/uaDKos9 [10:18] That means that for example, @ is "right-alt+v" [10:18] question, does anyone know 1) if there's an openvpn related package that contains https://github.com/OpenVPN/openvpn/blob/master/contrib/OCSP_check/OCSP_check.sh and 2) how I would be able to verify/check this myself (I'm already aware of `apt search openvpn` and `dpkg -L openvpn`) [10:20] alkisg is there a way to change it to left alt? [10:21] webchat17: if you run `sudo dpkg-reconfigure keyboard-configuration`, you'll see various options that will eventually end up in "variant" in your setxkbmap output [10:21] I think left-alt is available there; also menu, super etc [10:24] alkisg which option do I need to choose? It is on generic 105 key by default [11:22] polymorphic: you could ask in #ubuntu-server :) [11:44] Is there a simple way to resize an existing window to a specific size in pixels? [11:44] I want to record it, so it might be nice if it had a standard size like 800x600 or something. [11:47] RedNifre: wmctrl(1) can do that I think. [11:47] http://manpages.ubuntu.com/manpages/focal/en/man1/wmctrl.1.html [11:48] RedNifre: https://askubuntu.com/questions/94859/resizing-windows-to-a-particular-width-and-height-instantly/94866#94866 [11:50] hi [11:51] choosing a linux distro, to learn python [11:51] why do you like ubuntu over other distributions [11:59] it's well supported by software vendors, like nvidia (for cuda), and it natively ships ZFS. [12:04] cbreak and i guess having most users also helps a lor [12:04] i guess bug fixes come fast [12:05] ? [12:10] hi [12:10] popušite svi kurac kolektivno pederčine šugave mrš [12:11] hi [12:12] im running ubuntu server and installed gedit so i could test X11 forwarding. i connect over ssh and it works, but now the server hybernates after a few minutes of inactivity. how can i turn that off? [12:12] the way it was by default where it never slept [12:15] gedit is just a text editor. i don't see how that would cause an issue [12:18] it probably pulled in a whole desktop environment and everything else it needed [12:24] ThinkT510, ya it was almost 500mb iirc [12:25] i thought maybe there's some default to suspend that X sets since this was the first time it was run [12:33] hey all [12:34] I want to detect whether a device is connected to a network that has dhcp and if it is in a network with dhcp then use that and otherwise become a dhcp master [12:35] any utilities that can do that out of the box? [12:37] still puts the computer to sleep after 5 minutes even if i connect with X11 forwarding disabled [12:38] Hi all [12:40] Hey === Wally is now known as PyraBot === PyraBot is now known as Wally [12:44] home partition went into read-only mode overnight O,o anything i could do w/o restarting? it was 100% full.. but reports 83MB free space now (mount: /dev/sda6 on /home type ext4 (ro,relatime) ) [12:46] Hi! I installed with zfs and understand that bpool is created so that it can be read by GRUB? Is that still the case even with the latest version of GRUB? [12:52] nuala, 83mb is nothing free up more space [12:55] rm: cannot remove foo: Read-only file system [12:57] Guest3036: yes, I think so [12:58] there's https://zfsbootmenu.org/, but I've not tried it. Apparently it can do without separate boot pool [13:31] cbreak: thanks! [13:33] cbreak: I'm asking as a friend is telling me that they're running grub and zfs without any issues, so I'm curious to know what specific issues ubuntu is having. Would you know? [14:25] Does the standard Ubuntu kernel from e.g. Hirsute support most modern CPU flags out of the box or does one have to compile their own kernel to get that support? [14:25] locsmif: compile own kernels we dont reccomend on ubuntu, use the default kernel or !mainline to test things out === genii-core is now known as genii [14:26] !kernelparm | locsmif is this what you seek? [14:26] locsmif is this what you seek?: To add a one-time or permanent kernel boot parameter see https://wiki.ubuntu.com/Kernel/KernelBootParameters [14:28] No, I don't seek anything, I am having a small friendly debate with a co-worker whether or not standard Ubuntu kernels support modern CPU flags out of the box or not [14:28] But I know perfectly well how to compile my own kernels, though I would obviously not request support for them here [14:30] locsmif: deeper questions about whats inside the ubuntu kernels, perhaps #ubuntu-kernel devs can answer [14:32] Thanks! [14:53] I seem to recall this used to work in the past - anyone knows why it's not working anymore? https://i.imgur.com/tJmAzFH.png [15:05] Guest1675: maybe there's a boot pool with only supported features, or the main pool only has supported features [15:06] Guest3036: it's important to have a separate boot pool mainly when the main pool uses features grub doesn't know === gravyy is now known as gravy [15:28] hi all. I could really do with some help please. I have a GK41 mini-pc. It has an intel UDH 600 chip, an HDMI out and a DisplayPort out. The DisplayPort can't (easily) be convert to HDMI but I need two screens. The HDMI out to go to a video mixer, and I need to be able to VNC in on a second screen. I've managed to create a dummy display, but then I lost the HDMI (I've also tried a dummy DisplayPort dongle but without success). [15:28] When I tried to create an x11org.conf file with X -configure, the screen sort of worked but was a bit messed up. So I just need to be able to have a real HDMI output and a dummy VNC screen (same instance of X though, so I can control an app and tell it to put the video output on the HDMI). Can anyone help please? Thanks (20.04) [15:28] wow. my eyes glazed over just trying to follow that [15:29] I feel like I need a diagram 😝 [15:29] hm.. why am I hanging out in #ubuntu anyway [15:29] oh right. that weird entry in my install log on our one remaining ubuntu machine that seemed to sugest old atom for 18.04 postgresql [15:33] <^-^hi> I have 2 usb storages (sd cards in those usb thingies actually) which totally work well, I have put one healthy xubuntu 20.04.02 iso I cheksumed into one of them and booted it via ventoy [15:34] <^-^hi> the checksums at boot also go fine [15:34] <^-^hi> but when i want to install to the other sd card it gives IO error [15:35] <^-^hi> there is no shortage of space (30 gigs) or ram (4 gigs) [15:35] <^-^hi> the error is about squashfs failing to read stuff [16:00] ^-^hi: bad sd card [16:03] Hi, I am having an issue with Ubuntu and looking for some help. Specifically with setting up the wifi [16:10] elaborate your issue a bit more SomeGuyInCt so volunteers can debug with you [16:11] I installed Ubuntu on old Dell D531 Lattitude. It does not seem to be able to enable wifi even though under additional drivers it says the driver is enabled. I have installed Wifi Radar but that was unable to locate the router either [16:12] any advice would be appreciated [16:15] Is there a Hardware switch that is disabled maybe? [16:17] hi ravage, where could i check for that? [16:17] On your device [16:19] also google found this: https://meaningofiz.wordpress.com/2018/05/23/ubuntu-linux-on-dell-latitude-d531/ [16:20] i try the commands in the article [16:20] *i’ll [16:21] hi! while I wait for #videolan to have ideas on how to fix VLC's synchronous playback on Ubuntu focal, maybe I can just use two separate VLC instances for this. is there an easy way to relay all my keystrokes sent to one VLC window, to another VLC window as well? i.e. easier than make xev spy on first VLC, pipe that to a sed script that transforms all relevant keys to xdotool commands, and pipe that to a shell. :) [16:23] … which wouldn't work becasue that xfce session currently is affected by the xdotool freeze bug. :/ [16:24] so all ideas are welcome [16:51] Sven_vB: how about dropping the xev part? Doesn't help with your xdotool issue, but it'd be nearly half the work to just do the xdotool part in two vlc instance, I think? [16:52] Sven_vB: I don't know about the specific issue with sync playback, but vlc is available as a snap, so maybe that'll work better/different if you're using a different binary? [16:55] can someone please tell me if I'm correct?: for `some_command --foo --bar=baz hello` "foo" is a _flag_, "bar" is an _option_, "baz" is an "option argument", and "hello" is a "(command) argument" [16:56] <^-^hi> leftyfb: its new and i have tested it so many times for many things with no error [16:56] or positional parameter? [16:57] rbasak, thanks for the snap idea! as for the sed part, even in "unbuffered" mode it still operates on lines, so the only key I could make it immediately react to would be enter. I could use a shell script though, instead of xev and sed. [17:00] in case someone here as an idea for the VLC problem, I follow the steps on https://wiki.videolan.org/VLC_HowTo/Play_an_external_audio_track_for_a_video/ but there is no 2nd audio track to choose. if I use the audio as primary medium, there are no video tracks at all to choose from. using Ubuntu focal with xfce and VLC media player 3.0.9.2 Vetinari (revision 3.0.9.2-0-gd4c1aefe4d) [17:02] Hello #ubuntu. Having some trouble with accessing a nested dictionary key with `defaults`. What i have so far is this: `defaults read ~/temp.plist key1`. I need `key1.key2`. Help? ty [17:02] Ello all [17:03] welcome hydrian [17:04] hi hydrian [17:04] physikoi: maybe try the #channel for whatever language you're using to parse temp.plist [17:04] I'm looking for a (distributed) filesystem the will sync files (there shouldn't be locking issues) will share files but the files will still be there when a system is offline. [17:04] hydrian: nextcloud [17:05] Basically, I'm looking for something to mirror /var [17:05] hydrian: or dropbox [17:05] leftyfb? `defaults` is an #ubuntu command [17:05] hydrian: why? [17:05] leftyfb: I have nextcloud. Not really the use case. I can't use netcloud to mount fs. [17:06] I need to mirror /var/lib/timekpr config and data between all of my children's computers. [17:06] But they have wifi laptops so connectivity is sometimes shotty. [17:07] hydrian: sounds like mountainduck does what you want; it allows for offline access to remote filesystems [17:07] it's not gratis though [17:07] physikoi: "/usr/bin/defaults" is part of the gnustep-base-runtime package which isn't installed by default. But the description it's a "powerful fast library of [17:07] general-purpose, non-graphical Objective C classes" [17:07] MountainDuck.. never heard of it. [17:08] leftyfb: where do i go for help then? #bash says "no" and #linux says "no." [17:08] https://mountainduck.io [17:08] hydrian: you could still use dropbox or nextcloud. Just bind mount ~/Dropbox/path/to/timekpr -> /var/lib/timekpr [17:09] leftyfb: That's an option... [17:09] I was also thinking about a webdav mount [17:10] physikoi: since it's objective C, try #macdev [17:10] hydrian: sorry, apparently mountainduck is windows and mac only. It'll just mount linux fs [17:12] physikoi: No worries. I think I already passed on that setup. I'm looking towards a webdav mount [17:13] hydrian: you know webdav is still a mount that requires the host to be online/accessible right? So it's susceptible to the exact situation you mentioned you wanted to avoid [17:15] hydrian: you want a syncing solution like dropbox or nextcloud and then to bind mount to /var/lib/timekpr, or better yet, just change the location to the sync'd location instead of using /var/lib/timekpr [17:16] leftyfb: I thought webdav2 had the option for local caching... I think I was thinking of sometihng else. [17:18] during my update to 21.04 I get a dialog asking for stuff "changing home for user irc" but I just get a square button. Choice 1 "red square" or choice 2 "grey square" [17:19] what state means "yes" (change it)? GREY or RED? [17:22] agentsoul, can you open some other settings dialogs with checkboxes and compare them? do they look similar? [17:23] agentsoul, if you're lucky, changing the UI theme might help, i.e. affect the existing irc user prompt. [17:24] The chance that you actually have the user IRC is low. [17:25] I think there is actually a bug report for this [17:25] Choose whatever you like [17:25] https://bugs.launchpad.net/ubuntu/+source/base-passwd/+bug/1916651 [17:25] i just clicked anything will see [17:25] Launchpad bug 1916651 in base-passwd (Ubuntu Hirsute) "asks about irc user home directory during upgrade" [Undecided, In Progress] [17:27] thanks I hope the other dialogs are clear :-) === cacti is now known as madmax [17:34] Like "Canceling this operation could leave the system in an unusable state" "[Cancel]" "[Cancel]"? === cloux is now known as zulrax === zulrax is now known as cloux === cloux is now known as zulrax === zulrax is now known as cloux === cacti is now known as madmax === cacti is now known as madmax [17:54] So I think its time to talk about removing Audacity from foss repos [17:54] !discuss | michaelrose [17:54] michaelrose: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [17:55] ok [18:15] How do I scale down the Login screen? I have a 4K display on my laptop. The scaling works fine once I'm logged in but it doesn't apply to the login screen. [18:18] hermanf: did you try https://itectec.com/ubuntu/ubuntu-how-to-change-the-login-screen-resolution-in-ubuntu-18-04/ ? [18:22] hey guys, if I've edited crontab do i need to restart some service or update cron? I placed a job in and according to syslog it never even tried to run [18:23] hey lantech19446 :) it should just work [18:24] lantech19446: please pastebin your cronjob line. Also, why not use a systemd timer file as opposed to cron? [18:24] leftyfb: I only need it to run once a day at a specific time and cron was what i was familiar with [18:25] lantech19446: https://opensource.com/article/20/7/systemd-timers [18:27] 1 [18:27] 0 14 * * 2-6 ./goaccess.sh > /dev/null 2>&1 [18:33] lantech19446: aha :) [18:33] lantech19446: what exactly is the current working directory of your cron daemon? :) [18:35] \var\spool\cron [18:36] i know my slashes are wrong but it kept triggering the command on irccloud [18:37] lantech19446: hah, most irc clients let you send a message starting with / by typing: / /var/spool/cron or /msg #ubuntu /var/spool/cron in the worst case.. [18:37] ok [18:37] lantech19446: so, did you store goaccess.sh in /var/spool/cron? [18:38] no it's in home directory [18:39] do I need it in /var/spool/cron? [18:40] lantech19446: it'd be easier to put the full path to the file in your crontab [18:40] in other words don't short path it with ~./ [18:40] Thanks, rbasak and enzotib, that looks like it works perfectly. [18:41] lantech19446: right [18:42] ok [18:44] /home/lamp/./goaccess.sh doesn't look right [18:45] it would probably work, but you're right, /home/lamp/goaccess.sh is the more usual way to write that path [18:45] ok so it doesn't actually need to be told to execute it [18:45] it does :) [18:46] the ./ just says 'start the path resolution in the current working directory' [18:46] well, strike that [18:46] in a path like /foo/./bar the dot means the '.' entry in the 'foo' directory... [18:47] ok [18:48] ok so I just setup an identical cronjob for 3 to see if it runs now [18:51] the other thing i had issues with was i setup a passwordless sudoer but when i try to su into that user it still asks me for a password [18:54] lantech19446: sudo su [18:54] then (as root): su otheruser [18:54] aha you are genius good sir [18:55] as much as I'm learning on my way to becoming a real linux admin i figure out just how little i actually know [18:57] and actually it's really good that sarnold told me to put the long path because once I su into that user ~/ wouldn't be the correct home anymore [19:00] lantech19446: cron runs things with a different PATH than most people get with their login shells; when a cron entry doesn't work, nine times out of ten it's because someone used a relative path or didn't use a path at all when they should have :) [19:01] it's still not running [19:02] maybe strip off the > /dev/null 2>&1 thing and see if it emits errors? [19:04] I don't think there's a mailto setup anyway but syslog says it did run and opened program by gnome shell so I don't get why it didn't work [19:05] fuck I need to do this whole thing in my new sudoers profile and crontab it's failing because it needs sudo to run the script [19:05] scripts with sudo are almost always a mistake [19:06] it's almost always better to just make the script run with whatever account it needs [19:06] ok I can do that easily [19:10] ok it's all setup to run at 315 now the interesting thing is when I saved the new crontab it inadvertently ran the script so i believe i know what the issues were now [19:11] would i be bothering you guys too much to ask one more question, you've been so helpful [19:11] that's why folks are here :) [19:12] so the command i'm passing through the script opens a websocket I don't need it to stay open so I want to someone pass an exit code equivalent to ^C [19:18] damnit now it can't access /var/log/apache2 it says permission denied [19:31] ok i'm at least smart enough to fix that one on my own [19:40] Hi. I have a server with 4x4TB HDD. I'm installing Ubuntu on it, and am planning to set up a RAID 5 on it. I'm having a little trouble understanding how to set up the initial partitions in the installer, would anyone be able to give me some pointers? [19:41] !raid | Anthaas start here [19:41] Anthaas start here: Tips and tricks for RAID and LVM can be found on https://help.ubuntu.com/community/Installation/SoftwareRAID and http://www.tldp.org/HOWTO/LVM-HOWTO - For software RAID, see https://help.ubuntu.com/community/FakeRaidHowto [19:43] If you're planning to install a regular desktop but want to install it onto a raid, I'd suggest using the server install first to get it booting off raid to commandline, then install the ubuntu-desktop package [19:43] I might be wrong, but given I was going to use mdadm to set up the partitions, I believe where I am is a step or two before that? [19:44] The method I just described is how I installed a RAID1 plus hot spare setup on my laptop before then installing kubuntu-desktop for the desktop I prefer [19:51] I'm just not sure what the partitions should be? I think its something like: sda: sda1 = efi 512mb, sd2 = swap 4gb, sda3: the remainder. sdb: ext4 4tb, sdc: ext 4tb, sdd: ext 4tb, but what do I mount sda3 at? do I mount the others? [19:54] so if i sudo sh into my passwordless sudoer and i run my script it works fine but if i'm in my normal users home and i /home/lampsh/goaccess.sh it acts like it runs correctly but never does anything, I think that's what's happening to my cron job [19:54] sorry sudo su not sudo sh [19:56] lantech19446: pastebin the script? [19:58] I can't effectively pastebin it i can't copy the script into the pastebin since i'm remoting into the server [19:58] i can type out what i have [19:59] scp? [19:59] i can try give me a sec [20:00] if you can get it to display into a terminal you should be able to copypaste the terminal text [20:00] the issue isn't whether it'll copy and paste the issue is i don't share a clipboard between the host and server [20:00] ....that's fine? [20:00] If you can see it in a terminal, can you not highlight it, right click, and copy? [20:01] lantech19446: the pastebinit tool is very handy, too :) [20:01] scp workd [20:01] Unless you are using some sort of remote desktop software where you don't can bidirectional clipboarding. [20:01] i'm using windows rdp [20:02] screenshot it and OCR :P [20:02] 1 [20:02] 2 [20:02] 3 [20:02] 4 [20:02] sudo su lampsh [20:02] cd /var/log/apache2 [20:02] sudo zcat -f access.log.1 | sudo goaccess -o /var/www/html/report.html --log-format=COMBINED --real-time-html [20:02] that doesn't work [20:03] ....or use a pastebin. [20:03] i did use pastebin [20:03] A pastebin would provide you a URL. [20:03] the one at the top of this channel does no such thing [20:03] Try dpaste.de [20:03] lantech19446: this is what we saw https://paste.ubuntu.com/p/MdJqKCH7jZ/ [20:04] i'm not getting a url from paste.ubuntu.com so i'm just copying and pasting the formatted output [20:04] lantech19446: so, that access.log.1 ... remember what I said earlier about using absolute paths? :) [20:04] even though i told it to cd into that directory? [20:04] oh right. hmm. [20:05] Is the second sudo necessary? [20:05] yep it fails without it [20:05] the first one doesn't do anything [20:05] it wouldn't run without it [20:05] You are switching to the lampsh user, and then running the commands as root? [20:06] lemme make a backup and see if it'll run without them in lampsh [20:11] ey, I know that people are often grumpy when stuff changes but... I just updated from 18 LTS to 20 LTS and I've really been liking the UI changes so far :) [20:11] well I accidentally deleted my backup and my file don't know how i managed that but i just rewrote it and this time lampsh wrote it so that might help unfuck some stuff too [20:12] this is going to be the death of me i'll be back in a few minutes [20:13] Anthaas: about RAID-5 spun across 4 TB disks, watch this, especially the later part about URE https://www.youtube.com/watch?v=A2OxG2UjiV4 [20:13] how can I check my password in a terminal without logging out (that is, type a password and verify that is correct) [20:14] Anthaas: (or read up on "raid-5 raid-6 URE" on the web) [20:14] ash_worksi: ssh localhost [20:14] really? there's not a utility for this? [20:15] also, *refused* [20:15] tomreyn My only concern there is I don't really want to lose 8TB if I can help it. I previously had RAID 0, which was stupid but worked. I've formatted the server to repurpose it, and just can't get the initial partitioning set up so I can boot in and use mdadm [20:15] I guess I could try `sudo su -c 'echo'` or something [20:16] ash_worksi: 'bash login' will probably do it [20:16] ash_worksi: oh sudo yeah, that'l do it too :) [20:16] sarnold: well, not if I happen to have sudo'ed previously [20:16] at least, not for awhile [20:17] Anthaas: what's supposed to go on the raid, a single file system? is this supposed to contain part of the OS or will it just be additional stroage (i.e. where will you mount it)? [20:17] sarnold: /bin/login: /bin/login: cannot execute binary file [20:17] I guess just 'login' [20:17] login: Cannot possibly work without effective root [20:18] i don't get this i went into a separate tty session logged in as lampsh created goaccess.sh in /home/lamps go back to session 7 sudo su into lampsh and try to run /home/lampsh/goaccess.sh and it tells me permission denied how the hell do i not have permission to my own file [20:18] tomreyn Yeah - a single file system. I will for the most part now use it as an internal services server (nextcloud within my home, etc.) The OS is indeed supposed to be stored upon the available 16TB. I'd like, if possible, to keep the OS and everything else separate for the purposes of the RAID. If I were using RAID 0 that wouldn't be an issue. [20:18] sarnold: any other suggestions? [20:18] lantech19446 `ls -la` and check your permissions? [20:19] ash_worksi: sudo -k will remove your sudo token [20:19] rw-rw-r [20:19] sarnold: ah, thanks [20:19] lantech19446: namei -l /path/to/file can be very handy when trying to figure out where permissioned denied messages are coming from [20:19] lantech19446 Right, so nobody has permission to execute it. [20:20] so I make it 700 if i'm thinking correctly [20:20] The user that created it has permission to read/write, the group that owns the file also has permisison to read and write, and everyone else can read. [20:20] but 700 should give me +x as well right? [20:20] lantech19446 Start with something like `chmod u+x /path/to/file` [20:21] 700 will remove the permissions for the group and others. [20:21] so it would be mor elike 777 [20:21] Anthaas: this "The OS is indeed supposed to be stored upon the available 16TB." and this "I'd like, if possible, to keep the OS and everything else separate for the purposes of the RAID." seem to be conflicting goals? the first one seems to say you want the OS to become part of the storage provided by the RAID, the second seems to say you want the OS ("and everything else"?) to be separate of the RAID, so not stored on the RAID. what am i [20:21] getting wrong here? [20:21] No, that would give everyone permission to execute it. [20:22] tomreyn That's probably my bad wording. If possible, a separate parition for the OS would be great. As in, 150GB for the OS, say 10GB for the swap, and everything else to be used as general storage. [20:22] "general storage" being my services etc. [20:23] sarnold: what is the "effective root"? [20:23] Anthaas: it's such a benign script i'd be ok with that but i followed your suggestion what does the u mean in u+x? user? [20:23] lantech19446 Give executable permission on that file to the user that owns it. [20:24] u = user, g = group, o = others [20:26] Anthaas: are you familiar with the linux file system hierachy, i.e. how directories are stacked below "/"? if so, where would you want to mount the file system that'll be on top of the raid? i'm, asking to understand whether you'll need to set up the raid during installation or whether you can set it up (maybe more easily) afterwards. [20:27] ok thanks Anthaas just tried it without the sudos too it won't run without them even being in lampsh [20:27] tomreyn I was thinking /home, but I'm actually not sure now. To be honest. I'm wondering if I'd be OK with a RAID 0. [20:27] (Again) [20:28] I have a file back-up plan to another server, and there's only going to be some stuff on there I care about. [20:28] If I were to go with RAID 0, how would I go about that? [20:29] i realise I lose redundancy, but it maximises storage - I'll have my important stuff backed up to another server which is set up with RAID. [20:30] Anthaas: you'd install using ubuntu server, creating and assigning some large partitions on those disks to be used for raid, then spin a raid-0 above those. [20:30] Hmm I was planning on using Ubuntu Desktop, but I guess I could just install ubuntu-desktop after... [20:30] you can go full risk, but keep in mind you'll need to both reinstall and restore any data from the backup. [20:31] yes, you could install ubuntu-desktop afterwards [20:32] the desktop installer is really bad when it comes to 'not just a simple setup', i'm afraid. [20:32] Yeah - I'm realising that now. Ubuntu Desktop is all I know - never used Server. Didn't want to step outside my comfort zone too much. [20:32] Hey ho... [20:32] To be honest, its mainly used as an internal media server (e-books with calibre, and what not..) [20:33] RAID 0 wouldn't be too naff. [20:33] as long as you have backups and don't mind rebuilding it when a disk fails [20:34] Yeah - I have another server just for "holding" stuff, and not serving it. It has RAID 1 and covers most of my stuff I need to keep about. [20:35] to make things more difficult to choose: there are also lvm raid and zfs pools (and btrfs, but... you know) [20:36] Never knew about an LVM RAID, though I suspect its probably not necessary when considering a RAID 0? [20:37] Though snapshots sound interesting. [20:38] you'd just have two "physical disks" (or partitions spun across those disks) added to a volume group there [20:38] *two or more [20:40] LVM snapshotting is somewhat easy to get wrong / break, i'm afraid. [20:40] Creating a bootable USB with Ubuntu Server 20.04 now. [20:49] ok I really don't get where this is going wrong, I run it via cron and this time i specified an output file, the only output i get is from goaccess as if i ran the command incorrectly but i can run the very same script that cron is supposed to be running manually and it completes successfully [20:54] I don't think it's applying sudo [20:55] How do I scale down the Login screen? I have a 4K display on my laptop. The scaling works fine once I'm logged in but it doesn't apply to the login screen. [21:00] sarnold: i'm taking your thought i removed cd /var/log/apache2 and turned it into a specific path in the command [21:12] hermanf: is this with open source graphics drivers and the default ubuntu desktop? on a supported ubuntu release? [21:13] if so, this should work, i think: https://www.virtualconfusion.net/hoe-to-change-ubuntu-gdm-login-resolution/ [21:15] What is the status of AMD GPU performance and stability these days? Last time I tried was with a Radeon HD 5970 and it was terrible. [21:16] Croran, undoubtfully i say it is better now [21:17] go try it yourself? [21:17] oerheks: i would if i had an AMD GPU. I wouldn't buy one without knowing it's going to run well. [21:17] How does it compare to amd gpu performance on Windows? [21:17] there are too many gpu's to answer that. [21:18] amdgpu is supported in wayland [21:18] R9 Fury [21:18] and -pro on top of that [21:19] Hmm, the docs on help.ubuntu.com seem quite out of date. [21:23] not really [21:23] oerheks: aren't you even going to ask him what part he's looking at, or do you know all the ubuntu docs by heart? [21:23] lol. [21:24] the wiki is out of date, help.ubuntu.com is what is currently worked on [21:24] Yeah - I think he is right. I've just found another section of ubuntu.com with more up to date stuff. [21:25] tomreyn, It's with NVIDIA drivers on 20.04 on default Ubuntu desktop. I'll give your link a try. Thanks [21:25] and i like bing more for some reason ;-) [21:25] what does bing have to do with anything [21:26] google does not always bring up good helppages [21:26] so, is someone using google? === LjL is now known as LjL-Pfizer [21:32] @tomreyn, Thanks! That worked. [21:32] sarnold: Anthaas: thanks for all your help I managed to really consolidate the command got rid of the pipe completely and now it works [21:34] funny the cheapest of the video cards reviewed by the latest phoronix benchmark is still over $600 [21:35] hermanf: oh, i had not actually expected that to work with the proprietary drivers, too, but... glad it does. [21:35] I hadn't been keeping track of GPU prices, so I'm surprised to see the rx 5600 xt costs like 50% more than the rtx 2060... [21:35] tomreyn Well, that seems to be installing. Using server was a _lot_ easier. [21:36] Anthaas: you might change your mind on this when you're trying to convert it to a desktop installation. ;-) but it you'll work it out. [21:46] lantech19446: you're all sorted out? :) woot! [21:46] yes thank god, I was so happy to see the modified time update lol [21:47] tomreyn Wait, there's more than just installing ubuntu-desktop? [21:49] add gufw, gui for ufw and enable it [21:49] What does the Lubuntu Apply full upgrade applicaiton do, compared to a standard apt get update etc? === LjL-Pfizer is now known as LjL [21:50] !dist-upgrade [21:50] A dist-upgrade will install new dependencies for packages already installed and may remove packages if they are no longer needed. This will not bring you to a new release of Ubuntu, see !upgrade if that is your intention. [21:51] Does 'sudo apt update && sudo apt full-upgrade' update and upgrade all packages easily [21:52] dist-upgrade will also install newer kernels and bump major revision numbers of an application whereas just upgrade will not [21:52] yes, only you need to determin if a reboot is nessassary [21:52] if so, the file /var/run/reboot-required is created [21:53] do it the hard way, or use the update tool [21:55] how do I run dist-upgrade [21:55] is dist-upgrade something I should run every day, week, month, year? [21:57] dist- or full, basicly the same .. [21:57] i would run it daily. even without proposed. [21:57] nice [21:58] https://manpages.ubuntu.com/manpages/focal/en/man8/apt-get.8.html [21:59] apt is preferred over apt-get. unless in scripting [21:59] apt now does what aptitude was praised for, dependencies, and new, cleanup old kernels after reboot [22:04] Anthaas: you may want to install network manager and transition to it from systemd-networkd / netplan, if this doesn't happen automatically [22:05] and you probably don't want cloud-init on a desktop [22:05] well afaik dist-upgrade is only for apt-get hence why i pulled that man page [22:06] sixwheeledbeast: works with both, but it's called "full-upgrade" now, to prevent ambiguity (it is not to be used for release upgrades on ubuntu) [22:07] oerheks: Whenever I start typing apt, I end up typing apt-get from body memory, I guess I'm still stuck in the old ways [22:07] ^ [22:08] oerheks, komt me bekend voor, Know that problem [22:09] I wasn't aware dist-upgrade would work for apt as well as full-upgrade === genii is now known as genii-core [23:29] I'm trying to copy only 30 days worth of files from one fs to another [23:29] Is "find" with -mtime the only way to specify a number of days? or is there another way to do it with rsync? I'd like to use rsync (if its possible), as I can rate-limit it... [23:29] I'd just like to do it in such a way that minimizes impact on the integrations running on the box in question [23:31] why don't you want a file that's 31 days old to be copied over? [23:34] We're talking hundreds of thousands of files total, and I'm trying to do some purging. We want to limit the retention to just 30 days. If I had *my* way, I'd tell the customer... don't copy the old stuff. You're going to have it all again in a month, and if you reeeeeeally need it, mount the old FS. [23:34] but that's likely not gonna fly [23:35] sarnold: migrating data from ext4 (where we're hitting inode issues) to XFS [23:36] SuperLag: ah, so using zfs snapshots probably wouldn't be helpful :) heh [23:39] SuperLag: you could use find -mtime -print0 to construct a list, and feed that into rsync --files-from --from0 to do the actual transfger [23:43] what protocol does ubuntu use for remote desktop? [23:45] both vnc and rdp are in main, via packages remmina-plugin-vnc and remmina-plugin-rdp [23:45] ok i have remmina on my arch install but it only comes with ssh so i'll have to find the package for one of those, thanks [23:48] sarnold: does -print0 represent stdout? [23:49] was thinking like 0,1,2 [23:50] SuperLag: -print0 asks for ascii NUL delimited output rather than newline delimited output, it's very handy when filenames are any old random gibberish [23:56] so I should do "find -mtime -print0 stuff | rsync --files-from --from0" as a one-liner? or do I redir it to a file and go from there? [23:57] heh, no, that's just a rough sketch of the command you'll need, it'll take more than that [23:57] sarnold: i've installed both of those and it says unable to connect on either protocol, i'm connecting from across the wan is it safe to assume i need a ufw rule? [23:57] lantech19446: probably, and if you're hosting it on a cloud provider, you may need to fiddle with their "security group" settings too [23:57] nah no cloud here this is just a server in the backroom at my work [23:58] i can get in via ssh but i need the graphical component for this [23:58] depending upon what you're doing, ssh -X may be easier