/srv/irclogs.ubuntu.com/2021/07/20/#ubuntu.txt

quitmanMight try to connect my headphones via usb tomorrow. Any specific packages i'll need?00:00
oerheksyou will see tomorrow, i guess nothing.00:01
guest3426with 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
guest3426and is this actually intended or bug?00:51
dman777I 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:53
Guest7700hi00:54
oerheksmaybe it is new signing? guest342600:55
oerhekselse, ask in #firefox00:55
guest3426its ubuntu specific thing - on official firefox the signature check has been mandatory for years00:56
Guest7700what happens here ?00:56
sarnoldGuest7700: people helping each other with ubuntu questions00:57
oerheksguest3426, are you sure about that? what ubuntu are you on?00:57
guest3426Im sure. 18.0400:57
Guest7700That's wonderful00:58
Guest7700Am using 20.0400:58
oerheksNew about:third-party page that highlights compatibility issues with third-party apps.01:00
oerheksubuntu firefox 9001:02
=== [_] is now known as [itchyjunk]
guest3426I'm on linux so that does not apply.01:03
=== dynorsau is now known as frib
oerhekswell,. without knowing what your custom webextentions are, maybe you better join this bug https://bugzilla.mozilla.org/show_bug.cgi?id=171476701:05
ubottuMozilla bug 1714767 in Toolkit "Unsigned extensions don't work in Firefox Developer Edition 90" [--, Resolved: Worksforme]01:05
oerheks90.0b4 fixes that?01:06
dman777I am using wpa_gui and it is not finding my wifi adapter. Is there something I need to start?01:06
oerhekssnaps give the same version, and 91 https://snapcraft.io/firefox01:08
ash_worksican I modify a file like /etc/hosts to get my browser to try an IP to resolve a specific address?01:16
sarnoldash_worksi: yeah that should work, i'd expect most browsers to check that file while resolving addresses01:17
ash_worksisarnold: thanks01:17
geniiYes, or resolv.conf  but changes will be lost after reboot01:17
=== genii is now known as genii-core
ash_worksisarnold: hmm, that didn't work like I expected it to; when I `curl -sv <IP> --resolve <domain>:80:<remote_ip>` it asks me to log-in; when I do that (using `-u`) I get `Location: /admin-login.php` which is great, but using <IP> with <domain> in my /etc/hosts doesn't send the browser to the same location01:20
ash_worksigenii-core: that's actually ok for me01:20
ash_worksiI'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:21
sarnoldash_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 client01:23
ash_worksisarnold: in which file?01:23
sarnoldash_worksi: it's not part of a file, it's part of the url that you're giving to curl01:24
ash_worksisarnold: curl works fine; I would like to see it in a browser though01:24
ash_worksiI don't know how to get my browser to route the same way `curl --resolve` does01:24
sarnoldash_worksi: aha :(01:24
sarnoldyeah I *love* that --resolve feature01:25
* ash_worksi is not sure if sarnold is being sarcastic01:25
sarnoldash_worksi: I'm not, I love it01:25
sarnoldI use it all the time when people report ubuntu mirror problems; it's an easy way to check all the mirrors in a few seconds01:26
ash_worksisarnold: yeah, me too!01:26
ash_worksianyway, no ideas on /etc/hosts or /etc/resolv.conf ?01:28
sarnoldI don't think /etc/resolv.conf would help, unless you're going to put in a new dns server to serve the addresses you want01:28
ash_worksisarnold: mer...01:29
ash_worksiI was hoping there would be _some_ file where I can specify: route request to this IP like this...01:29
sarnoldash_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 all01:29
ash_worksisarnold: well, even still, I have in --resolve `<domain>:80:10.0....` so... not sure where I'm supposed to put that01:30
sarnoldash_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
ash_worksisarnold: 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 domain01:32
sarnoldash_worksi: historically /etc/hosts worked great but the browsers keep "improving" things :)01:33
sarnoldash_worksi: check your browser DNS settings -- is it set to use DNS over HTTPS? or DNS over TLS?01:33
ash_worksiI'll look; it's firefox ftr01:33
ash_worksi[v] Enable DNS over HTTPS01:34
ash_worksimight unchecking that help?01:34
ash_worksihmm01:36
ash_worksistill redirects me01:36
ash_worksimaybe restarting firefox will help01:36
sarnoldyeah, that's the thing, try undoing that :)01:37
ash_worksiundoing = uncheck the box?01:37
ash_worksi(I tried that already)01:37
sarnoldyeah01:37
ash_worksisomething must be funky with the server config; trying to hit the login page directly succeeds01:39
=== M4he is now known as mahe
=== William is now known as Conna
elviswepa03:20
thekingofbandit1hi03:22
thekingofbandit1how to make the chan not showing join and quit03:23
sarnoldit depends on your client03:23
thekingofbandit1I join in another chan but not displaying  tons of join leave03:23
thekingofbandit1yes you right, I will shoot my client, giggles03:24
thekingofbandit1https://cdn.discordapp.com/attachments/794233002577231912/866883169239040030/Screen_Shot_2021-07-20_at_10.23.34.png03:24
sarnoldI use this script https://github.com/irssi/scripts.irssi.org/blob/master/scripts/hide.pl03:24
sarnoldhah that doesn't look like irssi :)03:24
Guest76How do I update Lubuntu via CLI exactly?03:27
justyb11Guest76, isn't that just `sudo apt upgrade`  ?03:28
sarnolddon't forget the sudo apt update  first03:28
Guest76sudo apt update && sudo apt upgrade03:28
Guest76thank you O wise Linus03:29
=== kevr is now known as evr
=== evr is now known as kevr
guest3426oerheks sorry, had to go afk04:24
guest3426oerheks 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
ubottuBug 1714767 in ubuntu-docs (Ubuntu) "Wifi network now showing" [Undecided, Invalid] https://launchpad.net/bugs/171476704:25
guest3426oerheks it could be related, which would suggest this is indeed a bug and not intentional change04:26
guest3426oerheks 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 Canonical04:28
GBGamesSo 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:53
GBGamesThat 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.04:54
GBGamesOk, 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:20
lotuspsychjeGBGames: sudo apt update && sudo apt full-upgrade and see if apt spits out errors05:21
GBGameslotuspsychje: No errors.05:23
lotuspsychjeGBGames: can you pastebin dpkg --list | grep linux-image plz05:24
GBGameslotuspsychje: 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
GBGamesI also see linux-image-generic-hwe-20.04 as ii05:25
lotuspsychjewich ubuntu release are you on GBGames05:26
GBGames20.04 LTS05:26
alkisgTo purge the rc packages, you can do this: sudo apt-get purge --auto-remove -y $(dpkg -l | awk '/^rc/ { print $2 }')05:26
alkisgrc means "uninstalled, but while keeping the configuration files"05:26
alkisgIf you won't reinstall them, and you don't need their configuration files, you can use purge instead of apt remove05:26
lotuspsychje!info linux-image-generic-hwe-20.0405:27
ubottulinux-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
lotuspsychjeshould be your hwe kernel GBGames ^05:27
alkisg-hwe in 20.04 has 5.805:28
alkisg-hwe-edge has 5.11, this is like "beta"05:28
alkisgThe bot above mentioned the hirsute kernel, not the focal kernel05:28
GBGamesSo lesson learned: never say yes to a partial upgrade.05:28
alkisgGBGames: don't use apt upgrade. Use apt full-upgrade05:28
Guest76full service blowjob05:29
alkisgapt upgrade means "partially update", which as you saw causes issues05:29
lotuspsychjeoh right05:29
Guest76sudo apt update && sudo apt full-upgrade05:30
alkisgRight05:30
GBGamesalkisg: 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
alkisgAh, that's usually a temporary problem in the repositories. AFAIK the updater does "full-upgrade"05:30
GBGamesIn 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
alkisgSo if it mentions a partial upgrade, wait for later :)05:31
alkisgapt-get upgrade is also bad; apt-get dist-upgrade is the "correct" one05:31
GBGamesHuh. 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
alkisgNo, that's "do-release-upgrade"05:32
alkisgTheir naming sucks, indeed :)05:32
GBGamesAccording 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
GBGamess/makes/maps/05:35
alkisgThe main difference to dist-upgrade is that it installs new dependencies05:36
alkisgSo if package a version 1 goes to version 2, which requires the new package b, it will allow it05:36
alkisgWhile apt-get upgrade (or apt upgrade) will stay with a version 105:36
GBGamesAh, ok.05:37
alkisgThis is a good thing; otherwise installing new kernels wouldn't even be possible with apt  upgrade05:37
alkisgWhile 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 apt05:38
GBGamesok, good to know. Thanks for your help, lotuspsychje and alkisg!05:39
alkisgnp05:39
GBGamesI hate that I am now hours past my bedtime, but I love that I got to dig into these administrative details some more.05:39
=== Agent is now known as Zgent
=== Zgent is now known as Agent
=== SmokenatorZ2 is now known as SmokenatorZ
RaimondRajhai everyone06:31
bittinhi06:31
RaimondRajradiobot is not in the sudoers file.  This incident will be reported.06:31
RaimondRajwhat must i do now06:31
RaimondRajplease guide me06:32
bittinadd that account to the sudoers file with your root/first account?06:32
RaimondRajok06:32
RaimondRajim new to this06:32
bittinRaimondRaj, https://www.digitalocean.com/community/tutorials/how-to-edit-the-sudoers-file06:33
RaimondRaj??06:35
rfmRaimondRaj, 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
RaimondRajok06:42
bittinhttps://phoenixnap.com/kb/how-to-create-sudo-user-on-ubuntu06:45
RaimondRajE: Unable to locate package libprotobuf2306:49
RaimondRajim try to install ShoutIrc06:50
Bashing-om!info shoutirc | RaimondRaj06:53
ubottuRaimondRaj: Package shoutirc does not exist in hirsute06:53
RaimondRaji dont know about that06:54
RaimondRajcan u explain more06:54
RaimondRajBashing-om : where to info06:54
RaimondRaj!info shoutirc06:54
ubottuPackage shoutirc does not exist in hirsute06:55
Bashing-omRaimondRaj: in terminal; ' apt policy shoutirc ' - the pckage is not an ubuntu package, so where are you getting it from ?06:55
RaimondRajsorry im lost06:57
weedmicRaimondRaj: perhaps this will help - http://wiki.shoutirc.com/index.php/Installation - I never heard of ShoutIRC.07:01
RaimondRajhttp://wiki.shoutirc.com/index.php/Installation#Ubuntu_Installation07:02
RaimondRaji follow this07:02
RaimondRajstil found some error07:02
weedmic#irc07:03
weedmicwell, 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:06
RaimondRajim stuck07:07
RaimondRajjust leave it07:07
RaimondRaji off it07:07
RaimondRajno idea to instal it07:08
weedmicyou 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?07:08
=== BlessJah_ is now known as BlessJah
guest3426anyone know why xpinstall.signatures.required has no effect after updating to firefox 90 (from 89)?07:44
osorcus: many many thanks it worked07:50
weedmicorcus is wise07:57
=== cacti is now known as madmax
polymorphicWould Ubuntu Docker image questions belong in #ubuntu or #ubuntu-server?08:26
weedmicthere is also #docker08:26
polymorphicYes, 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
polymorphicI am in #docker as well, but, figured that it is more specific to ubuntu, it is better to ask here first.08:27
BardonHello, 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:16
lotuspsychje!info macchanger | Bardon maybe?09:19
weedmichttps://www.ubuntubuzz.com/2012/11/how-to-change-mac-address-on-ubuntu.html09:19
ubottuBardon 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:19
BardonI can't install maccchanger (I can't download anything)09:21
BardonOr I could download the deb file and copy it over via usb..09:21
BardonAh nevermind, I just found `sudo ip link set dev enp0s31f6 address XX:XX:XX:XX:XX:XX`09:21
Bardon:)09:21
webchat17Hey09:58
webchat17Can anyone help me with using non english keyboards?09:59
webchat17Anyone?10:02
=== diskin is now known as Guest7049
=== diskin_ is now known as diskin
webchat17Can't believe that everyone is afk here10:03
ravageI would suggest to plug it in like any other keyboard10:04
webchat17My problem is, when using windows, and a hungarian keyboard, if I press ctrl + alt + v, it writes a "@"10:04
webchat17However here, it doesn't work10:05
webchat17Same with ctrl + alt + j writing a í in windows, however here it doesn't work at all10:05
webchat17Is Ubuntu using some other keybinds?10:06
webchat17(I'm using an english keyboard, but the keyboard layout is hungarian)10:06
ravageI have no idea how mixing that will affect key bindings10:08
ravageUsually it messes up everything10:09
alkisgwebchat17: what's the output of this command? setxkbmap -query10:11
webchat17rules:      evdev10:13
webchat17model:      pc10510:13
webchat17layout:     hu,us,us10:13
webchat17variant:    ,,10:13
alkisgwebchat17: this is the hungarian layout: http://imgur.com/a/uaDKos910:16
alkisgThat means that for example, @ is "right-alt+v"10:18
Amnesiaquestion, 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:18
webchat17alkisg is there a way to change it to left alt?10:20
alkisgwebchat17: if you run `sudo dpkg-reconfigure keyboard-configuration`, you'll see various options that will eventually end up in "variant" in your setxkbmap output10:21
alkisgI think left-alt is available there; also menu, super etc10:21
webchat17alkisg which option do I need to choose? It is on generic 105 key by default10:24
athospolymorphic: you could ask in #ubuntu-server :)11:22
RedNifreIs there a simple way to resize an existing window to a specific size in pixels?11:44
RedNifreI want to record it, so it might be nice if it had a standard size like 800x600 or something.11:44
rbasakRedNifre: wmctrl(1) can do that I think.11:47
rbasakhttp://manpages.ubuntu.com/manpages/focal/en/man1/wmctrl.1.html11:47
enzotibRedNifre: https://askubuntu.com/questions/94859/resizing-windows-to-a-particular-width-and-height-instantly/94866#9486611:48
PohovaniTurcinhi11:50
PohovaniTurcinchoosing a linux distro, to learn python11:51
PohovaniTurcinwhy do you like ubuntu over other distributions11:51
cbreakit's well supported by software vendors, like nvidia (for cuda), and it natively ships ZFS.11:59
PohovaniTurcincbreak and i guess having most users also helps a lor12:04
PohovaniTurcini guess bug fixes come fast12:04
PohovaniTurcin?12:05
xboxhi12:10
PohovaniTurcinpopušite svi kurac kolektivno pederčine šugave mrš12:10
xboxhi12:11
MrMobiusim 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
MrMobiusthe way it was by default where it never slept12:12
sixwheeledbeastgedit is just a text editor. i don't see how that would cause an issue12:15
ThinkT510it probably pulled in a whole desktop environment and everything else it needed12:18
MrMobiusThinkT510, ya it was almost 500mb iirc12:24
MrMobiusi thought maybe there's some default to suspend that X sets since this was the first time it was run12:25
Daulityhey all12:33
DaulityI 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 master12:34
Daulityany utilities that can do that out of the box?12:35
MrMobiusstill puts the computer to sleep after 5 minutes even if i connect with X11 forwarding disabled12:37
BluesKajHi all12:38
bittinHey12:40
=== Wally is now known as PyraBot
=== PyraBot is now known as Wally
nualahome 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:44
Guest3036Hi! 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:46
donofrionuala, 83mb is nothing free up more space12:52
nualarm: cannot remove foo: Read-only file system12:55
cbreakGuest3036: yes, I think so12:57
cbreakthere's https://zfsbootmenu.org/, but I've not tried it. Apparently it can do without separate boot pool12:58
Guest3036cbreak: thanks!13:31
Guest3036cbreak: 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?13:33
locsmifDoes 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
lotuspsychjelocsmif: compile own kernels we dont reccomend on ubuntu, use the default kernel or !mainline to test things out14:25
=== genii-core is now known as genii
lotuspsychje!kernelparm | locsmif is this what you seek?14:26
ubottulocsmif is this what you seek?: To add a one-time or permanent kernel boot parameter see https://wiki.ubuntu.com/Kernel/KernelBootParameters14:26
locsmifNo, 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 not14:28
locsmifBut I know perfectly well how to compile my own kernels, though I would obviously not request support for them here14:28
lotuspsychjelocsmif: deeper questions about whats inside the ubuntu kernels, perhaps #ubuntu-kernel devs can answer14:30
locsmifThanks!14:32
entulandI seem to recall this used to work in the past - anyone knows why it's not working anymore? https://i.imgur.com/tJmAzFH.png14:53
cbreakGuest1675: maybe there's a boot pool with only supported features, or the main pool only has supported features15:05
cbreakGuest3036: it's important to have a separate boot pool mainly when the main pool uses features grub doesn't know15:06
=== gravyy is now known as gravy
john122hi 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
john122 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
nemowow. my eyes glazed over just trying to follow that15:28
nemoI feel like I need a diagram 😝15:29
nemohm.. why am I hanging out in #ubuntu anyway15:29
nemooh right. that weird entry in my install log on our one remaining ubuntu machine that seemed to sugest old atom for 18.04 postgresql15:29
^-^hiI 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 ventoy15:33
^-^hithe checksums at boot also go fine15:34
^-^hibut when i want to install to the other sd card it gives IO error15:34
^-^hithere is no shortage of space (30 gigs) or ram (4 gigs)15:35
^-^hithe error is about squashfs failing to read stuff15:35
leftyfb^-^hi: bad sd card16:00
SomeGuyInCtHi, I am having an issue with Ubuntu and looking for some help. Specifically with setting up the wifi16:03
lotus|NUCelaborate your issue a bit more SomeGuyInCt so volunteers can debug with you16:10
SomeGuyInCtI 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 either16:11
SomeGuyInCtany advice would be appreciated16:12
ravageIs there a Hardware switch that is disabled maybe?16:15
SomeGuyInCthi ravage, where could i check for that?16:17
ravageOn your device16:17
ravagealso google found this: https://meaningofiz.wordpress.com/2018/05/23/ubuntu-linux-on-dell-latitude-d531/16:19
SomeGuyInCti try the commands in the article16:20
SomeGuyInCt*i’ll16:20
Sven_vBhi! 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:21
Sven_vB… which wouldn't work becasue that xfce session currently is affected by the xdotool freeze bug. :/16:23
Sven_vBso all ideas are welcome16:24
rbasakSven_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:51
rbasakSven_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:52
ash_worksican 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:55
^-^hileftyfb: its new and i have tested it so many times for many things with no error16:56
ash_worksior positional parameter?16:56
Sven_vBrbasak, 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.16:57
Sven_vBin 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:00
physikoiHello #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? ty17:02
hydrianEllo all17:02
lotuspsychjewelcome hydrian17:03
physikoihi hydrian17:04
leftyfbphysikoi: maybe try the #channel for whatever language you're using to parse temp.plist17:04
hydrianI'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
leftyfbhydrian: nextcloud17:04
hydrianBasically, I'm looking for something to mirror /var17:05
leftyfbhydrian: or dropbox17:05
physikoileftyfb? `defaults` is an #ubuntu command17:05
leftyfbhydrian: why?17:05
hydrianleftyfb: I have nextcloud. Not really the use case. I can't use netcloud to mount fs.17:05
hydrianI need to mirror /var/lib/timekpr config and data between all of my children's computers.17:06
hydrianBut they have wifi laptops so connectivity is sometimes shotty.17:06
physikoihydrian: sounds like mountainduck does what you want; it allows for offline access to remote filesystems17:07
physikoiit's not gratis though17:07
leftyfbphysikoi: "/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 of17:07
leftyfb general-purpose, non-graphical Objective C classes"17:07
hydrianMountainDuck.. never heard of it.17:07
physikoileftyfb: where do i go for help then? #bash says "no" and #linux says "no."17:08
physikoihttps://mountainduck.io17:08
leftyfbhydrian: you could still use dropbox or nextcloud. Just bind mount ~/Dropbox/path/to/timekpr -> /var/lib/timekpr17:08
hydrianleftyfb: That's an option...17:09
hydrianI was also thinking about a webdav mount17:09
leftyfbphysikoi: since it's objective C, try #macdev17:10
physikoihydrian: sorry, apparently mountainduck is windows and mac only. It'll just mount linux fs17:10
hydrianphysikoi: No worries. I think I already passed on that setup. I'm looking towards a webdav mount17:12
leftyfbhydrian: 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 avoid17:13
leftyfbhydrian: 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/timekpr17:15
hydrianleftyfb: I thought webdav2 had the option for local caching... I think I was thinking of sometihng else.17:16
agentsoulduring 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:18
agentsoulwhat state means "yes" (change it)? GREY or RED?17:19
Sven_vBagentsoul, can you open some other settings dialogs with checkboxes and compare them? do they look similar?17:22
Sven_vBagentsoul, if you're lucky, changing the UI theme might help, i.e. affect the existing irc user prompt.17:23
ravageThe chance that you actually have the user IRC is low.17:24
ravageI think there is actually a bug report for this17:25
ravageChoose whatever you like17:25
ravagehttps://bugs.launchpad.net/ubuntu/+source/base-passwd/+bug/191665117:25
agentsouli just clicked anything will see17:25
ubottuLaunchpad bug 1916651 in base-passwd (Ubuntu Hirsute) "asks about irc user home directory during upgrade" [Undecided, In Progress]17:25
agentsoulthanks I hope the other dialogs are clear :-)17:27
=== cacti is now known as madmax
geirhaLike "Canceling this operation could leave the system in an unusable state" "[Cancel]" "[Cancel]"?17:34
=== 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
michaelroseSo I think its time to talk about removing Audacity from foss repos17:54
lotuspsychje!discuss | michaelrose17:54
ubottumichaelrose: 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:54
michaelroseok17:55
hermanfHow 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:15
leftyfbhermanf: did you try https://itectec.com/ubuntu/ubuntu-how-to-change-the-login-screen-resolution-in-ubuntu-18-04/ ?18:18
lantech19446hey 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 run18:22
sarnoldhey lantech19446 :) it should just work18:23
leftyfblantech19446: please pastebin your cronjob line. Also, why not use a systemd timer file as opposed to cron?18:24
lantech19446leftyfb: I only need it to run once a day at a specific time and cron was what i was familiar with18:24
leftyfblantech19446: https://opensource.com/article/20/7/systemd-timers18:25
lantech19446118:27
lantech194460 14 * * 2-6 ./goaccess.sh > /dev/null 2>&118:27
sarnoldlantech19446: aha :)18:33
sarnoldlantech19446: what exactly is the current working directory of your cron daemon? :)18:33
lantech19446\var\spool\cron18:35
lantech19446i know my slashes are wrong but it kept triggering the command on irccloud18:36
sarnoldlantech19446: 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
lantech19446ok18:37
sarnoldlantech19446: so, did you store goaccess.sh in /var/spool/cron?18:37
lantech19446no it's in home directory18:38
lantech19446do I need it in /var/spool/cron?18:39
sarnoldlantech19446: it'd be easier to put the full path to the file in your crontab18:40
lantech19446in other words don't short path it with ~./18:40
RedNifreThanks, rbasak and enzotib, that looks like it works perfectly.18:40
sarnoldlantech19446: right18:41
lantech19446ok18:42
lantech19446/home/lamp/./goaccess.sh doesn't look right18:44
sarnoldit would probably work, but you're right, /home/lamp/goaccess.sh is the more usual way to write that path18:45
lantech19446ok so it doesn't actually need to be told to execute it18:45
sarnoldit does :)18:45
sarnoldthe ./ just says 'start the path resolution in the current working directory'18:46
sarnoldwell, strike that18:46
sarnoldin a path like /foo/./bar   the dot means the '.' entry in the 'foo' directory...18:46
lantech19446ok18:47
lantech19446ok so I just setup an identical cronjob for 3 to see if it runs now18:48
lantech19446the 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 password18:51
leftyfblantech19446: sudo su18:54
leftyfbthen (as root): su otheruser18:54
lantech19446aha you are genius good sir18:54
lantech19446as much as I'm learning on my way to becoming a real linux admin i figure out just how little i actually know18:55
lantech19446and 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 anymore18:57
sarnoldlantech19446: 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:00
lantech19446it's still not running19:01
sarnoldmaybe strip off the > /dev/null 2>&1 thing and see if it emits errors?19:02
lantech19446I 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 work19:04
lantech19446fuck I need to do this whole thing in my new sudoers profile and crontab it's failing because it needs sudo to run the script19:05
sarnoldscripts with sudo are almost always a mistake19:05
sarnoldit's almost always better to just make the script run with whatever account it needs19:06
lantech19446ok I can do that easily19:06
lantech19446ok 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 now19:10
lantech19446would i be bothering you guys too much to ask one more question, you've been so helpful19:11
sarnoldthat's why folks are here :)19:11
lantech19446so 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 ^C19:12
lantech19446damnit now it can't access /var/log/apache2 it says permission denied19:18
lantech19446ok i'm at least smart enough to fix that one on my own19:31
AnthaasHi. 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:40
lotuspsychje!raid | Anthaas start here19:41
ubottuAnthaas 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/FakeRaidHowto19:41
geniiIf 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 package19:43
AnthaasI 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:43
geniiThe 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 prefer19:44
AnthaasI'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:51
lantech19446so 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 job19:54
lantech19446sorry sudo su not sudo sh19:54
sarnoldlantech19446: pastebin the script?19:56
lantech19446I can't effectively pastebin it i can't copy the script into the pastebin since i'm remoting into the server19:58
lantech19446i can type out what i have19:58
Anthaasscp?19:59
lantech19446i can try give me a sec19:59
entulandif you can get it to display into a terminal you should be able to copypaste the terminal text20:00
lantech19446the issue isn't whether it'll copy and paste the issue is i don't share a clipboard between the host and server20:00
Anthaas....that's fine?20:00
AnthaasIf you can see it in a terminal, can you not highlight it, right click, and copy?20:00
sarnoldlantech19446: the pastebinit tool is very handy, too :)20:01
lantech19446scp workd20:01
AnthaasUnless you are using some sort of remote desktop software where you don't can bidirectional clipboarding.20:01
lantech19446i'm using windows rdp20:01
entulandscreenshot it and OCR :P20:02
lantech19446120:02
lantech19446220:02
lantech19446320:02
lantech19446420:02
lantech19446sudo su lampsh20:02
lantech19446cd /var/log/apache220:02
lantech19446sudo zcat -f access.log.1 | sudo goaccess -o /var/www/html/report.html --log-format=COMBINED --real-time-html20:02
lantech19446that doesn't work20:02
Anthaas....or use a pastebin.20:03
lantech19446i did use pastebin20:03
AnthaasA pastebin would provide you a URL.20:03
lantech19446the one at the top of this channel does no such thing20:03
AnthaasTry dpaste.de20:03
sarnoldlantech19446: this is what we saw https://paste.ubuntu.com/p/MdJqKCH7jZ/20:03
lantech19446i'm not getting a url from paste.ubuntu.com so i'm just copying and pasting the formatted output20:04
sarnoldlantech19446: so, that access.log.1 ... remember what I said earlier about using absolute paths? :)20:04
lantech19446even though i told it to cd into that directory?20:04
sarnoldoh right. hmm.20:04
AnthaasIs the second sudo necessary?20:05
lantech19446yep it fails without it20:05
sarnoldthe first one doesn't do anything20:05
lantech19446it wouldn't run without it20:05
AnthaasYou are switching to the lampsh user, and then running the commands as root?20:05
lantech19446lemme make a backup and see if it'll run without them in lampsh20:06
NaviTheFairyey, 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
lantech19446well 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 too20:11
lantech19446this is going to be the death of me i'll be back in a few minutes20:12
tomreynAnthaas: about RAID-5 spun across 4 TB disks, watch this, especially the later part about URE https://www.youtube.com/watch?v=A2OxG2UjiV420:13
ash_worksihow can I check my password in a terminal without logging out (that is, type a password and verify that is correct)20:13
tomreynAnthaas: (or read up on "raid-5 raid-6 URE" on the web)20:14
geniiash_worksi: ssh localhost20:14
ash_worksireally? there's not a utility for this?20:14
ash_worksialso, *refused*20:15
Anthaastomreyn 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 mdadm20:15
ash_worksiI guess I could try `sudo su -c 'echo'` or something20:15
sarnoldash_worksi: 'bash login' will probably do it20:16
sarnoldash_worksi: oh sudo yeah, that'l do it too :)20:16
ash_worksisarnold: well, not if I happen to have sudo'ed previously20:16
ash_worksiat least, not for awhile20:16
tomreynAnthaas: 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
ash_worksisarnold: /bin/login: /bin/login: cannot execute binary file20:17
ash_worksiI guess just 'login'20:17
ash_worksilogin: Cannot possibly work without effective root20:17
lantech19446i 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 file20:18
Anthaastomreyn 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
ash_worksisarnold: any other suggestions?20:18
Anthaaslantech19446 `ls -la` and check your permissions?20:18
sarnoldash_worksi: sudo -k will remove your sudo token20:19
lantech19446rw-rw-r20:19
ash_worksisarnold: ah, thanks20:19
sarnoldlantech19446: namei -l /path/to/file can be very handy when trying to figure out where permissioned denied messages are coming from20:19
Anthaaslantech19446 Right, so nobody has permission to execute it.20:19
lantech19446so I make it 700 if i'm thinking correctly20:20
AnthaasThe 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
lantech19446but 700 should give me +x as well right?20:20
Anthaaslantech19446 Start with something like `chmod u+x /path/to/file`20:20
Anthaas700 will remove the permissions for the group and others.20:21
lantech19446so it would be mor elike 77720:21
tomreynAnthaas: 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 i20:21
tomreyngetting wrong here?20:21
AnthaasNo, that would give everyone permission to execute it.20:21
Anthaastomreyn 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
Anthaas"general storage" being my services etc.20:22
ash_worksisarnold: what is the "effective root"?20:23
lantech19446Anthaas: 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
Anthaaslantech19446 Give executable permission on that file to the user that owns it.20:23
Anthaasu = user, g = group, o = others20:24
tomreynAnthaas: 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:26
lantech19446ok thanks Anthaas just tried it without the sudos too it won't run without them even being in lampsh20:27
Anthaastomreyn 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
Anthaas(Again)20:27
AnthaasI 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
AnthaasIf I were to go with RAID 0, how would I go about that?20:28
Anthaasi 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:29
tomreynAnthaas: 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
AnthaasHmm I was planning on using Ubuntu Desktop, but I guess I could just install ubuntu-desktop after...20:30
tomreynyou can go full risk, but keep in mind you'll need to both reinstall and restore any data from the backup.20:30
tomreynyes, you could install ubuntu-desktop afterwards20:31
tomreynthe desktop installer is really bad when it comes to 'not just a simple setup', i'm afraid.20:32
AnthaasYeah - 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
AnthaasHey ho...20:32
AnthaasTo be honest, its mainly used as an internal media server (e-books with calibre, and what not..)20:32
AnthaasRAID 0 wouldn't be too naff.20:33
tomreynas long as you have backups and don't mind rebuilding it when a disk fails20:33
AnthaasYeah - 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:34
tomreynto make things more difficult to choose: there are also lvm raid and zfs pools (and btrfs, but... you know)20:35
AnthaasNever knew about an LVM RAID, though I suspect its probably not necessary when considering a RAID 0?20:36
AnthaasThough snapshots sound interesting.20:37
tomreynyou'd just have two "physical disks" (or partitions spun across those disks) added to a volume group there20:38
tomreyn*two or more20:38
tomreynLVM snapshotting is somewhat easy to get wrong / break, i'm afraid.20:40
AnthaasCreating a bootable USB with Ubuntu Server 20.04 now.20:40
lantech19446ok 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 successfully20:49
lantech19446I don't think it's applying sudo20:54
hermanfHow 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.20:55
lantech19446sarnold: i'm taking your thought i removed cd /var/log/apache2 and turned it into a specific path in the command21:00
tomreynhermanf: is this with open source graphics drivers and the default ubuntu desktop? on a supported ubuntu release?21:12
tomreynif so, this should work, i think: https://www.virtualconfusion.net/hoe-to-change-ubuntu-gdm-login-resolution/21:13
CroranWhat 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:15
oerheksCroran, undoubtfully i say it is better now21:16
oerheksgo try it yourself?21:17
Croranoerheks: i would if i had an AMD GPU. I wouldn't buy one without knowing it's going to run well.21:17
CroranHow does it compare to amd gpu performance on Windows?21:17
oerheksthere are too many gpu's to answer that.21:17
oerheksamdgpu is supported in wayland21:18
CroranR9 Fury21:18
oerheksand -pro on top of that21:18
AnthaasHmm, the docs on help.ubuntu.com seem quite out of date.21:19
oerheksnot really21:23
Croranoerheks: 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
Croranlol.21:23
oerheksthe wiki is out of date, help.ubuntu.com is what is currently worked on21:24
AnthaasYeah - I think he is right. I've just found another section of ubuntu.com with more up to date stuff.21:24
hermanftomreyn, It's with NVIDIA drivers on 20.04 on default Ubuntu desktop.  I'll give your link a try.  Thanks21:25
oerheksand i like bing more for some reason ;-)21:25
Croranwhat does bing have to do with anything21:25
oerheksgoogle does not always bring up good helppages21:26
Croranso, is someone using google?21:26
=== LjL is now known as LjL-Pfizer
hermanf@tomreyn, Thanks!  That worked.21:32
lantech19446sarnold: Anthaas: thanks for all your help I managed to really consolidate the command got rid of the pipe completely and now it works21:32
Croranfunny the cheapest of the video cards reviewed by the latest phoronix benchmark is still over $60021:34
tomreynhermanf: oh, i had not actually expected that to work with the proprietary drivers, too, but... glad it does.21:35
CroranI 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
Anthaastomreyn Well, that seems to be installing. Using server was a _lot_ easier.21:35
tomreynAnthaas: 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:36
sarnoldlantech19446: you're all sorted out? :) woot!21:46
lantech19446yes thank god, I was so happy to see the modified time update lol21:46
Anthaastomreyn Wait, there's more than just installing ubuntu-desktop?21:47
oerheksadd gufw, gui for ufw and enable it21:49
Guest2What does the Lubuntu Apply full upgrade applicaiton do, compared to a standard apt get update etc?21:49
=== LjL-Pfizer is now known as LjL
oerheks!dist-upgrade21:50
ubottuA 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:50
Guest2Does 'sudo apt update && sudo apt full-upgrade' update and upgrade all packages easily21:51
geniidist-upgrade will also install newer kernels and bump major revision numbers of an application whereas just upgrade will not21:52
oerheksyes, only you need to determin if a reboot is nessassary21:52
oerheksif so,  the file /var/run/reboot-required is created21:52
oerheksdo it the hard way, or use the update tool21:53
Guest2how do I run dist-upgrade21:55
Guest2is dist-upgrade something I should run every day, week, month, year?21:55
oerheksdist- or full, basicly the same ..21:57
oerheksi would run it daily. even without proposed.21:57
Guest2nice21:57
sixwheeledbeasthttps://manpages.ubuntu.com/manpages/focal/en/man8/apt-get.8.html21:58
oerheksapt is preferred over apt-get. unless in scripting21:59
oerheksapt now does what aptitude was praised for, dependencies, and new, cleanup old kernels after reboot21:59
tomreynAnthaas: you may want to install network manager and transition to it from systemd-networkd / netplan, if this doesn't happen automatically22:04
tomreynand you probably don't want cloud-init on a desktop22:05
sixwheeledbeastwell afaik dist-upgrade is only for apt-get hence why i pulled that man page22:05
tomreynsixwheeledbeast: 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:06
geniioerheks: Whenever I start typing apt, I end up typing apt-get from body memory, I guess I'm still stuck in the old ways22:07
sixwheeledbeast^22:07
venividivici1989oerheks, komt me bekend voor, Know that problem22:08
sixwheeledbeastI wasn't aware dist-upgrade would work for apt as well as full-upgrade22:09
=== genii is now known as genii-core
SuperLagI'm trying to copy only 30 days worth of files from one fs to another23:29
SuperLagIs "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
SuperLagI'd just like to do it in such a way that minimizes impact on the integrations running on the box in question23:29
sarnoldwhy don't you want a file that's 31 days old to be copied over?23:31
SuperLagWe'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
SuperLagbut that's likely not gonna fly23:34
SuperLagsarnold: migrating data from ext4 (where we're hitting inode issues) to XFS23:35
sarnoldSuperLag: ah, so using zfs snapshots probably wouldn't be helpful :) heh23:36
sarnoldSuperLag: you could use find -mtime -print0  to construct a list, and feed that into rsync --files-from --from0 to do the actual transfger23:39
lantech19446what protocol does ubuntu use for remote desktop?23:43
sarnoldboth vnc and rdp are in main, via packages remmina-plugin-vnc and remmina-plugin-rdp23:45
lantech19446ok 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, thanks23:45
SuperLagsarnold: does -print0 represent stdout? <insert thinking emoji here>23:48
SuperLagwas thinking like 0,1,223:49
sarnoldSuperLag: -print0 asks for ascii NUL delimited output rather than newline delimited output, it's very handy when filenames are any old random gibberish23:50
SuperLagso 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:56
sarnoldheh, no, that's just a rough sketch of the command you'll need, it'll take more than that23:57
lantech19446sarnold: 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
sarnoldlantech19446: probably, and if you're hosting it on a cloud provider, you may need to fiddle with their "security group" settings too23:57
lantech19446nah no cloud here this is just a server in the backroom at my work23:57
lantech19446i can get in via ssh but i need the graphical component for this23:58
sarnolddepending upon what you're doing, ssh -X may be easier23:58

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