[00:00] In xfce on focal, with keyboard layout XKBMODEL='pc105' XKBLAYOUT='de' XKBVARIANT='deadgraveacute' XKBOPTIONS='caps:none', how do I type "??" (broken pipe)? On trusty it used to be Shift+AltGr+"<". (aka shift + "|" because AltGr+"<" gives the normal pipe.) [00:03] (variables from /etc/default/keyboard; in xfce4 settings manager > keyboard > layout > "use system defaults" is checked) [00:04] Sven_vB: wikipedia suggests altgr+`, altgr+6, altgr+shift+\ and compose!^ [00:04] Sven_vB: does the deadgraveacute thing override the composekey? [00:05] in urxvt you can type shift+control+(a,6) --> ¦ [00:05] sarnold, unfortunately I have no idea what a compose key is. if it helps, lots of other combinations for exotic symbols do work as I'm used to, and most of them are formed using AlrGr. [00:05] I'll try that [00:06] oh, I assume the () mean to use a compose key [00:06] no [00:06] it means hold down shift and control, then tap the a key, then tap the 6 key, then release shift and control [00:06] thanks, I'll try that then. [00:07] I don't know if there's a good way to write that or not :) [00:07] should it work in gnome-terminal or xfce4-terminal, too? [00:08] dunno.. when you hit it in urxvt it pops up a dialog that says "iso 14755 mode" -- maybe the docs for gnome-terminal or xfce4-terminal would have something for that? [00:09] I'll just install urxvt then [00:11] yes, urxvt behaves as expected. [00:12] I'm curious what you need the broken pipe for; I've never actually seen it used before [00:12] I need an exotic string delimiter. :) [00:12] aha! success :) [00:14] well, as a stopgap I'll try and make a hotkey that launches xdotool to type it [00:14] there has to be an actual fix though. [00:14] I'll compare that xev sees [00:15] stuff it into your PRIMARY select buffer and then just hit shift+insert when you need it? [00:17] that would interfere with my other clipboard use. also muscle memory already knows the broken bar [00:18] I'll check whether it's about XKBOPTIONS [00:23] Sven_vB: ctrl-shift-u + a + 6 + space [00:24] (it is unicode character 00A6) [00:25] so that's not explaining why compose (AltGr by default) + shift + | does not work, but at least ist's a workaround. [00:25] https://help.gnome.org/users/gnome-help/stable/tips-specialchars.html.en#ctrlshiftu [00:29] hi folks [00:29] I'm running ubuntu desktop 20.04, all patches. [00:30] Some things have changed with networking at the office. I think that perhaps the gateway is incorrect. I just have a wireless connection. Where do I configure the gateway? [00:30] Incorrect here, at the home office. [00:43] results are in, it's not about XKBOPTIONS. http://paste.debian.net/plain/1192446 [00:52] hey, nice, a string to tug on :) [01:13] oh wow [01:13] Is this working? Do you see me? [01:15] jake: yeah [01:15] sarnold: thanks. irssi for the first time :0 [01:37] eh? === zbenjamin_ is now known as zbenjamin [01:54] yes [01:58] is there a way to use the old keyboard layout files from a 32bit Ubuntu trusty (where the brokenbar key works) on a 64bit Ubuntu focal? [02:03] Sven_vB: I think somethin glike this should do the trick: xkbcomp :0.0 /tmp/out ; scp /tmp/out foo:/tmp; xkbcomp /tmp/out :0.0 -- there's probably a better way but this comes to mind :) [02:04] Sven_vB: you can probably find the diff between the one that works and the one that fails and figure out how to make just that change to a more minimal config.. [02:05] the scp command confuses me [02:05] just moving the file from machine to machine [02:06] I see. I'll read man xkbcomp [02:08] oh, I think I get it now. I could just copy from an SSH X11-forwarded display on trusty, to the local display on focal. [02:08] maaaaybe [02:09] yeah, on 2nd thought, I think I'll use files and compare them first. [02:09] thanks :) [02:10] is that fraction part actually ever used? my X display numbers in the last few years always happened to be integer. [02:11] good question [02:18] The diff is long, but the relevant part is probably this: [02:18] - symbols[Group1]= [ less, greater, bar, brokenbar ] [02:18] + symbols[Group1]= [ less, greater, bar, dead_belowmacron ] [02:19] so I patched just that in my file from focal, copied it back with "xkbcomp fixed.txt :0", now AltGr+Shift+"<" no longer triggers any key press event in xev. [02:19] to clarify, I applied the reverse of the patch [02:20] waaat [02:21] also no other line in the trusty file mentions "brokenbar". I checked because I thought maybe I need to copy its definition. [02:22] I'll try and put a normal letter key in there [02:23] nope, with "minus" it also has no effect [02:25] when I "xkbcomp :0 minus.txt", minus.txt differs a lot from fixed.txt [02:25] I guess the input and output format of focal's xkbcomp aren't strictly compatible [02:25] xmodmap -e "keycode 94 = less greater less greater bar brokenbar bar brokenbar" -- is what made the broken bar work for me fwiw. \o/ [02:26] oh. just discovered that now my ">" key also has no effect [02:27] And yes, I'm also using a (slightly modified) German keyboard layout. [02:28] that command had no effect for me. I guess I'll have to reboot the focal machine, then try it again. [02:34] kryten, nice! now your command fixed it. thanks! [02:35] I wonder though, why each pair is repeated? [02:39] Sven_vB: And short of finding a method that doesn't risk the changes being undone by any updates to the 'xkb-data' package (though these are rather seldom), I'd then still just adapt the file '/usr/share/X11/xkb/symbols/de' to how I want it. [02:40] also "xmodmap -pke | grep brokenbar" only shows "keycode 94 = less greater less greater bar brokenbar bar", without the final "brokenbar". does yours keep it? [02:41] I discovered I already have an xmodmap script in my autorun, to adjust multimedia keys. I'll just put brokenbar in there [02:42] Well, the output to the same command shows the second instance of "brokenbar" here too though. [02:42] Ah, very well then! [02:42] odd [02:42] well, good enough for now. :) [02:45] And without the second "brokenbar" it doesn't work here. [03:08] kryten, unfortunately that xmodmap fix only lasts until the keyboard is unplugged. :( [03:08] how do I set the defaults for newly connected keyboards? [03:09] I use a mechanical KVM switch, so keyboard plugging happens a lot [03:19] hello, I'm using Ventoy to boot Ubuntu 20.04.2 desktop, looking to get in the live desktop environment. I see a purple splash screen (keyboard + some other logo on bottom) and then first few lines of syslog, resolution changes to something my monitor does not support (has worked before though on same system/monitor). It's unresponsive to ctrl+alt-F1-F8 to change to a TTY as well. only thing I can do is [03:20] ctrl+alt+del out of it [03:20] Older HP DL180 G6 with onboard VGA graphics, BIOS based. Should I try without Ventoy? I only really need to get to a CLI and run some ZFS commands, does Ubuntu Server offer this? [03:20] in an live environment that is [03:22] i dont get any boot menus for selecting advanced options etc [03:24] i think that's ventoy's fault actually [04:11] Friends Adwaita is being used in both Flatpak and Snap, is there a way to use QogirBudgie? === Liowenex_ is now known as Liowenex [04:52] hello , does anyone here had problems with keyboard layout? im having a hard time in here. [05:03] my plain 20.04 ubuntu stick is also giving me input not supported as soon as it boots up. how do i edit the boot options? [05:05] ok, pressing right shift apparently. there's a safe graphics option already === liuqiangqiang is now known as BouncyElf === PowerTower_121 is now known as PowerTower_120 [07:11] morning === Guest29906 is now known as lupulo [07:37] hi folks [07:37] I have a current problem when ubuntu 20.10 is corrupting my external hd drives. [07:38] anyway to fix this annoying issue [07:38] the drive is new [07:38] and this is the second replacement. [07:48] OERIAS, are you safely ejecting them? ie. ensuring any buffers are written to disk before you unplug === GankMove is now known as StayinPaid === ace_me1 is now known as ace_me [07:59] USB? Broken USB Adapter? [07:59] Tried ZFS? === michele| is now known as michele [09:44] Ubuntu tries to mount a UUID that doesn't exist, looks like the root, but it's correct in fstab... Now it's just BusyBox [09:44] This happened after reinstall [09:45] When reying to fix a disk change [09:45] *trying [09:45] It won't reinstall again because it finds no EFI partition [09:46] ...when it did before [09:46] Any help? [09:47] (I'm on Ubuntu install CD right now) [10:00] Any help? [10:12] VMGuy23, use `blkid` to get your UUIDs to check with the fstab [10:12] I checked with Gnome Disks [10:12] Ola! [10:13] what release won't reinstall b/c of no EFI? [10:13] 20.10 [10:13] hello, does anybody know how do I go to a previous command in the current bash shell even though I just put a space before with HISTCONTROL=ignorespace. [10:14] I have an EFI system with an EFI partition bit the installer lost sight of it, got to go now [10:15] @erialdo maybe try !! on the bash [10:17] yes of course. but I intended to do another thing. e.g add a space before the command and then run. forgot to add smth in the command and want to go back. but can't because ignorespace value in HISTCONTROL. just want to go back to previous command in the current session [10:17] when I press !! it takes the last command saved in the history file [10:18] there has to be something as a temporary cache [10:18] I used this functionality in zsh shell [10:18] but cannot find the equivalent in bash shell [10:27] @erialdo if am understanding you correctly, you looking for a previous command you typed, which if all fails, do it manual, i.e. `history|less` check the command you want, copy paste with the added spaces you indicated? [10:35] hello I want to access with arrow the last command in current bash shell despite HISTCONTROL value. How do I do that? [11:08] Installing a BIOS update from Ubuntu Software ... at least I think I am. There is no progress or way to see if it's installing the update or how far along it is ... seems very dangerous. [11:10] The fan in the laptop (Thinkpad P14s) is on max, which is normal for when a BIOS update is installing, but other than that there is no visual clue as to what's going on with the update [11:12] One would imagine, the file is small so the install is super fast... [11:15] Elw3: writing a new BIOS usually takes several minutes ... but here I am still waiting for the laptop to automatically restart ... [11:17] going ahead with the CLI instead https://paste.ubuntu.com/p/wMNR9K5DbC/ [11:18] Ubuntu Software app has never been great :/ [11:18] sound like you should file a whishlist bug to get a progress bar ... "ubuntu-bug gnome-software" should be the right thing to report that [11:18] *sounds [11:19] ogra: if the app allows the updating of firmware it should have everything ready for that - this is just amateur. [11:19] rebooting ... [11:21] ->"An update requires a reboot to complete. Restart now? [y|N]:" At least in synaptic i found questions during install often causing problems. [11:23] I would not trust any gui tool for such system packages. === conjo is now known as nojjj [11:38] hello I want to access with arrow the last command in current bash shell despite HISTCONTROL value. How do I do that? [11:39] Hi. What is the actual service name to restart the network on Focal Fossa? I changed the static ip address, but neither "networking" nor "NetworkManager" exist in systemctl list-unit-files, and I see multiple possibilities [11:40] erialdo: how does that variable interfere with the keyboard shortcut? [11:41] you know I have it already set the HISTCONTROL=ignorespaces. but I just want to go back to the previous command even though I put space in front [11:41] erialdo: I may be unaware, but as you explain it, I don't understand. In any case, you can see the last command with history | tail -2 | head -1 [11:41] just for the session [11:43] Well, the environment variable lasts for the session only, so why not modify it? [11:43] I type command with space. I want to go back to the said command in the same session because I want to change it. is there any small cache [11:43] I want just the current session. I do not want the command to remain in history after I close the terminal [11:43] Modifying that variable doesn't modify anything permanently unless, you modify it in any of the automatically invoked sourced scripts such as .bashrc or .profile [11:44] erialdo: now I'm confused as to what you want? Do you want to *access* the history or do you want the shell to not store your history after you exit? [11:44] I want the shell to restore the last command that I typed [11:45] he wants to temporarily have it in the list, but not saved to bash_history, pretty shady stuff [11:45] yes [11:45] you agree it's shady then [11:45] why is shady lol? the same functionality exists in zsh. I just don't know how to set it up in bash shell [11:45] Well, it's easy to edit the history file anyway, but... why can't he just modify the environment variable? [11:46] I just explained it only lasts for the session, I don't get it [11:46] If this is about covering your tracks, I'm obviously not answering that, but otherwise, what's the big deal? [11:47] What's wrong with using variable inheritance as intended? That's the entire point [11:47] locmif I think you misunderstood me . it is not about shady . just convenience. [11:47] https://unix.stackexchange.com/questions/1288/preserve-bash-history-in-multiple-terminal-windows [11:47] check this question last point [11:47] that is what I want to do [11:47] my english is shite, I know [11:48] You want the history to save all commands from all terminals? [11:48] Oh right [11:48] no. just the last point for one shell, one session [11:48] Well ... modify HISTCONTROL like I said? [11:48] after closing, the command does not have to be in history [11:49] What command? That's preventing history saving and a different question [11:49] Do you want to prevent commands with leading spaces from being ignored or do you want to prevent the shell from saving history? [11:50] otherwise, do "help history" if you want to see what options you have to delete a single entry [11:51] But.. other than that, I still don't get it, can't you modify the environment variable? *It only lasts for as long as your shell session does* [11:51] locsmif: what possibilities do you have in systemct list-unit-files? [11:51] If I type a command with leading space, and then in the same shell session I want to go back to that command using up arrow key, do I have that possibility? [11:52] erialdo: yes, by modifying HISTCONTROL [11:52] erialdo: ??? [11:52] HISTCONTROL=ignorespace? [11:52] EriC^^: I get a list with grep -i net, but this is Proxmox and it doesn't allow copy/paste from the webshell [11:53] EriC^^: let's see if I can type it over, comma separated, moment [11:53] locsmif: use | nc termbin.com 9999 [11:53] it will paste it over nc [11:55] netplan-ovs-cleanup.service, networkd-dispatcher.service, systemd-network-generator.service, systemd-networkd-wait-online.service, systemd-networkd.service, systemd-networkd.socket, network-online.target, network-pre.target, network.target [11:55] EriC^^: saw that after I was already almost done, sorry, will do next time [11:55] no worries [11:56] locsmif: try sudo netplan apply [11:56] I grepped for "net", case insensitive [11:57] EriC^^: hmm, that worked, ... for what range of versions can I expect to be using netplan? I'm an oldhat and I have to get used to new things a bit [11:57] i have no idea locsmif , i'm still clinging on to 16.04 myself, eol this month though [11:58] @Eric^^ just curious, why is it shady to have the command temporary in history and not saved? [11:58] because the same functionality I use in arch distro with zsh [11:58] erialdo: you can set the variable to nothing or use: unset HISTCONTROL [11:59] erialdo: keep in mind, if you want any child processes to pick up this variable you set, you have to use "export HISTCONTROL" [11:59] After you exit the shell, and open a new one, it will be reset again to what is default or specified in your systemwide or user-specific shell configuration [12:00] If HISTCONTROL is set to ignorespace (or ignoreboth) it does not save any command with leading spaces, as it should be. What I want to achieve is save a command only temporary even if I put a leading space. [12:00] erialdo: it just has some shady use cases, unless you want to run commands on your own system and not have them saved [12:00] after exiting the command should not exist [12:00] EriC^^: haha, yeah, I can see that. We're trying to setup ubuntu-landscape server and it only works on Bionic, basically [12:01] erialdo: this is where I get confused. A "command" is not something you can have "not exist". [12:01] Well, unless there is no such command on the entire system [12:01] So, that's I guess where your English fails you, it's not your fault [12:02] You'll have to be more precise as to what you want exactly, but I believe we've covered nearly everything [12:02] he wants it not saved in the history file, but while in the session be able to take advantage of the up/down arrow list [12:02] yes EriC^^ [12:02] We've covered modifying history, we've covered not ignoring leading spaces, we've covered exporting, we've covered shell and systemwide configuration [12:02] exactly . thank you lol. my english is shit, forgive me [12:02] Alright [12:02] encfs unlock ~/myporn [12:02] lol [12:03] There are tricks, but since they're so often used by hackers, I'd rather not share [12:03] But you can just exit, then edit your history file [12:03] I don't see the problem? [12:04] Just run "vi" and then open it from there [12:04] right understand. by hackers you mean, you either don't have the knowledge to do that or just do not want to help [12:04] Haha, my boy, I have been on irc for nearly 20 years and I run #bash on oftc [12:04] You can query nickserv if you don't believe it [12:05] I'm the original author of Infobash: https://github.com/fullstory/infobash .. which was later forked into inxi [12:05] So give me a break [12:05] I believe you, I do not want to antagonize [12:06] EriC^^: should I just tell him? I don't mind if you don't? [12:06] sure go ahead [12:06] erialdo: unset HISTFILE [12:06] Nothing will be saved when you exit [12:06] ok I will try that [12:07] It's just an environment variable pointing to the file where history is saved, if it's empty, Bash saves nothing [12:08] And by the way, I tip my hat to the true experts in #bash, like greycat and twkm [12:08] But I'm certainly not completely clueless [12:08] Just old [12:10] I thank you for the tip, I believe your intent to help me and do not question your expertise. But I know what unset HISTFILE does. I want to save the file. I just want to access current history of shell regardless of leading spaces or not. After exiting the shell, only non-leading commands are saved in history. [12:12] Well, there is no such feature that I am aware of, that can tell Bash to filter specific history entries from being saved [12:12] Perhaps I am mistaken, but just not that I know of [12:13] HISTFILE points to the file where everything is stored, you'll have to sed or perl that in place [12:13] (After you exit) [12:13] I am asking this because the zsh shell does have this, but I don't know the equivalent in bash shell. [12:13] Hmm, I might be wrong [12:13] I've just found HISTIGNORE [12:14] erialdo: i dont think you can achieve that hybrid in bash, if you do "HISTCONTROL=" it will save the leading space ones, the guys in #bash might be able to help you, just a thought, if your commands share something special, you can run a script when bash exits automatically that purges the history file of them using sed [12:14] erialdo: https://linux.die.net/man/1/bash <-- search for HISTIGNORE [12:14] or wait, in case locsmif just found something [12:14] Maybe that'll do what you want, not entirely shure [12:14] sure* [12:15] 'Morning folks [12:15] I believe that might apply to the live history list, not the one saved, so again, I don't know if there even is such a feature as you'd like to have, sorry [12:16] erialdo: or perhaps add a flag to them, #del and then the script deletes all lines that have "#del" in them [12:17] erialdo: better yet, you can write the script to delete all commands that have a leading space, if that's saved on "HISTCONTROL=" [12:17] yup, they're saved with the leading spaces [12:18] @EriC^^ that could be a solution. I will try that [12:21] hi friends, I need some help setting up my dev environment. I either need to turn off DHCP or not use a bridged network interface [12:22] (from my understanding) [12:27] ckb: hmm, you probably don't want to turn off the bridge [12:27] I only need it local [12:27] NAT can't work? [12:27] Using VirtualBox, or? [12:28] yes [12:28] https://www.tecmint.com/network-between-guest-vm-and-host-virtualbox/ [12:28] "Host-only Networks"? [12:29] You can then select static or dynamic [12:29] Where dynamic is governed by a Virtualbox DHCP server [12:30] locsmif, thanks. trying now [12:32] ckb: in terms of configuring a static IP, that HOWTO might be out of date [12:32] tbh host only sounds like it just uses VB as a router? [12:33] detached from hosts controller [12:33] If you read on, it says another virtual NIC is offered, which offers a pathway to the internet. You could bring that offline if you want. The host only stuff is basically a LAN between the host and the guest [12:34] If the host and the guest are then on the same subnet, with different IP addresses of course, they should be able to find each other [12:34] If you do want internet access, then you can either set up some kind of NAT, yes, or bridge and use the same DHCP your host machine uses [12:35] NAT is host as router, right? [12:35] (If any) [12:35] Correct, well Virtualbox plays the router [12:35] at that point it uses DHCP? [12:35] It can, it's probably the best way, but it's not strictly necessary [12:36] And DHCP is then provided by VirtualBox [12:36] Do you need a predictable ip address? [12:36] Yes. [12:37] As NAT, ifconfig -a / ping from host times out? [12:37] How does ifconfig -a time out? [12:38] ping from the adaptor [12:38] host: ping adaptor = timeout [12:39] ifconfig -a to get ip, ping ip from host = timeout [12:39] ifconfig -a does... not get an IP? [12:39] inet xx.xx.xx.xx? [12:40] ckb: are you somewhat new to Linux in general or? [12:40] when it's bridged, I can SFTP just fine, I just don't want to have to change the IP in my editor / PuTTY / etc configs everytime the VM boots [12:40] no offence intended, trying to gauge how I should formulate my responses [12:40] I am NOT new [12:40] Ok [12:40] maybe to networking [12:41] what's the host OS? [12:41] inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 [12:41] \Win 10 [12:41] Ubuntu 20.04 guest [12:41] If it's bridged, you can set a fixed IP address on a specific MAC address on your actual router [12:41] and Ubuntu as the VM OS, correct? [12:42] Yes but, I don't know if I have access to the router [12:42] I can likely find it... [12:42] Unless your router does not support that. Otherwise, you can do a static IP in a NAT setup, or a DHCP server inside Vbox, but you may have to go into VBoxManage dhcpserver [12:43] I would choose a static IP at that point, probably [12:43] But this means the guest OS must be properly configured with a netmask, a gateway, and name servers [12:43] 1. Create host only network in virtual box by going to File -> Host Network Manager. The new Adapter (vboxnet0) should not have dhcp so uncheck the dhcp option. [12:43] 2. Go to Settings of virtual machine. Go to Network -> Adapter 2 -> Enable Network Adapter -> Attach to: Host-only Adapter [12:43] 3. Configure network files in Ubuntu server to accomodate the new adapter enp0s8. Go to netplan config files and change it: [12:43] $ sudo vi /etc/netplan/50-cloud-init.yaml [12:43] you should go for bridged networking to avoid all the configuration issues [12:44] that way the host talks directly on the network for its own stuff [12:44] summonner: however, if he wants a predictable IP, that then means he needs to link a MAC address to an IP address in his router's DHCP configuration [12:44] yeah, I just need to find the router login. [12:44] :< [12:44] He just said he might not know where to find the router/how to access it [12:44] ckb: just check your Windows gateway settings [12:45] I have the password in my texts. [12:45] I'm just going to do it the right way [12:45] Yes, as long as you know the router's ip address, just connect, configure its DHCP and add your VM's MAC address with an IP address to your liking, within its DHCP range [12:46] the problem is you're trying to manage constant through a dynamic system [12:46] that's what DNS was made for [12:46] Routers do not generally have their DNS servers [12:46] their own* [12:47] in this case the router should assign the name from the IP, ala AD DNS system [12:47] I think it was over the phone with my landlord :< [12:47] More often, they have DHCP settings which allow for fixed IPs [12:47] doesn't the router assign based on MAC? [12:47] DHCP allows you to request a preferred address [12:47] It doesn't _guarantee_ a fixed ip address unless you configure it as such explicitly [12:48] I would shrink the DHCP pool, and add static into the /etc/networking/interface file [12:48] specifying an IP outside the pool range [12:48] Then he has to set up a gateway, netmask and DNS servers statically on the VM as well [12:49] ckb: can you access your router yet? [12:49] but that's the easiest part, because you always have access to the VM console, even through a browser [12:50] summonner: if it was that easy _for him_ he wouldn't be here asking us though [12:50] locsmif, apparently I'm locked out of it for 5 minutes [12:50] Give me a moment [12:50] DHCP will abort providing an IP if there's a conflict. you can just go ahead and static the IP, then drop and start the interface again, that will be fine through the console [12:51] (skip to the next) [12:51] I mean I would choose some random 192.234.123.165 [12:51] No, don't.. why? [12:52] nah, pick a high IP in your C-class range [12:52] otherwise you have to add routing rules to the gateway and a heap of other stuff [12:52] 192.168.244.254? [12:52] I'm 192.168.* [12:53] if your win10 box is 192.168.1.25, pick 192.168.1.239 [12:54] I'll brb, I think I might need to hard reset the router. [13:16] Well, I'm guessing the hard router reset might nog have gone as planned :| [13:16] not* [13:36] I am back [13:38] ckb: you live! [13:38] well I realized my living room ceiling is now leaking [13:38] so that's fun [13:39] btw: does anybody know why webmin's repository only shows "Sarge" in its Release file? http://download.webmin.com/download/repository/Release -- that is so old, it can't be real... [13:39] ckb: that sucks [13:39] NOW I need to figure out what mac address this VM is [13:40] is webmin still a thing? i thought its dead for ages [13:40] TheBigK02: I was asked to investigate the possibility of its use, so you might be right [13:41] However, the thing is, if I look here: http://download.webmin.com/download/repository/pool/contrib/w/webmin/ I see a version which appears to be from 2021-03-07 [13:41] locsmif: yeah looks active in some sort... but may be the debian packages are not? [13:42] But those are the debian packages, and they've got one from March this year... I'm a bit confused tbh [13:42] Honestly it sucks that so many possible options for web-based management are dead/abandoned or neglected [13:44] I don't see my VM on the list of devices with bridged? [13:45] ckb: which list are you looking at? Do you mean "list of VMs"? [13:46] ckb: I take it this means you can now get into your router? [13:46] locsmif, yes I did a hard reset [13:46] ckb: does it have fixed IP assignment based on DHCP-MAC? [13:46] one moment [13:47] It's not that I'm against static IP configuration, but I personally find this approach most sensible for you atm [13:47] it's a cox router [13:47] You'll VM will change alongside your other devices if something on the ISP side changes [13:47] so I can change it to reserved IP [13:47] Your* [13:48] ckb: meaning you can you can specify your VM's MAC addy? [13:48] yes [13:48] Then you're set [13:48] Just check out the hardware details for your VM and copy the MAC addy [13:48] I got it, thanks locsmif [13:48] Great :) [13:49] !offtopic [13:49] #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [13:49] I'll have to pay that channel a visit [14:00] Is there any kind of rate limiting on ubuntu mirrors - or any reason why apt would flake out sometimes due to network failure? [14:06] Hi, i have a wierd issue - psql (and maybe telnet) executed via ssh dont show spaces, so I can't write any sql command as all contain spaces (getting select*fromtable; instead of select * from table;) and googling for space gives a lot of irrelevant nonsence.. help? [14:08] nescius, is it only psql that shows this issue, or do you see the issue when running just "ssh" with no extra command to get a bash shell? [14:08] nescius: ssh user@hostname "mysql -e 'show databases'" # this works fine for me [14:09] sieve: depends on the mirror afaik [14:12] rory: psql and an alias executing telnet, space works without any problems in remote session via the ssh otherwise... [14:13] leftyfb: thanks for the hint, i will try that this way [14:19] leftyfb: thanks! the -e part did not work for me, but when executed as command, then spaces work in the psql. [14:21] ehm, sorry for spamming, i misred your hint and placed -e in the ssh options :) [14:40] Anyone know how to mount ZFS the easiest way from an Ubuntu Live USB ? [14:41] luna: stop cross posting please [14:42] asking in one channel is sufficient enough :) [14:42] okay === LabMonkey is now known as Mechanismus [15:11] Anyone know how to use x11 tabbed? I'm trying to run Alacritty with tabs [15:11] I try to run: $ tabbed alacritty but I'm just getting a blank window [16:25] when installing the nvidia driver in ubuntu does that mok password thing need to be enter at every boot or is it just one time only? [16:31] nightraven use dkms [16:32] nightraven if you define in setup good, if not use dkms with secureboot enabled [16:33] nightraven installation** [16:33] i do, it installed nvidia-dkms-460 when i installed the nvidia driver [16:33] nightraven sudo dkms install nvidia/version [16:34] nightraven check if secureboot is enabled when you install bia dkms [16:34] nightraven mokutil --sb-state [16:35] nightraven then run dkms install command [16:35] secure boot was enabled when i installed the driver, so i guess i have to reinstall the driver without secure boot enabled [16:35] nightraven if you wanna use secureboot with nvidia installed you should what i typed [16:36] nightraven and do not care about sign the driver [16:36] nightraven the sign key is /var/lib/shim-signed [16:37] nightraven you can sign manually with kmodsign [16:37] sudo dkms install nvidia/version gave this: Error! Could not find module source directory. Directory: /usr/src/nvidia-version does not exist. [16:38] nightraven where version you put 460.something [16:38] nightraven run sudo dkms status [16:38] nightraven in my case i use: sudo dkms install nvidia/460.67 [16:39] command gave: nvidia, 460.39, 5.8.0-48-generic, x86_64: installed [16:39] nightraven so you hit command: sudo dkms install nvidia/460.39 [16:40] nightraven check if nvidia already is installed... [16:40] it gave Module nvidia/460.39 already installed on kernel 5.8.0-48-generic/x86_64 [16:40] nightraven so yo ucan remove before: sudo dkms remove nvidia/460.39 [16:40] nightraven and reinstall [16:41] and disable secure boot before reinstall? [16:41] nightraven no, run isntall command with secureboot enabled [16:42] sudo dkms remove nvidia/460.39 gave this: Error! Invalid number of parameters passed. Usage: remove / --all or: remove / -k [16:42] nightraven after reboot check secureboot: mokutil --sbstate [16:43] nightraven check what kernel nvidia driver is installed to: sudo dkms status [16:43] nvidia, 460.39, 5.8.0-48-generic, x86_64: installed [16:44] nightraven run the command to remove, sudo dkms remove nvidia/460.39 -k 5.8.0-48-generic [16:44] ok done now it worked [16:45] nightraven and reinstall: sudo dkms install nvidia/460.39 -k 5.8.0-48-generic [16:45] nightraven sorry, check secureboot state [16:45] nightraven and reinstall [16:46] Ey folks, someone could help me with PeppermintOS considering that is related somehow with Ubuntu? [16:46] i must reboot before check secure boot state? [16:46] nightraven no [16:47] nightraven without root run, mokutil --sb-state [16:47] SecureBoot enabled [16:48] nightraven good now, install via dkms: sudo dkms install nvidia/460.39 -k 5.8.0-48-generic [16:51] ok now its done gave DKMS: install completed. [16:52] so now i dont have to run that mok password at every system boot right? === RedNifre_ is now known as RedNifre === ijohnson is now known as ijohnson|lunch [17:28] Where can I find pdksh for Ubuntu 18.04? apt-cache search pdksh doesn't turn up anything for pdksh (but does list mksh and posh). [17:31] Bradipo, superseded by mksh ; last supported in trusty (14.04) [17:31] Hmm, pity. [17:32] Guess I'll go with mksh for now. [17:32] Thanks for confirming what I suspected. [17:33] ok [17:50] I'm having troubles mouting a loopback device to a file that resides on a nfs4 mount. I'm getting I/O error in console log once a second. It's a bit unexpected that I get this, but are there any nfs4 mount options I might have missed that would impact the loopback device? [17:54] sveinse: I don't think I'd expect that to work [17:54] sveinse: if it used to work once upon a time, you might be able to do something like git bisection to find when it broke [17:54] sveinse: but I'd be surprised if it worked in the past, too :) [17:55] sarnold: because loop devs need to be local? [17:57] I wonder then how it would work if someone had root on nfs and tried to use snap that relies heavily on loopback devs [17:58] sveinse: not well, NFS requires apparmor networking privileges, and there's no way for snap to grant that when needed [17:58] Perhaps the answer is that nfs isn't used as much as it once where. IDK. [17:58] sveinse: I'm pretty sure snap has never been used in environments that rely on nfs [17:58] jep, I'm not trying to deny that [18:00] Do you think it's likely that there are any remote fs that can be used with loopback devices? [18:02] it feels pretty unlikely .. I wonder if you could tell by source inspection or not [18:03] I have a set of disk images stored on a NAS which I need to mount to access the files for. Having to move the files locally is tedious and very slow. Albeit if that's the only way to do it, then it has to be done this way... [18:05] sveinse: loopback mount them on the nfs system, export those? [18:07] sarnold: hmm, I don't control the nfs server -- its running on freenas, so it doesn't really do extfs prefectly [18:07] oh :/ [18:07] sveinse: fire up a linux VM on the thing? [18:08] I'm contemplating on firering up an ubuntu VM on it. [18:08] Yeah like that [18:09] sarnold: anyways. Thank you. [18:11] sveinse: good luck :) [18:25] hi! on focal, I created a new keyboard layout /usr/share/X11/xkb/symbols/sven . how can I activate it? if I just set XKBLAYOUT='sven' in /etc/default/keyboard and reboot, it results in US default keyboard. [18:26] sven switch vt and try run setupcon as root [18:27] Sven_vB switch vt and try run setupcon as root [18:27] will do, thanks! [18:27] Sven_vB ok [18:28] Sven_vB welcome === isolier6 is now known as isolier [19:18] Sven_vB: Did you figure it out yet? Otherwise I could paste a diff of what I did to both 1.) have my custom keyboard layout as variant of German and 2.) insert it as an actual keyboard layout one can select in the settings. [19:19] And yeah, there is a variety of circumstances that make the xmodmap approach insufficient. [19:21] kryten how to get info about active keymap? [19:22] kryten in the multi keyboard scenario [19:23] kryten from terminal [19:23] I've never had multiple keyboards connected at once yet, so I wouldn't know. [19:23] kryten i have builtin notebook keyboard and another usb port keyboard connected [19:24] kryten i think xinput, but it doesnt tell the primary keyboard or secondary [19:25] I'm having trouble with getting ubuntu re-installed. Each installation of 2020.10 fails at some point while running grub-install. Is there a workaround? [19:25] pac1 try to set shimx64.efi directly from bios [19:25] pac1 after installation [19:26] pac1 create a path to shimx64.efi in bios, somethime i need to do that on my dell notebook [19:28] pac1 are you trying dual boot? [19:29] I ran setupcon but it did not make brokenbar work in VT. I'll try how the VT behaves with "de" layout so I can compare [19:31] Sven_vB yes [19:32] Sven_vB setupcon is needed if you wont reboot the system to take effect [19:32] oh I see [19:33] I've disabled gdm temporarily so X won't interfere. let's fix just my console first. I have de layout now, and AltGr+Shift+"<" types a normal | bar [19:34] how to go from here to make it type brokenbar? [19:35] my own attempt, using a modified copy of the "de" layout, also typed the normal bar, so that approach failed. [19:35] kryten, yes, please share your diff [19:36] did you edit /etc/default/grub [19:36] sorry [19:36] keyboard [19:36] etc default keyboard [19:36] isapgswell, yes, earlier I changed XKBLAYOUT='sven' and rebooted === ijohnson|lunch is now known as ijohnson [19:37] the normal bar then confused me, so I changed back to "de" and tried, and discovered that it's the same. [19:37] sven_vB what modifications you did to de [19:38] isapgswell, sed -re '/^\s+key /s~dead_belowmacron~ brokenbar ~' [19:39] ??? -- de >sven [19:39] isapgswell yes. dual booting Ubuntu 2020.04 LTS, and Kubuntu 2010.10. Will also probably want to have a partition for 2021.04 [19:40] pac1 it common to occur when using dual boot and mbr partition is rewrited [19:40] happens even if using UEFI on a gpt disk. [19:41] pac1 try to access bios and in boot sequence you create only one path to Kubuntu or Ubuntu [19:41] pac1, back when I had those problems, I used to not install a boot loader at OS install. I then used the SuperGrub Disk (support in channel #sgrub ) to boot into the Ubuntu, and then install GRUB from there. [19:42] Sven_vB: http://paste.openstack.org/show/oCJjMPRzYS4ZFXm9Jwmu/ - here you go. [19:42] kryten, thanks! [19:44] pac1, SuperGrub Disk is useful also to boot the Ubuntu ISO from a fast storage like an SSD. makes the Live session experience much snappier than USB thumbdrive. [19:45] wtf I'm tired of everything being done through the command line! [19:45] I google how to connect a Window HD to ubuntu, and it's all command line stuff [19:45] Samian, what are you trying to do? [19:46] I'm trying to connect my external harddrive to my laptop which runs ubuntu [19:46] external HD is partitioned ntfs [19:46] is it ntfs formmated? [19:47] Samian, ok. so what's the problem? does it not show up in your file manager [19:47] it does not [19:47] btw Sven_vB is there any file manager you recommend? [19:47] Samian, run gparted to see what partitions are detected, if any [19:47] or do you use the default one? [19:48] Samian, I like thunar. [19:48] which happens to be the default for xfce [19:49] dangit it's not showing up [19:49] do we have a graphical tool for searching dmesg? [19:49] I'm purposefully buying a garbage laptop (ASUS R420S, N3060, 4 GB DDR3) with zero intent on having Windows on it. I also detest Chrome OS. With a computer running specs like those, would Ubuntu XFCE suffice or Mate or what? [19:49] Samian, what Ubuntu version? [19:50] hotdicks69, xubuntu might run but you'd have to try. [19:50] hotdicks69, especially whether all hardware has drivers [19:51] yes it shows up! [19:51] Sven_vB, do I click on "name partition" ? [19:51] "Set partition name on /dev/sdb2" [19:52] Samian, yes, having a partition name might help [19:53] Samian, after applying the changes, you'll have to quit gparted to have your file manager be updated [19:54] also, if you haven't already configured windows to properly unmount disks, you'll need to do that. by default, windows leaves the disks in unclean state, which might not be safe to mount in Ubuntu. [19:54] weird that seems to have done the trick [19:54] thank you! [19:54] Sven_vB, thank you very much! [19:55] Samian, your file manager disk list cannot offer you an item with no text [19:55] Samian, glad I could help :) [19:55] Why ubuntu 18.04 LTS now has a limitation of 32 characters for useradd command ? [19:56] lastshell, is that limit for the username length? [19:56] correct ubuntu 14.04 didn't have that [19:56] the fun part useradd command just says invalid username [19:56] no lenght exceeded [19:57] https://unix.stackexchange.com/questions/220542/linux-unix-username-length-limit [19:57] does thunar have tree view? [19:57] lastshell, ^ that article recommends to obey that limit and explains [19:57] Samian, yes, ctrl+t I think [19:58] nope, ctrl+e [19:59] actually I was wrong with the 2nd part. the article doesn't explain beyond FUD. [20:00] yesssssss [20:00] thank you!!!!!! [20:00] :) [20:02] https://github.com/shadow-maint/shadow/blob/e84df9e163e133eb11a2728024ff3e3440592cf8/libmisc/loginprompt.c#L61 I guess is hard limit [20:04] sven_vB did you solve keymap issue? [20:04] lastshell: thta limit is for the number of strings in the environment [20:05] Hot off the press: STIG Update - DISA Has Released the Canonical Ubuntu 20.04 LTS STIG. Finally we can make stupid changes to the current release. [20:05] isapgswell, not yet [20:05] I saw now in defines.h thanks sarnold :D [20:07] how safe is to recompile useradd ? [20:07] I gues I will poke around thanks guys [20:12] Probably a silly question but why is my /var/log/kern.log over 100gb? [20:12] And how do I fix that [20:15] > /var/log/kern.log [20:15] sgen: read it, and find out what it says [20:15] Of course, that's not exactly a "fix", but it will reduce the size. :-) [20:15] Obviously first finding out the reason for the large file would be apropos. === jess is now known as j [20:16] BRB Seeing if opening 121+gb of log is going to crash my computer [20:17] tail? [20:17] or less [20:17] I wouldn't try to "open" it in vi. [20:18] yeah [20:20] Well I found it. Its discords snap butting heads with apparmor. 'Apr 4 00:18:13 desktop-ubuntu kernel: [115529.477816] audit: type=1400 audit(1617509893.581:1785568): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=7246 comm="Discord" requested_mask="read" denied_mask="read" peer="unconfined" [20:20] Its basically ALL that [20:20] ffs [20:20] Whats ptrace [20:20] grep snap.discord.discord kern.log | wc [20:21] That should give you a clue as to how much of the log is consumed by snap.discord.discord. [20:21] ty We shall see [20:23] hi can you tell me what happens if i run this command in the terminal? /bin/sh -c "images=$(sudo docker image ls --filter 'reference=docker.myorg.com/bla/appd'); echo $images" [20:24] i get some weired errors like /bin/sh: 1: TAG: not found [20:24] something wrong with quoting? [20:26] sgen: https://github.com/snapcrafters/discord/issues/23 [20:27] wc says "334085 5867885 88182615" [20:28] sarnold: thats it thanks! [20:30] I didnt know the discord devs were such special people. I might just uninstall it on this computer [20:30] that is silly stuff. Not checking returns, debouncing or checking and setting flags ... [20:31] does thunar have a search files ability? [20:31] sgen: yeah, there's a lot of sadness to share around :( [20:31] oh it's a custom action? https://wiki.archlinux.org/index.php/thunar#Search_for_files_and_folders [20:32] sgen: wait, wait? Is discord using ptrace in production code? [20:32] sveinse: no [20:32] sveinse: it just looks up /proc/*/comm things to find all the software you're running [20:33] sveinse: that gets turned into ptrace requests by the kernel's internal security framework, and the apparmor policy supplied by the snap for discord doesn't automatically grant this permission [20:34] ah [20:35] sgen: 88MB doesn't really account for 100GB of logs. [20:35] So unless the message is split up over multiple lines, that's not it. [21:02] Ubuntu fails to mount something and drops to BusyBox, even though I've checked fstab and it's correct. From the UUID it tries to mount, it looks like /. Any help? [21:03] This happened after I reinstalled because it couldn't mount /boot/efi. === Hyper86 is now known as lunacy === chikore is now known as shuck [22:49] Bradipo: How would I check for what else is causing it? [22:56] Idk after scanning through it with less it looks like its ALL discord. Theres the odd "kauditd_printk_skb: 143 callbacks suppressed" with anywhere from 8-140+ callbacks suppressed. [22:56] How would I know if its multiple lines? [23:05] sgen: Well, you just have to eliminate the various types of logs that are showing up there. [23:05] Are you sure it's 100GB? [23:20] Im pretty sure its 100GB+. nautilus lists it as 121.7 baobab lists /var/log at 240 [23:20] Theres the kern.log listed at 121.7GB on Nautilus [23:21] And a syslog full of Apr 6 00:09:12 sgen-desktop-ubuntu kernel: [287791.196159] nouveau 0000:01:00.0: fifo: SCHED_ERROR 20 [] [23:21] Which may not be related [23:21] ew [23:21] Yea that doesnt sound good [23:21] maybe try the propreitary drivers? [23:22] my my /etc/resolv.conf basically says my localhost is my dns server. how do I figure out what dns server(s) my dhcp gave me? [23:22] Is that my GPU or lack of drivers for it? [23:23] rofl syslog looks like its all the same SCHED_ERROR [23:25] Yea that probably is my lack of drivers Ill see if I can fix that [23:28] imi: systemd-resolve --status|grep -i "dns servers" [23:28] leftyfb: ok thanks [23:29] imi: or nmcli device show | grep IP4.DNS [23:30] is that possible that I have an ipv6 address? [23:31] I have an ip6 address but I don't have an ip6 gateway [23:32] Well the drivers seem to work [23:38] Trying grep -e 'SCHED_ERROR' on /var/log/syslog | wc now to see how much of it is that SCHED_ERROR [23:39] If its all that error should I delete it or rotate it or something and see if its still occuring? [23:39] imi: yeah you'll probably have a link-local fe80:: address on some of your interfaces [23:49] sarnold: fe80:: indeed [23:50] Alright Im going to take a break while this silly grep | wc runs. Itll be a little while. [23:52] how come I can't log in as root on my new 20.04 installation? If I do $ sudo -i [23:52] sudo: you do not exist in the passwd database [23:52] that what I get [23:53] blahboybaz: how was this installation installed exactly? [23:54] leftyfb: "exactly"? [23:54] I think I may have found something - it looks like instructions to set up a root password [23:54] blahboybaz: that would be the wrong thing to do