[00:00] this guide https://www.linux.com/news/using-samba-share-files-between-linux-and-windows/ [00:01] ive got 2 monitors. ubuntu always shows the login screen on the secondary monitor. is there a way to make it show up on the pirmary monitor [00:01] i am on an ec2 ubuntu instance [00:01] should `sudo testparm smb.conf` return the messgae `Error loading services`? [00:01] hi all [00:02] !paste [00:02] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [00:02] also this guide https://github.com/GlanceIt/GlanceWebsite/wiki/Installing-Samba-on-EC2-instance [00:02] show us your .conf? [00:04] https://paste.ubuntu.com/p/66JwZtfWFQ/ [00:05] from /etc/samba/smb.conf [00:05] it's just eh default [00:05] that is, the default smb.conf [00:06] oh [00:06] previously i has some folder int there, but `sudo testparm smb.conf` showed that error message so i restore the conf to the default [00:06] and i still get the same message [00:07] ? [00:08] when i use Celluloid sometimes the video doesnt start and i have to press PLAY, how do i make videos autoplay? i've look online for autoplay option for mpv but cannot find anything [00:10] trying to share from ubuntu to windows, via samba. i got it all set up, the only problem is.. when i connect from windows it says it doesnt have permission to access it. What would a root command be to give a specified user read and write access to a given folder? [00:13] you can do it from the file browser [00:20] Hello. I need some install assistance for Ubuntu 20.04. I added a 1TB nvme drive to my system. I want to install Ubuntu there and only use 400GB so I can move my Windows 10 install off a 500GB SSD onto the rest of the new drive. I do have 18.04 on another drive as well but I don't want to touch it. The automated install is not giving me an option [00:20] to only use part of the NVME any help would be appreciated === revosftw2 is now known as revosftw === SunWuKung5 is now known as SunWuKung [00:37] Is this the proper channel to request a little bit of help? [00:37] metaphz, yep [00:38] Fantastic! [00:38] Ok, so I have recently installed Ubuntu 20.04. I would like to know how to add my secondary "DATA" drive to the "File Browser". It was running the XFS filesystem. I figured out how to get the drive to be read in Gparted, but not sure how to go about "viewing" the contents of the drive. [00:40] Sounds like an entry is needed in fstab(1) ? [00:40] MarkB2, that is above my head if it is needed. [00:40] I can Google fstab and go look through documentation. [00:41] metaphz: That's a guess on my part.. it's the way older Unix-like systems worked. [00:41] I recall fstab, but I haven't been a really "Active" Linux user since Redhat 5.1. [00:42] When you installed 20.04, did the installer ask if any other drives should be mounted at boot? [00:42] No it did not. [00:42] metaphz: Also take a look at mount(1) . [00:42] Maybe because I needed to add XFS support to the system? [00:42] MarkB2, will do. Not sure what you have in parenthesis. [00:43] ./mnt shows nothing [00:43] Now you're above MY head. :-) I don't know how to add filesystem support other than perhaps as a loadable kernel module. [00:43] It should be /dev/sdb maybe...I don't know. [00:43] Try lsblk and see if it shows up. [00:43] MarkB2, great suggestion! [00:44] MarkB2, yes it sure does! /dev/sdb1 [00:44] If you were to do it manually then something like sudo mount /dev/sdb1 /mnt (I think.. can't remember the order of args to mount(1) ). [00:45] does it show up in the "disks" program? [00:45] So mount the drive first, then maybe the file browser can read it. [00:45] And now I can't remember if that allows a "normal" user to RW to the drive. [00:45] qid|ydl, yes it does, it shows up in "GParted" and it shows up now as /dev/sdb1 [00:45] Yah, if it's "visible" to the system, I'd think nautilus would see it. [00:45] If it makes it easier, it does not have to be XFS filesystem. I was just messing around with it in Linux Mint. [00:45] the disks program is probably the gui way to manage this stuff and choose where you want it to be mounted [00:46] qid|ydl, ok launched the disk program. I will take a look at it. [00:46] qid|yd1: I was fumbling around. Great to have someone knowing what goes. Thanks. [00:46] Ok yes it sure does. [00:46] It says XFS -- Not Mounted. [00:47] I'm on 19.10 so I don't know if the UI has changed but there's a button with gears to access the options [00:47] qid|ydl, Yes sir, "Edit Mount Options" ? [00:47] yep [00:47] Ok, it say's Mount at System Startup and Show in User interface. However I am not seeing it...Hmmm... [00:48] what mount point is it set to? [00:48] It has a ridiculous Mount Point /mnt/993b12de-eeee [00:48] qid|yd1: Does he need to be sudo'ed to root to get options set correctly ? === SunWuKung8 is now known as SunWuKung [00:48] I would expect the disks application to prompt for a password to elevate if necessary [00:48] That sounds like some kind of disk ID it's getting from the drive itself. [00:48] Yeah that is what I am thinking [00:48] if you look in that folder do you see the data you expect? [00:48] It did have me SUDO when I launched the disk app [00:48] Let me take a peak qid|ydl [00:49] No [00:49] when I look at /mnt nothing is there [00:49] how about ls -la /mnt [00:50] MarkB2, yes I got some output but I am not sure what it means [00:50] total 10 [00:50] drwxr-xr-x 2 root root 2 Apr 23 02:32 . [00:50] drwxr-xr-x 19 root root 25 May 3 18:20 .. [00:50] Oh wait. that weird name might mean when it IS mounted. [00:51] well, the mount point doesn't exist, I don't know if there's something magical that's supposed to create it but normally the folder has to already exist [00:51] Is there a button that says, "Mount this" ? Might be a right-click on the entry. [00:51] MarkB2, I am sorry, where should I look for that? In the file browser? [00:52] In the disk program? [00:52] lol [00:52] (sorry). [00:52] I think so...the "Play" button [00:52] I think I just did it let me look [00:52] lmfao [00:52] Yeah that did it [00:52] haha [00:52] Aw you've gotta be kidding. [00:52] I don't like the name and all that. Maybe I can edit it. [00:52] "Play" ??? [00:53] Yeah, like the play button on a VCR [00:53] Sorry showing my age. [00:53] Me, too. [00:53] Play Button to MOUNT. STOP button to unmount lol [00:53] lmfao [00:53] How in the world did someone transmogrify "Mount" into "Play". [00:53] Well I think this GUI was created to dumb down the enviroment [00:54] However I have tried several other DE and this is the only one I care for at the moment. [00:54] I did like XFCE back in the day. [00:54] Nominally I would attributing the "dumb down" to the author.. but I didn't write it and, well, there's always "poetic license". [00:54] !ot | metaphz MarkB2 [00:54] metaphz MarkB2: #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! [00:55] MarkB2, surely, I suppose you are correct. I didn't correlate a play button with mounting a drive. Who am I to judge though. [00:55] Let's have real talk. Is swap space even needed with modern computers? [00:56] I .. didn't think my comment warranted being chastised. I stand corrected. [00:56] metaphz MarkB2 stop it both please, this channel is for ubuntu related questions only [00:56] MarkB2, I wasn't chastising you lol. I was agreeing with you. [01:00] metaphz: swap seems to be useful primarily as a backing store for memory pages that can't be unloaded (e.g. a file that was on disk but has been deleted) but aren't being used [01:02] one suggestion I've heard is that if the system you're dealing with can just be terminated and restarted (e.g. containers) then swap is probably bad, but if it's something you care about being able to recover (e.g. desktop) then swap might save you in a bad spot === zbenjamin is now known as Guest92291 === zbenjamin_ is now known as zbenjamin [02:16] how can i create a desktop notification with an action button? i know there is "zenity" and "notify-send" but neither of them have the option for a button from what i can find [02:16] i've almost managed to do it manually with gdbus send, there's even a clickable button, i just cannot figure out how to make gdbus wait and listen for the reply [02:31] 20.04 It froze while using Zoom. I tried all f2 but I didn't know of control alt f2. So I hard rebooted. -- following is not causation of course. I have no volume. I had the volume off. Then I turned it on. Nothing This is on YouTube. I tried Vimeo nothing.soudcloud nothing. The alert sounds in system settings,nothing. Hey what do I do? [03:19] i have a dell inspiron 3847 desktop, and recently installed an nvida P400 graphics card. When using the nouveau graphics, the bootup process freezes, that is, i see the twirly circle but no login screen. However, the system is booted, as I can ssh into it. if I use hte proprietary nvidia drivers, bootup is fine. with nouveau, /var/log shows two xorg log files, as if the login screen is on a secondary screen. any idea? [03:24] roler: /var/log/ - Xorg.0.log, Xorg.0.log.old, Xorg.1.log . where Xorg.0.log is the current boot log. [03:27] can someone help me with setting up a smaba share? if i create an entry such as [my_share] .. if i have valid users = unsername ... then i cannot connect to the share via my desktop client (nemo file browser) [03:27] Did you spell your username right? [03:28] but if i omit valid users ... then i can connect using any made up password [03:28] yes [03:28] Is it the name of a UNIX user account on the computer? [03:29] the connect dialog nem displays wants a workgroup and password ... the url i am using in the file browser is smb://username@ipaddress/my_share [03:29] yes [03:29] the name is a unix user name [03:30] i've also added sudo smbpasswd -a username [03:30] and provided a password [03:32] hrmmm [03:32] it's working suddenly [03:34] one thing i found to try with setting up samba shares is when i thought i had it working, unmount/log out of the samba share, log out/restart windows, and try again. [03:35] i thought i had it working, but then when i tried with a new computer to the local network, it didn't work. [03:51] How do I find out how long I have been connected to an access point for? [03:51] from the command line [03:51] hm [03:56] in Xubuntu focal, is there a way to have NetworkManager read the WiFi PSK from stdout of a script whenever it needs it, instead of storing it in a config file? [04:02] Hi! Anyone knows of a file recovery tool for BTRFS? [04:02] which 20.04 installation media should i use if i want ubuntu without any desktop environment? [04:03] bleb installation media? a 4gb usb clip drive will work just fine [04:03] i guess there's the server install image, but will i get wifi support with that? [04:04] bracham: sorry, i mean what image should i put on the medium [04:04] i think you may have to have a wired connection [04:04] for server [04:04] yeah [04:05] so should i just install regular ubuntu then manually uninstall gnome? [04:05] i'm no pro, but i would imagine so, even though that sounds like a pain in the butt [04:06] oi vey [04:07] !minimal | bleb But WIFI will have to be added. [04:07] bleb But WIFI will have to be added.: The Minimal CD image is very small in size, and it downloads most packages from the Internet during installation, allowing you to select only those you want. The installer is text based (rather than graphical as used on the Desktop DVD). See https://help.ubuntu.com/community/Installation/MinimalCD [04:07] if you have time, i would try server first [04:09] Hi! Anyone knows of a file recovery tool for BTRFS? [04:09] there ya go. but yes, probably have to have a wired connection to start [04:11] I am running Lubuntu. I understand this is an ubuntu channel, but there is no reply on #lubuntu when I ask there. I have two monitors plugged into my lapyop, three displays. I extended the desktop. When I right click the desktop it tells me "Desktop manager is not active." Running 'sudo pcmanfm --desktop' Fixes it temporarily. Any idea what could have caused this, and how to fix it please? [04:15] Ascavasaion, the DM might have crashed because it was confused by the new screens. I'd try and search for errors in log files. [04:16] does the Ubuntu minimal CD have casper-rw ready, as in "just pass the persistence kernel option"? [04:17] Sven_vB: I have used it like this for months, it is a reasonably recent thing. [04:17] Ascavasaion, it's not unheard of software breaking due to updates, or in exotic cases even by date. [04:17] Sven_vB: Any suggestions? [04:18] Ascavasaion, just the default one: debug it. look for an error message and then try to fix it. [04:19] or of course hire someone to debug it for you. :) [04:20] if you need help debugging it yourself, tell us what part you're stuck on. [04:25] Sven_vB: It would seem this is beyond my expertise. [04:26] Ascavasaion, the part of looking for an error message? [04:26] Sven_vB: All of it [04:26] Would a sudo apt remove lxde and then an sudo apt install lxde word?? [04:27] Ascavasaion, in that case you could wait here and hope that someone who knows about Lubuntu and pcmanfm will wake up, see your question and guide you. maybe ask your question again every hour or so. [04:28] Sven_vB: Okay. Thank you :-( [04:29] I'd rather use "apt reinstall", and of course do that from a text shell. though my gut feeling is that it is not the cause of your problem. [04:33] Ascavasaion, I got disconnected, might have missed a message. anyway: you could also try asking your question in a forum, or maybe on AskUbuntu.com, in addition to here. [04:33] Sven_vB: Thank you. Like you say, I think it is something small. [04:33] Sven_vB: But alas, I have no clue. [04:34] Ascavasaion, a first step could be to study the user's manual of your display manager and desktop environment for what their log files are, then read the latest messages there. [04:36] Sven_vB: I hear you. Thank you. Might just have to reinstall absolutely everything from scratch. === anon is now known as Guest76518 === Guest76518 is now known as BigFatRetard [04:41] i was just going to say that's kinda pointless, but oh well === DalekSec is now known as WrathOfAchilles [04:48] well there's a slim chance of config error. [04:54] which of course could be fixed by starting from scratch again, but if it was an update that broke it, that won't help [05:05] seeing as i'm in here, i'll mention an issue i'm having. i have ubuntu 20.04 on my laptop, 18.04 on my headless server. i'm logged into the server via ftp from the laptop (nautilus), moving files around to sort them. occasionally i get an error "error while copying ***. There was an error copying the file into ftps://... Data connection closed." options are skip, skip all, cancel. [05:14] Just booted mate liveUSB and fail. Screen is munged viz. https://i.imgur.com/7POHfMZ.jpg Can you help? Never anyone in mate channel. :( [05:15] Same thing with adding mate-de to ubu 20.04 [05:17] HP probook born dec 2016, 8G ram [05:18] Whoa for just a sec it was good. Moved mouse and messed up. === fightthewalrus1 is now known as fightthewalrus [05:46] tripelb: ati graphics? === billybigrigger7 is now known as billybigrigger [06:06] some hw specs in needed, also driver [06:07] i have ubuntu 14 [06:07] how i upgrade to the latest [06:07] ? [06:16] warsoul: 14.04 is end of life [06:21] lol [06:21] upgrading now [06:21] do-release-upgrade === tripelb is now known as tripelHAL9000 === tripelHAL9000 is now known as tripelb [06:33] lotuspsychje, warsoul knows everything [06:33] :p [06:33] maybe he's upgrading to ESM for free [06:46] the latest version is 18? [06:48] warsoul, 20.04 is the latest... [06:49] can i upgrade from 14-16-18 to 20.04? [06:49] not yet iirc. [06:49] 20.04.1 in July, yes. now? nope. [06:49] !ltsupgrade [06:49] Regular upgrades from 18.04 LTS to 20.04 LTS will be enabled once 20.04.1 is released in late July. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [06:50] You can; it just doesn't do that by default [06:50] but you have been told this before warsoul [06:50] grinn [06:50] oh dear. [06:50] * warsoul pours a glass of whisky to oerheks [06:51] is there a way when i do apt-cache search package to show the version [06:52] what happens when you do apt-cache search? [06:53] sometimes the question contains the answer... [06:57] hey guys [06:58] i came accross this https://github.com/thiggy01/ubuntu-20.04-change-gdm-background , it is safe to use? i dont want to crash the install [07:02] i have thinkpad x250 and just installed 20.04, but i can't use fingerprint because "could not access any fingerprint readers". in 18.04 i can use it with fprintd [07:05] re [07:08] mnflshdq i have a x260, curious if i will have the same issue [07:09] and fyi i upgrade it from 18.04 not fresh install [07:09] /usr/bin/ld: cannot find -ltcl8.4 [07:09] /usr/bin/ld: cannot find -lieee [07:09] had this 2 issue installing a eggdrop [07:09] love this little thing. its life is inside a pelican case, but when its out, its in the elements, thrown around and slightly abused. Never skips a beat! [07:10] mnflshdq sudo add-apt-repository ppa:fingerprint/fingerprint-gui [07:11] then sudo apt get install fingerprint-gui [07:11] im just googling, not sure if you're already past this [07:12] mnflshdq https://askubuntu.com/questions/1231357/fingerprint-gui-not-installing-in-ubuntu-20-04 [07:12] repo is not working indeed [07:13] wyseguy yep, already tried it [07:13] * wyseguy moves slightly in front of screen that is downloading mint [07:14] mnflshdq k, let me dig a bit more [07:14] thanks, appreciate it [07:14] mnflshdq np [07:15] !info libfprint-2-2 [07:15] Package libfprint-2-2 does not exist in eoan [07:15] !info libfprint-2-2 focal [07:15] mnflshdq then again... it was just released :p typically with anything... windows, osx, linux, I wait a awhile for the bugs to be worked out. So report your QA on this when you figure it out :) [07:15] libfprint-2-2 (source: libfprint): async fingerprint library of fprint project, shared libraries. In component main, is optional. Version 1:1.90.1+tod1-0ubuntu4 (focal), package size 182 kB, installed size 633 kB [07:16] Hi, need an idea. How do i restart some services after openjdk is updated with apt update? [07:17] wyseguy will do [07:19] azidhaka, systemctl? Like systemctl restart your-service-name [07:19] mnflshdq it's discussed here: https://bugs.launchpad.net/ubuntu/+source/fprintd/+bug/1865824 [07:19] Launchpad bug 1865824 in fprintd (Ubuntu) "Upgrade to 20.04 removes saved fingerprints" [Low,Confirmed] [07:27] nagyg: that is clear, but i need an update of openjdk to trigger a restart for certain set of services [07:31] azidhaka, I see ... personally I'd set up a cron to monitor for example `java -version` or similar and set out from there .. if the output changes, then you can trigger what you want [07:37] needrestart package seems to be what i am looking for [07:41] What would be a good way to test hard drives on ubuntu 20.04? [07:51] hi, is it normal on a 18.04 for a apt dist-upgrade not doing anything ? Shouldn't it upgrade to 20.04 LTS ? [07:51] yes [07:51] !ltsupdate [07:51] !ltsupgrade [07:51] Regular upgrades from 18.04 LTS to 20.04 LTS will be enabled once 20.04.1 is released in late July. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [07:51] !ltsupdate [07:51] i would wait.. [07:52] thanks [07:52] so it's a 20.07 kinda ;) [08:02] u-mate 19.10 Do all sound cards have analog stereo duplex mode? I have no choice of analog stereo duplex in pulseaudio. I remember that there was an analog stereo duplex, but I don’t know why I don’t have it now. Analog stereo output - audio only. Analog stereo input - microphone only. + different outputs of multichannel sound - which give only sound. https://ibb.co/9NgCRw4 [08:06] Any ideas other than reinstalling the operating system? [08:08] With kernel 5.6.2 the same. [08:13] Hey guys, does anybody know how I can install nemo-share seahose-nemo for Ubuntu 20.04? any PPAs? [08:14] fcastillo, must be in the cinnamon ppa, i guess [08:15] not sure this is the good one, ppa:embrosyn/cinnamon [08:16] @oerheks do you know of one? all the ones I've found are only up to Cosmic if I'm lucky, usually only Xenial, nothing for Focal [08:17] search for ppa:embrosyn/cinnamon ?? [08:17] oh i see ,not for focal [08:19] that one had everything I needed but they only have up to Disco [08:19] I just moved from Bionic and used to use that PPA. I doubt it'll get updated, but I'm crossing my fingers [08:19] can I ask a question about shell scripting here? [08:19] webupd8 has only old versions too .. reask in the mint channels? [08:20] I want to check whether a file exist in current dir or a sub dir [08:20] if [ ! -f ".env" ] && [! -f "build/.env"]; then [08:20] but I got: "line 31: [!: command not found" [08:30] is there a known bug on network manager? the wifi speed links shows only 1MB/s [08:32] xplx, no? [08:32] state your ubuntu version, wireless adapter and driver? [08:38] ubuntu 20.04 Qca9565 , driver 5.4.0-28 [08:45] xplx: can you pastebin your dmesg please [08:45] its on other machine unfortunately [08:46] but i will try [08:47] echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf and some more steps https://forums.linuxmint.com/viewtopic.php?t=304393 === Guest666 is now known as beaver [09:52] hey my ubuntu screen got titled on laptop and hence can't use mouse, is there a cmd to tilt is straight [09:52] the sensors are not working on laptop to tilt it straight back up... [09:53] someone tilt my screen straight [09:53] Why is Ubuntu so.... [09:53] Canonical [09:53] !discuss | stephpdale [09:53] stephpdale: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [10:15] sudo udisksctl power-off -p drives/ [10:15] drives/SanDisk_SD8SNAT_128G_1006_162288423966 drives/WDC_WD10JPVX_60JC3T0_WD_WX31A664T1N7 [10:15] where is this drives/ folder [10:16] drives autocompletes somehow [10:19] question, i was trying to install version 2.4.18 of Apache with "sudo apt-get install apache2=2.4.18" but no use [10:19] how can i do that ? [10:20] zenix_2k2, on what ubuntu version? [10:21] oerheks: 20.04 Desktop (64-bit) [10:21] for xenial, just apt-get install apache2 would do.. [10:21] Good morning. What is proper way to upgrade from 18.04.4 LTS to 20.04 LTS? I have following error: https://paste.ubuntu.com/p/BD9RgggPJg/ [10:21] no, that old apache2 is only available for 16.04 [10:22] !ltsupgrade | WinterNight [10:22] WinterNight: Regular upgrades from 18.04 LTS to 20.04 LTS will be enabled once 20.04.1 is released in late July. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [10:23] focal gives 2.4.41 https://launchpad.net/ubuntu/focal/+source/apache2 [10:24] oerheks: HHm, can i downgrade to 16.04 from 20.04 ? [10:24] where is the drives folder in /sys/block/ oerheks [10:24] sudo udisksctl power-off -p drives/ [10:24] drives/SanDisk_SD8SNAT_128G_1006_162288423966 drives/WDC_WD10JPVX_60JC3T0_WD_WX31A664T1N7 [10:25] zenix_2k2, no, reinstall .. not sure why you want that apache2 version, run 16.04 in KVM perhaps? [10:25] oerheks: i am just doing some security researches [10:25] ok then [10:25] Thank You Very Much ubottu and oerheks . [10:26] kvm/virt-manager are good tools for that [10:27] does Ubuntu manpage get rid of all of the old versions ? [10:28] i can't find 16 [10:41] Howdy all [10:45] hey folks [10:46] when I run sudo apt update I run into 404s. what do I do best? this is a disco dingo docker image [10:48] disco ... time to create a new docker, disco is EOL, dead [10:48] !disco [10:48] Ubuntu 19.04 (Disco Dingo) was the 30th release of Ubuntu, support ended January 2020. see !eol and https://lists.ubuntu.com/archives/ubuntu-security-announce/2020-January/005263.html [10:48] !eol | Yatekii [10:48] Yatekii: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [10:50] I just installed Ubuntu 20.04 on my laptop which I'm using as a media player connected to my HDTV. I can disable the laptop screen via xrandr but anytime I turn off my TV it auto switches back to the laptop screen. I'd like to just always leave the laptop screen off. Anybody know how i can achieve this? [10:50] yeah I mean that's a reason to just kill repositories ... because ofc all the packages in it wont work anymore after the due date ... magically ... great ... [10:50] thanks for the quick answers =) [10:50] hi [10:51] https://paste.ubuntu.com/p/NGgg52p8vz/ [10:51] sudo apt-get -f install [10:52] line #35 and #36 are your concern, also #50 no space left on the device ?? [10:53] is it mounted read-only due to a dirty filesystem? [10:53] how can i delete unnecessary files? [10:54] that log gice the answer; autoremove [10:54] c/give [10:54] how ? [10:54] but you might have other issues, read obnly filesystem? [10:55] run a filecheck; fsck.ext4 -p /dev/sdXY >> https://help.ubuntu.com/community/FilesystemTroubleshooting [10:55] I have no idea [10:55] fsck.ext4: No such file or directory while trying to open /dev/sdXY [10:55] you need to fill in XY, we don't know [10:56] 'mount' will tell more about partitions and how they are mounted [11:02] oerheks: https://paste.ubuntu.com/p/GMQ4v2CWQH/ [11:02] this my hdd [11:08] ubuntutr: so you either deleted some data just before you posted this, recovering ~3 GB space, or it's actually not lack of disk space but lack of inodes (run: df -hi) [11:09] https://paste.ubuntu.com/p/fcBdnx7WGx/ [11:09] you're out of inodes on the file system mounted at / [11:11] how can i empty ? [11:11] Can I see which file is using how much? ? [11:11] or app [11:11] not easily from what ii remember [11:12] i suggest you manually delete some old files you no longer need from /tmp/ or /var/tmp/ or /boot/ (such as old kernel images) [11:13] https://paste.ubuntu.com/p/NGgg52p8vz/ lists many old kernel images you can safely delete manually first, then later using apt [11:14] this tells you where inodes are being used: sudo find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -nr [11:15] Is there anything funky with remote imap login to gmail that happened in the past couple of hours? I fetch my email from various gmail accounts to my local setup and now my Ruby script (that has been working flawlessly every minute for more than 10 years) return Net::IMAP::NoResponseError ( Invalid credentials (Failure)) on all accounts (and I can log in with those exact credentials via gmail in the browser) [11:15] Or is there something strange in Ubuntu that got triggered just now? [11:17] isene: google disabled 'less secure authentication' apparently. not an ubuntu issue. [11:23] https://paste.ubuntu.com/p/p8mTn3QxmF/ [11:24] what is this :/ [11:32] ubuntutr: after regaining some inodes, you can run sudo dpkg --configure -a [11:32] tomreyn: wtf? Any link on this and how to solve it for my script? [11:33] tomreyn: i use reboot [11:33] now not work vps [11:33] ubuntutr: "not work" how? [11:33] does not start [11:33] i use putty [11:34] ubuntutr: the error you shared doesn't match "does not start". [11:34] sorry start :) [11:34] because that's an apt error, not a "does not start" error [11:35] isene: maybe it's just a temporary outage on their end. gmail supports two different authentication methods, the proper imap / pop3 (in-protocol) authentication, which they call "less ecure apps", and their own web based authentication which they consider to be stronger and preferred. thunderbird supports both. your perl scripts probably don't. [11:36] Could not read "conf/opers.conf" [11:36] why doesn't he read this(er? [11:36] "less secure apps" [11:40] tomreyn: And now all of a sudden it works :-/ [11:40] How could changing world permissions to 0 for bin, etc and dev folders could crash the terminal? [11:41] isene: also still off topic [11:42] amts01: deleting everything on your disk might, too. why does this come as a surprise? [11:43] I changed only world permissions to dev, etc and bin to 0 and retained the rest [11:45] the files in /usr/bin are usually root:root owned. if you set the "other" bit to 0 then you prevent anyone but root from executing them [11:46] i assume (hope) you're not running your (graphical?) terminal as root, so it would be affected by this. [11:49] I thought it was sbin for root, yes I was running terminal in GUI as root and changed other perissions to 0 [11:50] I didn't change ownerships, I used chmod 750 and 770 for etc, dev and bin [11:51] for the most part, running graphical applications as root is not a good thing. [11:52] fixed [11:53] Is this a normal boot? My boot takes ~1 minute (on HDD) http://i.imgur.com/oGLN849.png [11:54] Hamilton: doesnt look to bad to me for a spinner [11:54] Hamilton: wich ubuntu release are you on? [11:54] 18.04 (Xubuntu + i3) [11:54] Was the terminal launched per ctrl+alt+T a graphical app and there is another nongraphical terminal somewhere? [11:55] !tty | amts01 [11:55] amts01: To get to the TTY terminals 3-6, use the keystroke Ctrl + Alt + F3-F6 respectively. Ctrl-Alt-F2 or Ctrl-Alt-F1 will get you back to your graphical login (Ctrl-Alt-F7 on 16.04). To change TTY resolution, see https://help.ubuntu.com/community/ChangeTTYResolution [11:55] lotuspsychje, dev-sda6 is for mounting the ubuntu partition right? === revosftw6 is now known as revosftw [11:56] Hamilton: what you can do is install preload, haveged, disable unwanted startup items and tweak unneeded systemd services [11:58] lotuspsychje, so its not normal... [11:58] Hamilton: thats not what i said no [11:58] tomreyn: Is there a way to get to root from a CD or USB installed app? [11:59] lotuspsychje, I'm not even using a DE...what unwanted process could be among them? apt-service and snapd is needed I think [11:59] I wouldn't ever think Ubuntu's design would be so defective [12:00] As for root there is a separate folder, so why not store anything related to root in it [12:02] amts01: that's not what i call defective. i think the problem here was introduced by a not sufficiently experienced user making changes. you can boot a different system, then become root there and mount the original installations' file system and apply changes as needed. [12:02] Hamilton: there are i3 lovers that install i3 with ubuntu server as base, maybe that will go smoother then xubuntu [12:03] lotuspsychje, well I use some xfce apps like thunar and I intend to use it as a backup DE if somehow something breaks or someone wants to use the machine [12:04] thats the users choice Hamilton [12:04] lotuspsychje, What does apt-service daily actually do? [12:05] *apt-daily-upgrade.service [12:05] This may apply, but if I as a regular user was using it from a user group why this registered in that PC user group is handled as "other" by bin? [12:06] amts01: because that's how the permissions system works: if you're not operating as a user owning or a member of the group owning the file, then you're "other" [12:08] Hamilton: pastebin: systemd-analyze critical-chain , please [12:09] amts01: getting back to your earlier statement / question: binaries in sbin directories are usually mean to be only run by the superuser (root), not by other users (but even there it's not likely that it's safe to withdraw the permissions of 'others'). however, those in 'bin' directories would usually need to be executable for others as well. [12:10] lotuspsychje, https://termbin.com/wh5o [12:11] I just installed Ubuntu 20.04 on my laptop which I'm using as a media player connected to my HDTV. I can disable the laptop screen via xrandr but anytime I turn off my TV it auto switches back to the laptop screen. I'd like to just always leave the laptop screen off. Anybody know how i can achieve this? [12:12] Wescotte: a custom xorg.conf may work there [12:13] https://wiki.ubuntu.com/X/Config [12:13] Hamilton: graphical target seems rather long load [12:13] Wescotte: this wiki page is very old, a lot has changed around X since, but way less in X itself. [12:14] Wescotte: (but you may still want to look for more current documentation.) you'd place your custom xorg.conf it in /etc/X11/ [12:14] Hamilton: are you using conky? [12:15] lotuspsychje, no. So it takes ~40 sec to reach X? [12:15] Hamilton: its your system, does it? [12:16] lotuspsychje, I'm not sure. After plymouth it provides the login screen and after entering the password it takes ~10 sec [12:16] Hamilton: on xubuntu? [12:16] lotuspsychje, yes (but i3 session) === anon is now known as Guest71691 [12:17] tomreyn:"need to be executable for others as well" should = for other registered groups (non-networking), and I was such group as home user [12:18] Hamilton: i still think you need to make a choice, if you want to benefit the speed of i3 install it on server, if you want to use several DE's your system might boot longer, and more tweakings are needed [12:18] amts01: can you say this differently? i'm not sure i get it. [12:18] Hamilton: you also have snapd, wich doesnt help much on a spinner [12:20] tomreyn: Sorry (just didn't know initially if it was off-topic) [12:23] After changing 750 mode to bin in root I didn't exit the terminal. And even if I opened other terminals as desktop user, why this user group should be detected as "other" by bin? [12:23] isene: the part where you're asking questions about using software provided with ubuntu is fine, just when it comes to problems with 3rd party services which are rooted on their end then it's something this channel is not the right place for. [12:24] tomreyn: Is there an easy way to generate an xorg.conf based on your current settings? [12:24] In chmod permissions are user:group:world and I didn't change group permissions in this command. [12:26] Wescotte: Xorg --configure while X is not running is what i read [12:26] tomreyn: it still seems more like an insufficiently deep thinking on Ubuntu design manifesting as insufficient handling of root's feedbacking on itself. [12:28] Hi, I woke up my computer from suspension and the following appeared in dmesg: https://paste.ubuntu.com/p/3FZbNrCxND/ [12:28] I have a 10 year old laptop running a very old linux mint install (2014 or 2016 something like that), I ill reinstall ubuntu 20.4 on it, but i as wondering if i need xubuntu or lubuntu instead ? (Intel Core i5-430M 2,26GHz, 4Gb RAM). This laptop is used as a video player for a projector [12:28] It seems everything is normal, bug that messages have both BUG and "Fixing recursive fault but reboot is needed!" [12:29] tomreyn: I was then as one of the groups for which permissions as represented by chmod format were not changed [12:29] chapalyn: ask yourself, what other applications do you use and if you like GTK or QT. [12:29] amts01: this design isn't Ubuntu's innovation but has been used on every Unix-like system since the 1970ies. it has its limitations and is not perfect, but it's still better than that of other OSes. anyways, this is becoming more of a discussion now, which this channel is not suited for - we could continue in #ubuntu-discuss for a bit (but i really recommend reading up on the permissions system and its design first of all, this has worked well [12:29] for many, many people for a long time) [12:31] tomreyn: Can I boot from an installation CD in demo mode and chmod from there? [12:32] chapalyn: 4 GB RAM is the minimum requirement for the gnome-shell based ubuntu desktop. if you'll run a desktop on this system, i'd suggest installing more ram or switching to one of the other flavours you mentioned. [12:32] tomreyn: As before install there was an option "Try Ubuntu" I could boot from there and access the affected folders' permissions? [12:32] olegb i prefer gtk (qt is what you get with KDE right ?), and it will primary run VLC and firefox for netflix, but this laptop will be on all the time, so i was wondering if just running the desktop ill be a bit too much [12:32] amts01: as i stated previously: you can boot a different system, then become root there and mount the original installations' file system and apply changes as needed. [12:32] hi guys [12:32] https://ask.openstack.org/en/question/127356/after-a-hard-reboot-of-nodes-network-is-not-starting/ [12:33] i need some openstack help with the ubuntu flavor [12:33] tomreyn ok thanks (I'm wondering if I actually increased the ram to 8gb, since it was a gaming computer, bu i need to check), thanks ! [12:33] amts01: the ubuntu installer / live system is such a 'different system' [12:33] can you point me in the right direction? [12:33] chapalyn: then, since xubuntu is GTK-based i would start there. [12:34] https://ubuntucommunity.s3.dualstack.us-east-2.amazonaws.com/optimized/2X/8/88e54cbd508bbe576cbf4484f7cb48c8f6ec34ad_2_690x467.png i guess this one didn't went out ok [12:34] Eryn_1983_FL: maybe try #ubuntu-server, but i would think you'll probably want commercial support for openstack. [12:34] tomreyn" by "boot" you mean booting from a CD or USB a different system? [12:34] lol [12:34] yeah nobdy pays for shit at office.. [12:36] amts01: yes, for example. boot into some other system which is compatible to your ubuntu installation, just not the system you broke there, since it may no longer boot. [12:37] I just realised that the last release is called Focal Fossa, I remember installing Feisty Fawn, I feel old now [12:37] tomreyn: An Ubuntu 20.04 CD installer would be ok for thi [12:37] amts01: yes, probably. i'm not able to guide you there, though. [12:41] By the way, I would like to do a clean install, but how can i keep my /home here my files are but at the same time removing all the settings that are in /home (my /home is in a separate partition) [12:44] chapalyn: if you think your overall ubuntu installation is still fine, then i'd just boot to recovery and move the home directory out of the way and create a blank, new one, boot to the desktop and cherry pick files from the old directory to the newly created one. [12:45] chapalyn: if you'd actually like to install a newer or the same ubuntu version from scratch then you can do the above (to clean up your home) but also do the installation, with custom partitioning, re-using the existing home directory and select not to format it [12:47] Ok thank you i see [12:47] chapalyn: there *may* also be a reinstall option on the installer: https://www.fosslinux.com/2920/how-to-reinstall-ubuntu-by-keep-your-data-safe-in-event-of-system-failure.htm [12:48] chapalyn: generally, with this kind of operation, i always recommend ensuring that you have current, complete, proven restorable backups in place. [12:49] but since I ill switch from a linux mint from 2014 to a xubuntu 20.04, maybe it's better to just clean up the crap (i have a bit too much of software that is not going cleanly through the nice repositories now) [12:52] tomreyn: Why should I mount the file system from another OS and can't just access the affected filesand change permissions for them from Ubuntu live cd? [12:55] amts01: i think you just described the identical approach in two different way. [12:55] *ways [12:57] tomreyn: Yes, probably [12:57] ca_cabo / ca_cabot / ca_cabotage: how many nicks do you need there? [12:58] amts01: i.e. I think you can "access the affected files and change permissions for them from Ubuntu live cd" (by mounting the existing file system of your standard (on-disk) installation). [13:05] Hi there [13:06] is there a way to hide the window title bar in ubuntu 20.04? I've installed gnome tweaks but there no such option [13:07] there's * [13:07] steevec: find in gnome extensions [13:07] tomreyn: Roger that [13:10] Hi all friends! [13:11] hi [13:11] steevec, call 'hide top bar' web gnome extensions [13:11] zvrk: you're true… but it looks not working [13:11] by the it is activated, I don't know why it doesn't work [13:12] it previously work on 18.04 [13:12] steevec, working here [13:12] OK, it should be something on my setup then [13:12] Hide top bar works, but No title bar doesn't === Mapianka is now known as MapMan [13:16] steevec, dash to dock [13:16] when does the 20.04 upgrade get offered to 18.04 installs? is it around the 20.04.1 release? just curious, i'm not looking to upgrade one of my systems just yet. [13:17] !ltsupgrade | ThinkT510 [13:17] ThinkT510: Regular upgrades from 18.04 LTS to 20.04 LTS will be enabled once 20.04.1 is released in late July. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [13:18] lotuspsychje: excellent, looks like my memory works. thanks [13:25] I've got a question about `crypto-policies` packages in Focal. Has anyone played already with it? [13:27] Morning all. I have an openshot question. Why is my imported video rotated 90 degrees ccw but if I watch it before importing it is not? [13:28] JuJUBee: what player are you watching it in? perhaps that automatically adjusts the rotation? [13:30] VLC [13:31] ThinkT510, even if I upload to YouTube before OS, it is not rotated. [13:35] have a Ubuntu 20.04 that has teamviewer installed on it and want to reinstall it, if i reinstall teamviewer while it has a remote session running will i loose the connection to the pc? was in the middle of some support... [13:51] so I just upgraded to 20.04 and my gnome user themes aren't working. anyone else run into this? [14:02] Hello. How can I make a jack audio channel appear as system "mic in" to be used by the browser for WebRTC? [14:02] (Ubuntu 18.04 LTS) === fightthewalrus1 is now known as fightthewalrus [14:11] hi I'm in serious poo. My remmina RDP connection to WinServer is scrambling mouse and keyboard input [14:12] when I double click, it rght-clicks [14:12] i can type enter and numbers. No letters [14:12] tried rebooting, uninstalling, reinstalling remmina [14:12] recreating rdp connection. rebooting winserver. Nothing === fightthewalrus1 is now known as fightthewalrus [14:33] hi [14:33] how do I increase the size of date volume/battery icon on Ubuntu 20.04? [14:36] how do I increase the size of date volume/battery icon on Ubuntu 20.04? [14:37] dont repeat too fast please drfeelgooduj [14:37] but people are not helping :( [14:37] patience is golden drfeelgooduj when volunteers know, they will answer [14:38] Thank you [14:41] whats up everybody. anybody know how i can change the options in /etc/resov.conf file and make them permanent? [14:41] !resolvconf [14:41] resolvconf is a set of scripts that's used to manage /etc/resolv.conf in 12.04 and later, for more information please see: http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/ and https://help.ubuntu.com/lts/serverguide/network-configuration.html#name-resolution [14:43] sleepee: that's more complicated than you think, depends what you mean by "permanent" [14:44] thanks ThinkT510! i don't have resolvconf installed, so i was assuming there was another way to edit that file without installing it. [14:44] drfeelgooduj: depends which icons which desktop environment etc. Is your general problem that you have a hires/hidpi screen? [14:46] No normal screen not hires or hidpi [14:46] drfeelgooduj: and which desktop environment? [14:46] Gnome [14:46] Walex: Well, i want the changes I make to the file to survive a reboot. Right now, I can change the file, but they get overwritten after a reboot. [14:46] drfeelgooduj: BTW on a normal res screen it should not be too small. [14:47] well [14:47] drfeelgooduj: the main way would be to edit the JS/CSS code that defines the GNOME3 panel in which that icon is embedded... But that's a bit complicated. [14:48] After installing gnome tweak and increasing scaling factor it works BUT the top dock with time and date is small on default [14:48] drfeelgooduj: another way would be for you to ensure that you have a scalable icon set. [14:48] drfeelgooduj: have you also tried to right click on it and in its settings/properties changed the font? [14:49] drfeelgooduj: BTW I only use GNOME occasionally, and ther is a channel for GNOME UI specific questions they may know better than here. [14:49] thanks [14:50] btw is there a way to remove ipv6 disable it using the grub edit? [14:51] drfeelgooduj: probably if you blacklist the main IPv6 module, but can't remember how. Disabling IPv6 is best done at the Linux system level not the kernel settings one. [14:53] Linux system level you mean using the network gui > IPV6 Ignore? [14:57] drfeelgooduj: That's one way. BTW this page says it can bve done on as a kernel parameter: ipv6.disable=1 but I prefer the other way using 'sysctl'. === Guest666 is now known as beaver === revosftw9 is now known as revosftw [15:13] Why these emojis are not in color? (FF on Ubuntu 18.04) http://i.imgur.com/T3OgrNX.png [15:21] hi, i downloaded bluegriffon debian package from official website, then i used the command "sudo dpkg -i " to install [15:21] Hi all! I've got some questions on gnutls and openssl. I wanted to fix the problem of Evolution which cannot access the Exchange server with TLS v1.0/1.1 and installed new package `crypto-policies`. I followed the man pages, but after several sets and reboots I cannot apply LEGACY policies on the system. Seems that it cannot correctly apply them even under superuser. Then I removed the packages and cleaned all the policy configs. How can I be sure [15:21] that GnuTLS and OpenSSL now work as before installation? [15:21] i got the following output and stops [15:21] XPCOMGlueLoad error for file /opt/bluegriffon/liblgpllibs.so: [15:21] Couldn't load XPCOM. [15:22] Ravisankar: not such a good idea... Not all packages are compatible with all Debian and Ubuntu versions. [15:22] ok, how to install bluegriffon in my ubuntu 16.04 [15:23] standeronore: in recent GNU TLS and SSL versions the legacy crypto etc. has been completely disabled IIRC. [15:24] standeronore: as to making sure it workd before installing 'crypto-policies' you can used 'debsums -c' to check that the TLS/SSL package configuration files are the same as when installed, else reinstall. === negronjl is now known as negronjl_away [15:28] @Walex is there any other way to install the software? [15:29] Ravisankar, you don't need to install it ; you have the standalone version available . Have you seen this ? : http://bluegriffon.org/freshmeat/3.0/ (the tar.gz not the beb) [15:29] *deb [15:30] @ioria thank you... so i just need to extract and run the application.. am I right? [15:30] yep [15:31] @ioria thank you... [15:31] ok [15:38] Has anyone here experienced wifi problems when running ubuntu? I just got it installed yesterday. I believe that my computers wifi hardware is not supported by ubuntu. I followed some instructions and tried to run some commands to get the "newest Realtek wifi codes", tried following along to a few videos, but so far nothing has worked. I believe I [15:38] am using ubuntu 20.04 [15:40] DeskLampChamp: connected using that computer now? [15:41] jeremy31: I am talking to you guys on a different computer right now, I am currently connected to the internet on my ubuntu PC with a LAN connection [15:42] DeskLampChamp: on the Ubuntu machine, run in terminal> lspci -nnk | grep -iA3 net [15:42] DeskLampChamp: post the numbers inside the [ ] for the wireless device === negronjl_away is now known as negronjl === negronjl is now known as negronjl_away [15:44] how to change login screen background in ubuntu 20.04, there is no selection like 18.04 [15:45] jeremy31: I am seeing a few different numbers inside [ ], ethernet controller, network controller, do you know which one of these is the right one? also thank you for the help [15:47] found my answer in gnome tweak [15:47] DeskLampChamp: Just type the ones that the first 4 digits are 10ec [15:47] is it just me or does 20.04 take a significantly longer time to boot than 18 [15:48] jeremy31: alright, there is a 10ec:8168, there is also a 10ec:c821 a little further down the line [15:49] DeskLampChamp: If that machine is connected, in terminal do> sudo apt update && sudo apt install rtl8821ce-dkms [15:49] DeskLampChamp: If it is UEFI install, Secure Boot needs to be disabled [15:50] jeremy31: One of the instructions i followed last night had me disable secure boot, but when it didnt work, I went back in and re enabled it. Would you suggest disabling ti again before running that command? [15:51] DeskLampChamp: I don't think it matters along as Secure Boot gets disabled [15:54] jeremy31: i need to disabel secure boot and try again [15:55] DeskLampChamp: You should also check in terminal> rfkill list # see if anything shows as blocked [15:56] Anybody have a sudoers config which will allow a command with or without any command arguements? Eg `sudo su foo` and `sudo su -l foo` should both work. [15:57] jwr: BTW 'sudo su -l USER' is pointless you can do 'sudo -u USER' [15:58] my audio out keeps switching to my microphon's headphone jack (which I never use). How can change the default audio device to Line Out [15:59] jeremy31: i got the following message when running that first command: [15:59] jeremy31: Your system has UEFI Secure Boot enabled. [15:59] │ [15:59] │ [15:59] │ [15:59] not be usable. [16:00] Walex: it may be pointless, but if possible i'd still like to allow it. if possible i don't want users to need to change their behavior. [16:00] DeskLampChamp: Disable it when you reboot [16:00] jeremy31:got it, sorry for all the dumbed down questions i am a beginner [16:01] RoseBus: that's probably a PulseAudio question === negronjl_away is now known as negronjl === negronjl is now known as negronjl_away [16:08] Walex Thx. I decided to `apt install --reinstall` gnutls-bin and openssl. Will that restore all the configs? [16:09] jeremy31: alright i ran the sudo apt update && sudo apt install rtl8821ce-dkms, It seemed to work but I am unsure of what it did [16:09] jeremy31: should i run that other rfkill list command? [16:13] DeskLampChamp: Did you reboot? [16:13] jeremy31: I need to reboot after running the >sudo apt update && sudo apt install rtl8821ce-dkms [16:13] jeremy31:? === negronjl_away is now known as negronjl === negronjl is now known as negronjl_away [16:17] DeskLampChamp: yes [16:19] jeremy31: alright just did. I am not seeing any wifi options in my user interface now. still just shows wired options under network [16:19] DeskLampChamp: what does this command show in terminal> mokutil --sb-state [16:20] What is ubuntu's default monospace font? What did I mess with here ? v [16:20] http://i.imgur.com/WC1tc1u.png [16:20] jeremy31: it said secure boot disabled [16:21] DeskLampChamp: what about> lsmod | grep 8723 [16:22] jeremy31: nothing came up [16:22] DeskLampChamp: how about> dkms status [16:24] jeremy31: rtl8821ce, 5.5.2.1, 5.4.0-28-generic, x86_64: installed [16:25] how can i create a desktop notification with an action button? i know there is "zenity" and "notify-send" but neither of them have the option for a button from what i can find [16:25] DeskLampChamp: >lsmod | grep 8821 [16:25] i've almost managed to do it manually with gdbus send, there's even a clickable button, i just cannot figure out how to make gdbus wait and listen for the reply [16:26] jeremy31:rtl8821ce 1794048 0 [16:26] jeremy31: the 8821s were highlighted in red [16:28] Hello guys. Is anyone having issued with blueman? it is crashing oftenly and also sometimes it does disconnect my wi.fi [16:29] https://postimg.cc/9zj0TZ9W this is what im getting mostly from the reports [16:31] DeskLampChamp: does this command show any block: yes > rfkill list [16:31] shaban238: If you are using 20.04, file a bug report [16:31] Oh god [16:31] anden: ideally, by using DBus through some other programming language that is not a shellscript [16:32] I'm not sure what'll happen if you run that, but it probably won't be good [16:33] Andrio: are you talking to me ? about the rfkill list? [16:33] jeremy31 ok i will do it [16:33] `yes > rfkill list` [16:33] DeskLampChamp: what results under wifi for> rfkill list [16:33] anden: desktop notification actions are delivered as DBus signals, with no actual relationship to the original call... so you can't have the same `gdbus call` invocation wait for them [16:34] i see, that's unfortunate. i was hoping i could spawn desktop notifications with an action button from my bash script while not depending on too much middleware [16:34] preferrably i would like to do it with the preinstalled programs of my OS [16:34] well, is python-dbus not preinstalled [16:34] i have managed to do it with a python script called notify-send.py, but then i had to install a bunch of things [16:35] i never claimed to use python-dbus? [16:35] i can paste the commands i have had the most success with (using only preinstalled software) [16:35] jeremy31: nothing came up with rfkill list, i tried the yes > rfkill list, it semmed to be running something, but i quit out of it becuase Andrio said it might not be good [16:35] then I think you should start using python-dbus [16:35] did they mean `yes | rfkill list`? [16:36] DeskLampChamp: please connect to chat using the problem computer [16:36] oh my bad, i must have misread what you said [16:36] Andrio: I think they meant just running `rfkill list` alone and looking at the output [16:36] python-dbus as a command does not exist on my current setup [16:36] jeremy31: okay will do [16:37] anden: it's a python module (run `python2` or `python3` and run "import dbus") and as far as non-shell methods go, I think it's the closest programming language to a standard Ubuntu system [16:37] i see [16:38] I've seen this sort of thing done through "pure shell" (which is to say, a bunch of existing tools glued together with grep and subshells), but... it's *really* ugly [16:39] though I guess some of my worries don't apply to interactive notifications (e.g. missing a signal because the monitor process started too late) [16:39] Ummm... Why did Gnome suddenly make workspace switching on both my displays, instead of just the one.... [16:39] what i don't get though is how zenity seems to have support for action buttons, and you can kinda use that switch for desktop notifications, but the command just terminates immediately and never waits for the user response [16:39] dunno if that's a bug in zenity or whatever [16:39] hm? which zenity option are you talking about [16:40] i'll have to find it again, give me a min [16:40] hm [16:40] tbh, zenity and notifications have different use cases, I'm not sure which one to prefer since I don't know what your script does in general [16:40] maybe i misremember, but the fact is that if you spawn a notification with zenity, it creates one with a button [16:41] "do default action" [16:41] jeremy31: I am back [16:41] i.e. `zenity --notification --text test` [16:41] jeremy31: on my computer that i am having the issues with [16:41] ah, that's the first time I've seen zenity --notification [16:41] right [16:41] I assumed you were using it for regular dialogs [16:41] DeskLampChamp: run the 2 commands at https://gist.github.com/jeremyb31/a2bee9856d8c13f42f1835bc31bf9480 and post the termbin.com URL after the second command is run [16:41] Psi-Jack: gsettings set org.gnome.shell.overrides workspaces-only-on-primary true [16:42] those work fine, and i guess i could use them and move them to the upper right corner and not make them grab focus somehow, but i'd rather not :D [16:42] grawity: Huh.. Why did that change to false in the first place? :/ [16:42] ¯\_(ツ)_/¯ [16:42] did it actually work? [16:42] That had to be a recent update. [16:43] Hmm, I gotta restart gnome-shell after that change to verify I think. [16:43] But, it WAS manually set to false by something. [16:43] but yeah i suppose i could study python (i should learn it anyway) and try to build something with python-dbus [16:43] seems like the most viable option.. [16:44] grawity: Hmmm.. [16:44] It's.. Still doing both displays. [16:45] jeremy31: Post the termbin.com link into the chat? [16:45] DeskLampChamp: Yes just the URL from terminal [16:45] jeremy31: https://termbin.com/q729 [16:46] Ahh, doing it via dconf didn't work. [16:46] Ahhhhhh... === beaver is now known as beaver|test [16:46] grawity: settings set org.gnome.mutter workspaces-only-on-primary true [16:46] mutter... [16:46] jeremy31: you can understand that stuff lol? [16:46] DeskLampChamp: URL for> dkms status | nc termbin.com 9999 [16:47] jeremy31: https://termbin.com/3u58 [16:47] Psi-Jack: the odd thing then is that gnome-shell (assuming you actually meant gnome-shell) isn't honoring the overrides [16:48] oh yeah you did mention you're using gnome-shell [16:48] org.gnome.mutter worked. org.gnome.shell.overrides did not./ [16:48] DeskLampChamp: URL> ls | grep iwlwifi | nc termbin.com 9999 [16:49] Hmmm. I did say Gnome. [16:49] jeremy31: nothing came up on that last one [16:49] DeskLampChamp: URL> ls | nc termbin.com 9999 [16:50] jeremy31: https://termbin.com/ygza [16:54] DeskLampChamp: Where did you get the iwlwifi backports from? [16:55] jeremy31: not sure, I did a couple of different things [16:55] let me find the tutorial i used [16:56] probably this one jeremy31 https://launchpad.net/~canonical-hwe-team/+archive/ubuntu/backport-iwlwifi [16:56] oerheks: But the dkms isn't used [16:56] jeremy31: http://ubuntuhandbook.org/index.php/2018/08/no-wifi-adapter-found-hp-laptops-ubuntu-18-04/ [16:57] i also followed this video before trying that: [16:57] ppa gives for focal 'newer version available' [16:58] DeskLampChamp: URL for> ls /usr/src/ | nc termbin.com 9999 [16:59] jeremy31:https://termbin.com/p2q7 [17:00] DeskLampChamp: ls /var/lib/dkms | nc termbin.com 9999 [17:02] jeremy31: https://termbin.com/o3v5 [17:03] DeskLampChamp: try> cd /usr/src/backport-iwlwifi && sudo make uninstall [17:05] jeremy31: Your backported driver modules should be uninstalled now.Reboot. [17:05] jeremy31: guess ill reboot now [17:06] DeskLampChamp: aweesome [17:10] jeremy31: I am back [17:10] DeskLampChamp: on wifi? [17:17] @zen_code you have to make sure that there's space after your second brackets [17:18] jeremy31: It WORKED! [17:18] DeskLampChamp: connection issues? [17:18] jeremy31: you are the best man, thank you so much [17:19] DeskLampChamp: Good [17:19] jeremy31: i dont think so? i connected to it, for some reason it wouldnt let me use the same nickname when on wifi so i had to go back to wired to give my thanks [17:19] DeskLampChamp: The other nick may not have timed out yet [17:20] jeremy31: do you have any advice for me on getting started with ubuntu? Is there cool stuff that windows doesnt offer? [17:21] DeskLampChamp: /join #ubuntu-discuss and people might have some ideas [17:22] jeremy31: alright man, will do. Thank you again so much for taking time out of your day to help me out. You should change your name to LinuxChamp [17:23] !cookie | jeremy31 [17:23] jeremy31: Wow! You're such a great helper, you deserve a cookie! [17:25] jeremy31: are you an IT professional? you are way more knowledgeable than any one at my company [17:26] some say ubuntu members are it-pro [17:26] just does not get paid by Canonical :-P [17:27] <_alx_> how many files can I have in a folder before I start to notice a slowdown in reading/writing [17:27] you guys are life savers, this was not the first time someone came to the rescue for me. Thank you again to this community. I will talk to you guys later [17:27] <_alx_> 2,000? 20,000? 200,000? [17:28] depends on filesystem type (ext4? ext2? fat16? xfs?) [17:28] _alx_: and file system configuration, too [17:28] also, by 'reading/writing' do you mean just changing an existing file, or do you mean adding/removing/renaming files? [17:29] <_alx_> grawity: ext4 [17:29] <_alx_> tomreyn: it's a headless server, what do you need to know to make that determination? [17:29] <_alx_> grawity: adding, removing, editing, renaming, … everything [17:30] I asked because some of those operations aren't affected by directory size in the first place [17:30] _alx_: I would not put more than around 10,000 files per directory, but in some cases it can be way more. It makes a big difference if the files are enumerated only or also opened/stat'ed [17:31] (that is, the name lookup happens on open(), it is not repeated for every single read/write on an open file) [17:31] now i'm trying to remember what's the largest directory I have around [17:31] <_alx_> Walex: every file is a zip archive that can be anywhere from 4KB to 28GB, I have millions of these zip files and i'm working out a scheme to store them by hex codes in recursive folders ie: 00/1A/FF/archive-90817298.zip [17:34] <_alx_> of note, this is also publicly accessible, so it's a media folder === negronjl_away is now known as negronjl === negronjl is now known as negronjl_away [17:36] for ext4 I'd expect it to be somewhere between 20k and 100k per directory, tbh [17:37] <_alx_> grawity: thank you, i'll limit each folder to 10k just to be safe [17:37] I lied, it's still fast at 100k here [17:37] <_alx_> i'm surprised nobody asked what this project is :) [17:37] do I want to know? [17:37] <_alx_> it's fine, public domain [17:37] <_alx_> each zip is a book from 1420-1900 [17:38] also, I think I remember a post with Linus explaining how he chose the hashing depth for .git/objects/ somewhere [17:38] and apparently having too many levels can also make things worse [17:38] <_alx_> oh really? [17:38] <_alx_> damn… [17:39] anyway, I dunno, I'm not an expert at this [17:39] but one more thing, does your system plan on going through the entire directory often? [17:39] or is it just looking up specific files with known names? [17:39] <_alx_> grawity: known names, the full path is in the db [17:40] good, that's going to be fast anyway [17:40] <_alx_> they're deflated zips so I can render specific pages in the browser [17:41] <_alx_> all free, all public domain :) === skookum8 is now known as skookum [17:42] <_alx_> maybe google books will want to add these to their repertoire === negronjl_away is now known as negronjl [17:45] from my quick poking around with ext4 on an SSD, 100k files per directory is just fine... but eh, I haven't worked with that much data in production [17:50] _alx_: that's a really bad idea. [17:50] <_alx_> Walex: why? [17:51] _alx_: http://www.sabi.co.uk/blog/anno05-4th.html?051016#051016 [17:51] <_alx_> grawity: I don't believe this datacenter is working on ssd's [17:54] <_alx_> Walex: but the files are much bigger than 50-100 bytes [17:55] _alx_: that's a small saving grace as to space occupied. The time taken however is mostly proportional to number of files, not their size. [17:55] "not unexpectedly" yeah that's actually very unexpected [17:57] although it seems that post was written about 15 years ago, so vastly different filesystems than now [17:57] it's also 2005, both kernel (io scheduler) and ext3->4 file system went through changes since [17:57] let'sa say that in a similar situation (large Maildir archive spool/archive) this was so expected that the guys bought 2 racks full of 150GB 15,000 RPM SAS disks [17:57] tomreyn: it does not depends on filesystem type that much. [17:57] yeah, I did not notice the date before [17:57] the date matters little. [17:58] ext2 and ext4 store file lists so differently that I rather doubt it doesn't depend on filesystem type [17:58] on SSD it would be better, but only on "enterprise" SSDs with supercapacitor backup. [17:59] <_alx_> is there a way to tell from CLi what HD's are being used? [17:59] ls /dev/disk/by-id/* [17:59] _alx_: 'iostat -dk -zyx 1' [17:59] I guess start with `iostat -h 1` [18:00] smartctl + hdparm, too. but is it even bare metal? [18:01] <_alx_> tomreyn: no they're vms my uni allocated for me, i'm funded by the government for this project so it all needs to be public results anyway. which i'm more than fine with :) [18:02] _alx_: VMs and intensive storage is not a good combination either, but then I guess you have little choice. [18:03] _alx_: the best thing you can do is to avoid completely using one-file-per-record logic, and instead given that your collection is entirely append-only, pack the files in archives, more or less like 'git' does for the same reasons. [18:04] _alx_: that is use 'ar' for example to create archives of say up to 100M and keep an index of which file is in which archive. [18:04] <_alx_> Walex: each archive is a book, the zip contains each page as an image file and an xml that describes all the marks/text/and their location on the page. You're saying I should zip multiple books together? [18:05] I thought the same at first, when I had a directory of 50k files and thought "I'll put it in a .zip file to make it go faster" [18:05] it was several times slower, because finding a file in .zip is fully linear through the entire list === pinocchio is now known as me-0504 [18:05] grawity: that is why I suggest 'ar' into which it is easy to create a table of contents. [18:06] grawity: actually there ought to be a table of contents with offsets of members also in a '.zip' archive, but perhaps many tools don't use it. [18:06] there is a table of contents, yes [18:07] it's searching *in that table* that is slow [18:07] grawity: searching linearly through 50k entries might be slow, perhaps smaller ZIPs would have worked. [18:07] it's like a sql table with an index (ext4, xfs) vs without (zip, fat32) [18:08] Walex: yes but my point is, filesystems aren't limited to a linear search in the first place [18:09] <_alx_> Walex: none of the books I have, have more than 1399 pages (i've checked) [18:09] <_alx_> so none of the zips have more than double that amount [18:13] _alx_: Are you mainly doing plaintext search? Like e.g. find all instances in all books with "biology" in it? [18:14] <_alx_> macoy: no, our library has been trying to digitize books for a very long time. Now we have millions of them, and i just ran OCR on all of them. [18:15] <_alx_> so each book is in a zip, with the original image and an xml file [18:16] _alx_: Ah, I see. Sounds like a cool project [18:16] <_alx_> macoy: thanks :) [18:17] is there anyway to add an user to the sudo group without the recovery mode? the user isn't unable to enter in that mode. [18:19] I want to know which desktops have an application tree (sadly lacking in 20.04)and goo-search does not understand the question. Mate fails to display with 20.04 (was fine with 18.04) so what else has that feature. [18:20] (google thinks I want the tree command) [18:21] tripelb: application tree? [18:23] Menu in upper left that shows all i stalled programs. There if no slippery way to get a list of installed programs in 20.04 i have to type in what I want. [18:23] Slippery =emphatic word. [18:24] Sethkush ^^^^↑ [18:24] It is in mate........was in gnome 6.10 when I began. [18:25] tripelb: you can enable that in gnome-tweaks I think [18:26] Ubuntu Mate or Xubuntu definitely have it too [18:26] Kubuntu might, idk what KDE looks like nowadays [18:29] I use kde and enlightenment on different systems and both of them have tree structures in their app menus [18:29] But I also run opensuse so *results may vary [18:30] mfilipe[m]: Could they boot from USB? Might be able to mount the drive from a LiveUSB and then modify the /etc/sudoers file. [18:31] Sethkush cinnamon? (Mate 20.04 doesnt play well with my display tho 18.04 was my main flavor. KDE is too strange. I tried tweaks and it happened, then valished. I think asking for a taskbar and menu tree conflicted.) [18:33] Sethkush I am downloading Xbuntu. The lifewire comparison article told me basically nothing about xbuntu - it is lighter. So it will be something new. --- 20.04 has been the most problems to me of any version - Worst evah! [18:37] is there an easy way to mute "cryptsetup: WARNING: target ??? not found in /etc/crypttab"? I have a custom initramfs hook that will mount the LUKS. [18:37] using Xubuntu focal [18:37] sethkush having to rember the name of every routine I dont use everyday i stead of finding it in a list. Not being able to find out what is installed thru a list.. not being able to discover things. Like windows Ubuntu basic 20.04 is designed toake you dumber ..Ieam to not bother you with details. === me-0504 is now known as walnutburl [18:42] Any idea why internet gateway would forward DNS traffic (NSLookup) but not http/https traffic? Was working previously, no changes made. [18:43] when you're saying "DNS traffic" [18:43] are you querying a public DNS server, or are you using the gateway's own address as the server? [18:44] d1g1ta1, to find the real truth, you can spy on your own network interface with wireshark. [18:45] grawity: 2 OpenDNS and 1 root level DNS server on the clients (gateway uses 127.0.0.1 and http/https works on the gateway itself) [18:46] aside from that, "root level DNS server" makes me curious [18:48] I don't think the DNS servers used are the issue -- that's the only thing that works. I cant' browse http/https by IP address. [18:49] Not from any connected host. Ensured Work offline is unchecked, etc [18:49] Double checked firewall rules. [18:49] The only change seems to have been the dynamic public IP address. [18:51] Is the internet gateway a useful box that you have access to? [18:51] If it is it's really just a question of looking at the traffic [18:52] Yes, the gateway is Ubuntu 16 [18:52] so do a tcpdump [18:52] Since when did they remove the search functionality of gedit when opening files? Now I only can see the last 10 recent files. :-( [18:53] tcpdump -nni eth0 host x.x.x.x and port 443 [18:53] then you can try to browse, or even just nc to something [18:53] from the client box [18:53] nc -zv google.com 443 [18:53] (replace interface name as needed) [18:54] you should at least see if the traffic is going through, and if it's being translated (look at destination IP for seeing the translated packet, don't filter by src) [18:56] Seeing arp requests from clients, but not the google 443 [18:57] well you should see it, otherwise your client box isn't using the internet gateway as default gateway [18:57] did you enable packet forwarding in the kernel on the internet gateway? [18:57] net.ipv4.ip_forward = 1 [18:58] sorry net.ipv4.ip_forwarde [18:58] man [18:58] I can't type [18:58] it was right the first time around [19:00] using iptables from https://help.ubuntu.com/community/Internet/ConnectionSharing (it's been working for some time now) [19:01] yep that article is correct [19:02] tripelb: you can still enable the application menu in gnome... [19:03] tripelb: https://linuxconfig.org/add-application-menu-on-ubuntu-20-04-gnome-desktop [19:03] Oh that would be good. What can you tell me sethkush [19:04] It is uncommented in sysctl.conf [19:04] yep [19:04] if it used to work I'm sure that part is right [19:04] maybe it's your client box configuration [19:04] I am running multiple client boxes. [19:05] didn't change anything on any of them, the only thing that happened I am aware of was (1) the gateway has been rebooted a few times and (2) the dynamic public IP changed [19:05] But, the gw has been rebooted prior to this many times and kept working until now. [19:06] tripelb: just follow the steps in the link I sent [19:06] Looks for link. Okay sethkush [19:06] do you have any hard references in your NAT configuration to the public IP addresS? [19:06] or just the device? [19:06] Just the device. [19:07] It probably would have broken several times by now if I had them. [19:07] I can ping the gateway inside IP [19:07] from the clients [19:07] Hello! I'm running ubuntu 18.04 lts . I apt-get upgrade and many packages were installed. The very next time I tried to boot I get this error. Unable to boot ubuntu https://postimg.cc/WqrFBz2M [19:08] any ideas? === narindergupta is now known as narinderguptamac [19:09] I "sudo gedit systemctl" but that doesn't work. I cant' open with gedit [19:10] I'm working off of usb flash drive ubuntu 18.04 lts [19:11] It's curious that tcpdump shows only arp and occasionally PTR traffic [19:11] Um, after a few imnutes that should just continue and boot. [19:11] I think. ... [19:12] ax562: what abouot sudo systemctl status upower [19:12] kyle__ : It just looped for me. I waited quiet a bit [19:13] ax562: sudo gedit would be to edit a file, but it wants you to look at the status of the upower service. That's different. [19:13] was the package 'createrepo' removed from focal? [19:14] https://pastebin.com/3H4SXiW1 [19:14] that [19:14] what I get doing sudo systemctl status upowe [19:15] Is "tcpdump -nni enp2s0 "the correct command? [19:17] this would be for this usb flash session though right? [19:18] The unhandled action messages are fine I think. Unfortunately I don't know much about upower. Maybe someone else can help? [19:19] ok thank you [19:21] This is what I get when I run "sudo systemctl status upower.service" https://pastebin.com/MwDQMsvt [19:28] what's a good package for writing images to sd card? [19:30] RoseBus: dd works well [19:30] Ubuntu also has a startup disk imager built in [19:31] Using 20.04: after 5 hours of the kernel BUG, my computer crashed [19:32] The crash was triggered when I tried to extract a 16 GB img file [19:33] Or 7 hours... Anyways, this is the BUG: https://paste.ubuntu.com/p/3FZbNrCxND/ and this is the syslog crash: https://paste.ubuntu.com/p/dS4PY9Fcbr/ [19:35] Was ath10k acting up? [19:36] sethkush, i ended up just using "disks" [19:36] also built-in [19:38] Hi, for some reason I am unable to add myself to a group via sudo usermod -aG deluge $USER [19:43] Just installed ubuntu. Reboot goes to grub menu. Not grub recovery. [19:43] ls shows "(hd0) (hd0, msdos5) (hd0, msdos1)" [19:45] Does this mean that the bootloader wasn't installed properly? I instructed it to install GRUB in the interactive installation session. [19:47] msdos5? Does that mean a partition type is incorrect? [19:47] Would there be a kernel upgrade to solve the Intel 4600 Chipset Graphical card? [19:48] Oh, it should have installed grub as EFI. Maybe it didn't boot to EFI? [19:48] with easytag I deleted the picture from a series of flac files, I saved, but thunar still shows the flac files with the picture I got rid of with easytag. why? and how do I get rid of said pictures, on each flac file, on thunar? [19:49] hello everyone [19:50] meson is still 0.45.1 ...most (modern) meson projects require >= 0.47 [19:51] just wanted to mention.. happy updating your packages :) [19:51] while multistrap-ing focal, can apt tell me which package caused /usr/sbin/update-grub to be installed? I'd use dpkg -S but dpkg seems to not be installed yet. [19:52] oh it seems to be from grub2-common. then maybe that's not the root problem. [19:52] lmat: "msdos" sounds like a classic MBR partition table, which would be the result of a legacy BIOS boot installation (where the installer was started in this way) [19:55] tomreyn: I started the installer in EFI, and the installer talked about it. It asked if I wanted to create a fallback EFI system (I said "no"). [19:56] lmat: a "fallback EFI system"? this must be a new prompt then, i've never run into that. [19:56] tomreyn: I think I chose "guided expert install" [19:57] lmat: which ubuntu version, architecture did you install on which hardware, using which installer, booted how? [19:58] tomreyn: :-) [20:00] does someone know which script or packages causes "Generating grub configuration file ..." during an apt upgrade? [20:00] update-grub, i would think. [20:01] yeah sorry my question was badly worded. [20:01] I typed sudo visudo; and I think nano started? I would rather vimstarts. [20:01] Which package or hook etc. makes update-grub run on apt upgrades? [20:01] hey everyone, i'm looking to get my US0-144 TASCAM Audio/Midi interface on Ubuntu 18.04. I have seen a bunch of old posts(it is old equipment) i'm curious if anyone has any tips for bringing this to 18.04? [20:02] env | grep nano; doesn't show anything. [20:02] my problem is, that as soon as a grub.cfg is already present, my apt upgrade causes that grub.cfg to be overwritten. [20:02] lmat: https://askubuntu.com/questions/539243/how-to-change-visudo-editor-from-nano-to-vim [20:02] I think that will cover the change you want to accomplish [20:03] AHA! ls -l /etc/alternatives/editor; points to /bin/nano! [20:03] geard: Thanks! [20:03] no problem. I always want to change it but don't modify it enough to be nice to me 4 months from now [20:04] ping [20:04] Sven_vB: it's normal behavious that grub.cfg is overwritten when update-grub runs. what seems to be the problem there? [20:04] Richie086: try adding a slash in front [20:05] it was an accident sorry :\ [20:05] ;) no worries [20:05] tomreyn, indeed, that's why I try to find the hook that causes it to run on update, so I can disable that. my current work-around is to rename grub.cfg before update, (the update then does not create one), then rename it back later. [20:07] on xenial I think I was able to avoid it by installing grub-pc-bin and uninstall grub-pc. on focal, aptitude says grub-pc is "State: not installed" but something still auto-updates grub.cfg. [20:10] Sven_vB: grub-pc-bin or grub-common maybe? [20:10] Sven_vB: i think grub.cfg is updated on the postinst scripts of multiple other packages [20:10] or grub2-common [20:11] oh you mean what package compiles it [20:11] EriC^^, thanks, I'll try and investigate that [20:11] i can't seem to find the script which hooks into the apt update process either though [20:11] but i didnt spend a lot of time, only looked at /etc [20:11] oh I was blint, it's right there in the log, /etc/kernel/postinst.d/zz-update-grub: [20:12] *blind [20:12] yeah, i think it's grub-common [20:12] oops, missed this [20:13] yeah, "if [ -e /boot/grub/grub.cfg ]; then¶ exec update-grub¶ fi", exactly the behavior I observed [20:13] Hi, I have a 058f:6331 Alcor Micro Corp. SD Card Reader and I have this problem: the hardware appears in lsusb but there is no partition of the sd card inserted. I have tried to load `modprobe usb_storage` but nothing :( [20:13] Sven_vB: why do you want grub.cfg not to be updated? [20:13] the problem should look like this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/366478 [20:13] Launchpad bug 366478 in linux (Ubuntu) "058f:6377 Alcor Micro Corp. Multimedia Card Reader don't work in Ubuntu 9.04/9.10" [Low,Incomplete] [20:13] EriC^^, because I like my own grub config really much. === ben_r_ is now known as ben_r [20:14] sd [20:14] sd [20:14] sorry [20:14] Sven_vB: yeah but you can make your own using /etc/grub.d/* and other stuff [20:14] i mean whatever shape you have grub.cfg in can be attained by editing /etc/grub.d/ or /etc/default/grub [20:15] hi, anybody know how to record video on prime? ubuntu 18.04 [20:15] EriC^^, can I use that mechanism to give the exact contents of grub.cfg, and not waste time for detecting anything? [20:16] not sure about that, but what are the mods you've done? [20:16] EriC^^, I don't understand "mods" in this context. I wrote my GRUB config from scratch if you meant that. [20:17] Sven_vB: may i ask why? [20:18] Hello, I have three disks in my computer. sda is windows, sdb was formerly debian, and sdc is a backup/extra storage. I used the live usb and tried to completely overwrite sdb but now it wont boot at all. When I had installed it it said it couldnt put the bootloader on /dev/sda, so instead i put it on /dev/sdb. But it simply doesnt boot up. what am i supposed to do here? [20:18] how does it differ than the originally compiled one by update-grub? [20:18] seanicus: do you have a live usb you can boot currently to troubleshoot the issue? [20:19] EriC^^, it doesn't share any meaningful portion of code. it has very fast detection mechanisms that dynamically discover my operating systems on each boot based on which disks I have plugged in, and it detects them much faster than update-grub. [20:19] hi all, I have a brand new ubuntu 18.04 AWS EC2 instance, fresh installed nginx on it and it's not working, the error log says port 80 is already in use but I can't figure out what's using port 80, any ideas? this has never happened to me before so not sure what to do [20:19] EriC^^: yes, I'm on it now [20:19] Sven_vB: i see [20:20] seanicus: ok, type 'sudo parted -ls | nc termbin.com 9999' [20:21] EriC^^: https://termbin.com/xtil [20:23] seanicus: that's a little odd that sda is gpt but has no efi partition for windows [20:23] seanicus: windows used to boot? [20:23] windows is the only one that CAN boot [20:23] which is a shame because i hate windows [20:23] seanicus: right now windows boots? wow [20:24] i wonder if it's using the sdb efi partition then, cause windows is picky about gpt and only lets you use uefi with it [20:24] So I went through reinstallation twice, did the same bootloader on sdb twice just in case there was an odd write error the first time [20:24] I should probably find or request a feature on update-grub that makes it flinch from messing with my custom grub config. [20:24] seanicus: ok, type "sudo mount /dev/sdb5 /mnt" [20:25] okay, im there [20:26] Sven_vB: you could always i guess modify update-grub to just be /bin/true or something i guess and let that package that updates it never overwrite it, just a thought [20:27] EriC^^, indeed I was thinking of dpkg-convert, but I have a strong opinion that update-grub should by default be less destructive in some easily-discoverable circumstances. [20:27] seanicus: type "for i in /dev /proc /sys /run; do sudo mount -R $i /mnt$i; done" [20:27] err, dpkg-divert [20:28] okay... [20:28] youre better at bash than i am, i gotta say [20:28] all of the folders are kinda mixed in the same mountpoint now [20:29] seanicus: type "sudo chroot /mnt" [20:29] okay [20:30] seanicus: ok, what does "sudo efibootmgr -v | nc termbin.com 9999" return? [20:30] sudo: efibootmgr: command not found [20:31] aha, and "grep efi /etc/fstab | nc termbin.com 9999" ? [20:32] https://termbin.com/div6 [20:32] ok so the install seems in uefi mode [20:32] seanicus: type "mount -a" [20:33] yessir [20:33] I like this nc termbin.com 9999 trick [20:33] seanicus: type "ls -lR /boot/efi | nc termbin.com 999" [20:33] yes, very handy [20:33] sorry that should be 9999 [20:34] https://termbin.com/oqt0 [20:35] seems there's a presence of windows there, no ubuntu efi though, just a debian one [20:35] seanicus: type 'dpkg -l | grep -E "grub|efi" | nc termbin.com 9999' [20:36] Yeah i noticed that too. [20:36] seanicus: also, type "ls /sys/firmware/efi" and see if it lists dirs or says no such dir [20:37] https://termbin.com/9lhlk [20:37] no such file or directory [20:38] seanicus: ah, that complicates things a tiny more [20:39] seanicus: the thing is, you need to be booted in uefi mode to be able to access the uefi list in the motherboard to add ubuntu there, a workaround would be to temporarily switch the windows and ubuntu files names, so ubuntu boots normally and in uefi mode, and then switch back and add ubuntu [20:39] do you want to try booting the live usb in uefi mode? or workaround method? [20:40] would both of these be in the bios screen? [20:40] sorry, its the booting aspect of operating systems that confuses me [20:40] seanicus: in the end both will be in grub [20:40] okay, ill attempt it [20:40] hi [20:40] ill still be on this chat since im ssh'd into a shell server [20:41] but if you can boot the live usb in uefi mode, that would make things more easy [20:41] ill attempt it [20:41] seanicus: aha, which pc model is it btw? [20:41] or brand etc [20:41] I built it. [20:41] need a orientation to build a MultiPoint server with Dell Zero Clients with ubuntu server [20:41] what's the motherboard? [20:41] the motehrboard is a bison something or other [20:42] b150m mortar [20:42] oh ok, if you know which button is the run-time boot menu button, it should list the live usb as USB: name of usb, and another entry as UEFI USB: name of usb [20:42] otherwise maybe some option in the bios to only use uefi and disable csm legacy might exist [20:43] okay, rebooting now [20:43] seanicus: i think it might be F11 [20:44] what would be the easiest way to install an old version of fvwm [20:45] this is for the boot menu? not the setup? [20:45] yeah for the runtime boot options [20:46] windows boot manager (p2: etc], debian (p2: same as above), sata4: code, sata2: code, sata3: code, enter setup [20:46] sorry i didnt want to type up each id number [20:47] there's nothing about options, it jjust asks me to select a boot device [20:47] seanicus: is there no mention of the usb? [20:48] seanicus: i think alternatively in the setup you can choose the boot order, as usb, cdrom etc, try to put "uefi usb" first in the list [20:49] hi folks.. how can i list all the packages that I manually installed from .deb files which are not in the repos? [20:49] no mnetion of the usb [20:50] peter22222: i guess you could make some script that runs each package through 'apt-cache policy' and checks if the only source is /var/lib/dpkg/status [20:50] okay, changed it to uefi usb key [20:50] great [20:50] but just as a warning [20:50] ive went through this menu over a dozen times the past few hours [20:51] its booting into windows [20:51] no worries, if it fails, i think we can just use the debian entry and copy ubuntu's there temporarily to get the install booted, then do stuff correctly [20:51] ah [20:51] ok, boot the live usb as before then [20:52] EriC^^ thank you.. sound like a lot of work haha [20:52] peter22222: maybe it's already out there :D truthfully though it's basically 2 one liners [20:53] the first being dpkg -l | awk '$1 =="ii" { print $2}' .. that gives you the names of all installed packages [20:54] What's the version of Python that comes installed with Ubuntu 20? I upgraded, so I can't check in my installation [20:54] just pass that through apt-cache with an if statement [20:54] EriC^^ wow thank you, thats really cool [20:54] oh hey EriC^^, there's an option for "boot mode select", should i change that? [20:55] its on legacy+uefi at the moment [20:56] seanicus: yeah try only uefi [21:02] EriC^^: yea =h, no luck =/ [21:04] seanicus: try booting the live usb as before [21:05] Sorry, did so. took a bit [21:05] im here [21:05] people are saying "apt install chrome" will install the chrome snap package in ubuntu 20.04. will apt-get do the same? is there a way to disable this? does this affect kubuntu and other *buntu flavors? [21:06] this is really confusing [21:07] peter22222: this should do it, type dpkg -l | awk '$1 =="ii" { print $2}' > /tmp/mypackages , then run this while IFS='' read -r package; do check=$(apt-cache policy $package | sed -n '6'p); if [ "${check:8}" == "100 /var/lib/dpkg/status" ]; then echo "found package $package"; fi; done < /tmp/mypackages [21:08] that awesome! i ll try it, thank you so much EriC^^ !! [21:09] seanicus: ok, no worries, as before type "sudo mount /dev/sdb5 /mnt" [21:09] peter22222: no problem :) [21:09] yep [21:10] seanicus: ok, type "for i in /dev /proc /sys /run; do sudo mount -R $i /mnt$i; done" [21:11] does apt have a way to install an old version of a package without messing up the rest of the system [21:12] okay, cant see wher ei typod it the first time, but done [21:13] seanicus: ok, type 'sudo chroot /mnt' [21:14] trying to delete thumbnails takes an awful lot of time. Why? [21:14] yep [21:14] frad: are you using the command line? [21:15] seanicus, I tried both cli and thunar: it is equally slow [21:15] bleb: i think by default if it can it will, if the dependencies are all good etc, 'sudo apt-get install package= frad: how many are they? [21:15] 18k [21:16] yeah lots of files take time, it's pretty normal [21:16] each file is like 20 KiB.. [21:17] there's a bit in overhead in each file [21:17] the size doesnt matter, every time it's deleting a file it's just removing the reference to the file in the filesystem [21:17] oh, yeah, thats a more valid point than mine, actually [21:17] whether you delete a 1gb file or a 1kb file, same thing, but having to do that a bunch of times in a row takes time [21:18] EriC^^: so i changed the root [21:18] ok, im gonna need a whole day for this [21:18] thx EriC^^ [21:18] np frad [21:18] bleb: i think by default if it can it will, if the dependencies are all good etc, 'sudo apt-get install package= EriC^^: is there any way to list the available versions? [21:19] it shouldnt be that slow though, maybe the disk is having issues frad? [21:19] like maybe 5-10mins tops i'd guess [21:19] seanicus: type 'mount -a' [21:19] because they have extra stuff, like instead of 2.6.8 the fvwm version in apt is 1:2.6.8-1 [21:19] yep did it [21:19] EriC^^, such as...? [21:19] bleb: i think apt-cache show should show all versions [21:19] is it a ram issue [21:20] frad: like it's on its way out or something, you could run a smart test to check its health if it supports it [21:21] seanicus: ok, type "apt-get install grub-efi-amd64-signed" [21:22] seanicus: it's likely going to fail at some point or give warnings about no efivars available, that's fine it's just cause you're not booted in uefi mode right now [21:22] edia change: please insert the disc labeled [21:22] 'Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)' [21:22] in the drive '/cdrom/' and press [Enter] [21:23] O.o [21:23] maybe my usb disconnected? [21:23] could be [21:24] the OS is operating off ram, so it should be safe for me to take it out and put it back in, right? [21:24] what happens if you press enter? [21:24] it just repeats the prompt [21:25] reboot, maybe? =/ [21:25] oh, i'd just try to reboot, since the install filesystems are mounted and everything [21:25] yeah [21:25] try using a different usb port if you can, in case it's a bit wonky [21:29] EriC^^: same problem [21:30] When I run an apt-get command outside of chroot it works just fine [21:31] Okay, so [21:31] looks like its because i have the cdrom entry in sources.list [21:31] https://askubuntu.com/questions/386265/media-change-please-insert-the-disc-labeled-when-trying-to-install-ruby-on-ra [21:32] dont know if thats dangerous to move, but since i already have ubuntu installed...and ic an always put it back in, it shouldnt be too big a deal, should it? [21:32] seanicus: yeah remove it [21:33] i dont think it's supposed to be there anyways [21:33] wait, im confused now [21:33] seanicus: are you talking about the install or live usb? [21:33] it should be the apt/sources.list in the environment we made through chroot [21:33] right [21:33] yeah [21:34] well the liveusb has cdrom [21:34] BUT [21:34] when i do "ls" in the chroot [21:34] i see nothing [21:34] oh [21:34] nvm, dumb mistake. [21:35] what does 'cat /etc/apt/sources.list | nc termbin.com 9999' give? [21:35] Great, i have hte program resolved [21:35] awesome [21:35] instlled* [21:35] nice! [21:36] almost there? hopefully? [21:36] yup [21:36] seanicus: ok, let's have a quick look at the installed packages right now, "dpkg -l | grep -E "grub|efi" | nc termbin.com 9999" [21:37] https://termbin.com/p8gp [21:38] seanicus: hmm, it somehow decided to install grub-pc too [21:38] seanicus: anyways, try 'apt-get remove grub-pc grub-pc-bin' [21:38] is grub-pc bad? [21:38] that's the legacy grub [21:39] okay, they're gone [21:39] yeah, i dunno what's up with apt, i remember grub-pc and grub-efi actually being conflicts in apt, must be a 20.04 bug or feature [21:39] ok cool [21:39] seanicus: now to let grub do its magic [21:40] type "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu" [21:40] (ps you ran mount -a earlier right?) [21:40] i did [21:41] this line installs the bootloader? [21:41] yeah it should install the efi files in /boot/efi [21:41] Installing for x86_64-efi platform. [21:41] grub-install: warning: EFI variables are not supported on this system.. [21:41] Installation finished. No error reported. [21:41] and attempt to add it to the uefi list and fail probably [21:41] So there's a warning but i dont know what that means [21:42] yeah that's the efi warning cause it's not in uefi mode right now [21:42] seanicus: anyways, type "update-grub" to make the grub menu [21:42] done without errors [21:43] seanicus: ok, great, now we have to do the old switcheroo so it boots without the menu entry added [21:43] alright [21:43] seanicus: type "ls -lR /boot/efi | nc termbin.com 9999" to see the efi partition [21:44] https://termbin.com/8bm1 [21:44] ok, great there's an ubuntu dir [21:44] seanicus: type "cp /boot/efi/efi/debian/grubx64.efi{,.debianbackup}" [21:45] whats the {,.} syntax? [21:46] seanicus: it's like {1,2} gives 1 2, so bla{,something} gives bla blasomething [21:46] hmm, okay. done. [21:47] so it's doing a backup here really of the debian file [21:47] ok, type "cp /boot/efi/efi/ubuntu/grubx64.efi /boot/efi/efi/debian/grubx64.efi" [21:49] did it [21:49] seanicus: ok, type exit then try to reboot, press F11 when it starts and choose debian [21:53] that option doesnt show up but let me fiddle with boot options a bit [21:54] yesssssssss. booting into ubuntu now! [21:54] great! :D [21:55] seanicus: once it boots up, type "sudo grub-install" it should add the ubuntu entry to the uefi list, also run "sudo update-grub" to add windows to the menu [21:59] looks to be good... [22:01] so if i reboot this, grub should show up? [22:01] i do have to rename it to ubuntu still, right? [22:01] yeah, you might need to change the uefi boot order in the bios in case its set to boot windows still [22:01] Anyone ever used sshfs with the sftp_server? I'm not seeing anything in the man page that quite tells me how to do it. [22:02] The sftp_server option I mean [22:03] seanicus: no you dont need to rename anything at this point [22:04] Alright, sweet! [22:04] Thank you so much for your help and patients EriC^^ ! [22:10] did they add a automatic sleep mode in ubuntu server 20? [22:10] seanicus: no problem :) [22:14] craigbass76: From what I see from googl'ing is: sudo sshfs -o allow_other user@xxx.xx.xxx.xx:/ /some/mount/point [22:14] craigbass76: I found it here: http://furick.com/icbd/2017/08/mount-a-sftp-connection-to-a-folder-in-ubuntu-linux/ [22:15] craigbass76: It's somewhat dated but it might be a start. In the comments it talks about making it into a systemd service... [22:25] Hi everyone ! Got a situation here... I tried to install ubuntu in my usb . Aparently i messed things up.Ubuntu didnt installed the right way.And afterall a "Grub" command prompt somehow installed in my C drive where windows are . In this grub i must type exit to let windows start.Anyway to unistall this grub thing ? I tried some things but nothing.Anyone know the good way ? [22:26] v_lens: Find instructions for windows to fix the MBR [22:26] v_lens: you need to use the Windows recovery tools to fix that [22:26] And you don't want to install Linux to a usb stick [22:27] you want to find a live distro with persistent storage [22:27] i got a very expensive ssd 128gb usb disk for this ... Finaly i installed it ,but after 2-3 minutes ubuntu crashes.Frozes [22:28] thats why it frozes ? [22:28] should i create a seperate user for gunicorn service? [22:28] or is it okay to use my own user [22:30] v_lens: I can't say for sure, but a Linux install is meant for a hard drive. A live usb with persistent storage will allow you to use it as you're intending, plus you can move it from one PC to another [22:32] by persistent storage what do you mean ? sorry im Greek ! :P [22:33] It creates a writable file system so that changes are recovered on the next boot [22:33] persistant storage allows you to save files to the usb and use everytime you boot the usb [22:33] v_lens: did you happen to try booting without the USB plugged in? [22:33] live cd/usb distros are meant to be a "fresh" install on every boot, then persistence is more of a hybrid that allows it to retain info [22:33] jeremy with the important questions we've overlooked so far lol [22:34] if you use a persistant storage layer, if that layer get full you have to recreate the usb at that point [22:34] is there an ubuntu-based distro that handles persistent storage better than I'm seeing on google searches? [22:34] but some tools allow you to create a /home partiton on the usb [22:35] makr8100; what exactly are you trying to do [22:35] on first boot of opensuse live it will take all unallocated space and just make a partition, even stores software upgrades [22:35] jeremy31 i tried , there is an option ubuntu but it doesnt boot [22:35] it's more what v_lens was asking [22:36] its more how the iso is written to the usb than anything else [22:36] v_lens: if you reinsert the usb you should hopefully at least be able to boot ubuntu, but if you can boot into windows use that to repair itself (boot loader/mbr) [22:36] I found something saying ubuntu can use "up to 4gb" for data on a live usb... that sounds depressing [22:37] https://www.howtogeek.com/howto/14912/create-a-persistent-bootable-ubuntu-usb-flash-drive/ [22:37] v_lens: without the USB connected grub can't find the grub.cfg file needed [22:37] My point is that opensuse just does persistent storage, nothing needed from the user for it to happen... dd the iso to usb, boot up, storage works [22:39] i can boot to windows by typing exit into Grub ... The thing is i tried is entering the cmd from recover and used these commands i found [22:39] bootrec /fixMbr [22:39] bootrec /fixBoot [22:39] bootrec /scanOs [22:39] bootrec /rebuildBcd [22:39] everybody say that worked for them but for me no :( [22:39] meh, I g2g tho... good luck [22:47] hello what's the chmod for making it group-writable? [22:47] v_lens: can you boot a live usb to troubleshoot/fix it? [22:47] RoseBus: chmod g+w file [22:47] chmod g+w file [22:47] yea [22:47] i just got it lol [22:48] :D [22:49] hmm i just did that but i still can't use 'mkdir' without using sudo [22:49] the folder is owned by group www [22:49] and i am a member of that group [22:49] do i need to relog? [22:54] eric , fix ubuntu or mbr ? [23:01] I still have to look up how to ip link dev eth0 up because it's not how I learned [23:02] Hello Ubuntu Community!, I'm right now at a Live USB ready to install ubuntu... But first, I want to tweak something: I have a touchpad capable of using three finger gestures, but not four... I can use three fingers and make an up or down gesture... And I want that to be how I change desktops... For example, a three swipe down will drag me to the [23:02] bottom desktop [23:02] I haven't found much information about this though... How can I do this? [23:02] v_lens: "try ubuntu" [23:03] ok i ll do that thanks [23:06] Hello? [23:09] Someone have the actual Repositories of Ubuntu? [23:09] All when i do an APT-GET update says "404 Not Found" [23:10] auraofuwu: lowercase sudo apt update [23:10] yes i know it [23:10] its the same [23:10] Only 404 Not found [23:10] auraofuwu: Old release ? what shows ' lsb_release -a ' ? [23:11] auraofuwu: can you ping 8.8.8.8 ? [23:11] You can copy from your stock repositories? please to update Xubuntu [23:11] Yes i can ping it, no problem with that [23:12] auraofuwu: release -a as Bashing-om asked [23:12] Well its a really old one, Xubuntu 9.10 now i see, this laptop is really old, so well, only have 2Gb ram [23:13] The latest release for 32 bits runs well on this, no? [23:13] Maybe only need to update repo [23:13] !eol | auraofuwu [23:13] auraofuwu: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [23:13] And later update to latest release [23:14] Thanks [23:15] auraofuwu: With such an old old release - you will be better served to do a fresh clean install of a current release - Be aware 32 bit is no longer supported. [23:15] Where's located the Sources.list? i didn't remember [23:16] auraofuwu: /etc/apt/sources.list [23:16] Yes the latest for 32 bits its the 18.04 [23:17] auraofuwu: you could use locate to find files in your system, e.g. "locate sources.list" [23:23] on 20.04... how do i get recovery mode to not mount "/" as read-only or not at all. [23:23] on 20.04... how do i get recovery mode to mount "/" as read-only or not at all. [23:26] sixecho: ?? recovery mode sets / as read only by default. What is the issue you face ? [23:30] Bashing-om: sadly mine does not... mounts it rw. i was on 20.04 beta... updated everything to latest today... and upon trying "recovery mode" and drop to root shell, noticed / (/dev/sda5) is mounted read-write and it busy (cannot be unmounted) [23:31] curiously the "recovery menu" says "filesystem state: read-only" - but dropping to root - it shows read-write [23:37] sixecho: Maybe there is a change in 20.04 ?? Something I will check/verify when I reeboot this night. what shows ' findmnt ' for / presently ? [23:38] Bashing-om: / /dev/sda5 ext4 rw,relatime,errors=remount-ro [23:39] sixecho: Hummm - got me - sure is read/write now. [23:40] I am coming from Windows 10. What are some of the system maintenance tools that I need to run on Ubuntu 20.04? I have a i7 8th gen, 16 GB Ram and a 128 GB SSD with a graphic card [23:40] sixecho: Did you also enable networking in the recovery mode - as this also sets to r/w. [23:41] Bashing-om: no... just recovery mode... and then drop to root shell. [23:42] Anyone know if the boot issue for 20.04 live usb is fixed? [23:43] sixecho: Now I am currios - I can boot 20.04 and see what my experience is like. Got time to wait and see what I come up with ? [23:43] Bashing-om: sure [23:44] hi [23:44] sixecho: rebooting . back in a while. [23:44] i want to resize my partition and create another partition to install another OS... [23:45] im using luks + lvm [23:51] Hey guys, anyone know how to use simple scan to scan both sides of an ID on one page of a document? [23:52] How can I install deb files on ubuntu graphically without using the dpkg command ? [23:53] pongal, double click the .deb file or click open in browser have it open in gnome-software to the snap store if running 20.04 [23:53] Can somebody help me boot into 20.04 from a grub prompt? [23:54] v6277, double clicking the file is opening it in archive manager. [23:56] pongal, right click and choose open with other application, there should be an option that says software install or something along the lines [23:56] v6277, will try that. thanks [23:57] I am trying to run hugo, on a folder that is a windows partition. getting a read only error [23:57] But i am able to modify and save the yml file, so im guessing its not a permisson issue [23:57] how can i start .desktop file at 20.04? [23:57] it seems association broken [23:57] it has +x [23:59] looks like that is a snap issue