[00:00] <TJ-> CrazySam: or maybe "ubuntu-server" (if it exists in 18.04)
[00:00] <usr13> If it was installed as server, you can still install all of the ubuntu-desktop stuff.  If it was installed as ubuntu-desktop, you can uninstall lots of stuff and pear down to server of your choice.
[00:01] <TJ-> CrazySam: one way might be to do "head /etc/apt/sources.list" -- sometimes if the install was created from the ISO it *may* include the /dev/cdrom path as a source of packages which'll include the name of the ISO
[00:01] <usr13> CrazySam: https://askubuntu.com/questions/12562/how-to-check-if-ubuntu-desktop-or-server-is-installed
[00:02] <usr13> CrazySam: It IS an interesting question though not sure of a clear answer.
[00:03] <usr13> Well, as I look back, that link is about 4 years old, not sure how relevant the info is in it.
[00:04] <CrazySam> the reason i asked this question is because i was backtracking my steps as part of troubleshooting an issue on a vps
[00:05] <CrazySam> and it would seem like a good thing to know, what kind of system you're running
[00:05] <CrazySam> i installed it 3 years ago so i forgot
[00:05] <kaleido> server vs desktop is just a matter of what packages are installed. it's the same system.
[00:05] <CrazySam> what i installed...
[00:05] <TJ-> CrazySam: there may be clues in /var/log/installer/
[00:05] <usr13> CrazySam: YOu don't keep a diary??
[00:06] <TJ-> CrazySam: try "cat /var/log/installer/media-info"
[00:06] <CrazySam> you mean you do? :)
[00:06] <CrazySam> but it is an interesting question!
[00:06] <CrazySam> makes me wonder about ubuntu linux...
[00:07] <CrazySam> what is and what isn't...
[00:07] <CrazySam> to be or not to be a server! ;)
[00:07] <TJ-> server's generally are headless most of the time
[00:07] <usr13> CrazySam: No, but there are times I wish I did....
[00:08] <CrazySam> i guess you can say it's two sides of the same coin, so i have realized that my question is irrelevant
[00:09] <CrazySam> i do try to keep "notes" of some things, it's a habit i have developed, not sure how healthy it is
[00:10] <usr13> CrazySam: Yea, I have a big file of random notes that I've added to for YEARS... it's alomost like a diary.
[00:10] <pavlos> CrazySam: cat /etc/motd ... server usually shows system info (load, procs, mem, ...
[00:14] <CrazySam> usr13: i have also tons of old notes and stuff i have not cleared up in years
[00:15] <usr13> CrazySam: Just pile it all into one big file and search it for info.
[00:16] <CrazySam> i now try to systemize the stuff, for example i would throw in a "readme" or "note" (note to self) inside folders that i have neatly organized
[00:16] <usr13> I find it is too much trouble to try and organize it.
[00:17] <bluesj0t> I also keep one single .txt file with 5 worth of random notes
[00:17] <bluesj0t> 5 years*
[00:18] <CrazySam> and it all started with a 1.44K floppy disk in 1998...
[00:18] <usr13> bluesj0t: Yea, mine is older than 5 years
[00:18] <CrazySam> s/K/M
[00:18] <usr13> Don't really know how long ago I started it.
[00:19] <CrazySam> all your secrets in one place! neatly tucked away in the front pocket of your shirt! The 90s! :)
[00:20] <usr13> bluesj0t: ... but I still find it useful from time to time, (especially considering how defective my memory is).
[00:22] <usr13> bluesj0t: I do now this, it has 2022 lines
[00:22] <CrazySam> vps-1: dpkg -l ubuntu-desktop: ubuntu-desktop, 1.417.4, amd64, The Ubuntu desktop system
[00:23] <CrazySam> vps-2: dkpg -l ubuntu-server: ubuntu-server, 1.417.4, amd64, The Ubuntu Server system
[00:23] <CrazySam> vps-1: dpkg -l ubuntu-server: ubuntu-server, 1.417.4,, amd64, The Ubuntu Server system
[00:23] <CrazySam> vps-2: dpkg -l ubuntu-desktop: dpkg-query: no packages found matching ubuntu-desktop
[00:23] <usr13> Ok, yea, we got it.
[00:24] <CrazySam> one is definitively a server, the other one is living a double life
[00:25] <usr13> CrazySam: There really should be a way to find out for sure which it is.
[00:26] <CrazySam> now lemme just file those commands to my mega list of useful linux commands... i do have one, everyone should
[00:26] <bluesj0t> usr13:  same here I cant keep hundreds of notes in different parts of my file system,  all in one spot serves well
[00:26] <CrazySam> bluesj0t: even something like useful linux commands?
[00:27] <bluesj0t> What's your guys opinion on formatting external drives (usb, hdd, ssd)? Do you guys use mkfs in the terminal or prefer gparted?
[00:27] <usr13> CrazySam: Yes, especially useful linux commands, mostly commands and aguments.
[00:28] <bluesj0t> CrazySam: especially linux commands,  and I'll even #write notes like this to remind me what the commands are used for
[00:28] <usr13> bluesj0t: I mostly use mkfs
[00:29] <bluesj0t> usr13: same I find gparted extremely unstable and always corrupts drives but everyone I run into loves it , feel like I'm the only one lol
[00:30] <pavlos> bluesj0t: mkfs or parted on terminal
[00:30] <usr13> bluesj0t: I've not had problems with gparted, but would rather cut to the chase
[00:45] <bluesj0t> Anyone here have experience with windscribe and can reccomend it?
[01:24] <rydiamegan24> Android devices have alarms that run in the background that go off when you set them. Is there anything that is like that for me to install so I can wake up? Because I don't have a working phone.
[01:34] <pavlos> bluesj0t: I use the free version, 10GB/mo ... no complaints
[01:38] <bluesj0t> rydiamegan24: also interested in this
[01:39] <rydiamegan24> I tried gnome-clocks, but that only works when it is left open. I need something that runs in the background like Millennium Alarm Clock Plus for Android.
[02:29] <dontlook> so I have come up with some instructions to add encryption to system after the fact using luksipc.  The end of the processes is messy.  I have a new volume for boot and initramfs needs updating
[02:31] <dontlook> currently I'm using rsync to copy the current directory to the new fs, mounting everything in the chroot, and running grub-install ; update-grub ; apt-get install --reinstall cryptsetup-initramfs
[02:31] <dontlook> is there a better/shorter way to do all that?
[02:57] <bitblit> Where should XDG_CONFIG_HOME be set? It's currenty not defined for me..
[03:02] <Bashing-om> bitblit: In which config file ?
[03:12] <drbean> How do I change ownership of sudoers on ubuntu xenial back to root. I changed ownership of all the files in /etc to a user. And now I cannot change it back to root with sudo.
[03:14] <Bashing-om> drbean: Best practice in such an event is a re-install of the operating system . There are thousands of files to verify :(
[03:14] <bitblit> Bashing-om: I'm using a script that references it, and it is unset for me. wondering where I should define it so it persists rebooting.
[03:17] <Bashing-om> bitblit: See if XDG_CONFIG_HOME does not equate to /home/<user>/.config .
[03:18] <bitblit> Bashing-om: can't check it, it's undefined.
[03:33] <drbean> https://superuser.com/questions/1496397/changed-root-file-ownership-any-way-back
[03:35] <drbean> suggests setting user's password as root password and login as root to reset sudoers file ownership.
[03:36] <drbean> But it appears to require a reboot.
[03:36] <Bashing-om> drbean: Booting into recovery kernel from grub, one has access to root there.
[03:38] <drbean> I will reboot when I get to the server on Monday. I don't want to try it on the weekend when I don't have physical access.
[03:41] <krytarik> bitblit: 1.) It not being set is normal and expected, also see: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html  2.) If indeed you want to set it to a custom path, see: https://help.ubuntu.com/community/EnvironmentVariables#Session-wide_environment_variables
[03:46] <Bashing-om> bitblit: ^^ see too: https://docs.xfce.org/apps/terminal/advanced#hidden_options >> " ${XDG_CONFIG_HOME} >> The first base directory to look for configuration files. By default this is set to ~/.config/. ".
[04:04] <bitblit> thank you both
[04:05] <Bashing-om> bitblit: :D
[05:47] <brycew> test
[05:52] <SlidingHorn> I'm on Bionic following the documentation to install/use KVM here - https://help.ubuntu.com/community/KVM/Installation - but on the 'ls -l /dev/kvm' step I get 'ls: cannot access '/dev/kvm': No such file or directory'
[06:06] <lotuspsychje> SlidingHorn: not sure its related, but i recall gnome-boxes has a kvm bug on bionic, needing to add the user to kvm group
[06:08] <SlidingHorn> this is a server, so no gnome...user is in the kvm group
[06:08] <SlidingHorn> (should have mentioned the server part, sorry)
[06:08] <lotuspsychje> oh, maybe the #ubuntu-server guys might know that1 SlidingHorn
[07:17] <rodrigoty23> does anybody know how t configure clementine media player to remember last window position?
[08:15] <jil> hi.
[08:17] <jil> I moved to ubuntu 19.10 recently and my keyboard binding to rotate the screen with xrandr stop working because it weent obsolete.
[08:17] <jil> What program should I use to rotate the screen from commandline
[08:20] <EriC^^> jil: you're using wayland now?
[08:26] <cixx> hi.
[08:26] <cixx> i have an interesting problem.. i am trying to install ubuntu on virtualbox machine. i can use mouse pointer but i can't type via keyboard
[08:49] <jil> wayland ?
[08:50] <jil> probably not , I don't knwo what is  wayland EriC^^
[08:50] <ducasse> jil: 'echo $XDG_SESSION_TYPE'
[08:53] <DarkMat> Hi guys, I am trying to find a regular expression that matches a valid email, but I have not found anyone good enough. For example, pepito@cosas.es and pepito.perez_15@hola.es are valid but sadfs@ewf.com@hola.es is not valid
[08:53] <jil> x11
[08:54] <DarkMat> Any solution for extracting emails fromt text file from command line would be good too
[08:55] <ducasse> jil: then xrandr should still be the solution, but details might have changed, like output names
[08:58] <Triffid_Hunter> DarkMat: http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html is one for RFC822, but the general wisdom is you shouldn't be validating emails with regex
[09:00] <Triffid_Hunter> DarkMat: if it passes ,+@,+, let the DNS system and receiving server work out if it's valid
[09:04] <DarkMat> Thanks, Triffid_Hunter. I will try that
[09:05] <DarkMat> Triffid_Hunter, this is for exercises asked from a course. They ask a command for extracting  email from a text file with egrep, sed, awk, etc.
[09:06] <ducasse> DarkMat: if this is an assignment you've been given, you need to solve it yourself. we're not here to do your homework.
[09:07] <Triffid_Hunter> DarkMat: well your course is apparently teaching practices that the industry have decided are bad ideas ;)
[09:10] <DarkMat> ducasse, I have already searched a lot ducasse, but I am not going to argue about that. I am 46 years old, I have two children and I am using linux since 1996. I do what I can. Of course when I would have the solution I will try to understand it. I am not going into IRC flame wars
[09:11] <DarkMat> Triffid_Hunter, maybe but I have to do it like that for now. Thanks anyway Triffid_Hunter ;-)
[09:11] <sumagna> hello
[09:11] <sumagna> is there no conio.h file now for c or c++?
[09:12] <sumagna> i have to include for the school project
[09:12] <sumagna> for clrscr() and getch()
[09:13] <sumagna> i know that the functions are not required nowadays but i have to use them in the c programs for school poject
[09:14] <sumagna> *project
[09:25] <jil> ok, thank you ducasse
[09:29] <TJ-> Anyone know if there's a snap/snapcraft channel? alis doesn't seem to think there is
[09:44] <AlexPortable> I have two problems with Ubuntu right now, one is that the computer (18.04) won't have any internet connectivity after returning from standby (disconnecting the cable, turning off the router or restarting the computer works). The other problem is that my system (Ubuntu 19.10) locks up during heavy I/O
[10:02] <TJ-> AlexPortable: suspend issue, try an acpi_osi workaround. See  https://iam.tj/prototype/enhancements/Windows-acpi_osi.html
[10:02] <TJ-> AlexPortable: for the lock-up you need to further diagnose it. Sometimes it can be GPU lock-ups but if it is just I/O you might be better using the -lowlatency rather than -generic kernel images
[10:51] <knightwise> hey everyone
[10:51] <knightwise> you guys all still doin ok ?
[10:52] <lotuspsychje> knightwise: welcome
[10:53] <lotuspsychje> knightwise: what can we do for you today
[10:54] <knightwise> hey , nothing much. Just hanging out and would love to chat with some people around topics not related to covid19
[10:54] <lotuspsychje> knightwise: if its about ubuntu, feel free to join #ubuntu-discuss
[10:55] <knightwise> thanx
[11:44] <yi> Hi everyone, is it possible that apparmor affects processes that do not have a profile? I'm using cinnamon as a DE and noticed that when apparmor is active, the applet "QRedshift" wont work anymore. Deactivating all profiles does not help but removing the kernel parameters and disabling the service does.
[11:51] <BluesKaj> Howdy folks
[11:52] <Triffid_Hunter> yi: apparmor is default deny afaik, not much use if it gives unknown apps free reign
[11:57] <yi> Triffid_Hunter ah okay, I'll look into that, thanks
[12:00] <bamb9> Hello everyone!
[12:00] <coz_> hey
[12:01] <bamb9> I'm on Ubuntu 14.04.4 LTS
[12:01] <bamb9> Trying to upgrade php5 to php7 but unable
[12:01] <bamb9> apt-cache search php7
[12:01] <bamb9> Is empty
[12:01] <bamb9> Already followed this : https://www.tutorialspoint.com/how-to-install-php-7-on-ubuntu-linux-14-04-lts
[12:02] <bamb9> But I don't understand why is unable to find any php7 package
[12:03] <coz_> bamb9, why still on 14.04?
[12:04] <bamb9> Don't know :)
[12:04] <coz_> oh
[12:04] <bamb9> We forgot to update, but it's a machine in productiono
[12:04] <bamb9> shall we update to last one?
[12:04] <bamb9> Which one you advice?
[12:04] <bamb9> Will be a painless upgrade? :P
[12:05] <coz_> bamb9,  well you might have to upgrade slowly, let me check
[12:05] <bamb9> But could be useful to upgrade php first since I have to install WP :')
[12:08] <coz_> bamb9,  you would have to upgrade to 1.04 and then to 18.04  tutorial here    https://medium.com/@shathi.ece/upgrade-ubuntu-14-04-lts-to-ubuntu-16-04-lts-d0225503efb4
[12:08] <coz_> bamb9,  rather 16.04 to 18.04
[12:09] <bamb9> Seems pretty easy
[12:09] <bamb9> :')
[12:09] <coz_> bamb9, but I have never tried this, so, if anything occurs come back with any errors. someone should be able to help
[12:09] <bamb9> I have a server in production, will be safe to run the upgrade directly in productino?
[12:09] <TJ-> bamb9: if you're going to do TWO release-upgrades (14.04 > 16.04 >18.04) there will be a LOT of changes so set aside a day for dealing with them!
[12:09] <bamb9> Ah shit
[12:10] <coz_> caca ")
[12:10] <TJ-> bamb9: never! if there's a production system that needs to stay running it should be clustered
[12:10] <bamb9> So your advice guys is to upgrade instead of put my hands on how to install php7 on the current 14.04 machine?
[12:11] <coz_> bamb9, my opinion, probably, but I would wait for conformation from others about that
[12:12] <bamb9> Thanks :) let's wait other answers
[12:12] <TJ-> bamb9: trying to install a non-standard version will end in tears
[12:12] <ayew> if you went to 16.04 youd probably have better luck getting php7
[12:14] <TJ-> bamb9: there is a sneaky way around it. That is to create a container with 16.04 or 18.04 in it (using LXD) where it'll have php7 ... then set up a HTTP reverse-proxy in the host web config to call on the container where the PHP7 code is. That does depend on it being a fairly isolated requirement. If there is a database to interact with you'd have to configure the container to  talk over IP sockets
[12:14] <TJ-> to the host's DB server
[12:32] <cixx> hi.
[12:32] <cixx> how can i change ubuntu/gnome taskbar time to shown as 2020-03-21 15:32 full datetime ?
[12:44] <bamb91> sorry
[12:44] <bamb91> Got disconnected
[12:44] <bamb91> So maybe the safest one is to upgrade? Lost some messages
[12:59] <lotuspsychje> cixx: gnome tweak tool
[13:00] <Monona> Hey all, having trouble with my built-in camera. Light is on as if it's in use, Cheese recognizes it in the preferences, but I get no picture.  I'm on 4.15.0-91-lowlatency
[13:00] <lestac> hello, anyone knows how can i install an AppImage in ubuntu?
[13:05] <BluesKaj> lestac, what's the file extension?
[13:06] <lotuspsychje> Monona: did you not ask this a few days ago already?
[13:06] <cixx> lotuspsychje:  thank you
[13:07] <Bromite> guys how can i access the logs from a go app if i created a systemd service for it?
[13:16] <pragmaticenigma> Monona: The last comment from someone here was from ioria: Monona  if you're still there,  i think that maybe your webcam is hw disabled; check if you have a key combo to activate it or check your bios
[13:17] <pgnd> Bromite: useful -> https://fabianlee.org/2017/05/21/golang-running-a-go-binary-as-a-systemd-service-on-ubuntu-16-04/
[13:17] <bamb91> Actually I just need to install php 5.6
[13:17] <bamb91> "Your server is running PHP version 5.5.9-1ubuntu4.20 but WordPress 5.3.2 requires at least 5.6.20."
[13:17] <pragmaticenigma> bamb91: php5.x is no longer supported. the current version is 7.x ... what version of Ubuntu are you running?
[13:18] <Bromite> pgnd: yeah have that article open, does that mean i need to manually enable logging to systemd?
[13:18] <pragmaticenigma> !eol | bamb91: Ubuntu 14.04 is no longer supported either. There is no support available here
[13:19] <bamb91> 14.04
[13:19] <bamb91> Ok so no way.
[13:19] <bamb91> Need to upgrade
[13:19] <bamb91> Time to upgrade
[13:19] <lotuspsychje> bamb91: upgrading from an eol version is risky
[13:19] <pragmaticenigma> bamb91: correct... you are running a system that has not received updates during a rather critical time. My recommendation is to start from scratch
[13:20] <bamb91> I have a production server running
[13:20] <bamb91> With 14.04
[13:20] <pragmaticenigma> bamb91: My concern is that you have been running that as a webserver and it is possible that a less honerable person may have compromised the system
[13:21] <bamb91> Is bugged?
[13:21] <bamb91> With easy holes?
[13:21] <pgnd> Bromite: redirect go app unit's stdout to syslog,  as in the example
[13:21] <lotuspsychje> you are the admin of your system bamb91 you are responsible?
[13:22] <pragmaticenigma> bamb91: think swiss cheese... take the server offline and start over from scratch. Wordpress has instructions on how to migrate your data. look that up to ensure your site content is preserved
[13:22] <pgnd> by default, it's piped to jounal anyway ...
[13:26] <bamb91> No I have to install a fresh new wp
[13:26] <Bromite> pgnd: hmm i put the logging code into my .service file, but journalctl only shows the starting/stopping of the app
[13:26] <bamb91> but I have other stuff on the server
[13:26] <bamb91> django,nginx,postgres,redis
[13:27] <bamb91> For the "real web app"
[13:27] <bamb91> I was about to start the blog, but then I got this shitty message from wp..
[13:29] <pgnd> Bromite: can you demonstrate that your app logs what you want to stdout when launched in foreground?
[13:29] <pgnd> test with a simple go app, e.g. 'go-syslog'
[13:32] <Bromite> pgnd: oh, seems like it isn't logging output now for some reason
[13:32] <Bromite> i swear it was logging requests last time i checked (by running ./myapp)
[13:34] <PCatinean> Hey guys, how can I test the performance of an NTFS mount for IOPS and latency?
[13:35] <Ranger15> Does anyone know of a app that does macro/scripts/etc and not from shell.. From the desktop...????????????
[13:36] <Monona> lotuspsychje: Still haven't been able to figure it out.
[13:36] <Ranger15> you can watch your disk performance with iostat -t 3 /dev/sd*
[13:36] <lotuspsychje> Monona: allright, check what pragmaticenigma suggested
[13:36] <PCatinean> Ranger15, it's an ntfs mount to a directory
[13:36] <Monona> pragmaticenigma: AFAIK, there is no key combo to activate it, and it looks like it's enabled in BIOS.
[13:38] <Ranger15> PCatinean -- your can do the same for USB drives, SAN, NAS, any type of disk.
[13:38] <BluesKaj> lestac, https://itsfoss.com/use-appimage-linux/
[13:40] <pgnd> PCatinean: pkg 'fio' is helpful
[13:41] <PCatinean> pgnd, I have it installed the docker image I am using
[13:49] <pragmaticenigma> Monona: without the kernel identifying the camera, I don't have any other ideas or suggestions. You might have to pick up a USB web cam instead
[13:49] <lotuspsychje> Monona: have we tryed a journalctl -f and plug out/back in yet to see the errors?
[13:50] <lotuspsychje> oh internal cam right
[13:50] <lotuspsychje> nvm
[13:50] <Bromite> pgnd: got it working, thanks!
[13:50] <ducasse> Ranger15: what kind of macros/scripts are you talking about?
[13:50] <pgnd> np
[13:50] <Bromite> i was using gin.New() instead of gin.Default(), which apparently doesn't log requests
[13:51] <Monona> pragmaticenigma: I think the camera is showing up on lsusb now, and wasn't before. https://pastebin.com/20hN4XLj  I think it's the Sunplus
[13:52] <Monona> pragmaticenigma: How do I know if the kernel is identifying the camera? It seems like at times it is (eg the camera shows up in preferences in Cheese) and at times not.
[13:53] <pragmaticenigma> Monona: that's one way to tell
[13:54] <lotuspsychje> Monona: can we see your dmesg again in a pastebin please?
[13:55] <Monona> lotuspsychje: Could you remind me of the command to dump dmesg direct to a pastebin?
[13:55] <lotuspsychje> !pastebinit | Monona
[13:56] <lotuspsychje> Monona: according to this page, your device should get detected, https://linux-hardware.org/index.php?id=usb:1bcf-2c2a
[13:57] <Monona> http://paste.ubuntu.com/p/KnvmWHGjB8/
[13:58] <lotuspsychje> Monona: did you check the hp website yet for bios updates for your machine?
[13:59] <Monona> lotuspsychje: Not yet. I'm not super familiar with the bios but when I looked at it, camera was enabled.
[13:59] <lotuspsychje> Monona: can you recall if other kernels ever made your webcam work?
[14:01] <Monona> lotuspsychje:  I think so, but I haven't used the webcam much before recently.  I remember using Cheese to test it and it worked, but I have no idea what kernel that was.
[14:01] <lotuspsychje> Monona: could you do a test with like a liveusb 18.04 to see if it works?
[14:03] <Monona> lotuspsychje: Can do, let me try and I will be back...
[14:03] <lotuspsychje> Monona: thanks
[14:06] <banisterfiend> hi
[14:06] <banisterfiend> hi guys -- on linux (ubuntu) i have a ridiculous name for my wifi interface...wlps02 or something....ohw do i persmanently change it so it's something easier like w0 ?
[14:09] <bluesj0t> Why would you need to change that?
[14:12] <pragmaticenigma> banisterfiend: attempting to change that interface name will cause problems. It is assigned by the kernel, and may cause problems later with updates and other network management tasks
[14:13] <banisterfiend> bluesj0t: because it's a very long and inconvenient name, and i need to type it regularly
[14:14] <banisterfiend> on my other box it'sjuts "eth0" which is much easier, and on macos it's "en0"
[14:14] <pragmaticenigma> banisterfiend: you can try adding this to GRUB_CMDLINE_LINUX="" in your grub config: net.ifnames=0
[14:15] <pragmaticenigma> banisterfiend: just be away, you're disabling a feature to make something work the way you want
[14:15] <pragmaticenigma> *aware
[14:17] <banisterfiend> pragmaticenigma: why on some distros is it something convenient like eth0 ?
[14:17] <pgnd> banisterfiend: https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
[14:17] <pgnd> convenient != reliably consistent
[14:18] <banisterfiend> i just HATE having to type ot that stupid confusing name every time i need to interact with that interface
[14:18] <pragmaticenigma> net.ifnames is a feature of the kernel to ensure that the network interface always receives the same name inbetween reboots. On a personal system where you're not likely to be addnig and removing cards, it's probably going to be okay
[14:21] <ikarus987> Hi guys, i installed ubuntu on my machine using unetbootin i installed it on m.2 drive ssd. -once i installed it and it asks me to reboot. i reboot....and i get booted into the windows 10 hard drive. SO i go in bios to look for the m.2 ssd hard drive to change the boot order. But i dont see it anywhere :( so i go in Windows10 go into disk management and there i see "the m.2 drive" i have
[14:21] <ikarus987> partitioned into /root /home and swap.  Next i went into grub and tried to look for my hard disk and there i only find " HD0 , HD1 , HD2 (HD0,MSDOS1) , (HD1, msdos4)... etc
[14:22] <ikarus987> the reason i am using unetbootin is because i dont have "USB DRIVE" :<
[14:23] <ikarus987> and why are the filesystems all ext2 ??? in grub
[14:29] <TheFuzzball> I'm running Ubuntu Server 18.04 on a Raspberry Pi 4 and I'm having trouble with controlling the PoE HAT fan. I should be able to configure the temperature the fan turns on in /boot/firmware/config.txt, but it doesn't seem to take effect
[14:30] <TheFuzzball> I have: dtparam=poe_fan_temp0=70000,poe_fan_temp1=78000,poe_fan_temp0_hyst=70000,poe_fan_temp1_hyst=78000
[14:30] <pgnd> ikarus987: did you create the parts _as_ ext4?
[14:30] <ikarus987> yes i did
[14:31] <ikarus987> what i am thinking is
[14:31] <TheFuzzball> `vcgencmd measure_temp` tells me the temperature is 45c, which is well below the threshold, and the fan is on
[14:31] <pgnd> are you seeing the grub menu at all on boot?
[14:31] <ikarus987> nope
[14:31] <ikarus987> it's just a terminal
[14:31] <ikarus987> grup>
[14:31] <ikarus987> like that
[14:31] <pgnd> efi ?
[14:32] <ikarus987> see here is the story
[14:32] <ikarus987> u know unetbootin right?
[14:32] <pgnd> are you booting uefi?
[14:32] <ikarus987> it installs bootloader i think on top of currently used Windows 10 hard drive
[14:33] <ikarus987> so when i booted my pc  for the first time (before installing ubuntu)
[14:33] <ikarus987> i get 2 options Windows10 or unetbooting
[14:33] <ikarus987> i chose unetbooting and from there i installed ubuntu
[14:34] <ikarus987> the way i go into grub at the moment is
[14:35] <ikarus987> i go into bios and choose "uefi hard drive b "  then there is also another one called "hard drive b"
[14:35] <ikarus987> the are not actually named "hard drive b" i am using shortening
[14:36] <ikarus987> i mean it shouldn't matter from where grub is running, correct ?
[14:37] <ikarus987> grub is outside the scope of hard drives and man other things
[14:37] <ikarus987> many#
[14:39] <Monona> lotuspsychje: Tried camera from live USB, same issue:  Cheese recognizes camera in Preferences, and light goes on, but camera does not work.
[14:41] <pgnd> ikarus987: if you reboot it boots directly into Win10?
[14:41] <ikarus987> yes
[14:41] <ikarus987> unless i can change the boot order
[14:41] <ikarus987> no sorry
[14:41] <ikarus987> i get offered unetbooting or windows 10
[14:42] <ikarus987> -but i don't understand what the unetbooting is for anymore
[14:42] <ikarus987> since i did install ubuntu?
[14:42] <ikarus987> that's the only purpose, right
[14:42] <ikarus987> that's why i haven't bothered to check it
[14:43] <pgnd> did you set bootmgr path in win to grub, with bcdedit ?
[14:43] <ikarus987> no i dont know what that is
[14:43] <ikarus987> i guess google time
[14:44] <pgnd> is your m2 formatted GPT?
[14:44] <lotuspsychje> Monona: ok tnx for testing that, i assume we proved its not about kernels now
[14:44] <ikarus987> pgnd gpt ?
[14:45] <lotuspsychje> Monona: are you sure you tested Fn+ F key combo's to enable cam?
[14:45] <pgnd> start with these ... https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/ https://www.linuxquestions.org/questions/linux-general-1/using-bcdedit-to-configure-a-multiboot-system-and-add-linux-4175644308/
[14:45] <ikarus987> does it matter what type of ssd it is?
[14:46] <pgnd> ikarus987: if you're booting efi, the partition table format matters ...
[14:46] <pgnd> Monona have you tried quirks?
[14:47] <Monona> lotuspsychje: Yup, just ran through them all again for good measure. Here's the actual error from running cheese at command line, maybe there's something in there? https://pastebin.com/UKq5m3VQ
[14:48] <lotuspsychje> Monona: did you try installing guvcview yet?
[14:48] <Monona> pgnd: Nope, what's that?
[14:49] <pgnd> test uvc quirks with exec of `rmmod uvcvideo; modprobe uvcvideo quirks=XXX`
[14:49] <pgnd> Read more on quirks @ http://www.ideasonboard.org/uvc/faq/#faq6, & https://wiki.archlinux.org/index.php/Webcam_setup
[14:49] <pgnd> quirks=0x080 often addresses _some_ intermittently operating cameras; YMMV
[14:49] <pgnd> shown-to-work quirks=xxx can be added persistently to /etc/modprobe.d/uvcvideo.conf
[14:49] <Monona> lotuspsycheje: Yup, it's the newest version.
[14:49] <lotuspsychje> Monona: no dice there aswell?
[14:54] <Monona> pgnd: Looks potentially promising, but slightly above my head.  Should I start by executing 'sudo rmmod uvcvideo; modprobe uvcvideo quirks=0x080'?
[14:55] <Monona> lotuspsychje: re: guvcview? It's installed, but I'm not real familiar with what it can do.
[14:55] <lotuspsychje> Monona: just launching it, should open your cam + alot of settings
[14:56] <pgnd> Monona: is your camera currently recognized, or not?
[14:56] <Monona> lotuspsychje: Got it, launching now.
[14:57] <Monona> pgnd: I think it's recognized but not working. It shows up in the preferences in Cheese, and in lsusb, but doesn't work.
[14:57] <pgnd> The 'sudo rmmod uvcvideo; modprobe uvcvideo quirks=0x080' is non-persistent.
[14:57] <pgnd> At best, you camera becomes active, and you've luckily ID'd your culprit.
[14:57] <pgnd> At worst, you lock up & have to reboot.
[14:57] <pgnd> That's what I'd likely try as a 1st shot across the bow ...
[14:59] <Monona> lotuspsychje: Got "Guvcview error no video device found"
[14:59] <lotuspsychje> Monona: in video controls/device, nothing to pick?
[15:01] <Monona> lotuspsychje: All I get is the error message.
[15:02] <Monona> pgnd: Got "modprobe: ERROR: could not insert 'uvcvideo': Operation not permitted"
[15:04] <Monona> pgnd: Ran it again as sudo on both commands, got "rmmod: ERROR: Module uvcvideo is not currently loaded"
[15:06] <pgnd> after clean reboot, _is_ the uvcvideo module loaded?  check with `lsmod`
[15:06] <lotuspsychje> pgnd: his dmesg: http://paste.ubuntu.com/p/KnvmWHGjB8/
[15:07] <lotuspsychje> pgnd: @950 uvcvideo 1-5:1.0: Entity type for entity Extension 4 was not initialized!
[15:07] <lotuspsychje> pgnd: @1031 uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[15:08] <Monona> pgnd: let me reboot and get back to you.
[15:08] <Monona> Thanks for the assistance on this persistently persnickety problem!
[15:13] <Monona> pgnd: uvcvideo is in the list when I run lsmod
[15:14] <pgnd> output of lsusb ?
[15:15] <Monona> http://paste.ubuntu.com/p/RmjHSytX5P/
[15:16] <pgnd> now, output of `lsusb -d 1bcf:2c2a -v` ?
[15:18] <Monona> pgnd: http://paste.ubuntu.com/p/rmgzPyn98D/
[15:18] <Monona> Also got "Couldn't open device, some information will be missing"
[15:19] <pgnd> good news it's seen, correctly, as a uvc camera.  i think you said you were getting guvcview error on launch?
[15:21] <Monona> pgnd: Just ran guvcview, and did not get error! Progress, somehow? What am I looking for in guvcview?
[15:22] <pgnd> well, no error, to start ...
[15:22] <pgnd> You've tried in OTHER vid app? something other than 'Cheese'?  This
[15:22] <pgnd> https://meet.jit.si/
[15:22] <pgnd> is a good/simple check ...
[15:25] <pgnd> The uvcvideo mod's loaded. You have a recognized uvc cam. guvcvideo launches without error.
[15:25] <pgnd> usage in 'Cheese' fails.
[15:25] <pgnd> if it works in Jitsi, it's likely Cheese.  if it doesn't, you're here:
[15:25] <pgnd> http://www.ideasonboard.org/uvc/faq/#faq2
[15:25] <pgnd> with a possibly buggy, if not dying/dead, cam
[15:29] <codecutter> how do i complete uninstall the following software that I installed using the cmd: ' sudo snap install microk8s --channel=1.18/beta --classic'
[15:30] <Monona> pgnd: Got "Failed to access your camera" in jitsi.
[15:31] <pgnd> which browser?
[15:31] <Monona> Firefox
[15:33] <pgnd> not currently jitsi-friendly (Webrtc bugs); recheck in CHrome/Chromium.  If still no-go, either try a different camera (beg/borrow/steal/etc), or start @ faq link
[15:33] <pgnd> codecutter: snap remove not working?
[15:33] <codecutter> full cmd?
[15:34] <codecutter> snap remove  microk8s?
[15:34] <pgnd> I'd start with `man snap`
[15:45] <codecutter> best place to place the $Java_HOME Path?
[15:46] <codecutter> rather how do i set the path?
[15:47] <pgnd> google's your friend.
[15:47] <pgnd> https://docs.oracle.com/cd/E19182-01/821-0917/inst_set_jdk_korn_bash_t/index.html
[15:49] <codecutter> do i need to do anything else after running 'export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64'?
[15:49] <codecutter> becuase one of the packages is failing to start even after running the above
[15:50] <Monona> pgnd: Camera did not work with Jitsi on chromium either.  Going to try that faq now...
[15:50] <codecutter> https://pastebin.com/a8MuJchA
[15:51] <codecutter> see line 13:  Mar 21 15:48:07 ubuntu-1gb-lon1-01 solr[8756]: JAVA_HOME: N/A
[15:52] <pgnd> did you set the ENV in your solr unit file?
[15:54] <codecutter> err no
[15:54] <codecutter> I had solr already setup and working, i changes the java version a few days back
[15:55] <codecutter> i did not make any changes to solr setup
[15:56] <oerheks> something tells me you installed openjdk 11 manually?
[15:57] <sumagna> ld is returning errors which are not supposed to come
[15:57] <sumagna> i was trying to compile a c program written in my school book
[15:57] <sumagna> please look at the code
[15:58] <sumagna> what is the command to paste the output of a command in ubuntu?
[15:58] <oerheks> sumagna, we dont do schoolwork ??
[15:58] <sumagna> not school work
[15:58] <sumagna> just look at the c program
[15:58] <akem> sumagna, Try ##C.
[15:59] <sumagna> wait
[15:59] <codecutter> oerheks i used the alternative script
[16:00] <codecutter> oerheks 'sudo update-alternatives --config java'
[16:00] <sumagna> this is the program
[16:00] <sumagna> https://paste.ubuntu.com/p/MNvfcT3CV3/
[16:01] <sumagna> it is giving me a error while compiling
[16:02] <sumagna> https://paste.ubuntu.com/p/vZGBdZ98J4/
[16:02] <sumagna> this is the error
[16:02] <sumagna> so what is the problem
[16:03] <akem> sumagna, It's only for Ubuntu support here. I told you the appropriate place to ask.
[16:03] <sumagna> ok
[16:03] <codecutter> join #solr
[16:12] <codecutter> JAVA_HOME variable appears to have been set but solr is still not starting https://pastebin.com/auTnRmy4
[16:18] <pgnd> codecutter: can you launch from cmd line?
[16:19] <pavlos> codecutter: did you export the JAVA_HOME variable? (or pop another term to test
[16:19] <codecutter> echo $JAVA_HOME
[16:19] <codecutter> '/usr/lib/jvm/java-11-openjdk-amd64
[16:20] <pgnd> shell env != systemd unit env
[16:20] <codecutter> i've addid tha PATH to '/etc/environment'
[16:20] <ikarus987> pgnd the website you sent me to
[16:20] <ikarus987> http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/  this is for people who already have usb drive
[16:20] <ikarus987> :-(
[16:20] <ikarus987> this mean it's not possible to make a harddisk bootable ?
[16:21] <ikarus987> i have empty m.2 ssd drive i wanna make that bootable
[16:21] <ikarus987> that's what unetbooting was doing except it installed on top of my currently used hard drive where the windows 10 is at
[16:21] <codecutter> pgnd: i've set the PATH in  '/etc/environment' is that not enouch?
[16:21] <ikarus987> so now when i boot, windows10 and unetbooting shows up
[16:21] <codecutter> enough*
[16:22] <pgnd> ikarus987: that link's not from me
[16:22] <pavlos> codecutter: env | grep JAVA should show the var is set
[16:22] <oerheks> make hdd bootable???
[16:22] <oerheks> boot an ubuntu iso, and install grub on it
[16:23] <codecutter> pavlos: it does
[16:23] <codecutter> JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
[16:23] <codecutter> pavlos: see line 9 https://pastebin.com/auTnRmy4
[16:23] <oerheks> java is still not in your %path%
[16:24] <codecutter> oerheks: why don't you tell me how to add it then?
[16:25] <pavlos> codecutter: export PATH=$JAVA_HOME/bin:$PATH
[16:26] <oerheks> jups, in /etc/profile https://stackoverflow.com/questions/9612941/how-to-set-java-environment-path-in-ubuntu
[16:26] <oerheks> and reboot might be needed, AFAIK
[16:27] <codecutter> oerheks solr still is not starting
[16:27] <ikarus987> yes i confirmed it is from you! pgnd
[16:27] <codecutter> see above pastebin
[16:27] <codecutter> let me reboot then
[16:27] <pgnd> ikarus987: nope
[16:29] <codecutter> reboot does not help
[16:32] <oerheks> so that app that needs java 1,8 ( or openjdk 8)  does not run on 11??
[16:32] <codecutter> solr
[16:32] <codecutter> evidently
[16:32] <codecutter> piece of sit
[16:32] <codecutter> crap*
[16:36] <codecutter> i had to switch back 1.8
[16:36] <codecutter> to get it to work
[16:36] <codecutter> java 8
[16:36] <pavlos> codecutter: from a search ... "The Solr community does not recommend running Solr with JDK-11. The Solr unit tests regularly fail with JDK-11. "
[16:36] <oerheks> that is what the error said too..
[16:36] <oerheks> oke, have fun!
[16:37] <codecutter> thx
[16:37] <pgnd> https://lucene.apache.org/solr/guide/8_4/solr-system-requirements.html#java-and-lucenesolr-combinations
[16:49] <onio>  Hi I am using Ubuntu mate 18.04 and I want to use meld to compare directory and file from Caja file manager any idea how to go about setting this up
[16:49] <lotuspsychje> onio: you could ask the #ubuntu-mate channel
[16:50] <onio> lotuspsychje, I have not getting a response so decided to check here
[16:51] <pavlos> onio: did you sudo apt install meld
[16:51] <onio> pavlos yes
[16:51] <oerheks> meld has its own gui, right?
[16:52] <oerheks> https://www.howtoforge.com/tutorial/beginners-guide-to-visual-merge-tool-meld-on-linux/
[16:52] <pavlos> onio: check that you have all reqs installed
[16:52] <onio> oerheks, I know what I am looking for is the ability to integrate this with caja for easy use
[16:54] <pavlos> onio: you might need to restart caja and a differences button will appear ...
[16:54] <onio> so I would like to go to my file manage click on a directory and then have a context menu that allow me to select another one for a compare using tool of my choice
[16:54] <rodrigoty23> does anybosy know how to make clementine media player remember last windowposition?
[16:54] <oerheks> nope, no such thing, as there is no meld plugin; write one?
[16:56] <onio> pavlos, no it does not. I have been using meld for number of years now. I just got bored today of having to open up the gui just compare two directory. I know I can do this on commandline but want to do it all from caja
[16:56] <lotuspsychje> rodrigoty23: did you check clementine settings? see also #clementine
[16:57] <onio> from a command line I can type "meld dir1 dir2" and this would do what I want
[16:57] <akem> Sounds easy enough.
[16:57] <onio> but I was thinking of something along the option that beyond compare gives
[16:57] <rodrigoty23> lotuspsychje, i checked that settings and no it wasnt there nor was the clementine channel alive!
[16:58] <oerheks> clementine remembers to open full screen on my gnome desktop.
[16:59] <rodrigoty23> oerheks, thats was supposed to be the default behavior!
[17:01] <oerheks> clear ~.cache/clementine/ and ~/.config/clementine ? you loose all settings and databases, though
[17:05] <rodrigoty23> oerheks, i did that already and even restarted and still nothing!
[17:06] <pavlos> onio: have you seen this ... https://github.com/yselkowitz/caja-pyextensions/blob/master/default-pyextensions/meld-compare.py
[17:11] <pgnd> rodrigoty23: using gnome?
[17:12] <rodrigoty23> pgnd, yup
[17:12] <pgnd> iirc, doesn't gsettings/dconf-editor give you easy editable access to per-app desktop knobs?  including window geometry?  I'm on KDE, where it's a different process ...
[17:15] <pgnd> there's a ~/.config/gtk3/settings.ini (or something similar) that might be useful.  dunno if that's only system-wide ...
[17:29] <BlakesSeven> Hey all I have a directory I'm sharing that I can't write to. On the host system the permissions are set to allow the user to write to it. It works. When accessing the share I can't write to the share. create and directory masks are set to 0777. I've restarted the samba service. What am I missing?
[17:31] <oerheks> maybe i am wrong, samba prevents the use of 777?
[17:31] <ducasse> samba might be set to share it as read-only?
[17:31] <BlakesSeven> I've also tried 0775
[17:32] <pavlos> do you AUTH with samba? if you're a guest, you could add "guest ok = yes" to the [share] and restart samba
[17:32] <BlakesSeven> I do have user authorization with Samba. I do not allow guests.
[17:34] <BlakesSeven> I'm an idiot "writeable = yes" was missing.
[17:35] <bryanroderyck> hello im having trouble with snap can someone help please https://paste.ubuntu.com/p/qjz7n3ZJQ7/
[17:37] <pgnd> bryanroderyck: is snapd running? what cmd did you actually exec?
[17:37] <pavlos> bryanroderyck: what cmd did you use to install ? snap-store does not exist
[17:39] <bryanroderyck> https://paste.ubuntu.com/p/nKGjB3kBw6/
[17:40] <onio> pavlos, no I have not. Let me give a read through. Thanks
[17:40] <bryanroderyck> pavlos, how to install snap-store?
[17:41] <pavlos> bryanroderyck: I cannot find a snap-store Is that the correct name? tell us what you're trying to do ...
[17:42] <bryanroderyck> i am trying to install bitmask vpn
[17:42] <pgnd> bryanroderyck: output of `snap list --help` ?
[17:42] <pgnd> pavlos: ... https://snapcraft.io/snap-store
[17:42] <pavlos> bryanroderyck: is snapd running? pgnd asked
[17:43] <bryanroderyck> no its not working
[17:43] <mrcrypto08> hi
[17:45] <pavlos> bryanroderyck: sudo apt install snapd
[17:46] <bryanroderyck> it is already install
[17:46] <pgnd> have you *started* it?
[17:46] <pavlos> test it ... sudo snap install hello-world then hello-world
[17:47] <bryanroderyck> ok wait
[17:47] <onio> pavlos, it looks like what I am looking for but don't know how to install
[17:48] <AlligatorJoe> what is in the snap store that makes it more special than github
[17:49] <bryanroderyck> https://paste.ubuntu.com/p/cFTJP4DVV2/
[17:50] <pgnd> snap list --all
[17:50] <oerheks> snaps get updates, are confined ..
[17:50] <AlligatorJoe> pgnd that just lists what is already installed on my machine
[17:51] <pgnd> AlligatorJoe: sry, not 4 u. for bryanroderyck
[17:51] <bryanroderyck> it list all the app install when doing snap list
[17:51] <cixx> hi.
[17:52] <ducasse> AlligatorJoe: snaps are ready to run, unlike github software you need to build yourself
[17:52] <cixx> i have rdp permission to a computer and i have rdp permission to another computer inside the another one
[17:52] <cixx> is it possible to connect second computer from my workstation?
[17:52] <bryanroderyck> pgnd
[17:52] <AlligatorJoe> ducasse oh ok..yes i got a binary of skype from the snap program
[17:52] <pgnd> bryanroderyck: so show the output
[17:53] <AlligatorJoe> ducasse but i have no idea of what else is available in snap
[17:53] <pgnd> AlligatorJoe: browse the snapstore ...
[17:53] <AlligatorJoe> pgnd what is the command to browse the store
[17:54] <bryanroderyck> https://paste.ubuntu.com/p/q96RpqFDCP/
[17:54] <pgnd> AlligatorJoe: er ... https://snapcraft.io/store
[17:54] <AlligatorJoe> pgnd oh ok thanks for the tip.
[17:54] <ducasse> AlligatorJoe: you can also use 'snap find <keyword>'
[17:55] <oerheks> all snaps are in software center too
[17:55] <oerheks> *hips*
[17:56] <pavlos> onio: code seems to be 8 years old ... I guess you could save the code as a .py file and run it with python
[17:56] <pgnd> bryanroderyck: `ps ax | grep snap` & `systemctl status snapd -l` ?
[17:58] <bryanroderyck> https://paste.ubuntu.com/p/bbCPFFJRmb/
[17:58] <pavlos> you need &&
[17:59] <pgnd> ... the "&" wasn't to be literal
[18:00] <bryanroderyck> https://paste.ubuntu.com/p/MjpRkxDMpT/
[18:01] <oprypin> hi. how can I list and/or install old versions of Snap packages?
[18:02] <bryanroderyck> https://paste.ubuntu.com/p/rBmFy5K6v7/
[18:03] <pgnd> so snapd's running now.  what have you explicitly changed since you said it wasn't?
[18:04] <pavlos> does this work? sudo snap install snap-store
[18:06] <AlligatorJoe> pgnd wow it is going to take 6 hours to d/l ultimate-media-downloader2 from the snap-store
[18:07] <AlligatorJoe> pgnd i wonder if it even works since so many apps quit working for the faye wong video downloads
[18:07] <pgnd> oO ?
[18:09] <pavlos> cixx: you should be able to do that, workstation rdp -> compA ... compA rdp -> compB
[18:11] <AlligatorJoe> i think firefox broke the video download programs when it switched dns lookups to cloudflare because the links no longer seem to work for the download apps in regards to the faye wong final fantasy viii video
[18:11] <AlligatorJoe> so i doubt that ultimate video downloader will work either but i will give it a try in about 6 hours
[18:13] <AlligatorJoe> i like that particular video since Rinoa dances just like Crocodile Lily
[18:15] <AlligatorJoe> but i suspect the snap program will be broken also whenever it does finish downloading
[18:15] <oerheks> AlligatorJoe, really, so you ask support here for video download programms that do not like cloudflare?
[18:15] <oerheks> !piracy
[18:15] <oerheks> offtopic here
[18:16] <AlligatorJoe> oerheks what is piracy...i purchased the game that is supposed to include the video...i just would like a separate copy of the video
[18:17] <AlligatorJoe> oerheks please don't accuse legitimate paying customers with piracy
[18:21] <AlligatorJoe> oerheks what i would like to know is how did the game creators find out exactly how my Crocodile Lily used to dance many many years ago
[18:25] <pavlos> whoever asked for snap-store, I was able to install with sudo snap install snap-store and then a snap-store appeared on my launcher which runs fine
[18:32] <AlligatorJoe> personally i consider the cloudflare issue with firefox to be a blatant attempt to stop people from downloading videos they paid for that they like
[18:37] <AlligatorJoe> drownthewitch...what a name for a nick....remember Helen Reddy and "That aint no way to treat a lady"
[18:41] <XsiSec> Hi guys I trying to use grep on following piece https://paste.ubuntu.com/p/KkGmktFyyQ/ I need to methods that collects '418MiB'  the first number can change) and '4042MiB'  please help me out
[18:43] <AlligatorJoe> drownthewitch...you should be ashamed of yourself for having a nick like that when you could have chosen to lift women up instead.
[18:44] <oerheks> AlligatorJoe, stop that, no attacks here.
[18:44] <oerheks> !ops
[18:45] <dax> and in addition to what oerheks said: that person's been idle for a week, talking at them isn't particularly productive :/
[18:45] <AlligatorJoe> oerheks..okay but i prefer to help women because i see Crocodile Lily in every one of them
[18:46] <dax> AlligatorJoe: and we prefer #ubuntu be for ubuntu support, not random chat, so let's stick to that, thanks
[18:46] <AlligatorJoe> dax ok
[18:46] <drownthewitch> AlligatorJoe: Hi. I'm sorry you take offense to my nickname, I have nothing against witches/wiccans and/or women. If you need any more clarification, feel free to PM me.
[18:47] <AlligatorJoe> drownthewitch...i am not offended because i am not a woman...but Rinoa and Tifa might get offended.
[18:48] <pavlos> XsiSec: you can output nvidia-smi to various formats, man nvidia-smi
[18:48] <drownthewitch> I am a woman too. *shrugs*
[18:49] <EriC^^> i am superman
[18:49] <EriC^^> *shrugs*
[18:49] <drownthewitch> Faster than a speeding bullet =o
[18:50] <pavlos> XsiSec: example: nvidia-smi -q -d MEMORY
[18:50] <TJ-> But not faster than an Ubuntu bug!
[18:51] <AlligatorJoe> drownthewitch...even superman likes to take Lois Lane for a ride through the clouds and let her enjoy life as a woman
[18:52] <dax> back to ubuntu support, folks
[18:52] <drownthewitch> Can you please stop, Joe? You are making me feel uncomfortable.
[18:52] <drownthewitch> I can leave if my nick is truly not wanted here for some reason, but there is no offensive intent behind it.
[18:53] <drownthewitch> It has a long backstory, related to roleplaying game history.
[18:53] <dax> drownthewitch: your nick is fine, no need to worry about it
[18:54] <AlligatorJoe> drownthewitch ...there is nothing that can compare to the jrpgs and the effort put into them to create electronic masterpieces
[18:54] <dax> oh for pete's sake
[18:55] <dax> For the third time, #ubuntu is for Ubuntu technical support. If you want to talk about other stuff, take it to #ubuntu-offtopic after reading https://wiki.ubuntu.com/IRC/Guidelines , which applies to both channels.
[18:55] <XsiSec> thanks checking the documentation though I think I need some adjustments
[19:03] <XsiSec> how could I clean following command? --> to more simple --> ${goto 20}Free${goto 85}${execi 10 nvidia-smi -i 0 -q -d MEMORY,UTILIZATION,POWER,CLOCK,COMPUTE | grep -E '(^|[^0-9])[0-9]{4}($|[^0-9])' | grep "Free" | cut -c 39-50}${goto 115}Mb
[19:03] <pavlos> XsiSec: my example: https://termbin.com/sh9ag ... memory-usage is 84/1023 (you need to parse the FB Memery Usage (you can also outout in csv
[19:04] <XsiSec> pavlos, I used your command but my issue is that I have to topics called "Free" the only thing that differ em its a 4 digit / 3 digit group
[19:07] <sentinel1980> hi everyone !
[19:08] <pavlos> XsiSec: so look for "FB Memory Usage" and cut that line +2 below, then parse Total and Used ... nvidia-smi -q -d MEMORY | grep -A 2 "FB Memory Usage"
[19:09] <TJ-> XsiSec: do you want *just* the numbers, or the numbers and the MiB after them?
[19:10] <AlligatorJoe> well snap did not work on the download program...it quit prematurely and gave me an error that said "unexpected end of file"
[19:11] <XsiSec> I want the Mib after as well
[19:11] <TJ-> XsiSec: pipe the output into:  ... | egrep -o '| *[[:digit:]]+MiB +/ +[[:digit:]]+MiB'
[19:11] <AlligatorJoe> so i suspect the snap code is not in very good shape at this time
[19:12] <XsiSec> TJ-, should I base your statement after nvidia-smi -q -d MEMORY ?
[19:12] <AlligatorJoe> so this should be a relevant ubuntu comment for the channel
[19:12] <XsiSec> no result if I do that
[19:12] <TJ-> XsiSec: yes
[19:12] <XsiSec> nvidia-smi -q -d  egrep -o '| *[[:digit:]]+MiB +/ +[[:digit:]]+MiB'  , gives  nothing  :S
[19:13] <TJ-> XsiSec: I saved your pastebin output to a file and 'cat'ed it through that expression and it gave me:  "    418MiB /  4042MiB"
[19:13] <XsiSec> sure 1 sek
[19:13] <AlligatorJoe> looks like the snap store will have to wait until the snap code improves where a snap program can be downloaded
[19:14] <XsiSec> TJ-, https://paste.ubuntu.com/p/rZtFwQQ2tB/
[19:14] <TJ-> XsiSec: are you sure nvidia-smi is writing to stdout? it could be using stderr? use |& instead of | just in case
[19:14] <XsiSec> not familiar with stderr
[19:14] <TJ-> XsiSec: oh! your output is different now to the original!
[19:14] <TJ-> XsiSec: I was working on http://paste.ubuntu.com/p/KkGmktFyyQ/plain/
[19:15] <XsiSec> cant login have no account srry
[19:15] <TJ-> XsiSec: I was working on http://paste.ubuntu.com/p/KkGmktFyyQ/
[19:15] <TJ-> XsiSec: sorry; I linked you to the plain-text version
[19:16] <AlligatorJoe> apparently the snap code doesn't handle slow internet connections very well
[19:20] <AlligatorJoe> at least snap seems to be a problem on the ubuntu os....i am not sure about the redhat os
[19:21] <pavlos> XsiSec: TJ-'s egrep works fine, I get      84MiB /  1023MiB
[19:25] <XsiSec> strange
[19:25] <XsiSec> I dont get anything :S
[19:27] <TJ-> XsiSec: show us the actual command you're executing
[19:30] <pavlos> https://termbin.com/v9de
[19:38] <tyoc213> Hi there, I have buyed a new SSD nvme drive, I see it on BIOS but not on gparted or fdisk
[19:40] <XsiSec> TJ-, https://i.imgur.com/a7po7ef.png
[19:40] <XsiSec> nvidia-smi -q -d MEMORY  | egrep -o '| *[[:digit:]]+MiB +/ +[[:digit:]]+MiB'
[19:40] <oerheks> tyoc213, diabled fastboot and such? see the !uefi manual
[19:40] <oerheks> !uefi
[19:41] <tyoc213> oerheks, will try that and come back, thanks
[19:41] <mas886> I need a bit of help, for some reason my system cannot find any sound "input or output device" so I can't hear anything. I'm on a laptop with the integrated sound card. On the same system, double boot with Win 10, the sound works perfectly. It's weird because a couple of days ago it used to work.
[19:41] <TJ-> XsiSec: there's your problem then - I was working with the orginal output of "nvidia-smi" not "nvidia-smi -q -d MEMORY"
[19:42] <pavlos> XsiSec: the command should be nvidia-smi | egrep -o '| *[[:digit:]]+MiB +/ +[[:digit:]]+MiB'
[19:42] <oerheks> this is an annoying current bug https://launchpad.net/bugs/1867803
[19:43] <mas886> Wah
[19:44] <mas886> is there any way I can solve it? Not having sound is kind of a problem
[19:44] <oerheks> use the 43 in proposed, or roll back a kernel during boot
[19:45] <oerheks> alsi i found this a fix for audio ? https://askubuntu.com/questions/1218041/ubuntu-18-04-audio-disappeared-after-update/1218063#1218063
[19:46] <mas886> oerheks: okay, will try, thanks!
[19:47] <XsiSec> Thanks pavlos worked fine now
[19:47] <pavlos> XsiSec: TJ- did the work, !cookie
[19:48] <XsiSec> How would you even simplefy it to catch 504Mib or 4042MiB?
[19:48] <TJ-> XsiSec: you mean get only one value?
[19:48] <XsiSec> yeah
[19:48] <pavlos> XsiSec: it is looking for one or more digits ending in MiB
[19:49] <TJ-> XsiSec: for the 1st field: ...  | egrep -o '| *[[:digit:]]+MiB +/ +[[:digit:]]+MiB' | cut -d \/ -f 1
[19:49] <XsiSec> either 504MiB or 4042MiB notice the first group is always a group of 3 digits+3 letter and the last group is a static value
[19:49] <TJ-> XsiSec: for the 2nd field: ... | egrep -o '| *[[:digit:]]+MiB +/ +[[:digit:]]+MiB' | cut -d \/ -f 2
[19:50] <genii> I'm not sure why you aren't just calling nvidia-smi with the switches that report back the values you are currently trying to grep
[19:50] <TJ-> XsiSec: so you're just adding to the end another pipe
[19:50] <XsiSec> works flawless
[20:08] <pavlos> XsiSec: another way ... nvidia-smi --query-gpu=memory.total,memory.used --format=csv,noheader ... you get 1023 MiB, 84 MiB
[20:13] <XsiSec> thanks pavlos :)
[20:13] <pavlos> much easier to parse
[20:23] <Bromite> what is /pma?
[20:24] <Bromite> oh phpmyadmin
[20:25] <Bromite> some ip out of china is trying to brute force their way into my system
[20:25] <Bromite> hahahahaha
[20:33] <RoseBus> hello, is there a way to get figerprint reader working for ubuntu login?
[20:35] <M_aD> RoseBus: https://help.ubuntu.com/stable/ubuntu-help/session-fingerprint.html.en
[20:36] <Aleric> I keep running into a kernel bug... I need to start working on that, but in order to do that I need to be able to compile my own kernel. So far all my attempts have failed :(. Is there a good howto somewhere please that explains exactly how to compile your own (ubuntu) kernel?
[20:37] <RoseBus> M_aD, the fingerprint setting is not visible in that menu
[20:37] <M_aD> then i don't know
[20:38] <M_aD> try to search on the web a bit, there might be a solution somewhere
[20:41] <RoseBus> okay i think the problem is the drivers are not available on ubuntu
[20:41] <rfm> Aleric, I haven't done this for a while, but when I did I followed the Debian guide and it seemed to go OK. https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-common-official
[20:41] <Aleric> thx
[20:42] <RoseBus> i'm using dell xps 9570, how can i find the ubuntu dev forum related to ubuntu drivers for on-board hardware for xps15 9570
[20:46] <oerheks> if hte sensor is not listen in https://launchpad.net/~fingerprint/+archive/ubuntu/fingerprint-gui   -- or -- https://fprint.freedesktop.org/supported-devices.html
[20:47] <oerheks> even the https://github.com/JackHack96/dell-xps-9570-ubuntu-respin  page says no
[21:01] <Aleric> Is 'cp -pr' as root good to make a backup of /usr/share ?
[21:03] <RoseBus> it appears there isn't a working driver for xps 9570 fingerprint reader
[21:03] <RoseBus> sad :(
[21:04] <Aleric> Hmm, I guess cp -a should work.
[21:07] <pavlos> I prefer rsync -avz since I can send the backup to a remote system
[21:15] <Aleric> My /usr was 99% full - I moved /usr/share to another partition now, instead of waiting for some 'apt upgrade' to fail :p.
[21:19] <AlligatorJoe> Aleric isn't /usr/share where all the docs and sample files are or is ubuntu different
[21:20] <Aleric> It contains non-architecture stuff mostly, not just docs.
[21:21] <AlligatorJoe> Aleric well you might want to keep some of it online such as the sample sound files for testing your sound hardware in case of kernel sound problems
[21:21] <Aleric> I used a symlink - many application won't work without /usr/share
[21:22] <AlligatorJoe> Aleric ok
[21:26] <AlligatorJoe> Aleric i was looking at the ubuntu recommended boot-repair-cd  as a useful tool in case grub gets perturbed...but the thing is about 700 megabytes so i will have to wait a while before i can even attempt to download that size of a file.
[21:33] <WoC> Which channel would be recommended for ubuntu on a former ChromeOS chromebook (ARM64) ?
[21:34] <AlligatorJoe> Woc  Ha Ha Ha...that is very funny
[21:35] <AlligatorJoe> Woc that reminds me of people running linux kernels on old nintendo hardware
[21:38] <WoC> ;] didnt know about that one
[21:39] <AlligatorJoe> Woc..yep they turned an old nintendo snes into a linux web server and database server
[21:40] <akem> WoC, You'll probably have better luck on forums or other websites. It's not very common.
[21:40] <AlligatorJoe> Woc that was back in the days before the dot-com bust....when people were excited about running linux on all kinds of platforms
[21:41] <akem> You can still ask here anyway as long as it is about Ubuntu.
[21:42] <WoC> k, can i still just download the iso, dd to a sdcard and try booting it, even on arm64 ?
[21:43] <AlligatorJoe> Woc does it have UEFI or Legacy Bios support to give you boot options for an sdcard
[21:44] <oerheks> WoC, netboot or server
[21:48] <akem> Chromebooks are pretty weird, i think you can't just boot an ARM ISO like if it was a PC.
[21:48] <akem> https://askubuntu.com/questions/356243/true-ubuntu-on-chromebook-arm It's a bit old but there is maybe interesting stuff.
[21:48] <AlligatorJoe> akem ...why not
[21:49] <AlligatorJoe> akem in any case it must have some serial support or ethernet interface to use with a debian netboot approach
[21:49] <akem> AlligatorJoe, Not sure i can be wrong, just a guess from what i read online, i never got to use a Chromebook.
[21:50] <AlligatorJoe> akem...well i have never seen one either
[21:59] <Aleric> ARGH - what is the git url for the LATEST kernel?? The last thing I can find is v5.5 from januari :/
[22:01] <Aleric> 5.5.11 is out, so where is the git of that?
[22:01] <tripelb> 18.04 Is this a bug or a feature? I can drag a window bottom BELOW the bottom edge of the screen and then I cant grab it to bring it up again. (yes, I did use alt-grab to bring the entire window up. I m not asking how to save the day.) So does that mean that my dispay monitor is set wrong? How to fix? -- HP ProBook laptop.
[22:03] <tripelb> 18.04 - I didnt have the 3-dots menu at the end of the url line in chrome. then I had it so I said NM. Now I dont? What the figtree?
[22:04] <tripelb> That IS the menubar.
[22:04] <oerheks> try the mainline kernel, but carefull, just for testing, not supported here
[22:04] <oerheks> !mainline
[22:05] <Aleric> oerheks: that doesn't give the git url either
[22:11] <Aleric> That is, I'm trying to build the latest ubuntu kernel - not the upstream kernel from git.kernel.org.
[22:11] <Aleric> Seems to me that ubuntu just stops at 5.3 on almost any webpage you can find.
[22:18] <WoC> i might have to use qemu to install to an image file, convert cow2 to raw and dd the image to an sdcard
[22:18] <WoC> no ethernet, wifi only
[22:42] <Bromite> why can i not access /var/www/html/example?
[22:42] <Bromite> it gives 404
[22:46] <Bashing-om> Bromite: ?? "/var/www/html/example" is local to your system. What is your goal here ?
[22:51] <Bromite> Bashing-om: i want users to be able to access "http://example.com/mydir"
[22:51] <Bromite> Bashing-om: also, apache isn't logging requests anymore, not sure what i've done
[22:53] <Bashing-om> Bromite: Well, now you are confusing what is accessed how. "http://example.com/mydir" is a internet address that one access via a web browser. Not local to your server.
[22:55] <Bromite> Bashing-om: sorry, i mean to say that /var/www/html/mydir is local to my server, and i want users to be able to access "http://example.com/mydir/index.html"
[23:00] <Bromite> well to be clear, apache is only logging requests to the server ip, not via the domain
[23:02] <rfm> Bromite, that sounds like the domain isn't resolving to your ip (on the meachine you're making the request from)
[23:02] <oerheks> did you changed the server ip in your domain recently? it could take some time to update?
[23:02] <Bromite> also, http://X.X.X.X/mydir works, but https://some-dns-domain/mydir doesn;t
[23:02] <oerheks> how about hard ip?
[23:02] <Bromite> the server is using some dns service i believe
[23:02] <Bromite> maybe that's why
[23:11] <R0b0t1``> hi I'm on ubuntu live environment and systemd-resolve fell over and won't resolve anything. I'm on gfiber, unknown what network settings caused this.
[23:11] <R0b0t1``> I need to be able to dl stuff...
[23:11] <R0b0t1``> thinking autoinstall would fail also
[23:12] <tripelb> 18.04 - I didnt have the 3-dots menu at the end of the url line in chrome. then I had it so I said NM. Now I dont? What the figtree?
[23:24] <AlligatorJoe> RObOt1...can you ping the ip4 numbers of some website like slashdot.org or ubuntu's website to see if it is just a resolve issue
[23:26] <R0b0t1``> AlligatorJoe: yeah I can
[23:26] <R0b0t1``> AlligatorJoe: it's totally just a resolve issue
[23:27] <AlligatorJoe> RObOt1 ok sounds like it to me too.
[23:27] <R0b0t1``> like the fix is "upgrade systemd" but all I have are these two old install dvds and I need to download a new one
[23:28] <R0b0t1``> found the bug on gh I think
[23:28] <AlligatorJoe> RObOt1..yes that is a catch 22...but you can still download a new version of systemd..by using only ip numbers
[23:29] <R0b0t1``> ffff
[23:30] <R0b0t1``> guess I'mma have to get a different distro's fix-a-install-cd
[23:31] <AlligatorJoe> RObOt just look up the ip numbers of whatever website distro you choose and type the http://ip#  to get to file download in your browser and it should still download fine for you
[23:32] <akem> As a temporary fix you can try to set something like google DNS to /etc/resolv.conf : nameserver 8.8.8.8
[23:32] <akem> Or openDNS but i don't remember the IPs. See if it works...
[23:33] <R0b0t1``> ok, will see if I have sudo power as guest account
[23:36] <AlligatorJoe> RObOt1...my browser is tied up now so i can't give you the ip numbers of some websites for you to try but maybe someone else can or i can later
[23:38] <AlligatorJoe> RObOt1 all they have to do is google "reverse dns lookup" and it will give sites that can give the ip numbers of any dns name you like
[23:38] <Aleric> R0b0t1``: wget ftp://129.132.53.171/ubuntu/pool/main/s/systemd/systemd_237-3ubuntu10.38_amd64.deb
[23:40] <Aleric> That's ubuntu.ethz.ch
[23:41] <Aleric> You might also be able to just open ftp://129.132.53.171/ubuntu/pool/main/s/systemd/ in a browser.
[23:58] <tripelb> I want to extract an iso to a bootable disk. This ubuntu help page https://help.ubuntu.com/community/BurningIsoHowto says r-click and choose "werite to disk" but that is not the menu I see and there is on write to dick opeion ther. Or disc. WOT? lost and helpless.
[23:59] <CaptRanger> just dont "werite to dick"