[00:01] de-facto: Then I tested by having my gmail inbox open on chromium, sending myself an email from my phone, hitting F5 on chromium immediately after that showed the new email [00:03] And watching the files in .cache/chromium showed no changes in anything there [00:03] what is the easiest way to change `python3` to just plain old `python` so that future installers will recognize it [00:05] and so i can just invoke python and be lazy with the extra character [00:05] gobble_gobble: I declare the version to use in the script: - # Force specific Python version >> PYTHON="python3" -. [00:06] yes but how do i get my system to recognize `python` as `python3` [00:06] right now if i type `python` i just get the command not found stuff [00:06] genii i am pretty sure its not disk caching, its more like memory or persistent connections or such [00:07] i gave up for now, seems Its just broken [00:08] gobble_gobble, I just put 'alias python=python3' in my .bashrc [00:09] gobble_gobble: I think system default currently is that /usr/bin/python points to 2.7 because some things break if it doesn't and that's why python3 is explicitly named. But you could tinker with making it the default the "proper" way by adding it to list of choices available in update-alternatives, and then switching it that way [00:09] ( to make it the systemwide default python) [00:09] gobble_gobble: setting python system wide seems to me a good way to break the system. What shows ' python --version ' ? [00:10] it was python2.7 [00:10] but i uninstalled that [00:10] now nothing :) [00:10] Bashing-om: Yep, probable breakage there :) But possible to tinker with and also revert with update-alternatives [00:11] if my system breaks, tell my mom i love her [00:11] genii: Filed for reference :D [00:12] oh yeah already seeing something broken [00:12] great [00:14] https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux#h2-change-python-version-system-wide shows command syntax and how to prioritize which gets used first, etc === akko is now known as stallman [00:58] what file do you typically put your `export`s in? [00:58] .bashrc? [00:58] .profile? [01:03] .bashrc === stallman is now known as akko [01:14] i am trying to chown to my user of the /mnt doing sudo chown alexandrdvorkin /mnt but its still belongs to root [01:16] but what i am trying to do is to mount -t cifs -o username=pi,password=pi //192.168.1.10/home/pi/Downloads /mnt/Downloads butg i get error(2) no such file or directory [01:17] so i thought maybe i need to change the ownership of /mnt dir [01:18] ls -al mnt/Downloads ? does the directory exist ? [01:18] just a sec [01:18] is it ls -al or ls -la [01:18] /mnt/Downloads ** [01:19] aleksandrdvorkin: ether will do la or al :D [01:19] ls -la /mnt/Downloads ? [01:19] aleksandrdvorkin: Affirmed ls -la /mnt/Downloads . [01:19] ls cannot access mnt/Downloads :No such file or directory [01:19] but thats what i am saying the /mnt/Downloads exists [01:19] but it belongs to root [01:20] i can see in the filemanager it exists [01:20] Hi, I'm installing Ubuntu and what exactly is included in the minimal install? [01:20] there you gp [01:20] aleksandrdvorkin: List "ls" would not lie to you . OK .. what then shows ls -al /mnt/ ? [01:21] drwxr-xr-x 2 alexandrdvorkin root 4096 Nov27 22:20 [01:21] drwxrwxrwx 3 alexandrdvorkin root 4096 Nov 27 22:20 [01:22] but mount -t cifs -o username=pi,password=pi //192.168.1.10/home/pi/Downloads /mnt/Downloads returns mount error (2) No such file or directory [01:23] i am trying to mount the share on Raspberrypi 4 to my Virtual box running Ubuntu 19.04 [01:25] aleksandrdvorkin: Hokay - we get to changing the ownership in a bit, once you understand what you are doing. One changes the ownership of the target directory, not of the mount point. // Is "/mnt/Downloads" mounted whan attempting to access ? [01:27] one does not change owner of the /mnt/ folder, change the owner of the media mounted there, or add the user to that group [01:27] so i should do sudo mount /mnt [01:27] sudo mount /mnt/Downloads first? [01:28] "/mnt/Downloads" is withing Ubuntu 19.10 [01:29] so i assume its mounter?\ [01:30] i am attempting to mount the /home/pi/Downloads dir on RaspberrypPI4 from my Ubuntu laptop its Macbook with VBox running Ubuntu 19.10 [01:31] and i can access it with smb://192.168.1.10 from File Manager [01:31] but i want to see if i can mount it using cifs [01:31] aleksandrdvorkin: Not mounted unless it is done explicitly as a mount command or is listed to mount in the /ext/fstab file. [01:32] ok so i should do [01:32] mount /mnt/Downloads [01:32] mount : /mnt/Downloads can't find in /etc/fstab [01:33] aleksandrdvorkin: ' sudo mount /mnt/Downloads ' if it is not already mounted from fstab. [01:33] i did that [01:33] and i got [01:33] mount: /mnt/Downloads can't find in /etc/fstab [01:34] aleksandrdvorkin: Back to square one . pastebin ' ls -al /mnt/ ' please. [01:35] ok [01:36] https://paste.ubuntu.com/p/j5n2XGSzYN/ [01:42] Bashing-om [01:42] aleksandrdvorkin: While that "should" work -here is a working example, note my ownership rights as "root". Pastebin 'ls -al /mnt/' and lets verify those rights. [01:42] aleksandrdvorkin: https://termbin.com/y045 [01:43] well the second deirectory of 3 is owned by root [01:44] did you look at the pastebin [01:46] Bashing-om did you look at the pastebin [01:46] aleksandrdvorkin: Yes i did look at you paste and the rights are not as per defaults. with "you" owning the "." directory we are stepping on insecure grounds :D [01:47] Bashing-om, aleksandrdvorkin I just checked and mount.cifs also says "no such file or directory" when the remote file doesn't exist. [01:48] Bashing-om, aleksandrdvorkin In particular I wonder if /home/pi/Downloads is a symlink? Have no idea what happens when you try to mount a symlink.... [01:48] rfm_: Thanks for the confirnation - aleksandrdvorkin; we get to that destinationin a bit. [01:49] no the /home/pi/Downloads is a directory on RaspberryPI4 [01:49] which i am trying to mount on my Laptop [01:49] to /mnt/Downloads [01:50] rfm_: seeing "/home/pi/Downloads" depends on the point of view within the filesystem. [01:51] ? [01:52] "/home/pi/Downloads" is a live directory on Raspberry PI4 [01:53] i can smb://192.168.1.10 from File Manager just cant mount using cifs [01:55] aleksandrdvorkin, yeah, I don't know what the file manager is doing. It may be mounting /home (not the lower level directory). Hmm, why don't you try that? [01:55] i already tried everything [01:55] sudo mount /home [01:55] sudo mount /home/pi [01:55] sudo mount /Downloads [01:56] mount error(2) No such file or directory [01:58] aleksandrdvorkin, what I would like you to try is "sudo mount -t cifs -o username=pi,password=pi //192.168.1.10/home /mnt/Downloads" [02:00] mount error(2) No such file or directory [02:17] aleksandrdvorkin: https://www.incredigeek.com/home/auto-mount-cifs-mount-point-on-system-startup-on-ubuntu/. I see it as " mount.cifs /192.168.1.10/home/pi/Downloads/ /mnt/Downloads -o user=alexandrdvorkin,pass=,uid=alexandrdvorkin " where you will provide the appropriate password. [02:19] will try now [02:20] is /192. or //192. [02:21] and i made a user pi in /etc/samba/smb.conf on Raspberry pi [02:21] do i still use user=alexandrdvorkin? === zbenjamin is now known as Guest46396 === zbenjamin_ is now known as zbenjamin [02:23] aleksandrdvorkin: Like you I think as //192 ; though the guide says otherwise :( [02:24] mount.cifs :bad UNC (/192.168.1.10/home/pi/Downloads) [02:26] aleksandrdvorkin: Is the utility installed ' dpkg -l cifs-utils ' ? [02:26] should be // [02:26] Bashing-om [02:27] installed [02:27] might want to run: nmblookup computername see if that says same ip you think it should be [02:27] 2:6.9-0ubuntu [02:28] dougn16k with // i get an error mount error(2) No such file or directory [02:29] I don't mount.cifs, I just mount //...ip../share... /someplace -o user=xx [02:29] don't know if that would make any difference [02:31] aleksandrdvorkin, just did it, works for me: sudo mount //10.1.0.86/raid6s /mnt/plextbserver -o user=doug Password for doug@//10.1.0.86/raid6s: ******** [02:32] no cifs? [02:32] correct [02:33] aleksandrdvorkin, just tried it again with mount.cifs, that works too [02:34] I think your mount command should work, problem somewhere else [02:34] with double slash [02:34] did you check nmblookup agrees with the IP you use? [02:34] sudo mount //192.168.1.10/home/pi/Downloads -o user=pi,password=pi [02:35] you didn't say where to mount it [02:35] right [02:35] sudo mkdir -p /mnt/whatever && sudo mount //192.168.1.10/home/pi/Downloads /mnt/whatever -o user=pi,password=pi [02:36] tomreyn: jeremy31: oerheks: lotuspsychje: here are the bugs i filed about the conversations today. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1854413 -- https://bugzilla.kernel.org/show_bug.cgi?id=205699 thanks for all your help. i'm in a working state and hopefully these lead towards fixes for all. (well, other than not having tested hdmi output yet with the 5.4 kernel, fingers crossed) [02:36] Launchpad bug 1854413 in linux (Ubuntu) "Backlight adjustments shows OSD but does not change anything on Samsung OLED panel" [Undecided,New] [02:36] bugzilla.kernel.org bug 205699 in Video(Other) "Backlight adjustment does nothing on Intel with Samsung OLED panel" [Normal,New] [02:36] mount error(2) No such file or directory [02:36] but /mnt/Downloads exists [02:36] home/pi/downloads isn't a share [02:36] you mount a share [02:37] no [02:37] you need to stop at home, drop the /pi/downloads [02:37] it doesn't work like that [02:37] you don't just point your finger at some path and mount it [02:37] you mount a share [02:37] the directory is in /etc/samba/smb.conf [02:38] what's in the [] above that [02:38] doug16k, I just tried and you can give a path down below the share point, it surprised me too [02:38] so i can access it via smb://192.168.1.10 [02:38] its accessible from file manager [02:38] but wont mount because its not a share [02:38] rfm_, do you reliably though? or did one test work [02:39] doug16k, one test worked. I would never do it that way... [02:39] if it is non-working, I'd try safe mount just the share [02:39] in RaspberryPi 4 NOOBS i cant right click on the folder and make it shared but i can access smb.conf and put path to the share like /home/pi/Downloads [02:39] rfm_, neat to know it could work though [02:39] i cannt seem to right click on the folder and make it make it shared [02:40] doug16k, although I just tried again (on a different path) and got permission problems... [02:40] the folders dont have that option even though the samba is running [02:40] doug16k look at the pastebin for ls -la /mnt [02:40] altendky: does that AX wifi work yet? [02:41] aleksandrdvorkin, when you added it to smb.conf, did you use the [homes] section or create a new section? [02:41] homes [02:42] aleksandrdvorkin, aha, the comment says the share is \\server\username (NOT \\server\home\username!) [02:43] lotuspsychje: it's worked in the 'current' kernels where it's expected to. jeremy31 walked through a bunch of stuff trying to get it working in 4.15 oem and we got to the error `modprobe: ERROR: could not insert 'iwlwifi': Exec format error` as to 'why' the backports aren't loading. but nowhere more. since i got the other stuff working in newer kernels (with patches) i am content. just need to test/maybe-fix [02:43] hdmi... [02:44] altendky: i would strongly suggest work systematic too, solve 1 bug at the time and keep your filed bugs updated with that [02:44] ok so should be sudo mount //192.168.1.10/pi /mnt/Downloads? [02:44] persmission denied [02:44] i used the password for pi [02:45] lotuspsychje: yeah, i flailed for awhile. but each issue is now isolated with identified commits that seem to be the fixes. [02:45] aleksandrdvorkin, well, at least it's different... [02:45] altendky: when you have tryed something, add a comment to your bugs, so the devs see and follow what you did/tested [02:45] mount error 13 Permission denied [02:46] lotuspsychje: i think i mostly did that up front? each one includes reference to commits or releases that i have identified as resolving the issue. [02:46] but yes, even then i could be a bit more rigorous in details of each kernel tested, a fresher install, bios reset to defaults, etc... [02:47] altendky: yeah try not to pack too much info in your original description, think to the essentials [02:49] aleksandrdvorkin, double check the username= and password=, that's the error I get when I botch them [02:50] lotuspsychje: hmm... i was thinking that identifying existing commits that were intended to fix the issue i am reporting but simply aren't present in all the places (i think) they ought to be would make a fairly clear report. but, perhaps i should reread and practice rewriting them tomorrow. [02:51] i remember i used password as just pi [02:52] altendky: im not blaming or anything, dont get me wrong, just want to widen your options, the better you comment your steps on your bugs, the more chance it will get solved and getting attention [02:52] lotuspsychje: i thought leaving out my flailing steps would improve the report :] [02:52] can i do sudo smbpasswd -a again? [02:53] altendky: no, for example when adding more steps/comments your bug might get confirmed by that [02:53] aleksandrdvorkin, I think for changing an existing password, just "sudo smbpasswd pi" works... [02:54] aleksandrdvorkin, long time since I did that [02:55] aleksandrdvorkin, (It should prompt for the new password when you do that.) [02:58] reset the password but still permission denied [02:59] aleksandrdvorkin, while you are logged on the pi, you might look at /var/log/samba/log- -- I get messages like https://termbin.com/vebvq when I give a bad password [03:00] altendky: feel free to join #ubuntu-discuss [03:00] no just mount error(13) : Permission Denied [03:01] aleksandrdvorkin, those messages were in /var/log/samba on the system I tried to mount from, not on the system where I did the mount. I think they were old messages anyway. [03:02] "/var/log/samba/log no sufh file [03:04] aleksandrdvorkin, /var/log/samba is a directory with multiple log.* files, one for each client at least [03:04] no such file [03:05] aleksandrdvorkin, probably the raspberry pi smb config is different from the stock ubuntu one I'm used to. [03:06] aleksandrdvorkin, have you considered using sshfs? at least if you can ssh into the pi you know the permissions will work... [03:07] no worries i can access the files via smb:// [03:08] aleksandrdvorkin, I'm giving up now anyway, out of ideas on how to debug the permissions stuff. [03:08] it something with the permission on the /mtn/Downloads not on pi [03:10] look at the ls -la /mnt [03:12] https://paste.ubuntu.com/p/QJcYyvc7gv/ [03:12] .. belongs to root [03:12] and i dont know how i can change it [03:15] cannt ssh eitehr [03:15] what do i need to have on Raspberrypi to ssh into it [03:21] aleksandrdvorkin: openssh [03:22] or just sudo apt install ssh [03:28] got ya [03:28] ok will do tommorow GN [04:02] hello, what does this mean ? [04:02] https://la.wentropy.com/VFWC [04:03] that error says you are on an outdated ubuntu [04:04] g++ 4:4.4.3 is from the 14.04 era [04:14] ok [04:49] passwd says my password is too simple [04:49] how do i override? [04:49] bleb: choose a more-complex password [04:52] EdFletcherT137: i was wondering how to override that requirement [04:53] bleb: you asked the same question in #xubuntu, where i answered it. [04:59] tomreyn: see there [06:06] does anyone have a guide on how to make ubuntu interace look like microsoft windows interface? Something like what kali linux is doing with kali-undercover? [06:10] hmm E: The repository 'http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu disco Release' does not have a Release file. [06:10] why is that [06:11] oxek: I've used this before: https://github.com/vmavromatis/gnome-layout-manager [06:31] hi is there a nice program for labelling pictures . . . eg. quickly drawing lines on a picture that connects to a word? [06:32] Tried to use resize2fs on a ubuntu volume group. Now i'm getting ata6 interface fatal error non stop. Does that mean the disk i tried to add is bad [06:33] boat --(line)------> (image of boat) [06:34] dock---(line)--------> (picture of dock) [06:36] or if I had a picture of a motherboard . . . I could for example quickly draw lines from CPU to the word CPU, USB port to the word USB port etc etc [06:37] the default app i was thinking was gimp . . . maybe there is an addon or something let me check === mIk3_09 is now known as mIk3_08 [07:29] Hello anyone familiar with working wit vg === export_ is now known as export [08:47] Lightning calendar Thunderbird addon stopped working with Google calendar today. Anyone else run into the same problem? [08:52] Found the answer already: Provider for Google Calendar (the compatibility plugin) is not compatible with the latest version of TB. [08:52] Annoying to run into something like this after autoupdate... :/ [08:54] Sorry - it is an add-on. === Hobadee_ is now known as Hobadee === mIk3_09 is now known as mIk3_08 [09:27] any reason why mtu setting in the yaml file would not stick? ubuntu 18.04.3 [09:28] i have mtu: 9000 just under gateway4: xxxxx [09:28] same indent [09:30] netplan generate shows no issue. netplan apply the same [09:56] hello, what package provides libdrm static? [09:57] https://launchpad.net/ubuntu/+source/libdrm/2.4.95-1 [09:57] it says it's been dropped === im0nde_ is now known as im0nde [10:47] how do i write custom aliases that take variables? [10:47] is it possible to install the library that provides libdrm.a ? [10:48] perhaps building it by myself? [10:51] amosbird: sudo apt install libdrm-dev [10:51] tomreyn: no .a [10:51] it's dropped [10:52] not from my release, you didnt specify one [11:03] tomreyn: huh? [11:05] amosbird: libdrm-dev on Ubuntu 18.04 LTS does provide libdrm.a [11:13] tomreyn: I see [11:13] it doesn't on disco [11:45] does chrome/chromium or firefox support hardware accelerated video playback with Nvidia cards? [11:45] specifically VP9 codec [11:52] murthy, it has an option to use hardware acceleration when available [11:52] on my computer is on [11:52] I think it's the default [11:52] LuckyMan: are you using a nvidia graphics card? [11:53] nope [11:53] LuckyMan: which browser? [11:53] chromium [11:53] it's on advanced options [11:53] LuckyMan: Then definitely your video playback is not hardware accelerated [11:54] LuckyMan: see chrome://gpu [11:54] URL [11:54] maybe it works on chromium, i use chrome [11:54] LuckyMan: For Intel and AMD hardware acceleration is done with vaapi, which is disabled by default on Linux [11:54] rud0lf: what graphics? [11:55] nvidia [11:55] rud0lf: you have hardware accelerated video playback? [11:55] i have this result "Accelerated video decode is unavailable on Linux" [11:56] rud0lf: in "chrome://gpu"? [11:56] yes, under "Problems Detected" [11:57] rud0lf: Have you tried enabling the "Override software rendering list" in "chrome://flags" [11:57] i try it now [11:57] rud0lf: remember to restart the browser [11:57] murthy: hah! "Video Decode: Hardware accelerated" [11:57] rud0lf: what graphics card model? [11:58] K2100M [11:58] or M2100K [11:58] just curious, why do you need hardware accelaration to play videos? [11:58] i think the former [11:58] rud0lf, I see the same thing on my system [11:58] I play videos fine [11:58] so do I [11:58] https://bugs.chromium.org/p/chromium/issues/detail?id=137247 [11:59] rud0lf: can you play a 4k video and then goto "chrome://media-internals" and see if place of "video_decoder" for the respective video it says gpu accelerated? [12:00] doug16k: thats what I am talking about, it affects vaapi, does it affect vdpau/nvidia [12:01] LuckyMan: when you play a 4k video, how much is the cpu usage? [12:01] mine is rtx 2060 super, if you're asking if I see that on nvidia, yes [12:02] where can i find 4k video, murthy ? [12:02] rud0lf: youtube [12:03] video_decoder entry says "VpxVideoDecoder" [12:04] it all it does [12:04] I'm playing a 4k video on youtube, but I have jumps on firefox, but I think it's because I'm on ADSL [12:05] my internet connection is not very good [12:05] i don't think network speed affects media playback [12:05] ? [12:05] aside of the unfamous "spinning wheel" or whatever youtube uses to show buffering [12:05] it usually buffers all it needs [12:06] doug16k: I am having the Intel HD630 internal gpu. Since the vaapi drivers are buggy, most/all the browsers have disable vaapi, which is needed for ... [12:06] hardware accelerated video playback on Intel and AMD graphics. I would like to know whether we have hardware accelerated video playback with Nvidia cards/vdpau ... [12:06] so that I can buy a Nvidia card, specifically for vp9 codec [12:07] LuckyMan: take a look at the page "about://media-internals" [12:07] LuckyMan: once video stutters on youtube appeard on my older laptop, it had intel integrated [12:07] in my chromium it says, "Video Decode: Unavailable" [12:07] what helped, is disable hardware acceleration in advanced options, close chromium, relaunch it, then enable, and relaunch again [12:07] I just put up with it, it doesn't matter enough [12:08] rud0lf: Network speed affects media playback in case of buffering [12:08] rud0lf: ADSL is not good enough for 4k playback [12:08] murthy: yes it does, but it shouldn't cause frame skip / stuttering playback [12:08] on youtube [12:08] rud0lf: ya [12:09] doug16k: how is the cpu usage when you play a 4k video? [12:09] so if you had 100kbps connection it would sit there and buffer 99% of it then play perfect? no [12:09] doug16k: no [12:09] doug16k: youtube does not buffer like that [12:10] doug16k: It only buffers for 10 sec I think [12:10] yes, I am responding to claim that your network speed doesn't matter [12:10] doug16k: They use something called DASH or something, the video is fragmented [12:10] i have intel integrated [12:11] doug16k: ok tell me how much is the cpu usage when you play a 4k video? [12:11] LuckyMan: You said Nvidia? [12:12] 184% CPU [12:12] 3950X [12:13] I'm downloading a 4k sample and I'm going to open it with chromium [12:13] meaning 1.84 cpus in case > 100 is freaking you out :D [12:14] whole thing pegged is 3200% [12:16] hum... can't open a video file with chrome, it opens external player === Yoginth__ is now known as Yoginth [12:37] doug16k: 184% means the video playback is not hardware accelerated, It should be under 20% for 4k videos [12:40] LuckyMan: When you video is played with hardware acceleration, the "about://media-internals" should show something like this for the respective video https://www.pcsuggest.com/wp-content/uploads/2016/09/chromium_GpuVideoDecoder.png [12:40] video can be either H264 , H265 or even MPEG-2 at 4K resolution [12:40] so playback performance and acceleration will vary by system and system configuration [12:40] also the graphics card should support the codec [12:40] ya [12:41] meaning, in a nut shell...just because sally, and johnny have poor / great performance ...doesn't mean michael will/won't [12:41] you can't use someone else's system as a measuring stick for your own 4K playback preformance [12:41] performance [12:41] in a nutshell [12:42] take care and have a great day [12:42] I had owned a nvidia card, threw that because freesoftware people said open source is good and better, now when I use Intel with open source drivers, It of no use, now people what me to buy Nvidia card [12:43] tatertots: We are not benchmarking, we are trying to find If hardware acceleration is enabled for nvidia/vdpau cards for browsers on Linux [12:43] murthy, I get very low cpu usage in 4k playback, but not though browser player though [12:44] doug16k: 4k playback with media players works out of box in Ubuntu [12:44] doug16k: no problem at all [12:44] yes [12:44] it's a chrome issue [12:44] doug16k: You are having a nvidia card right? [12:44] yes, 2060 super [12:45] Hiyas all [12:47] murthy, in firefox I get under one cpu usage [12:48] BluesKaj: hello, how are you? [12:49] doug16k: cpu usage percentage? [12:49] hey murthy, fine here, and you? [12:49] BluesKaj: I am fine too [12:50] murthy, about 70% [12:50] there is not yet any hardware acceleration support for Turing, afaik [12:50] doug16k: for a 4k video? [12:51] yes [12:51] ioria: oh [12:51] on youtube [12:51] doug16k: that is better [12:54] my screen only renders 2560x1440 [12:55] and my internet connection is slow, I can only see videos on youtube without jumping on HD down [13:46] Is there any way to make the activities menu do math expressions? [13:47] being able to do math in the launcher is something I use all the time on other systems [13:52] mort, there should be some old extensions for that [13:54] ioria: I didn't find anything by searching for "math" on the gnome shell extensions website [13:58] mort search for 'calc' [13:59] Isn't that what programming languages are for? [14:00] not when you wanna do 730/3 and be done with it a second later [14:04] leden: there's one extension which looks relevant, which is called "Calculator", but the shell version dropdown only contains really old versions of gnome and the listing in ubuntu software only has one review, "doesn't work on Ubuntu 19" [14:07] Question - have a situation where I’d prefer to move a hard drive with an Ubuntu install (16) from one Dell machine to another. Slightly different version, but still an Optiplex series. New machine boots up fine with no issues with the old hard drive installed, however my NIC isn’t detected - only the loopback comes back in an ifconfig. Tried the steps I could find Google’ing - but looks like I don’t have a 70-persistent file to modi [14:07] etc, so a little stuck. Any suggestions? [14:10] simplydrew_: post URL from terminal for> lspci -nnk | grep -iA3 0200 | nc termbin.com 9999 [14:11] jeremy31: will that work even though I don’t have network conectivity? [14:12] simplydrew_: probably not, I thought you may have tethered to a smart phone [14:12] just check> lspci -nnk | grep -iA3 0200 [14:19] jeremy31: nothing returned with that [14:19] simplydrew_: try> lspci -nnk | grep -iA3 net [14:22] jeremy31: nothing for that either. lspci -nnk without the grep filter returns a few lines. taking a picture of the output due to lack of copy/paste [14:23] jeremy31: https://m.imgur.com/a/C6mokcD [14:24] simplydrew_: Any BIOS setting for the ethernet? [14:25] jeremy31: will check now - don’t think I have onboard ethernet specifically disabled or anything [14:25] simplydrew_: strange that no network device is found [14:26] jeremy31: well, just as my luck would have it, onboard NIC was disabled in the BIOS somehow. strange. rebooting now to see if it comes up [14:26] all the turkey yesterday must have gotten to my head [14:27] jeremy31: enabled now, but ifconfig still returns loopback only [14:28] check the commands again [14:31] jeremy31: https://imgur.com/a/t6aNPmK [14:32] simplydrew_: I can't see the entire result, but try> sudo ifconfig elp2s0 up [14:33] jeremy31: viola! awesome. online now [14:34] jeremy31: thanks for the help [14:34] simplydrew_: Did you use the interfaces file for the connection when the drive was in the other PC? [14:34] jeremy31: /etc/network/interfaces? yes, I did [14:35] simplydrew_: you may need to change it so the interface is elp2s0 rather than what the other machine may have had [14:36] jeremy31: okay, will do that [14:38] what player can play x265 files on an older laptop [14:42] doesnt VLC play those? [14:42] should be [14:42] might need a free codex [14:45] free codex compdoc ? [14:47] https://www.videolan.org/developers/x265.html [14:49] *codec [14:52] question, i have two hdd's in one system. 1) had debian 2) has win10. i installed ubuntu LTS on 1) to replace the debian install. I had grub running so i could choose. i forgot about that during the install. now it only boots ubuntu. where do i start to restore grub? the win10 hdd is untouched [14:53] hi, pardon, whats the german ubuntu offtopic channel called? [14:53] glick: i think #ubuntu-de [14:54] perhaps #ubuntu-de-offtopic [14:55] alis can help : https://freenode.net/kb/answer/findingchannels [14:56] not_null in ubuntu try running command sudo update-grub [14:56] that will probe for OS's [14:57] and fix grub entrys accordingly [14:59] tonyt thanks ill give it a try, it only seems to have found linux tho [15:00] not_null: post URL from terminal for> sudo parted -l | nc termbin.com 9999 [15:00] that is a handy tool [15:01] jeremy31 https://termbin.com/weusjeremy31 [15:02] not_null: Looks like Windows was installed in Legacy BIOS mode and Ubuntu was installed in UEFI [15:02] uhoh [15:03] not_null: You can likely use BIOS to boot into Win 10 [15:03] hm that is interesting :) [15:03] im not familiar with the differences but i cant make grub work again right? [15:06] not_null: You could reinstall after setting BIOS to Legacy/CSM only [15:07] jeremy31 thank you, that was very helpful. i am going to reboot now to check if i can boot win10 just to be sure [15:07] not_null: you would likely have to change the drive to use msdos partitioning [15:08] jeremy31 sorry, i do not understand [15:10] not_null: the Ubuntu drive has GPT partitioning and installing grub on that in legacy mode would need a bios_grub partition at the beginning of the drive [15:10] not_null another thing you can try if sudo grub-update did not find windows 10 is trying going in to your computer bios and find the menu that shows the harddrive order and change it to the one that windows 10 is on [15:10] set that one to 1st [15:11] assuming you got ubuntu on one hard drive and windows 10 on another [15:11] @tonyt thanks sadly wind10 is installed on bios and ubuntu on uefi [15:12] if that works, then you can fix dual boot in windows 10 [15:12] or you can also try to fix the dual boot problem in windows [15:14] not_null https://itsfoss.com/no-grub-windows-linux/ [15:14] not_null another site to look at https://windowsreport.com/fix-dual-boot-windows-10-ubuntu/ [15:16] mort, that's interesting: https://askubuntu.com/questions/1062973/built-in-calculator-to-gnome-search-window [15:16] tonyt: They have Ubuntu installed in BIOS boot and Ubuntu installed using UEFI [15:16] oh ok [15:17] thanks for trying tonyt [15:17] :) [15:24] sarnold: assuming the sarnold I know - Ramnode has a Black Friday sale. They add 33% extra to anything your put on your account - as you can probably guess I just added as much as was possoble - their prices are great but with 33% more thay are even better [15:25] sarnold: one thig I especially liked was that the deal is good for existing customers and not just new ones - I always find it sleazy otherwise === SIa_ is now known as SIa [15:58] How do I add a custom shortcut to the applications launcher? [15:59] I put the .desktop in the right location, doesn't do anything. Tried to add it with alacarte, nothing. [16:02] Got it working. [16:04] excuse me, does anyone here know how to blacklist radeon and enable AMDGPU on an R9 390? Ive done this before, but its really tricky and this is a fresh install. [16:05] if anyone can give me an exact answer id appreciate it [16:06] this is one of those cards where the system will freeze constantly in X if you use the legacy driver [16:07] hi! i made a mistake of removing my python3 packages and now i cant get it back [16:09] ebisu: I think you need to modprobe and add som text in grub. i've forgotten how tho [16:09] i cant get round figuring out this error statement "# Empty sitecustomize.py to avoid a dangling symlink". I'm following this https://ubuntuforums.org/showthread.php?t=2162017 [16:09] yeah thats the problem. ive already screwed it up once [16:09] Hi, last night I (apt update apt upgrade)ed and rebooted. when it came up there was no gui. so I switched to vt1 and ran startx to get in. I have a crash report for slick greeter and while trying to read the syslog, I found that the whoopsie service keeps going up and down. can anyone help with either problem? [16:09] radeon.cik_support=0 amdgpu.cik_support=1 [16:09] i dont know what the kernel devs were thinking [16:10] tomreyn what do I do with this information? GRUB commandline? [16:11] ebisu: yes https://wiki.archlinux.org/index.php/AMDGPU#Set_module_parameters_in_kernel_command_line [16:11] i haven't checked which generation R9 390 is, though [16:12] yeah, well, I geuss ill find out [16:12] R9 390 is the last of the cards that have legacy drivers [16:12] Sea Islands, so CIK [16:12] ok [16:13] according to https://en.wikipedia.org/wiki/Radeon_Rx_300_series [16:13] so those parameters were correct [16:14] ebisu: you can place them in /etc/default/grub [16:14] eraserpencil, sudo apt install python3 [16:15] ebisu: ...in GRUB_CMDLINE_LINUX or GRUB_CMDLINE_LINUX_DEFAULT, then run sudo update-grub [16:15] no need for blacklisting then [16:16] https://paste.ubuntu.com/p/X6zZsTbZdh/ [16:17] well, lets see if it works [16:17] this GPU has been a curse [16:18] aaaaaaaaand, black screen, again [16:18] awesome [16:18] maybe nomodeset [16:18] ebisu: hmm, which ubuntu version are you on, which kernel? [16:19] lemmie check again to make sure i didnt screw up isntalling the wrong version [16:20] 18.04.3 LTS, Kernel 4.15.0-70-generic [16:21] eraserpencil, dependency problems prevent configuration of python3: [16:21] python3 depends on python3.5 (>= 3.5.1-2~); however: [16:21] Package python3.5 is not configured yet. [16:21] you may need to use the LTSE kernel for this [16:21] ebisu: ^ [16:21] any docs on that [16:21] !ltse | ebisu [16:21] ebisu: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [16:22] also the newer Xorg [16:22] i'll try downloading from the packages.ubuntu? [16:22] Hello. I'm using Ubuntu 19.04. In the last few weeks, I need to press Control-C (or click on the "Copy" menu item) two or three times to actually copy something. It didn't use to be so. Do you know why? [16:22] eraserpencil, you should check your packages with sudo apt update and then sudo apt upgrade [16:23] you probably have dependency errors [16:23] yea i cant do apt. returns the same error [16:23] you must fix that first [16:24] eraserpencil, https://askubuntu.com/questions/263378/how-to-fix-dependencies-broken-packages [16:24] melatonina: depending on the application it may actually be ctrl-shift-c rather than just ctrl-c. also note that 19.04 will loose support within two months, it may be about time to upgrade [16:25] tomreyn: it's independent on how I invoke the copy and on the application. [16:27] melatonina: hmm well you could also look for an existing bug report or file a new one, but given the short remaining lifetime of this release, if it doesn't affect newer ones, i wouldn't get my hopes up too much. [16:27] tomreyn: ok. I may try the upgrade. thanks [16:28] i'm not sure it's a generic issue, though, more likely it's somehow specific to your system, at least i haven't heard of it before [16:28] even with the new kernel, it still freezes on boot [16:29] ebisu: and newer X, too? how early during boot does it 'freeze', what happens exactly? [16:29] freezes right after hitting enter on grub [16:29] black screen [16:30] its not even attempting to start linux it seems [16:30] like, im using a minimal install, im not even going into X by default yet [16:30] cant figure out the how to get python3 [16:30] ebisu: hmm and this only happens with radeon.cik_support=0 amdgpu.cik_support=1 set? [16:30] yes [16:30] ebisu: so the same kernel without these options boots fine? [16:31] ive done this on ubuntu before, albeit it was a temporary fix a few months ago [16:31] erase pencil have you tried fixing your dependencies? [16:31] eraserpencil, have you tried fixing your dependencies? [16:31] yeah it boots just fine without them [16:32] in fact, i never needed a special kernel before [16:32] this GPU is from 2015 [16:33] yea, it seems that i'm having a wrongly configured python3.5 [16:33] but i cant seem to have it correctly installed/configured [16:33] eraserpencil, first do a sudo dpkg --configure -a [16:33] ebisu: di you install amdgpu-pro? [16:34] I never had to before but I guess I could try [16:34] no, you shouldnt [16:34] i havent used ubuntu as a main desktop in a decade, trying again because im so damn tired of dealing with rolling release garbage [16:35] but I HAVE gotten this card to work in Ubuntu before, [16:35] latest LTS [16:35] https://paste.ubuntu.com/p/QQSHtfr9wz/ [16:35] just been a fat minute [16:35] ebisu: does the system log anything about the graphics issues when you boot without those extra parameters? [16:35] tomreyn: on the web, there are traces of this problem periodically on several Ubuntu versions. I could not gather any insight from those posts, though. I'll upgrade and hope this issue goes away, and no other issues prevent from working. I have the new release on a virtual machine and it looks ok. Thanks [16:36] it just uses radeon instead [16:36] thats it [16:36] its unstable as sin with it because it doesnt even spin the fans [16:36] a common problem with this card [16:36] amdgpu actually works [16:36] melatonina: you can test this on the 19.10 installer before you install [16:37] I dont see why it would log any "issues" because its technically loading a "working" driver [16:38] eraserpencil, why are you installing packages that way? [16:38] you know, sometimes linux would log problems with a driver when the driver is only partially working [16:38] i have not hard this problematic hardware, so i have no first hand experience. [16:39] cause apt isnt really helpful here. so i thought i might as well go the dpkg -i route [16:39] maybe try blacklisting radeon [16:39] eraserpencil, you should simply first fix your dependencies with the command I gave you and then sudo apt install python3 [16:39] i did try that [16:39] same results [16:40] tomreyn just blacklist radeon? [16:40] i find 2 reports, https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1759462 and a focus-problem ctrl + c >> https://bugs.launchpad.net/calibre/+bug/1841064 [16:40] Launchpad bug 1759462 in gnome-settings-daemon (Ubuntu) "Keyboard shortcuts not operational on 18.04" [Low,Confirmed] [16:40] Launchpad bug 1841064 in calibre "Vers. 3.46 - Ctrl-c doesn't work not under Ubuntu nor under windows" [Undecided,Won't fix] [16:40] eraserpencil, show me the result of sudo apt update && sudo apt upgrade [16:41] ebisu: well if it doesn't work well and you say amdgpu does, then why not give this a try? [16:41] https://paste.ubuntu.com/p/3ZCNYnDhrB/ [16:41] just do this? [16:41] options radeon cik_support=0 [16:43] ebisu: where would you do this? [16:43] /etc/modprobe.d/radeon.conf [16:44] ebisu: is this a file you would create, or do you have it already? [16:44] would create it [16:44] eraserpencil, sudo apt clean [16:45] use /etc/modprobe.d/blacklist-radeon.conf ?? [16:45] eraserpencil, sudo apt install -f [16:45] ebisu: ppersonally i'd prefer testing things with kernel parameters first instead of placing it in modprobe configuration files, but YMMV- [16:45] ebisu: maybe try this: https://bugs.freedesktop.org/show_bug.cgi?id=91880#c208 [16:45] Freedesktop bug 91880 in Drivers/Gallium/radeonsi "Radeonsi on Grenada cards (r9 390) exceptionally unstable and poorly performing" [Critical,Resolved: moved] [16:45] kernel params crash the system no matter what i do [16:46] https://paste.ubuntu.com/p/VMgG88M6Gp/ [16:46] eraserpencil, sudo dpkg -a --configure [16:47] eraserpencil, sudo apt autoremove [16:47] eraserpencil, sudo apt autoclean [16:48] ebisu: if you have reason to believe that you have previously edited files in /etc/modprobe.d/ then make sure you don't have any radeon or amdgpu reated blacklist or options configured there [16:49] https://paste.ubuntu.com/p/8s8BbqY7cf/ [16:49] LuckyMan, maybe removing lists and start over? sudo rm -rf /var/lib/apt/lists && sudo apt update ### https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure [16:49] ebisu: though this seems to be default: /etc/modprobe.d/blacklist-framebuffer.conf:blacklist radeonfb [16:50] nothing else should be returned by this, though: rgrep -Ei 'radeon|amdgpu' /etc/modprobe.d/ [16:50] should i try removing lists? [16:51] eraserpencil, it does no harm, lists will be reloaded, but wait for LuckyMan [16:51] absolutely NOTHING I do works [16:51] I havent made anything in modprobe yet [16:52] ebisu: if you'll make changes to /etc/modprobe.d/ you'll need to update-initramfs -k all -u [16:53] eraserpencil, it seems you have a lot of ppa's. PPA's are fun but not good for package dependency. [16:53] no, PPA's arent fun at all. but they are necessary [16:53] that again begs the question, I make /etc/modeprobe.d/blacklist-radeon.conf and then I add this: options radeon cik_support=0 [16:53] yes? [16:54] eraserpencil, you should probably sudo apt remove python3 and then try to fix your packages [16:54] i have tried that route [16:55] ebisu: the file name /etc/modeprobe.d/blacklist-radeon.conf suggests that this file will contain "blacklist radeon", which then blackliusts the radeon driver from being loaded. if you do this, also adding an option for this module makes no sense. [16:55] eraserpencil, and you can also try what oerheks suggested [16:55] so, just create the file? [16:56] ebisu: just creating the empty file will make no difference. what is ti that you're trying to do? [16:56] force my GPU tp use AMDGPU [16:56] just floating this suggestion. should i sudo apt remove libpython3* [16:57] ebisu: did you try this, yet? https://bugs.freedesktop.org/show_bug.cgi?id=91880#c208 [16:57] Freedesktop bug 91880 in Drivers/Gallium/radeonsi "Radeonsi on Grenada cards (r9 390) exceptionally unstable and poorly performing" [Critical,Resolved: moved] [16:57] alongside sudo apt remove python3* [16:57] nothing I put in the GRUB command line works whatsoever [16:58] it just freezes my system with a black screen [16:58] ebisu: actually i should have pointed to comment 210 where it was confirmed working [17:00] ebisu, what's your kernel ? [17:02] eraserpencil, wouldn't put the *, I would just do a sudo apt remove --purge python3 [17:02] but I'm running out of knoledge here, I'm just a noob [17:03] nope, doesnt work [17:03] 5.0.whatever now [17:03] ebisu: Are you writing commands in grub? [17:03] yes [17:03] ebisu, is that a default 18.04.3 install ? [17:03] use radeon driver and write the commands in Ubuntu instead i guess [17:04] its a default minimal install [17:04] i used the mini iso [17:04] ah [17:05] hmmm [17:05] ebisu, and after you did a 'sudo apt install ubuntu-desktop' ? [17:05] no, why would I need that [17:05] would anyone like to weigh in ? [17:05] I cant even boot a command prompt [17:05] with these options [17:05] ebisu, beacuse mini.sio does not have a desktop ?ù [17:05] Yes, I dont need a desktop, I already installed my window manager [17:05] ebisu, ah, so running headless ? [17:06] i use windowmaker [17:06] ebisu, what is windowmaker ? [17:06] a window manager by the GNU project [17:07] its very nice and functional, ive used it for abour 5 years [17:07] ebisu, cat /etc/default/grub | nc termbin.com 9999 [17:07] ok === SimonNL is now known as SimonNL_Afk [17:09] https://termbin.com/thi3 [17:12] ebisu, and what happens with those parameters ? [17:12] black screen afer GRUB [17:12] and keyboard indicates a system freeze because caps lock no longer works [17:13] ebisu, so remove them and run sudo update-grub [17:14] I mean, thats not gonna solve the problem [17:14] !bootlog | ebisu: you could remove "splash quiet" if you wanted to see where / how it's failing, and add these: [17:14] ebisu: you could remove "splash quiet" if you wanted to see where / how it's failing, and add these:: To get a more verbose log of the boot process, remove "quiet" and "splash" from the kernel boot parameters and add "debug systemd.log_level=info". For info on editing kernel boot parameters, see https://wiki.ubuntu.com/Kernel/KernelBootParameters [17:14] because then it will boot but ill be using radeon [17:15] ebisu, i see, and radeon does not work ? ( i know it's probably wrong for R9 390) [17:16] oerheks: LuckyMan: did sudo apt remove python3* libpython3* && sudo rm -rf /var/lib/apt/list && sudo apt update && sudo apt upgrade [17:16] everything works now [17:16] radeon for the R9 390 freezes constantly in X and wont even spin the fans [17:16] eraserpencil, good! [17:16] also its a trash driver that performs awfully [17:16] thanks. now i got to learn good python env management [17:17] eraserpencil, go to #python [17:18] ebisu, ok, and do have you a display manager installed like gdm or slim ? [17:18] not yet but it doesnt matter if i cant even get into the command line in boot [17:18] I usually just use XDM [17:18] ebisu, i mean, how do you start X ? [17:19] startx for now [17:19] Hey guys, I addeda old ssd to a lvm voluemgroup which lead to ata os error which lead to me trying to remove the the disk physically then doing a vgremove of missing lvm volumes and now all i'm left with is the vg swap [17:19] it freezes at activating swap now [17:19] rebooted so i lost my archives [17:19] now that I can see systemDs output [17:20] to be clear of what im trying to do, im trying to force my card to use AMDGPU [17:20] ebisu, yes, try this 'radeon.cik_support=0 amdgpu.cik_support=1 amdgpu.dpm=1 amdgpu.dc=1' but reboot on the 4.15 kernel [17:20] All that system config stuff isnt a problem to me. My syste freezes during boot with the correct kernel parameters [17:21] It did the same thing on the 4.15 kernel [17:21] ebisu, there parameters are different [17:21] I know its not a kernel problem, I was using Void just fine [17:21] *these [17:21] with new kernels [17:23] ebisu, set 'radeon.cik_support=0 amdgpu.cik_support=1 amdgpu.dpm=1 amdgpu.dc=1' ; sudo update-grub and reboot on the 4.15 kernel [17:23] trying [17:23] hi. i want to download a dir from dropbox to my shell but i couldn't do it by wget. can you tell me how ? [17:23] nope, it freezes all the same [17:23] ebisu, i'am out then [17:23] lol [17:24] thanks for your time [17:24] i used wget -r path but its downloaded whole domain dirs and final dir shows as a file [17:24] is there anywhere I can download the kernel source and the ubuntu default config? [17:25] I can always disable it in the kernel, ive done it before [17:25] ebisu: this basically just suggests what we already did but maybe you can find something else there: https://askubuntu.com/questions/1094443/ubuntu-18-04-1-lts-r9-390x-amdgpu-guide-testing-summary [17:25] also upgrading your uefi may help [17:26] im not using UEFI [17:26] bios then [17:27] i was thinking those only came along with uefi boards [17:34] ebisu: you may need to also add log_buf_len=1M for when you try to get on screen output. by default the buffe ris larger so not everything may have been written to the screen before the kernel hangs [17:35] obviously this issue has nothing to do with swap, so i assume something else was logged (but not printed to screen) after this swap related event [17:36] I followed that entire guide to a T and now my system is hosed, not that I expected anything else [17:36] I hate computers [17:36] 😂 [17:37] ebisu, it might depends on your setup, so i'd try with a regular 18.04.3 desktop livecd [17:41] bello, try adding '?dl=1' to the end of the URL? [17:42] lordcirth_: for the directory? [17:43] bello, yes. It should download a zip, iirc [17:45] lordcirth_: wget -r /link/dir?dl=1 ? [17:45] bello, yes. [17:46] hello, lets say i am on this path: /this/is/a/test/1/2/3/4/5/6 and i want to go to this path /this/is/a/test , is there any alternative to cd .. method? [17:46] lordcirth_: its downloading dir with dl=0 in end and when i renamed it, showing me a file not dir [17:47] bello, and what kind of file is it? [17:48] chris2003: cd /this/is/a/test [17:49] is there any way i can isolate the rest of the path? i want to use it on a script [17:49] chris2003, not sure what you mean by "isolate the rest" [17:50] lordcirth_: it's a dir. not file [17:51] lordcirth_: ah im on android browser, its unrecognized file [17:51] bello, If you download a dir from dropbox, it gives you a zip. Is the file wget downloaded a zip? [17:51] bello, android browser? why? [17:52] i use this VAR: DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" on my script to detect where the script is located, and then i want to run lets say a script on a parent folder, how can i make it go to that path? [17:52] lordcirth_: no it's giving me unrecognized file [17:52] lordcirth_: i'm checking it from browser to see if downloaded as directory [17:52] bello, wget will not download a directory without -r [17:53] And "unrecognized" doesn't mean anything, if there's no file extension. [17:53] bello, on your Ubuntu machine, use 'file' on it to get the real type. [17:53] how do i get the address of my ethernet interface in ubuntu? [17:53] ifconfig? [17:54] gobble_gobble, your networkmanager can show it? [17:54] what would that be in ubuntu [17:54] .. wait you have not tried 'ifconfig' ? [17:55] i did, but i did not know what to use from that? [17:55] is it just my ip address is considered my "address of my ethernet interface"? [17:55] gobble_gobble, yes, that is what an ip address is [17:55] inet is your ip on the local lan [17:56] when you see things like x.x.x.x/24 [17:56] where the xs are some numbers, what does that mean? [17:56] that is not what you see in ifconfig [17:56] gobble_gobble, the address, and the size of the network it is in (/24) [17:56] i have the feeling we are doing your homework? [17:57] no just learning on my own [17:58] gobble_gobble, you should probably look for a general networking tutorial, then [17:58] And come back with any Ubuntu-specific questions [17:58] chris2003, still not entirely sure what you want, but if $DIR contains a path you can use ${DIR%/*} to lop off everything after the last slash, which would be the path to the parent dir. Read https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html#Shell-Parameter-Expansion about pattern expansions... [18:00] chris2003, you may need to do some jiggling if the DIR variable has a trailing slash... [18:01] i want something like this: this is the path: /this/is/a/test/1/2/3 and the parent directory: /this/is/a/test and i want a command to go from one to the other something like cd goto test instead of using cd .. all the time [18:02] chris2003, how would you determine to lop off 1/2/3 instead of just 2/3? I.e. what distinguishes the directory you want to go to? [18:03] chris2003, if it's a small number of hops, "cd ../../../" might be simplest. [18:03] set an alias? [18:03] also aliases or pushd/popd [18:04] alias qq='/this/is/a/test/1/2/3' --- alias ww='/this/is/a/test/' [18:05] but ww can be funny :-P [18:05] ANyone know of a hex editor that's included on the ubuntu recovery cd ? [18:05] im doing all of these because i move the folder of my scripts all the time, i guess i have to work with cd .. [18:07] C0nundrum, none AFAIK, install xxd in that live environment [18:07] !info xxd [18:07] xxd (source: vim): tool to make (or reverse) a hex dump. In component main, is important. Version 2:8.1.0875-5ubuntu2 (eoan), package size 48 kB, installed size 199 kB [18:08] But i'm in the installer disk environment i don't have apt or dpkg [18:10] chris2003, if you just want to run a script in a directory above the one the running script is in, you can just run ${DIR}/../../../scriptname, you don't have to cd [18:10] C0nundrum, so, start the live iso, then install xxd, and hit the install ubuntu button on the desktop? [18:11] not sure why you need an hex editor during install... [18:11] chris2003, you do need to know the structure of the directory tree that you're moving around to put in the right number of slash dot dots... === car_ is now known as car [18:13] i think i found the function i needed: cdu () { cd "${PWD%/$1/*}/$1"; } [18:17] hi [18:19] alexandrdvorkin, hi [18:45] Hi guys, i'm trying to create a vlan interface on my server using netplan with the following code : https://pastebin.com/Wu05wwW4 [18:45] i'm able to ping the interface from the same subnet, but not from other subnets [18:46] and the server is able to ping devices in the 172.31.2.0/24 subnet but not other using the -I vlan2 interface [18:47] ontani, you will need to set a route for 172.32.0.0/16 or whatever, otherwise it will use the default route on the untagged interface [18:53] hmm for some reason my client who has an address in 192.168.6.0/24 can ping the router in vlan2 (172.31.2.1). It's default gateway is 192.168.6.1 [18:54] however the server cannot ping the router when pinging using its enp2s0 interface [18:54] while it has the same gateway === SimonNL_Afk is now known as SimonNL [19:18] Hello, my Ubuntu does not recognize my installed NVIDIA drivers and my display resolution is very low, I've followed the instructions from this page () but nothing, I reboot with the same low resolution, any idea? [19:18] sorry, the web is: https://medium.com/better-programming/how-i-fixed-my-display-resolution-by-installing-nvidia-drivers-on-ubuntu-18-04-bionic-beaver-linux-489563052f6c [19:19] I'm on Ubuntu Mate 18.04 [19:19] I insist, I've got NVIDIA drivers installed [19:20] I've tried to purge them, reinstalled them, but nothing [19:20] my monitor display won't recognize them [19:21] so my resolution is so low I see the windows so big [19:21] I screwed everything I guess [19:26] Gosset, likely, if you used the .run file ; what was the problem with the nouveau driver ? [19:26] no, I didn't [19:26] I used the autoinstall [19:27] so now I have installed the recommended NVDIA driver, which is [19:27] Gosset, ah, ok; type 'dpkg -l | grep nvidia | nc termbin.com 9999' [19:27] 435 [19:28] https://termbin.com/c3wt [19:28] see? 435 [19:29] Gosset, paste here : cat /proc/cmdline [19:29] It never happened this to me [19:29] BOOT_IMAGE=/boot/vmlinuz-5.0.0-36-generic root=UUID=52d7cfd0-7183-480d-8461-3f24462cfc0f ro quiet splash acpi_rev_override=1 nouveau.modeset=0 vt.handoff=1 [19:30] Gosset, why do you have this -> acpi_rev_override=1 nouveau.modeset=0 ? [19:30] I was playing with the grub options [19:30] because I had a problem, when shutting down the system, it freezed [19:31] Gosset, cat /etc/default/grub | nc termbin.com 9999 [19:31] so, when trying to solve a problem, appeared a new one [19:32] https://termbin.com/vx19 [19:32] maybe I should get the default grub file...? [19:33] Gosset, you just removed 'quiet splash'; i don't think it's the issue [19:34] Gosset, sudo updatedb && locate xorg.conf | nc termbin.com 9999 [19:35] https://termbin.com/5idf [19:37] Gosset, cat /etc/modprobe.d/blacklist-nouveau.conf | nc termbin.com 9999 [19:37] the file does not exist [19:38] Gosset, it should ; ls /etc/modprobe.d/ | nc termbin.com 9999 [19:39] https://termbin.com/140w [19:40] Gosset, and you should also have a nvidia-graphics-drivers.conf in there [19:41] I should [19:41] Gosset, cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf | nc termbin.com 9999 [19:41] on Software and updates, I see this message: you are using one proprietary driver [19:42] https://termbin.com/kj1r [19:44] Gosset, lsmod | grep -i nvidia gives you output ? [19:44] no output :-( [19:45] Gosset, so nvidia it's not loaded ; lspci -nnk | nc termbin.com 9999 [19:45] https://termbin.com/89qy [19:46] Gosset, yes, not loaded [19:46] mm [19:46] installed but not loaded? [19:47] how can I load it [19:47] thanks for you effort btw [19:47] Gosset, yes, cd /etc/modprobe.d/ ; sudo mv blacklist-nvidia-nouveau.conf blacklist-nvidia-nouveau.conf.back [19:47] I try [19:48] done [19:48] Gosset, sudo update-initramfs -u [19:49] ok, generating boot [19:49] done === westor{off} is now known as westor [19:50] Gosset, reboot, disable secure boot and don't use ' acpi_rev_override=1 nouveau.modeset=0 ?' [19:51] where is the option of disabling secure boot [19:52] boot manager? [19:52] bios [19:52] thanks sorry [19:52] ok, I'm rebooting and coming back, thanks! [20:11] ioria is not here? [20:11] :( [20:11] Gosset, yes [20:11] oh, sorry [20:11] well, I restarted but didn't find the [20:12] secure boot option in my BIOS [20:12] anyway, the problem persists :( [20:12] Gosset, mokutil --sb-state [20:13] Gosset: what result for this in terminal> mokutil --sb-state [20:13] EFI variables are not supported on this system [20:14] ? [20:14] Gosset, sudo parted -l | nc termbin.com 9999 [20:14] https://termbin.com/r1ei [20:15] Gosset, probably you installed in legacy mode; btw; we need to purge nvidia [20:15] but if I disable CSM maybe I will see the Secure Boot option to disable [20:16] no prob [20:16] Gosset, sudo apt nvidia-driver-435 [20:16] Gosset: you don't have to worry about Secure Boot as it doesn't work in CSM [20:16] ok [20:16] Gosset, sudo apt purge nvidia-driver-435 [20:16] ok done the purge [20:17] Gosset, sudo apt autoremove --purge [20:18] generating boot... done [20:18] Gosset, dpkg -l | grep nvidia | nc termbin.com 9999 [20:18] https://termbin.com/17qq [20:19] Gosset, sudo apt purge libnvidia-compute-390:i386 nvidia-prime [20:19] ok done [20:19] Gosset, sudo apt autoremove --purge [20:19] done [20:20] nothing else to purge [20:20] Gosset, so, reboot and we'll see if it works with the default nouveau driver; if not boot with 'nomodeset' [20:20] ok I try thanks! [20:22] ioria it works [20:22] Gosset, and the resolution is correct ? [20:22] yes [20:22] :) [20:23] should I try to install the NVIDIA drivers though? [20:23] Gosset, sudo apt install nvidia-driver-435 (and please, check if any errors com up) [20:23] ok [20:23] *come [20:24] installing packages with no problems... generating boot... [20:24] done [20:24] Gosset, when it's done, reboot [20:25] ok brb [20:27] Looking to find the difference between Ubuntu cloud images with .img and .vmdk extensions. When I use the .vmdk under VMware vCloud Director, it boots, but converting the .img to .vmdk causes it to hang. I have other .imq and .qcow2 images that I want to convert and they all exhibit the same behaviour. Where should I ask? [20:27] ioria the problem appeared again with the NVDIA drivers :-( [20:28] low resolution again :( [20:28] Gosset, ls /etc/modprobe.d | nc termbin.com 9999 [20:29] https://termbin.com/uvut [20:29] mbeierl, try #ubuntu-server ?? [20:30] thanks, oerheks [20:31] Gosset, dpkg -l | grep nvidia | nc termbin.com 9999 [20:31] https://termbin.com/m156 [20:32] might be a bug? [20:33] Gosset, idk, sudo nano /etc/modprobe.d/nvidia-graphics-drivers.conf and put this : https://paste.ubuntu.com/p/mN68rkTWQN/ [20:34] ok done [20:35] Gosset, cat /etc/modprobe.d/blacklist.conf | nc termbin.com 9999 [20:36] https://termbin.com/8p3qb [20:37] Gosset, sudo update-initramfs -u [20:37] done [20:38] Gosset, you know, reboot :( [20:38] brb [20:38] reboot [20:39] ioria the problem persists after rebooting [20:40] low res. [20:41] Gosset, sudo nano /etc/modprobe.d/nvidia-graphics-drivers.conf and try this : https://paste.ubuntu.com/p/vYD7dRvjSs/ [20:41] Gosset, remove the old lines [20:41] ok [20:42] Gosset, after that, i think you need to try another nvidia version driver [20:42] done [20:42] Gosset, sudo update-initramfs -u [20:42] so I must purge before [20:43] ? [20:43] Gosset, it's better imho, but first we try this one [20:44] which version do I try [20:44] Gosset, have you run the update-initramfs -u ? [20:45] no [20:45] I do now [20:45] run it [20:45] sorry, I already did yes [20:45] Gosset, cat /etc/modprobe.d/nvidia-graphics-drivers.conf | nc termbin.com 9999 [20:46] https://termbin.com/17wa [20:46] Gosset, reboot [20:46] reboot [20:46] sorry xD [20:48] ioria :-( same res. [20:49] I would stay with the non-proprietary driver (xorg) but... [20:49] I think I need the NVDIA driver to get sound [20:50] cause I have an HDMI cable... [20:50] Gosset, i'd try another nvidia driver : run ubuntu-drivers list [20:50] 435, 430, 390 [20:51] Gosset, sudo rm /etc/modprobe.d/nvidia-graphics-drivers.conf [20:51] done [20:51] Gosset, sudo apt-get remove --purge '^nvidia-.*' [20:52] ok, purged, done [20:53] Gosset, sudo rm /usr/share/X11/xorg.conf.d/20-intel.conf [20:53] file not found [20:53] ok [20:54] Gosset, sudo apt-get autoremove --purge [20:54] purging... done [20:55] Gosset, sudo apt install nvidia-prime [20:55] ok done [20:55] Gosset, try 'sudo prime-select nvidia' [20:56] is already set [20:56] the nvida profile [20:56] Gosset, grep blacklist /etc/modprobe.d/* | grep nvidia | nc termbin.com 9999 [20:56] https://termbin.com/zuvh6 [20:57] Gosset, sudo rm /etc/modprobe.d/blacklist-framebuffer.conf [20:57] done [20:57] Gosset, ls -l /etc/modprobe.d/nvidia-installer-disable-nouveau.conf [20:58] file not found? [20:58] ok [20:58] Gosset, grep blacklist /lib/modprobe.d/* | grep nvidia | nc termbin.com 9999 [20:59] https://termbin.com/4ki1q [20:59] Gosset, sudo rm /lib/modprobe.d/blacklist-nvidia.conf [20:59] done [21:00] Gosset, sudo rm /lib/modprobe.d/nvidia-graphics-drivers.conf [21:00] file not found [21:00] ok [21:00] Gosset, sudo update-initramfs -u [21:01] done [21:01] Gosset, sudo apt-get install nvidia-driver-430 (check for errors, please) [21:02] process done, i didn't find any error... [21:02] reboot? [21:03] yes [21:03] brb [21:07] ioria it worked! thanks a lot! [21:07] Gosset, ok, good job; bye [21:07] although when I [21:07] ok [21:07] xD [21:08] I was to say that when I reboot or I shut down, the system freezes xD [21:08] I owe some beers to ioria man [21:13] !donut | ioria === ysch_ is now known as ysch [22:14] What type of signal is triggered when we press the power button for 8 seconds (not 10+ seconds that brutaly switches off power supply)? [22:14] This is the only thing that works on my Dell XPS13 to recover from a failed sleep without rebooting [22:15] Pressing the power button 8 seconds immediately shows the lock screen and I can recover the opened session [22:15] courrier: 8 seconds is different than a momentary press? [22:18] I suspect (but don't actually know) that things like longpresses of the power button are handled in bios, not by the OS. [22:18] Yes, quick press has absolutely no action jeremy31, the screen remains black (after the failed sleep tentative) [22:18] On my X1 Carbon, a longpress on the power button shuts down. [22:18] Hum, however that BIOS thing brings Ubuntu up for some reason [22:19] Also as I mentionned I get a different behaviour when pressing 8 and 10 seconds: 8 sec reactivate my screen while 10 seconds actually switches off brutaly [22:20] 5 sec should do.. [22:21] why 5 oerheks? [22:24] that i recall in my experience, there are different gen xps13 though [22:24] holding long like 20 seconds is a hard reset [22:26] Something like an 8 second button press must trigger something in ACPI === TheSilentLink_ is now known as TheSilentLink [22:31] holding long like 20 sec. causes stiff finger [22:32] Shhh jeremy31 [22:49] Ubuntu 16.04 doesn't seem to detect my external monitor for my laptop. [22:49] was working fine today until I restarted my computer [22:53] hey, I'm having issues with waking up this thinkpad from suspend, the screen is going blank and I have to use hard reset. radeon driver, old hardware. Am I out of luck? [22:53] going to restart my computer. I'll be back in a few minutes [22:53] dmesg: https://0x0.st/zIFj.dmesg fwts: https://0x0.st/zIF1.log [23:00] there are some good project that need some help, i need get some practice on software developing and i will be gratefully to help and learn with a project! [23:01] hey guys, is there a reason when i copy files over to a USB flash drive using exFAT that only some of the copied files show up? I have bigger files so Fat32 isn't an option, and ext4 sets root as owner so it's impossible to just paste. Should I perhaps just go with NTFS? (that is two questions, it would be nice to try to get an answer to both. [23:01] thank you very much!) [23:09] i'm not sure but some fat systems had limited characters and filename length [23:10] also symlinks weren't allowed [23:10] ntfs seems to work pretty well though people will tell you not to and permissions problems could possibly arise [23:11] okay, yeah i went ahead and formatted it to NTFS and we'll see how that goes. SLOW as heck copying these files over though. [23:11] 3 files 4.8gb, running nightmarishly slow. [23:12] well good luck, sometimes some usb ports on your machine are faster than others [23:13] oh that's right, i switched my keyboard/mouse to the 3.0 port because it wasn't blocked, but now i've moved the setup around and forgot that was a thing i did. I feel stupid now hahaha [23:14] it's a laptop, and i don't think there's ever going to be a satisfactory "port setup" no matter what the manufacturer does. [23:17] thank you humbot, it's almost done copying, so i guess i'll see how it all goes down! i should back up my reallllly important documents online though, i don't have an easier way in case things go south [23:19] roracle: or just get a good external HDD :P [23:20] unknown error while mounting [23:20] what the heck [23:20] bprompt i have one, i might just hook it up in the end [23:20] i didn't have much to back up so i figured this would be quicker [23:20] it's less than 5gb of backups, so yeah, i didn't wanna get it out just for this [23:21] wait, when it says it's done copying, is it REALLY done copying? [23:22] becasue that might be an issue [23:22] it was still flashing which i noticed as i unplugged it [23:40] I can't seem to unmask -.mount [23:56] If I'm on 19.10, what kind of line should be in /etc/apt/sources.list ? [23:56] echo "deb-src http://ftp.us.debian.org/debian testing main" >> /etc/apt/sources.list [23:57] I have a line like that in a Dockerfile for Ubuntu