[00:07] is there a good place for linux bluetooth questions? i find connecting my bluetooth headphones to be pretty hit-and-miss on linux (it's pretty bad on windows too, for that matter) [00:27] Does anyone know how to get the rhythmbox column sort to only show artist? [01:11] Why does code from repl.it pasted into vim have messed up formatting? http://i1074.photobucket.com/albums/w403/Hathadar/bad_code_pasting.png [01:12] just to be sure I absolutely have to use windoze, no one has got fallout 4 running under linux/wine have they? [01:14] Toadisattva: i haven't tried recently but wine has a directx 11 implementation now, sorta [01:15] Toadisattva: so it might work with a little luck and prayer [01:18] I'll give it go :) === promet_ is now known as promet === bazhang_ is now known as bazhang [02:22] i've been told that ubuntu is good for beginner linux users. and that distros like fedora or debian are for more advanced users. but is there anything inherent in ubuntu that a debian/fedora user can't do? do advanced users still use ubuntu? [02:22] There's nothing you can't do in one you can do in another [02:22] Ubuntu tends to be a little more focused on user-friendlyness and hand-holding, imho [02:23] I use it because its familiar, but I skip the GUI and use command line. [02:23] ubuntu is a derivitive of debian, so most of that is the same [02:29] Geo: that's what i thought. that's why i don't see much point in switching. maybe if i was a kernel dev or something, i'd go for fedora [02:30] ubuntu vs debian, linux vs windows, vim vs emacs [02:30] everyone has their opinions, the only one that is right is yours [02:30] Geo: i started out with ubuntu and gradually got better with the terminal. never felt the need to change [02:31] Geo: ye, definitely. i'm just interested in how i can improve my own knowledge of linux :) so far, i don't feel like ubuntu's limited that [02:31] it doesn't limit anything [02:33] Ben64: i agree. that's why i find it bizarre when fedora/debian users telling me i shouldn't be using ubuntu, because it's for beginners [02:33] people love to hate ubuntu [02:34] linux users should actually be grateful for ubuntu. it has done a lot for the community. expanded the userbase, and brought new users in. even the popularity of mint can be credited to ubuntu. seeing as how mint is built on top of it === Piece_Maker is now known as Acou_Bass [02:35] wouldn't that mean debian should be credited instead? [02:39] nchambers: debian should definitely be credited. i mean in terms of creating a distro that is able to bring in the average user. and expanding the userbase like ubuntu do [02:39] the computer my parents use runs ubuntu. 10 yrs ago, i'd never have thought my parents would be able to navigate linux [02:45] Hello. Any artful user here? [02:46] A few Artful users and I have a strange problem. Turning off the screen ends up logouts the desktop session: [02:46] https://ubuntuforums.org/showthread.php?t=2372388&p=13694315 [02:47] Any advice? Or where can I file a bug like this? [02:48] n35xdxb0: ah fair renough [02:48] nchambers: :) [02:49] !17.10 | yookoala [02:49] yookoala: Ubuntu 17.10 (Artful Aardvark) will be the 27th release of Ubuntu. It is due to be released in October 2017. Discussion in #ubuntu+1 [02:51] Bashing-om: thanks. i was wondering what artful is! [02:52] n35xdxb0: :) all a process in learning . None of us know everything . [02:53] Bashing-om: n35xdxb0: Do you have any idea how such thing can happen? Any advice on how to track it down? [03:11] i know i can use the command apt-cache show packagename to get info about a package/program, but is a way of getting more info from the terminal, like date first created? date last updated? in emacs, when adding extensions from melpa, it shows that info. which is useful to assess how current a package is. was wondering if could the same with apt [03:12] n35xdxb0: apt-get changelog PACKAGENAME [03:12] :) [03:15] brokencodes: brilliant. just what i wanted, there's always a way with linux, just gta find it. thanks :) [03:16] pro-tip: If you type your question into google exactly how you asked it here, chances are, you may get an answer back that is legitimate. [03:17] no sarcasm intended. Just learning the yungins how the interwebs works.... Cuz if you have a question, chances are, someone has answered it before [03:19] for fun, you can also try apt-listchanges PACKAGENAME [03:38] why does 'apt search gcc' give me a million unrelated results like "zoneminder/yakkety 1.30 video camera securty" ? [03:41] now im getting an error when trying to update, "repository jonathonf/gcc7.1 does not have release file, updating from sucha repository canot be securely done" [03:42] probably shouldn't be using jonathonf's repository then [03:42] i need a higher gcc [03:43] oh and you're not even on a supported release of ubuntu [03:43] time to upgrade [03:44] having to run vbox as root cuz I can't access the usb devices any ideas? [03:44] tried adding user to adm and vboxusers but not go [03:46] i cant upgrade Ben64 [03:46] swift supports 16.10 as the last ubuntu release [03:47] hooo: downgrading to 16.04 LTS is not an option? [03:47] that would be even lower [03:48] hooo: it's LTS though, the PPA you referenced only supports trusty and xenial, which would give you gcc 7.2 even if you need that [03:50] hooo: 16.10 isn't supported -- that means your system is vulnerable to everything that has been found in the past few months [03:51] ok but still, why is the search so totally broken [03:51] Ben64, it's a VM. I think it will be fine [03:52] hooo: it's not broken, your search term (gcc) is just about the widest net you can throw, as a huge number of packages depend on it [03:52] but i didnt ask for packages that depend on gcc [03:53] i asked for gcc [03:53] you should use apt show gcc [03:53] or apt-cache policy [03:55] ... [03:56] can someone please help me associate .blend files types with blender [03:57] I am using a blender binary that is in a directory in my home directory [03:58] bloop, just right click and go to 'open with' [03:58] hooo, there is no browse option [03:58] and the applications in the list do not include the binary I want to associate with it [03:59] https://askubuntu.com/questions/317392/how-to-add-a-custom-program-to-open-with-list-of-programs-in-xubuntu-13-04-ho [04:02] none of that works [04:02] it's stupid [04:02] in windows I could just select browse and choose the executable I want to associate [04:04] well it depends what de you've got [04:04] bloop: yeah it's a bit silly.. you can put full path to the binary you want though, do 'which blender' on a terminal to find out where it is exactly - most likely /usr/bin/ [04:05] i know where it is [04:05] I uninstalled the one from the repostory [04:05] and now I'm using a portable one in my home directory [04:05] I want to associate that with .blend files [04:05] i even put a launcher to it in ~/.local/share/applications [04:06] but it doesn't show up in the app list to open .blend with when choosing open with other application [04:06] thats linux for ya, everything is a pain in the butt [04:06] not really [04:06] ok then give him a single line command at least so he can get on with his life [04:07] 16.04 LTS [04:07] yes, please [04:07] tell me what to do [04:07] in windows I could go to open with [04:07] and choose browse and select the binary [04:07] Oct 04 2017 21:04:21 well it depends what de you've got [04:07] he already todl you [04:07] told* [04:07] no he didn't [04:07] he said 16.04 [04:07] thats a release number [04:08] and? [04:08] ubuntu [04:08] what more do you need? [04:08] 16.04 lts [04:08] not a desktop environment [04:08] unity [04:09] bloop: what MimeType did you add to the .desktop file? [04:10] i have no mimetype in the .desktop file [04:10] the one from the repos comes with a desktop file that has MimeType=application/x-blender; in it, try adding that [04:11] or download the repo deb and extract it [04:13] didn't do anything [04:13] bloop: you might need to relogin [04:13] omg [04:13] ugh [04:14] that's the trouble with installing something that isn't packaged for ubuntu, it's not me or anyone else ;) [04:15] packages come with post-install scripts that take care of all this [04:15] no, it's ubuntu's fault for no providing a bare minimum feature like 'open with..' [04:17] it has such a feature, but having a .desktop file without proper items does absolutely nothing [04:17] it's called the freedesktop specification and isn't limited to ubuntu, almost all linux distros use it [04:19] i don't see what adding that mimetype is going to do [04:19] is it going to magically make blender appear in the list of applications in "Open With" [04:28] it didn't do anything [04:29] glitsj16, did not do anything [04:35] using ubuntu-tweak [04:40] bloop: can you pastebin your ~/.local/share/applications/defaults.list please? That's where you created the .desktop file correct? [04:43] there is no defaults.list [04:44] how many .desktop files do you have in that dir? [04:44] just the one you created for blender? [04:44] wine stuff and chrome stuff [04:44] that's it [04:45] odd, those are associated with the launchers as expected? [04:45] i have no idea what they are [04:45] or where they came from [04:46] ah wait, it could be mimeapps.list and mimeinfo.cache we need to look for [04:46] my bad [04:46] it doesn't matter now [04:47] ubuntu tweak has a file type manager [04:47] good to read this pain is gone then === rkta_ is now known as rkta [04:59] how to show process that use too much swap memory ? [04:59] fishcooker: fire up top or htop on a terminal, sort by swap column === thurstylark is now known as thursdaylark === JanC is now known as Guest53841 === r0Oter is now known as r00ter === gr33n7007h is now known as al2o3-cr [08:24] Good morning, I was wondering if someone here could help me with a problem: I've just done a fresh install of Ubuntu Server 17.04 and right after the installation I did: sudo apt-get update and then suds apt-get install cockpit , but he can't find the cockpit package. I'm clueless and can't find anything online in regards to this problem. Does anyone have an idea as to why it doesn't work? [08:26] it's in backports, no? [08:26] https://www.ubuntuupdates.org/cockpit [08:26] Busk: $ apt search cockpit or even on ppa repo should be added [08:27] Uhm, sorry guys but those are a lot of new words to me. I'm still learning linux :P [08:27] !info cockpit zesty [08:27] cockpit (source: cockpit): User interface for Linux servers. In component universe, is optional. Version 138-1 (zesty), package size 13 kB, installed size 48 kB [08:27] how to inspect the process that eat memcache? [08:27] Busk: maybe you do not have the universe repo enabled [08:27] Busk: sudo apt install cockpit should do the trick [08:28] @lotuspsychje that also returns the same: Unable to locate package cockpit [08:28] Busk: sudo apt policy cockpit [08:28] what do you get? [08:28] @hateball: Yeah, I also thought so and tried adding it; it said it's already added [08:28] Busk: also its reccomended to use an LTS version of ubuntu for server, unless its for testing purpose? [08:29] Yeah, it's a VM installation. I want to practice setting it up before renting a VM [08:29] okay no sweat [08:29] sudo apt policy cockpit tells me again: Unable to locate package cockpit [08:29] Busk: and you're doing this after a -successful- apt update, right [08:30] Well, he tells me after the update: "Some index files failed to download. They have been ignored, or old ones used instead." [08:30] Can I somehow see which ones failed/why? [08:31] Busk: make sure the universe repo is enabled [08:31] Busk: did you add ppa's of any kind? [08:31] Already did that, did it again. It tells me it's already enabled for all sources. [08:31] No, I didn't [08:32] Busk: try what ebinscommando suggested: sudo apt update && sudo apt upgrade ? [08:33] It tells me that the repositories do not have a release file. Updating from such a repository can't be done securely and is therefore disabled by default. [08:33] hi , i tried to install vimix theme but it doesnt look as it is supposed to , when i right click to see properties my mouseover doesnt change the color, spacings in many places are wrong halp pls [08:34] Busk: can you hastebin the output to us? [08:34] tehstormcrow: talk to the author of the theme [08:34] Busk: your APT source list is screwed [08:35] was this a fresh install or an upgraded box? [08:35] https://pasteboard.co/GNuOaX2.png [08:35] A fresh install [08:36] Busk: try using a different mirror [08:36] I went through the install, changed absolutely nothing and did right after the install only sudo apt-get update && sudo apt-get cockpit and it failed right away [08:37] umm, something must be weird with the mirror.. [08:37] Busk: there is also #ubuntu-mirrors for known issues about repos for your country [08:38] I will try to change the mirrors and try that other channel. Thank you for the help and advice everyone! :) [08:39] Busk: pastebin /etc/apt/sources.list if you didn't already [08:44] ducasse: Then I gotta setup ssh quickly to get the output out of the VM. One Wait, I will answer you in a second.. [08:44] *One sec [08:46] if networking is setup, just do 'pastebinit /etc/apt/sources.list' [08:46] wow, that's handy!!! :D => http://paste.ubuntu.com/25678394/ === Yzoni_ is now known as Yzoni [08:51] well, that looks good, and the mirror itself looks to be ok at first glance... [08:52] is it possible to install QT 2.x on 16.04? Would that break anything. [08:55] ducasse: http://paste.ubuntu.com/25678431/ [08:55] and this: http://paste.ubuntu.com/25678438/ [08:55] (came after it) [08:55] is what I get when I try to apt-get update [08:55] Busk: try 'sudo rm -rf /var/lib/apt/lists/*' then do another apt update and try again [08:56] still the same [08:58] yes, i just saw those errors. try changing to another mirror. [09:00] changed it to de, same problems. same urls fail with a 404 [09:01] so it seems to be a local problem and not a mirror problem [09:01] dchapman: dunno if it's possible without causing problems, but it's entirely unsupported. there could be a ppa out there, but for something that old i doubt it. [09:02] Busk: are you using a proxy? [09:02] ducasse: Yep, thanks. I can't compile an old program without the runtimes apparently. No biggie. [09:03] nope, am not =/ [09:03] dchapman: you could set up a container or vm with an old distro and build a static binary [09:04] ducasse: Sounds interesting, I've never done anything like that. What do you mean by container? [09:04] dchapman: lxc/lxd or systemd-nspawn are good options [09:05] containers are a big topic [09:05] Thanks, I'll look into it! [09:10] dchapman: that would give you something you can run on a modern distro without ancient shared libs. another option would be a snap package, i guess. [09:31] Hello! I'd like my external usb hdd to always mount to the same directory (/media/koichirose/external). To do so, I simply added the label "external" with e2label, and no fstab entries. Is this correct? This works, but I have issues with something else. [09:33] Hello! Where can I get php-yaml for Xenial? [09:34] koichirose: yes it works like that [09:35] akik: ok. Then I created a systemd service. When 'external' is plugged in, it will execute a backup script. When I enable this service though, a "/media/koichirose/external" is created, owned by root. Right after that, "/media/koichirose/external1" is created, owned by me. external1 is the actual mountpoint and the backup obviously fails. How can I fix it? [09:36] koichirose: i actually ran into this same problem but with another case [09:37] koichirose: if some process is accessing /media/koichirose/external then the system is not mounting your external disk into the same directory [09:38] akik: what do you mean? No process is accessing external, I think (I just plugged it in, after all) [09:39] koichirose: if you disable that backup script and stop it, does the system work like before then? [09:40] akik: yes. Running "systemctl disable myservice" and then plugging the hdd, will mount it to "external" correctly. [09:40] This is very weird, the systemd service should run after it's mounted [09:40] hello dear friuends [09:40] koichirose: in my case i needed to stop the external usb hard disk from spinning down [09:41] koichirose: so i created a script to touch a file on the external disk. but if the external disk was not mounted when the script tried to touch the file, the system added "1" to the mount point name [09:41] cam someone tell me if one can make a ubuntu live usb that can save files on said drive so i can for instance intalkl open office and do my accounting work via the usb? [09:42] akik: how did you fix it? [09:42] here's my systemd service in the meantime: http://paste.ubuntu.com/25678593/ [09:43] koichirose: i added an additional test to the script "if [ -e /media/aki/USB_18T/.disk_online ]" [09:43] in which script? sorry, can you outline your situation again? it may be different than mine [09:44] koichirose: i created a systemd service and timer to touch a file on the external usb disk so that it would not spin down [09:44] koichirose: i think that ubuntu checks if the mount point is empty when mounting the device [09:45] koichirose: if it sees files in the mount point, it probably creates this situation where it adds "1" (i.e. creates a new mount point [09:48] !usb | SeonFlux see the last bit here [09:48] SeonFlux see the last bit here: For information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent [09:49] thanks ducasse [09:50] so i can basically travel with a form of my own personal computer wherever i go [09:51] akik: ok. but in my use case, the mount point is empty [09:52] koichirose: did you check with fuser? [09:53] koichirose: i mean whether there's a process running in there [09:53] SeonFlux: yes, it's called a 'laptop' ;) [09:53] koichirose: sudo fuser -v -m /media/koichirose/external [09:55] SeonFlux: a persistent usb has some restrictions aiui, i'm not sure how it would handle proprietary drivers for example. [09:58] akik: after it's plugged in? with or without the service [09:58] ? [10:00] koichirose: when you see the it's mounted in external1 [10:04] ok [10:04] what should i see then=? [10:06] koichirose: does it list any processes? [10:06] I can't check this now, will do when I get home :) [10:06] if it does, what should I do? [10:07] koichirose: i think if it lists any processes there, they are the reason the system doesn't mount the disk there [10:08] ok, I'll check. Does the service look right to you though? It should run *after* it's mounted right? [10:08] koichirose: sorry can't say. i'm no systemd expert :) [10:08] ok! thank you very much [10:12] the way desktop locks is amusing [10:12] when i return to my desk, i get to use the desktop for 2 to 10 seconds, and *then* it locks :P [10:31] my ubuntu is lazy. How do I trouble shoot and fix it [10:35] anyone ever encountered with installing nodejs and npm? [10:35] can't remember what i initally did. but i'm getting issues with trying to install grunt through npm [10:35] ecountered issues* [10:35] thinking of purging nodejs and starting again [10:38] purging it probably won't help [10:39] geirha: i think i may have done sudo apt-get install npm [10:39] if npm's cache is corrupted somehow, it's in ~/.npm so it won't be touched by an apt purge [10:39] at some point [10:39] when the recommended way is to do it through nodejs [10:39] sooo persistance doesnt work with ubutnu 16 or 17 [10:40] geirha: oh, there's a command npm cache clean [10:40] will try tht [10:41] n35xdxb0: I don't bother with the apt packages for nodejs; I've installed node locally in my homedir for personal stuff, and use docker to run actual servers, and then I can pick the latest stable, or LTS release, instead of whatever ancient version ubuntu has [10:42] geirha: ye, it can be a pain. i apt install as a reflex, only to then find out i have an ancient version. happened with R and a few other packages [10:43] geirha: when you say 'use docker to run actual servers'? [10:43] hi folks, is there a way to copy and paste a vpn setting in network manager without recreating it every time from scratch? [10:43] I need the same settings but just different gateway [10:44] geirha: ok, just got what you meant. ye, good idea. will do tht now [10:44] and cant be asked to add them all manually [10:46] geirha: thanks! :) [11:13] i am trying to migrate from freenas to ubuntu server. i am currently on a live system and with zfs list i can only see the boot usb from freenas but none of the other pools. is there anything i can do? [11:22] Question: In regards for ensure a more secure SSH. Ive seen suggestions to use iptables with specific rules set or fail2ban. What would be the more common approach to use? [11:23] rgrundstrom_home: use the not default port, use certificates and disable passwords and, if wanted, on top of that place fail2ban [11:24] but if you use a non-default port, chances are that people won't find and hammer it in the first place [11:25] Hi folks [11:26] Fuchs: Im aware of the basic security precations. Just never used fail2ban [11:27] rgrundstrom_home: I personally don't think it is needed with the above, but if you notice that you get hammered by automated attempts, you might want to use it [11:27] just make sure it doesn't lock you out, especially from machines you won't be able to access otherwise [11:29] Fuchs: Been there and done that :) [11:30] iptables doesn't seem to make a lot of sense to me, unless you know you are only ever going to connect from specific ranges, [11:30] or want to block specific ranges. The former can be a valid use case [11:30] Are there any light themes for gnome-shell, gnome-shell-extensions, and ubuntu-session? [11:30] GTK 3.24-GTK 3.26 [11:31] Fuchs: Well you can use something like this '/usr/sbin/iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --update --seconds 60 --hitcount 4 -j DROP' to prevent bruteforce attacks [11:32] rgrundstrom_home: then I'd go with fail2ban, really, as it is more flexible and comfortable (e.g. you can automate removal, in case of locking yourself out) [11:33] Fuchs: Seems I will have to setup att test server. [11:33] #ubuntu-devel [11:33] rgrundstrom_home: could make sense if you want to test it first, yes [11:34] rgrundstrom_home: best something you either have physical or remote console access (not ssh) to [11:34] then you can fix errors quickly [11:34] I'd probably just go with a local virtual machine [11:34] Im setting up lab servers with KVM on my workstation. === Yzoni_ is now known as Yzoni [11:39] My xubuntu 16.04 laptop goes max fan speed when it's on AC, wtf [11:40] sim642: but not under other OSes? [11:40] cause if it does, you may want to clean the radiator [11:40] idk, I don't use anything else [11:40] Also it doesn't always happen, only randomly [11:40] usually after resuming from suspend after low power [11:42] screwy firmware or drivers would be my guess [11:47] I guess I'll just have to restart and hope it disappears [11:47] it's extremely annoying and distruptive to got to a meeting or whatever and have nothing to do about the computer essentially sounding like a fighter jet === jelly-home is now known as jelly === oerheks_ is now known as oerheks [12:44] Very beginner ubuntu questions are welcomed here? [12:45] ask, wait and see [12:49] My computer has no CD drive, broken usb ports. I need to format entire disk and reinstall ubuntu. Can any1 briefly say how? [12:50] (my laptop fell down twice and frankly I'm poor to afford one) [12:51] good day [12:51] HeyItsKEK: what are your thoughts on how you would achieve that? [12:51] mcphail: No clue :( maybe someone here has a solution [12:52] HeyItsKEK, sounds like a door-stopper to me [12:52] so no way? [12:53] *maybe* when you pull the hdd and install ubuntu on it on an other machine [12:53] HeyItsKEK: not without pulling the drive === beaver is now known as evilnewbie [12:54] I was searching for a way to " create a disk image " and work my way up from there but.. Clearly wasn't even able to mount the installation cd.. [12:54] maybe create a virtual harddrive and install it from there.. [12:55] HeyItsKEK, yes, you could download mini.iso and boot it from grub ( using /etc/grub.d/40_custom) ; a little tricky btw [12:55] sigurdson, he has no wau to put an iso in a virtual machine,.. [12:55] ioria, that might work when he has grub installed, bit how would he load that iso on the hdd? [12:56] so, no way [12:56] HeyItsKEK, ah, no system running ? [12:56] system runs ! [12:56] ok [12:56] got the installation ISO aswell [12:56] so you can use grub [12:57] as a beginner ubuntu user, what are my chances to accomplish that? [12:57] because I'm afraid of losing the entire thing [12:58] If i fail, I'm a person with no computer in year 2017.. [12:58] HeyItsKEK, as i said, it's a little tricky [12:58] dont wanna become a caveman :( [13:02] hey there I am trying to log something in the console, but it doesn't work. The output is: https://pastebin.com/2m7L6fbu and I want that into a .log file, but when I do script >> error.log, it only takes the first line. I guess that's because of the "+" ... how can I log ALL the output? [13:04] MeĆ³ w [13:09] Hi there, I'm stuck while trying to install a specific version of a package, and I wanted to know if I did something bad or if there was a bug to report ? [13:09] here are the commands I input and the associated output [13:09] $ apt-cache madison python-dev [13:10] python-dev | 2.7.11-1 | http://mirrors.online.net/ubuntu xenial/main amd64 Packages [13:10] $ sudo apt-get install python-dev=2.7.11_1 [13:10] E: Version '2.7.11_1' for 'python-dev' was not found [13:10] sudo apt-get install python-dev:amd64=2.7.11_1 [13:10] E: Version '2.7.11_1' for 'python-dev' was not found [13:11] erm... oh shit... should have read better before asking ... underscore instead of dash [13:11] sorry for the noobism -_- [13:11] drop the =2.7.11_1 ... sudo apt-get install python-dev [13:11] !info python-dev [13:11] python-dev (source: python-defaults): header files and a static library for Python (default). In component main, is optional. Version 2.7.13-2 (zesty), package size 1 kB, installed size 18 kB [13:12] looks like you are on xenial .. [13:12] !info python-dev xenial [13:12] python-dev (source: python-defaults): header files and a static library for Python (default). In component main, is optional. Version 2.7.11-1 (xenial), package size 1 kB, installed size 18 kB [13:14] oerheks yeah I know i should install the latest, but this is for instrualization and we need to fix the versions and update them only when needed [13:15] but the PEBKAC issue was an underscore instead of a dash :) === shugy is now known as clyp [13:22] anyone know how I can get a directory listing of the "dir" folder and redirect it to filename ? [13:24] ls > test.txt [13:25] or all files/folders > ls -R > test2.txt [13:25] :~$ Solar > ls -R > Mercury Solar: command not found [13:26] you have a space and colon in there [13:26] unless i am confused about that output [13:26] oh wait [13:26] clyp: what is 'Solar' there for? [13:27] sorry I should have explained I have an assignment for college [13:27] here [13:27] clyp: did you type Solar as part of the command? [13:27] 1. Create a directory called Solar. 2. Create three directories in Solar and name them Mars, Saturn and Neptune. 3. Create the following text files and store them in Mars: Apollo, Mercury and Gemini. 4. Get a directory listing of the Solar folder and redirect it to Mercury. 5. Move Apollo and Gemini into Saturn. 6. Give full permissions to Mercury for owner, group and all. 7. Put your name and class into Apollo and make the file hidden. [13:27] oh we love to do homework [13:27] oh i'm out on homework [13:27] I can create the files move them around edit them [13:27] fun homework [13:27] but its asking me to redirect the Solar dir to the filename Mercury [13:28] I wasn't aware you could move directories and subs to a filename [13:28] and the lecturer was very vague abiut this [13:28] about* [13:29] you have pasted 2 lines? how would we read that? [13:29] sorry I'm just trying to do this... Get a directory listing of the Solar folder and redirect it to Mercury. [13:29] and putting the names in the same name as a folder, not logical. [13:30] ls -R ~/solar > ~/solar/mars/mercury [13:31] ~/Solar$ ls -R ~/solar > ~/solar/mars/mercur bash: /home/shug/solar/mars/mercur: No such file or directory [13:31] sounds more like a pussle contest [13:31] aaah [13:32] ~/Solar$ ls -R ~/solar > ~/Solar/Mars/Mercury ls: cannot access '/home/shug/solar': No such file or directory [13:32] maybe it is case sensitive [13:32] clyp: all files/folders in Linux are case sensitive, check your cases in the entire command [13:32] yeah it is [13:33] * oerheks wins the colour-tv [13:33] ~/Solar$ ls ls Mars Mercury Neptue Saturn [13:33] its gone sideways now [13:34] there's no requirement to format it differently [13:34] I know that's why its confusing me [13:34] even the question its self makes no sense [13:34] ........... [13:35] its basically asking me to redirect a directory and its sub directories to a blank text file [13:35] does anyone aware if replacing default php 7 on ubuntu 16.04 with php 5.6 brakes anything? [13:36] Saturn812: depends on your php code / app [13:37] you can co-install 5.6 ... https://askubuntu.com/questions/756879/cant-install-php5-on-ubuntu-16-04 [13:38] !confucious [13:38] clyp: your assessment seems right. it's a task that can be handy in the future [13:38] yeah deww its just confusing me that's all i checked the ubuntu forums for help and then came here [13:39] like i said moving files and folders around is no problem but the redirect of an entire dir to a file.txt baffles me [13:42] Lag [13:42] Bye [13:42] clyp: look up how redirection in bash or linux in general [13:42] I did deww [13:43] was the same commands as was posted in here [13:43] clyp: so the idea is, generate some output, learn to use ls and some switches, and redirect this all to a file to store your results [13:44] see that makes it sound easy [13:44] clyp: this channel is for Ubuntu support, and not homework assignments. However, as is always the case, read the question carefully. You haven't been asked to "redirect a directory". You've been asked to list the contents of a directory and redirect that list to a file. If you scroll up, you've already been told how to do that [13:44] ls -R ~/solar > ~/Solar/Mars/Mercury [13:44] doing that [13:45] and don't forget the case sensitive part [13:46] ls -R ~/Solar > ~/Solar/Mars/Neptune/Saturn/Mercury [13:46] that doesn't look right [13:46] ~/Solar$ s -R ~/Solar > ~/Solar/Mars/Neptune/Saturn/Mercury bash: /home/shug/Solar/Mars/Neptune/Saturn/Mercury: No such file or directory [13:48] this is where I get lost moving the 3 directories Mars Nepune and Saturn into the .txtfile Mercury [13:48] hi, i have a problem with 16.04, i modified the /etc/hosts and don't see results, does it mean that i have to restart some services? [13:48] I know it was posted earlier but that's not working [13:50] maybe i did your homework, but i have used no capital letters http://paste.ubuntu.com/25679730/ [13:51] getxsick: /etc/hosts has ip and name, what result do you want to see? [13:51] oerheks, aye, but i have some third party libs which rely on php being resolved as php5.6, not php7 and i don't really want to relink them each time [13:51] pavlos: i acutally added 127.0.0.1 youtube.com to block YT but `host youtube.com` still shows me the origin IP [13:54] ~$ ls -R ~/Solar > ~/Solar/Mars ~/Mercury bash: /home/shug/Solar/Mars: Is a directory [13:54] it's telling me I cant redirect the dir to the file [13:55] clyp: you need to redirect to a file, inside a directory [13:55] getxsick: maybe add, 0.0.0.0 youtube.com www.youtube.com in your hosts file [13:55] clyp: what exactly are you trying to accomplish here? [13:55] leftyfb: homework :) [13:55] learn better :) [13:56] I know but its telling me that I need to get a directory listing of the directory and then redirect it to a file [13:56] clyp: so redirect it to a file, not a directory [13:56] clyp, you didn't read the assingment ... maybe you need to write down the folder structure, and the files in it.. [13:56] clyp: ~/Solar/Mars is apparently a directory [13:56] anyway, good luck with your homework [13:57] 4. Get a directory listing of the Solar folder and redirect it to Mercury. is the question the directory listing lists 3 directories [13:57] then it asks me to redirect them to a file called Mercury [13:58] clyp: so do that [13:58] md solar; cd solar; md mars saturn neptune; touch /mars/apollo /mars/mercury /mars/gemini; ls > /solar/mars/mercury; mv /solar/mars/apollo /solar/mars/saturn; mv /solar/mars/gemini /solar/mars/saturn; chmod 777 /solar/mars/mercury [13:58] clyp: and where's Mercury stored? [13:58] don't know why you have Mars in there at all [13:58] oerheks: %s/md/mkdir/ [13:58] alias of yours? [13:58] the Mercury file is stored in the Mars dir [13:59] oops indeed :-D [13:59] clyp: ok, so specify the the Mercury file within the Mars dir [13:59] clyp: ok so actually oerheks gave you the whole set of answers. compare his with yours [13:59] is there a way to configure "apt update" so that if an update happened in the past 5 minutes, it does not do anything? [13:59] replace md with mkdir [14:00] 1. Create a directory called Solar. 2. Create three directories in Solar and name them Mars, Saturn and Neptune. 3. Create the following text files and store them in Mars: Apollo, Mercury and Gemini. 4. Get a directory listing of the Solar folder and redirect it to Mercury. [14:01] I'm sorry for frying everyones head but it does say create a dir then redirect it to a .txtfile [14:01] heh [14:01] when I try that it errors [14:01] you're not frying anything [14:01] because you're doing it wrong [14:01] codepython777, apt update only sets up new upgrades or packages, it doesn't install them [14:01] clyp: concentrate on 1 step at a time [14:01] I'm concentrating on step 4 [14:01] clyp: pastebin the list of directories you have [14:01] no [14:01] no [14:01] no [14:01] no [14:01] clyp: pastebin the list of directories you have [14:02] how do I pastebin the dir listing ? [14:02] !pastebin [14:02] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [14:03] :~/Solar$ ls Mars Neptune Saturn [14:03] ~/Solar/Mars$ ls Apollo Gemini Mercury [14:03] 1. use the full path [14:03] clyp: its hard to tell whether you're typing those things or if those are the results of your command. [14:04] $ !pastebin bash: !pastebin: event not found [14:04] so I typed them out [14:04] clyp: did you read what ubottu said to you? [14:04] yeah [14:04] I'm trying to keep up but I'm confused [14:05] Pulling my hair out. I'm trying to allow users in the group "peon" to run a `doit` command as the user "peon" without a password. My sudoers line is: %peon ALL = (peon) NOPASSWD: /home/peon/bin/doit * [14:05] What am I doing wrong? [14:08] Remind me which file I put the commands to mount Windows paritition and setup symlink? [14:09] clyp: we want you to copy the output of "ls ~/Solar" to paste.ubuntu.com and copy and paste the link to that page here. [14:09] ok 2 mins [14:10] ghoti: running a command as another user is usually done with the "su" command. So that's what you'd want to put into sudoers as opposed to doit. Though I would STRONGLY recommend against that. [14:11] ghoti: why do you need other users to run a command as as particular user [14:11] ? [14:11] :~$ ls solar !pastebin paste.ubuntu.com bash: !pastebin: event not found [14:12] sorry I have no clue how to pastebin on this [14:13] clyp: I told you exactly what to do [14:13] clyp: go to pastebin.ubuntu.com in a web browser [14:13] clyp: go to http://pastebin.ubuntu.com in a web browser [14:14] in it [14:14] ls solar [14:14] oops [14:15] ghoti: you might find more info with "sudo -l" that lists sudo configuration for your user [14:16] Download as text 1 2 3 shug@shug:~$ cd solar shug@shug:~/solar$ ls mars neptune saturn Download as text [14:16] popey: hey, we wanted to move Mir discussion to community.u.c, what would you say would be a good way to have a Mir section? [14:17] Saviq: i spoke to alan_g about this last week, and am happy to create a category for it when you have some content [14:17] I don't want to create an empty category, so happy to do it when you're ready [14:17] popey: ack, will post under Desktop for now [14:17] he said he has a release announcement [14:17] well, put it under uncategorized and I'll move it [14:18] kk [14:18] thanks [14:18] :/ [14:18] clyp: seriously? [14:18] leftyfb that's what came out of the pastebin [14:18] Paste from shug at Thu, 5 Oct 2017 14:15:52 +0000 Download as text 1 2 3 shug@shug:~$ cd solar shug@shug:~/solar$ ls mars neptune saturn Download as text [14:20] clyp: you need to give us the URL from pastebin. [14:20] clyp: paste the output of "ls ~/solar/" into the big empty box and click the button that says "Paste!" at the bottom. Then go to the address bar a the top of your browser and copy and paste the LINK to that page here [14:20] http://pastebin.ubuntu.com/25679875/ [14:21] clyp: ok, good, that is step 1 [14:22] http://pastebin.ubuntu.com/25679917/ [14:22] I really need help guys. I am trying to install llvm 5 on ubuntu and I downloaded the pre built binaries but its just a .xz archive. How do I install it?? [14:25] tomeaton17: you can unpack it with tar -Jxvf if it's a tar archive [14:26] I have unpacked but I don't know how to install it [14:26] tomeaton17: there's usually an INSTALL or README file in there [14:26] clyp: ok, that is the output of ~/solar .. great. Now, which file do you need to redirect that output to? (do not do it, just tell me the answer) [14:27] tomeaton17: there are apt packages for ubuntu https://apt.llvm.org/ [14:27] I need to get a directory listing of the Solar folder and redirect it to Mercury. [14:29] Can fstab be reloaded without restarting system? [14:29] llvm.org seems down from here [14:30] skinux: sudo mount -a [14:30] I'm just trying to text a new line in fstab, for mounting Windows partition automatically. [14:31] I'm hoping all the numbers are correct. [14:31] I took it from official Ubuntu documentation example. [14:32] clyp: ok, and where does that "Mercury" file need to exist? [14:33] they are in the ~/mars [14:33] Actually I dont need to install it [14:33] I am trying to install YouCompleteMe for vim [14:33] i've created the 3 fiels its asked and put them in mars [14:33] files* [14:34] clyp: stop. You are jumping ahead and doing things I don't think the instructions told you to do === dskull is now known as daynaskully [14:34] it said create the directories then add files into the mars directory [14:34] that's all i've done so far [14:34] clyp: what would be the full path to the Mercury file you need to write to? [14:35] ../solar/mars/mercury [14:35] bingo [14:35] absolute path would be /home/shug/solar/mars/mercury [14:36] if that stupid teacher would have used mercury.txt it was clear [14:36] Hello all. What software I can use on ubuntu server to stream online radio from my media server ? [14:36] it doesn't say name the file mercury.txt just says name the 3 files apollo gemini and mercury [14:36] clyp: now, stepping back for a moment. When you ls your mars directory, does it show the 3 files you created? (do not paste here, answer yes or no) [14:37] ffserver [14:37] yes it does [14:37] ghost2911, how about aplugin for that mediaserver on your ubuntu server? [14:37] the teacher uses a trick, all are planets but some are files, not directories hence the mind is tricked [14:37] shows /solar/mars/apollo gemini mercury [14:37] pavlos: same thing. ok, so could you please verify on your site? [14:38] getxsick: let me try ... [14:38] my directories are shown in BLUE and my files shown in RED [14:38] clyp: not sure why they would be red .. but that's probably fine [14:39] its only because i changed the colour scheme from black and white to blue and red [14:39] oerheks, you don't have link for this aplugin :) [14:39] ghost2911, i don't even know what mediaserver you use, nor ubuntu version [14:39] clyp: ok, now how do you think you would take the output of your solar directory and output it to the full path of the mercury file? [14:40] I have no clue [14:40] oerheks, ubuntu 16LTS, Synology 216J [14:40] ls -R > ? [14:41] ls -R > ~/solar/mars/mercury ? [14:41] clyp: try it [14:42] shug@shug:~$ ls -R > ~/solar/mars/mercury shug@shug:~$ [14:42] its done something [14:42] getxsick: entered 0.0.0.0 youtube.com, restarted network-manager, firefox youtube.com does nothing [14:42] ghost2911, oh, mediaserver-hardware, not software on your ubuntu server? [14:43] clyp: future reference, do not paste commands here if they are more than 2 lines. Use the pastebin site you used before [14:43] sorry [14:43] clyp: do the instructions tell you how to verify if it worked? [14:43] Hey all. I dual boot 16.04/windows 10, and suddenly today the boot-manager (grub?) didnt start, but windows just started immediately.. [14:43] i nanod mercury and it shows everything there [14:43] Does anyone know what i can do to fix this? [14:44] avrdude: Windows overwrote the MBR. You'll need to reinstall grub as the boot loader [14:44] clyp: ok, so you've done what you need, correct? [14:44] Fuchs: Still here? [14:44] rgrundstrom_home: yes, hi [14:44] yeah no thanks to you [14:44] I appreciate the help [14:44] a lot [14:44] leftyfb: i dont understand how because i havent used the Windows partition in ages [14:44] thank you [14:44] uh [14:44] Fuchs: Have a look here: https://gist.github.com/Robert-Grundstrom/00d8c516c7eafeb9c74459b9a5778cbe#file-gistfile1-txt [14:44] What does it tell you? [14:44] clyp: "no thanks to you"??? [14:45] avrdude: https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows [14:45] leftyfb yeah you helped more than the lecturer has [14:45] pavlos: network manager? [14:45] a lot more [14:45] getxsick: I'm using 16.04 desktop [14:45] clyp: you just need to slow down and focus each little single step one at a time [14:45] rgrundstrom_home: I'm afraid I'm not an expert on iptables, someone else might be way better [14:46] pavlos: i actually noticed something funny, i can get into youtube.com via firefox, `host youtube.com` albo shows me the YT servers, but....ping youtube.com goes to the localhost [14:46] pavlos: how to restart it? [14:46] leftyfb: but i installed windows first, then ubuntu, and i have restarted the pc several times before using only ubuntu.. i really dont understand how it has happened [14:46] I was stuck on the 4th step and it made no sense to me and the last few weeks his ubuntu teachings have been weak at most [14:46] getxsick: sudo systemctl restart network-manager.service [14:46] its like | this is pipe commad remember it this is list ls remember it [14:47] avrdude: and now it's booting right into Windows and not GRUB. That tells me GRUB needs to get reinstalled. Argue how it happened all you want, this is more than likely the solution to get you back. [14:47] Fuchs: Im having a hard time testing it. But basically it should prevent spamming SSH with connections. [14:47] i'm not saying it's not the solution.. im just curious :/ thanks [14:48] oerheks, I mean what I need in terms of software on ubuntu server to stream audio online [14:48] getxsick: host youtube.com asks the DNS for the ip, ping tries to resolve YT and goes to localhost [14:48] rgrundstrom_home: that's a rather simple thing to test, usually. Run a loop that connects to the host from an IP you know, check the logs (log level verbosity can be configured in fail2ban) [14:48] pavlos: this makes sense, but still firefox works like nothing [14:48] ghost2911, in general, mplayer is enought [14:49] getxsick: after you restarted network, firefox goes to yt ? [14:50] pavlos: yeap [14:50] i know its weird... [14:51] getxsick: do you use a proxy on Firefox? I just tried mine and it goes to localhost [14:52] to make a file hidden just mv filename .filename? [14:53] pavlos: same with proxy and without [14:53] getxsick: hmmm ... [14:54] getxsick: can you paste /etc/hosts [14:54] ghost2911, mplayer http://server.huthbroadcasting.com:8000/thepatriot [14:55] ioria, u stream from your machine ? :) [14:56] ghost2911, nope [14:56] thanks for info! [14:56] np [14:58] pavlos: http://paste.ubuntu.com/25680136/ [14:59] clyp: http://www.linfo.org/hidden_file.html [15:00] leftyfb thanks I got it hidden just trying to work out how to copy 1 directory to another [15:00] got as far as cp -R [15:00] getxsick: looks ok, ping youtube.com pings localhost but when you start a fresh firefox, it resolves to YT === SimonNL is now known as SimonNL_Afk [15:05] pavlos: ok, i figured out what was wrong [15:05] pavlos: i just added another entry to the /etc/hosts for www.youtube.com (with the www prefix) and now it's working [15:06] getxsick: ok [15:13] my systray is not working on openbox [15:14] sometimes it shows up sometimes does not [15:16] *systray for tint2 [15:16] https://paste.ubuntu.com/25680226/ [15:25] a [15:31] so I discovering it thought it was already working so I had to kill it [15:32] now the problem is I want to change UI little bit, I don't need mixer button and mute when pressing on pnmixer button [15:33] /usr/share/pnmixer/ui seems to have answers on how to do that [15:37] i need a quick hint pls, the swap partition isnt recognized, so it takes ages to boot [15:37] https://paste.debian.net/989182 [15:40] How does one install an older version of a package? Specifically I need to test openssh-client with a few different versions [15:42] bierdieb, run sudo blkid and compare with /etc/fstab ? [15:46] https://paste.debian.net/989184 [15:47] well i dont understand the fstab actually [15:47] fxfitz, make some virtual machines and install them manually? sure you run in dependencie issues .. [15:47] That's what I'm doing, I'm using docker. I decided to just use docker:trusty, docker:zesty, docker:xenial etc etc etc to accomplish the task [15:48] bierdieb, you have s swapfile and an encrypted swap [15:49] uh [15:49] i have no clue about that [15:50] for my understandig i dont need an encrypted swap [15:50] while installing i did choose to encrypt homefolder [15:51] bierdieb, cat /etc/crypttab [15:52] $ cat /etc/crypttab [15:52] cryptswap1 UUID=c1c131dd-2463-4fad-be87-ebd1b55ece04 /dev/urandom swap,offset=1024,cipher=aes-xts-plain64 [15:52] bierdieb, and check your / fs for the swapfile (lokks like not mounted) [15:52] this is some somehow messy. i dont understand how to correct that [15:53] UUID means universaly unique identifier [15:53] yes [15:53] bierdieb, for now just comment with '#' that entry [15:54] universally* [15:54] yeh there is a swapfile in root / [15:54] bierdieb, do the same for /dev/mapper/cryptswap1 in /etc/fstab [15:55] bierdieb, then paste sudo file /swapfile [15:55] Hello. I have a problem with my Ubuntu 17.10 installation. I think that can be a bug. [15:55] !17.10 [15:55] Ubuntu 17.10 (Artful Aardvark) will be the 27th release of Ubuntu. It is due to be released in October 2017. Discussion in #ubuntu+1 [15:56] My computer is a desktop machine. I don't know why every time after I turn off my screen and on again, I got log off my desktop session and back to GDM. [15:56] this way? https://paste.debian.net/989186 [15:56] !17.10 | yookoala [15:56] yookoala: Ubuntu 17.10 (Artful Aardvark) will be the 27th release of Ubuntu. It is due to be released in October 2017. Discussion in #ubuntu+1 [15:56] Howdy, I searched around in settings and in Tweak Tool but I couldn't find a way to unmap Super+Number launcher shortcuts [15:57] I'm on 17.04 [15:57] bierdieb, yes, also in /etc/cryptab [15:57] $ sudo file /swapfile [15:58] , /swapfile: data [15:59] ioria, i did like you told me [15:59] but i guess its not repaired actually [16:00] bierdieb, that command shoe the attribute of the file, nothing more [16:00] *shows [16:00] bierdieb, should tell something more then : data [16:00] no. its the full output of that command [16:01] bierdieb, btw, temporary comment also swapfile in /etc/fstab and reboot .... see if it lags again [16:01] brb [16:01] ok [16:04] ioria, the booting is quite quick now. but no more swap is activated as far as i can check. [16:05] https://paste.debian.net/989188 [16:07] your delay must have been connected to not finding swap, now you have disabled it, it does not wait x sec [16:08] i guess running an active swap is better for stability, so how to reactivate it properly? [16:08] !swap [16:08] swap is used to move unused programs and data out of main memory to make your system faster. It can also be used as extra memory if you don't have enough. See https://help.ubuntu.com/community/SwapFaq for more info [16:09] or your debian docs.. [16:16] bierdieb, ok, you can fix /etc/crypttab with the correct uid [16:17] the uuid of the swap partition i guess [16:17] bierdieb, efd793ef-b5b2-4dcf-b02e-dba5b3a07ecc instead of c1c131dd-2463-4fad-be87-ebd1b55ece04 [16:17] ok, im on it [16:18] bierdieb, and if you use a partition you don't need /swapfile [16:18] so i can simply delete it? [16:18] wait [16:21] id edit crypttab [16:31] Hi, why is wicd so slow compared to network.-manager ? Is there a way to speed it up ? Thanks [16:33] $ swapon -a ; swapon --show [16:33] describe "slow compared with network manager" [16:33] is there a ratio? [16:34] how long does nm take, and how much longer does wicd take? [16:34] @brokencodes nm takes 0,5-2 seconds, wicd takes 8-12 [16:35] hmmm [16:37] i've downloaded the following .tar.gz package for nodejs from https://nodejs.org/en/ [16:37] how do i now install it? [16:38] (i'm not using apt nodejs because i've been having issues with it) [16:38] compile it === SimonNL_Afk is now known as SimonNL [16:39] @LufyCZ: follow this guide... : https://ubuntuforums.org/showthread.php?t=1211513 [16:39] LufyCZ: there's no source... [16:39] then download the tar with the source [16:40] you cant install the binary version, you have to use it as is [16:40] and thanks brokencodes [16:40] nodejs + sources: https://nodejs.org/dist/v6.11.4/node-v6.11.4.tar.gz [16:41] n35xdxb0: see if there are instructions on the nodejs site, this is not something that is supported here [16:42] brokencodes: hey thanks a lot. i know about compiling from source. my question wasn't exactly tht. i'm just wondering how 'advanced' users would do it? how to distribute those files downloaded to mimic the installation [16:42] ubuntu based cloud management is more about direct access to hardware resources than it is about indirect access to hardware resources [16:42] brokencodes: i.e. why does the front page of nodejs, show that as a download link for nodejs? [16:42] brokencodes: there must be some ppl who are able to install from tht. why would it be on front page? [16:43] because nodejs incorrectly assumes you are a windows meepiot [16:43] like me :) [16:43] brokencodes: it says 'download for linux'. has anyone actually looked at the link? [16:43] i have. [16:44] Anyone happen to know how to unmap the Super + Number shortcut to things in the launcher bar in 17.04? I couldn't find it in Settings or in Tweak Tool [16:44] ok i rephrase my question then, :) why do websites often post only tar.gz files for linux installs? what do they expect linux users to do with them? [16:44] I'll make it easy for you... [16:45] With linux, we have an optimized environment... [16:45] That environment is unfortunately a moving target. [16:46] brokencodes: i know all this... i'm hoping there are some advanced ubuntu users here, who know how to set path environment variables. distribute the files to the correct libraries, lib, share, etc. create the home conf files etc [16:46] Every time you make a small change to the system, by adding a piece of software, the list of dependencies, their versions, the processor targets for those dependencies, and even the optimization level of the dependencies is an ever moving target. [16:46] it's just something i've always wondered, why is why i'm asking [16:46] which* [16:46] compiling something as complex as nodejs is the best option. [16:47] brokencodes: you're not intrigued at all? [16:47] my level of intrigue is solved by the statement I made above. [16:48] n35xdxb0: if the tar.gz contains binaries you are normally expected to run them as-is, or run an install script [16:48] brokencodes: the statement you made above isn't accurate [16:48] n35xdxb0: Most folks I know using node as a development environment use something like `nvm` to manage their installs of Node.js, that way they can switch between versions easily. If you're not going to go that route, Node|Source's PPA is the next recommendation I have. [16:48] it is [16:48] ducasse: thanks, tht's more along the lines i was looking for [16:48] ducasse: is sometimes do just download binaries for simple programs, and run them from where ever i downloaded them to [16:49] XD [16:49] ducasse: i was just wondering what the process was for complex programs like nodejs [16:49] If you really insist on installing from the tarball itself on your own, it'll be unmanaged which means upgrading/etc is a hassle. [16:49] wraithan: good point. i wouldn't necessarily keep it tht way. i'm asking this purely out of interest [16:49] n35xdxb0: in that case see my very first response to you [16:49] the process was for complex programs = apt [16:50] ducasse: it doesn't get more ubuntu than this. this isn't nodejs relevant. this is ubuntu file-architecture relevant. and, i reckon, a good area for discussion [16:50] n35xdxb0: see if there are instructions on the nodejs site, this is not something that is supported here [16:50] brokencodes: n35xdxb0 said ^ [16:51] "this isn't nodejs relevant. this is ubuntu file-architecture relevant" = wrong [16:51] n35xdxb0: of course how to unpack and use a tarball created by the nodejs project is a nodejs question [16:51] oerheks: ok, so let me download the tar.gz for another program. would tht still be nodejs relevant? [16:52] no, that would be that project relevant [16:52] you just turn responsability of compiling on us.. you might better start what your issue is with nodejs ? [16:52] oerheks: there isn't any compiling involved here. have you been following? [16:53] n35xdxb0: you talk to whoever created the tarball, ask them for instructions. we support software distributed through apt. [16:53] WHEN canonical offers nodejs in its repository, this will become a nodejs relevant issue [16:53] oke, good trolling [16:53] sorry... ubuntu relevant issue [16:53] /ignore [16:53] I'm not trolling [16:54] anyone knows how to bulk edit vpn config in network manager ? [16:54] or through config files? [16:54] which vpn method? [16:54] brokencodes: node.js already is in the repos [16:54] bulk edit? u can do that? [16:54] lt2p, pptp, or openvpn? [16:55] wook, thats what i would like to do. There is not copy and paste for a config [16:55] in my case is openvpn [16:55] are you trying to make a change to a single param, but in mutiple config files for vpn software? [16:55] so i have a VPN provider [16:56] i can use like 300+ gateways [16:56] but the configs have the gateway hardcoded [16:56] so if you click there is a field for it [16:57] gebbione: 'man sed' [16:57] ok what do i sed ? [16:57] where is the config? [16:57] man grep [16:57] man awk [16:57] the tool is not the problem [16:57] where are the confs ? [16:57] the config is a text file,, with sed you can replace the gateway, and do that for many files [16:58] brokencodes: It looks like you didnt understand what I meant. Connecting to the WiFi network takes 8 seconds, after that the connection works fine [16:58] i didnt find my configs when looking at http://manpages.ubuntu.com/manpages/zesty/man5/NetworkManager.conf.5.html [16:58] pavlos, which file? [16:58] usually at /etc/openvpn/* [16:58] openvpn conf [16:58] so network manager uses those files? [16:59] LufyCZ: by changing the connect rate to 11, then changing to auto after connect, you may reduce the connect rate. [16:59] errm... time... [16:59] coffee is not helping today [17:00] I have one, pavlos-site.conf, from NM you create a new connection, select openvpn and import pavlos-site.conf [17:00] pavlos, that is not the definition of bulk :) thats the point if I need to import configs manually for 400 gateways then it is rubbish [17:01] LufyCZ: by changing the connect rate to 11, then changing to auto after connect, you may reduce the connect time. // Edited cuz goofed. [17:02] gebbione: you have 400 conf files with some gateway and would like to change that gateway. As ducasse suggested, you can use sed to modify all 400 files. [17:03] i dont have any config file [17:03] I have the config on network manager [17:03] just there [17:03] LufyCZ: I'm assuming you have a multistandard wifi interface... like BGNAC... thats the problem... wifi cards always negotiate top down, unless told to do otherwise... [17:04] brokencodes: eh ? I dont really know what you mean. I got a iwlwifi card in my notebook [17:04] what standards and rates does the wifi card support? [17:04] never mind [17:05] i think i found it [17:05] idk, but it should be able to do ac [17:05] BTW they are under - /etc/NetworkManager/system-connections/ [17:06] brokencodes [17:06] LufyCZ: try setting the rate to 11mbps, and connecting, then setting the rate to auto, and see how long the connection negotiation takes... [17:07] if still takes 8-12 seconds, then it is something else... but if takes less then 6 seconds, that is an improvement [17:07] once we determine if this approach helps, we can make a script to do this for you automagically. [17:07] brokencodes that is "sh -c /sbin/iwconfig rate 11M" ? [17:08] or "bash -c /sbin/iwconfig rate 11M" [17:09] nah doesnt do anything at all [17:09] same time? [17:09] yup [17:09] pastebin the log perhaps? [17:09] i have Nvidia's repo and I upgraded from cuda 8 to 9 but 9 isn't really ready for most things as no one can support it yet... how can I downgrade? [17:09] log of what ? [17:10] JonelethIrenicus: 'sudo apt install package=version' [17:11] LufyCZ: log file here... /var/log/wicd/wicd.log [17:11] oh gotcha [17:12] http://termbin.com/z4c9 [17:12] that was a small netslpit [17:13] netsplit* [17:14] when i open a network share from the gui using caja, it shows the location as smb://server/share/ how do i navigate to that location using the terminal? i tried in /media & /mnt, but neither have the share in there [17:14] yes, 16 seconds [17:17] LufyCZ: generally, the programmer will work on interfaces with a priority... in this case, it looks like they prefer python-* interface control... [17:17] jnewt, smbclient //server/share not working ? [17:17] LufyCZ: I agree, 16 seconds to connect is nearly unbearable... [17:17] mhm, it is annoying [17:18] ioria, maybe, is it not mounted somewhere? [17:18] jnewt, nope, afaik [17:18] jnewt, would be mounted with cifs [17:19] LufyCZ, so python-wpactrl, and python-iwscan may change the connection method to something that the wicd programmers have improved upon [17:19] ioria, the reason i'm trying to figure this out is i can't save from the caja save file dialog to a network location from firefox. i always have to save to my local fs, and then transfer (lots of server space, hardly any local space. it's become an annoyance. [17:20] jnewt, idk much about 'caja' [17:20] jnewt, ha, a file manager [17:20] ducasse: not exactly that easy since I think the cuda library is also linked to your driver version for nvidia GPUs [17:21] ducasse: also wont the other version conflict unless it is removed? [17:21] ioria, yeah, default with ubuntu-mate (which I'm using), but I don't think I'm tied to it for any reason. [17:21] jnewt: have you mounted the shares, or just browsed to them? [17:21] JonelethIrenicus: Package manager understands the conflict, it will set the dependencies up and down... (Driver / kernel / userspace) [17:22] ducasse, I don't think I ever remember explicitly mounting the shares, but they're always available, just not through firefox for some reason. [17:23] I know i played around with nfs, but it doesn't appear that I stuck with it, they all say smb://server/share when i click on them. [17:23] they do have a little eject symbol next to them, which now makes me think they are mounted (and they are outside of the "browse network" location [17:24] and right click gives me an option to unmount. [17:24] JonelethIrenicus: dunno about the driver version, it was a general answer to your question. [17:24] ducasse: alright [17:24] ducasse: thanks [17:24] jnewt: look under (i think) /run/$USER/gvfs [17:24] brokencodes: ok [17:27] ducasse: close /run/user/$UID/gvfs/ [17:27] that's quite the place to hide it. [17:29] jnewt: yep, i avoid gvfs like the plague whenever i can [17:31] ducasse: I don't know what that is or how I got it (default?) . Lots of things in this install are irritating, but I don't know what can be better and what is as good as I can get (like my crappy graphics driver). [17:36] i get this error when trying to install the last version of the nvidia driver [17:36] nvidia-375 : Depends: xorg-video-abi-11 but it is not installable [17:38] hello, i want to knew if when we install sublime text we can launch it from terminal [17:38] for me it was installed in: /opt/sublime_text/ [17:39] i want to knew if that is the defaut folder [18:03] Learning about EMwaves, I have an Electric component described by sin(y)*e^(i*(z-t))\hat{x} - I am trying to imagine it - because usually the arguments only depend on one space variable. ex E_0sin(kx-wt) - how does it look in this case? Will the B field still point in the \hat{y} direction? [18:04] uh [18:04] 42? [18:05] definitely 42 [18:08] LOL HGTTG [18:14] if you say RAIN too many times, freenode kicks you for excess flood [18:38] brokencodes: probably for spamming... regardless of the content [18:38] Pinkamena_D: have you looked at Electromagnetic Radiation? seems sin goes on 2 planes, x,y since you have a z component [18:53] what are the -dgm and -dbgsym packages for? [18:53] #join python [18:57] Ubuntu 16.10 ping 192.168.0.1 says "Destination host unreachable" but works fine on another computer [19:00] energizer: Problem with your network. Though just FYI, that version of ubuntu is no longer supported. [19:00] when i reconnect to the network using network manager it works fine again [19:00] this happens pretty often; what could cause it [19:01] energizer: upgrade to a supported version, 16.10 hasn't been supported here for a long time now === gilr0y is now known as gilroy [19:27] i have ubuntu 14 installed on a raspberry pi (headless). i plugged in a usb wifi adapter, and now i'm trying to configure the wireless so that i can unplug the ethernet cord, both iwconfig and ifconfig don't show the usb adapter though :( can anyone help? [19:28] `dmesg | more` shows it was properly detected [19:33] Hi, how can I configure a PEAP network without Inner authentication ? There is no option to do it in Network Manager. Thx [19:35] sarink, ' ip a ' shows something ? [19:36] @ioria https://pastebin.com/eGvk7awZ [19:36] sarink, nope [19:36] sarink, lsusb [19:37] does ubuntu mate notify you of any updates? how do i know if my daily setting is actually working (I've seen nothing to make me think anything has ever been updated) [19:37] @ioria found it: Bus 001 Device 005: ID 7392:a611 Edimax Technology Co., Ltd [19:38] Hello, hello! [19:38] Does anyone know why adding ldap to nsswitch.conf would prevent a system from booting? [19:41] sarink, https://github.com/lwfinger/rtl8723bu/issues/37 [19:42] sarink, can you paste sudo lshw -c Network and dmesg | tail [19:43] @ioria https://pastebin.com/PBr5bCWa === ShalokShalom_ is now known as ShalokShalom [19:45] sarink, no driver/module ... you need to get it [19:46] ubuntu keeps crashing to lightdm, checked the syslog and saw something related to IceAuthFailed [19:46] This happened after I tried to install stremio [19:47] It had been working flawless [19:47] Can anyone help? [19:47] @ioria any idea where i search for the driver? not finding it on the edimax website [19:48] oh wait, maybe i did [19:50] alright, i used wget to download the driver... how do i "install" it now? thanks for your help, btw [19:52] sarink, https://dawnmist.dreamwidth.org/8231.html?thread=14375 [19:53] sarink, that's for bt, sy... where did you get the source ? [19:53] http://us.edimax.com/edimax/mw/cufiles/files/download/Driver_Utility/transfer/Wireless/NIC/EW-7811Un/EW-7811Un_Linux_driver_v1.0.0.5.zip [19:54] there is a readme.txt [19:54] sarink, yeah [19:56] if that edimax is an rt8192cu .. good luck building from git https://askubuntu.com/questions/509498/is-there-a-standard-wifi-driver-for-the-edimax-ew-7811un [19:56] it is a well known problem maker [19:57] another source https://askubuntu.com/questions/612649/edimax-ew-7811un-wifi-adapter-not-working-on-ubuntu-14-04-lts [20:00] !lunix [20:00] LUnix is a Little Unix for your Commodore 64, dust it off and visit https://sourceforge.net/projects/lng/ ! [20:00] Hi. Does anyone know why installing (and configuring) libnss-ldap and its dependencies to allow an LDAP user to log in, would completely break Ubuntu from booting? [20:01] <[Ex0r]> I'm having trouble getting my HP printer installed in ubuntu 16.04. I am using apt-get install hplip and am getting all kinds of dependency errors. When trying to install cups via apt-get install, it is telling me that it is expecting a different version than what's in the repository. [20:01] I'm getting systemd-logind.service crashes [20:01] hello. I'm trying to install Ubuntu on my laptop that I think might have a faulty HDD, but when I try to initiate the installation process from "Preparing to install Ubuntu" screen it just freezes. Thoughts? [20:01] hmm actually the one i have is rtl8732 [20:02] I'm trying to verify if my hdd is okay [20:02] <[Ex0r]> Run a hard drive checker on it [20:03] any suggestions? [20:03] [Ex0r]: can you pastebin both the cups and hplip errors? [20:03] The thing is [Ex0r], I can mount all partitions but one (the one with Windows OS on it) [20:03] error running the install script :( [20:04] <[Ex0r]> ducasse: https://pastebin.ca/3883185 [20:04] <[Ex0r]> It's weird these are all ubuntu repository dependencies and they aren't compatible with each other [20:04] `make: *** /lib/modules/3.18.0-20-rpi2/build: No such file or directory. Stop.` looks like they don't have a driver for the arm version of ubuntu, if i'm reading the logs right... [20:05] presumably "3.18.0-20-rpi2" is my kernel? [20:05] bithon: you probably need to disable 'fast shutdown/startup' in windows [20:05] <[Ex0r]> sarink: correct. I see you are using a raspberry pi [20:05] yeah, i am [20:07] [Ex0r], apt-cache policy hplip cups [20:07] <[Ex0r]> ducasse: The cups package is expecting libcups 2.1.3-4 but its getting libcups 2.1.3-4ubuntu0.3 Not sure why two ubuntu packages would be looking for different depedencies [20:07] anyone have any ideas? [20:07] ducasse, forgot to mention: i can't boot into windows at all because I get an error while booting. [20:07] <[Ex0r]> ducasse: https://pastebin.ca/3883186 [20:09] [Ex0r]: try 'sudo apt update && sudo apt install -f' [20:09] [Ex0r], are you on lubuntu or some other flavour other than ubuntu? [20:09] <[Ex0r]> Ubuntu 16.04 [20:10] <[Ex0r]> and doing update and force install does nothing. It does say there are 53 upgrades though. [20:10] <[Ex0r]> ducasse: I believe I was on 14.10 on this machine and did a distro-upgrade to 16 at one point, so that may make a difference. [20:11] I NEED HELP: I'm not trying to be dramatic but as I was runnig stremio it changed the ownership of my home folder, because as stupid as I was I ran it with sudo [20:11] does anyone know if it has any malware or it was just a bug [20:11] <[Ex0r]> dropkick100: sudo chown : /home/ [20:11] ? I'm freaking out [20:12] [Ex0r]: I've already changed the ownership back to my account [20:12] [Ex0r]: but I don't know what else mught have happend [20:12] <[Ex0r]> Oh, I can't help with that, sorry. [20:14] [Ex0r]: you should definitely be getting a later cups version. any reason you have not installed those upgrades? [20:15] <[Ex0r]> Not really, but using apt list --upgradeable none of them pertain to cups [20:15] <[Ex0r]> or hplip for that matter. [20:15] <[Ex0r]> Git, PHP and Slack are the upgrade paths. [20:16] <[Ex0r]> I can't figure out why the Xenial repository for libcups is looking for 2.3.1-4 but the repository has 2.3.1-4ubuntu0.30 [20:17] <[Ex0r]> There is an automatic hplips installer I can't even run because it can't install some of the dependencies. [20:19] <[Ex0r]> I'm tempted to run apt-get distro-upgrade, but when I did it from 14 to 16 it caused all kinds of problems so I am a little worried about doing it. [20:19] [Ex0r]: how exactly did you go from 14.10 to xenial? [20:20] !dist-upgrade | [Ex0r] [20:20] [Ex0r]: A dist-upgrade will install new dependencies for packages already installed and may remove packages if they are no longer needed. This will not bring you to a new release of Ubuntu, see !upgrade if that is your intention. [20:20] <[Ex0r]> Using get-dis-upgrade or whatever the command is [20:20] [Ex0r]: did you just edit sources.list and do a dist-upgrade? [20:20] <[Ex0r]> No, I ran do-release-upgrade I believe was the command. It was over a year ago I did it. [20:20] [Ex0r]: or did you use do-release-upgrade? [20:20] ok [20:21] <[Ex0r]> but it broke the install and I had to do all kinds of stuff to fix it plus months of fixing dependencies errors before it operated fine. I still get crashes occassionally. [20:21] now the plot thickens [20:21] i am not able to find any driver for this dongle that will work for ubuntu on a rapsberry pi (Kernel Linux 3.18.0-20-rpi2)... is there anywhere i can find a list of devices that _will_ work with it? [20:22] <[Ex0r]> What is really weird, is I had hplip and cups installed as of this morning, but I moved my PC to another office and the printer stopped printing, so I removed hplip and tried installing it again to fix it, and it started doing this. [20:23] <[Ex0r]> sarink: is it a wireless nic ? [20:23] i just want wifi on my ubuntu rpi, i naively assumed this would be easy [20:23] <[Ex0r]> Hmm, doesn't the RPI2 come with wireless? [20:24] this is a B+ [20:24] sarink: you'd probably have better luck in #raspberrypi [20:24] [Ex0r]: try 'sudo rm -rf /var/lib/apt/lists/* && sudo apt update && apt-cache policy cups' [20:24] <[Ex0r]> https://elinux.org/RPi_USB_Wi-Fi_Adapters [20:25] Solved my issue. Looks like bug#1024475 is still relevant in 17.10. Switching from libnss-ldap to libnss-ldapd fixed the issue. [20:25] [Ex0r]: rpi3 does, not 2 [20:25] <[Ex0r]> If it's an rlink, they are extremely flakey. [20:25] [Ex0r]: i was just browsing that page, but i don't see an ubuntu column [20:25] <[Ex0r]> You probably wont find a ubuntu specific one, you will most likely need to find the general linux driver and install it manually. [20:26] <[Ex0r]> ducasse: Hmm, I have all three versions and could've swore my 2 has wifi built in. Anyway, running those commands displays the same output for policy [20:28] <[Ex0r]> interest sudo-apt get install cups is telling me that libcups 2.3.1-4 is needed, but when I do sudo apt-get install libcups2 it tells me that libcups2 is already installed (2.1.3-4ubuntu0.3) [20:28] [Ex0r]: see any you think you'd take a chance on? the Leoxsys says it's "built in" but you seem to only be able to buy it in india? lol. the belkin n300 says "confirmed with rpi2" and it also works on "wheezy" - what about that one? [20:28] <[Ex0r]> Which wireless dongle did you get? [20:29] <[Ex0r]> It depends on the dongle what chipset it uses. [20:29] [Ex0r]: then some of the "all kinds of stuff" you did has screwed things up, you know better than us what you did [20:29] i got an edimax ew-7611ulb, which isn't on here [20:29] <[Ex0r]> ducasse: It was stuff that was prompted on-screen via apt to fix depedencies and stuff (like run apt-get autoremove, etc) [20:30] i'm fine getting a new device, i'll return this one, i just need wifi somehow [20:30] <[Ex0r]> https://wikidevi.com/wiki/Edimax_EW-7611ULB [20:30] <[Ex0r]> It uses a realtek chipset, the most common and also the most problematic for linux. [20:30] sarink: why not just ask in #raspberrypi? [20:31] nobody talks in raspberrypi :( [20:31] <[Ex0r]> Google the linux drivers for this chipset: RTL8723BU and install them (Its a generic driver for a wide series of realtek chipsets) [20:36] <[Ex0r]> ducasse: It looks like I got it to go. My update settings were set to 'Never' on 'notify me of new upgrades' [20:37] <[Ex0r]> Not sure why, I haven't changed it. [20:39] maybe it was an unattended security update [20:41] <[Ex0r]> hmm nope something is still wrong.. printer still wont print [20:46] <[Ex0r]> err, quitting time is done. Guess I try troubleshooting the printer tomorrow. [20:46] <[Ex0r]> ducasse: Thanks for the help. === energizer1 is now known as energizer [20:58] well, i compiled+installed the generic realtek drivers, but wifi still isn't working. here's the output of iwconfig, ifconfig, and my network/interfaces file: https://pastebin.com/PXpdiDDq [20:58] anyone have more ideas? [21:02] the adapter is definitely working bc `sudo iwlist wlan0 scanning` gives me a list of networks and i can see mine, but that `"Unassociated"` seems maybe problematic? idk [21:03] is `/etc/network/interfaces` not the right place for this configuration? [21:04] sarink: don't use both allow-hotplug and auto, choose one [21:05] ducasse: tbh i don't even understand those, i just copied em from somewhere :-S what would you recommend? [21:08] sarink: try auto, and i'm not sure you should be using quotes [21:10] how bad is it to remove all libxml*, i ran sudo apt-get remove lubxml* without know gnome relies on libxml* packages [21:10] now image will not boot [21:10] sarink: https://linuxconfig.org/setup-wireless-interface-with-wpa-and-wpa2-on-ubuntu === jstein_ is now known as jstein [21:15] zarzar, time to reinstall [21:15] ducasse: that's exactly what i already have though [21:17] sarink: what happens when you try to raise the interface? given that this is a realtek, i wouldn't waste any more time on it. [21:17] what do you mean "raise the interface"? [21:18] scanning works, if that matters [21:18] sarink: 'sudo ifup wlan0' [21:18] ifup: interface wlan0 already configured [21:19] sarink: then try 'sudo ifdown wlan0 && sudo ifup wlan0' [21:19] ducasse: it worked! [21:20] iwconfig shows it connected to my network now [21:20] hm. now how do i get that to happen on reboot [21:20] err, boot* [21:21] with 'auto wlan0' you should get that [21:22] hmm, i already have that [21:23] welp, rebooted it, and it auto connected. not sure why that down/up was so magical but it was [21:24] thanks! [21:24] sarink: yw [21:25] zarzar: reinstall the desktop package, and it should pull in the missing libs [21:45] hi [21:46] would you install an uknown app if its a deb package [21:46] or not [21:47] hehehe: no [21:55] hehehe: so you woke up and someone had put an unknown deb package on your kitchen table? [21:56] well its from upwork [21:56] company is known [21:56] just they dont publish an open source of it [21:56] so how would I know if they spy on users or not :) [21:57] hehehe: why would you just trust an unknown deb package? [21:58] hehehe: deb packages have root access to your system [21:58] yes not nice [21:58] better install not [21:58] or on a separate VM [21:59] or just don't install things that are unknown... [22:30] a good lightweight terminal for i3? that i can use copy and paste [23:17] Hi, is there a meta package including libkf5newstuff-dev and all the other libkf5*-dev packages? [23:17] hi, i'm trying to use a zotac gt 710 video card with 2 hdmi monitors, on a ubuntu 16.04. one of the monitors is connected to hdmi directly, the other one to dvi with a dvi to hdmi converter. the cables work properly, tested them on different monitors too. but the monitors do not work both at the same time. tried only the nvidia driver so far, but for some reason the 2nd screen is never detected. [23:21] doitux: Something like this : https://packages.ubuntu.com/xenial/amd64/libkf5newstuff-dev/filelist ? [23:23] Bashing-om: no, i think about something like "kf5-all-dev" [23:33] !info kf5-all-dev xenial [23:33] Package kf5-all-dev does not exist in xenial [23:37] doitux: ?? Maybe : https://packages.ubuntu.com/search?searchon=contents&keywords=libkf5&mode=filename&suite=xenial&arch=any ? [23:40] is there some kind of cool terminal visualization app that i can use? i have an extra tmux pane and want to put something cool looking on it. [23:46] leftyfb: fyi, i didnt have to reinstall grub as the bootloader, i just changed something in the bios that it would start grub instead of the windows boot loader [23:46] i have no idea how this was switched up, but it solved it [23:47] arooni: That one is out of my experience range. [23:53] back again with a quick question how do I get a directory listing of showing all the attributes and edirect the output to new text file ? [23:53] redirect* [23:54] ls -l dirname ls -R > dir/filename ? [23:55] ls -l dirname ls -R > ~/dir/filename ? [23:57] ls -lR dirname > ~/textfile