UbuntuIRC / 2014 /08 /13 /#lubuntu.txt
niansa
Initial commit
4aa5fce
[00:40] <absk007> how to enable serial com without sudo?
[00:41] <absk007> deitarion,
[00:56] <deitarion> absk007: What are you trying to accomplish with serial com?
[00:56] <absk007> deitarion, programming arduino.
[00:56] <absk007> deitarion, i did a work around
[00:57] <deitarion> absk007: http://playground.arduino.cc/Linux/Ubuntu
[00:57] <absk007> changed the ttyUSB0 ownership to me. But that is not a good option
[00:58] <deitarion> absk007: Never change ownership on device files. First, the system will probably change it back when you unplug and replug the cable. Second, there's already a proper solution.
[00:58] <absk007> deitarion, what's the soln?
[00:58] <deitarion> For Arduino, there are two options:
[00:59] <deitarion> 1. Install a custom udev rule that specifically makes Arduino-provided ttyUSB0 readable and writable by everyone. (that's probably what the Arduino .debs on that page I linked do)
[01:00] <deitarion> 2. Add yourself to the "dialout" group. (All serial devices are readable and writable by members of dialout)
[01:01] <absk007> deitarion, even if i add myself to dialout grp, it was not working.
[01:01] <deitarion> (Try running `ls -lh /dev/tty{S,USB}*` and you'll see that all serial devices are owned by root:dialout with 660 permissions.)
[01:01] <deitarion> Correction: `ls -lh /dev/tty{S,USB,ACM}*`
[01:02] <deitarion> (I keep forgetting that some Arduino models use USB-Serial interfaces that appear as ttyACM rather than ttyUSB.)
[01:03] <absk007> deitarion, ok. Mine is USB one
[01:03] <deitarion> *nod* At least one of mine is too. The Leonardo, I think.
[01:03] <absk007> i get FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope error
[01:04] <absk007> while running node program.js
[01:04] <absk007> i've setup Firmata drivers
[01:05] <deitarion> absk007: I'm only just starting to write Node.JS programs and I've never run into that problem before. Ask Google.
[01:05] <absk007> Google didn't help
[01:06] <absk007> deitarion, you using johnny-five rt?
[01:07] <deitarion> ?
[01:07] <absk007> deitarion, http://nodebots.io/
[01:07] <deitarion> absk007: No. When I do PC-side Arduino stuff, I hack things together in Python since that's what I'm already familiar with.
[01:08] <absk007> deitarion, how to add a file to multiple grps?
[01:08] <deitarion> absk007: Why would you even need that?
[01:09] <deitarion> As for getting Node.JS to work, have you tried installing a newer version from ppa:chris-lea/node.js to see if that fixes things? That's what I'm running.
[01:11] <deitarion> I've never heard of a way to add a file to multiple groups. The whole point is that USERS belong to multiple groups and each file is owned by one user and one group.
[01:11] <deitarion> If you just want to set up complex file permissions, what you want is to look up ACLs (Access Control Lists).
[01:12] <absk007> deitarion, but you said that the tty files have both root & dialout grp
[01:12] <deitarion> absk007: "root" is the user that owns them. "dialout" is the group that owns them.
[01:12] <absk007> deitarion, how to add me to dialout grp?
[01:13] <deitarion> `sudo gpasswd -a YOUR_USERNAME dialout` and then log out.
[01:14] <absk007> oh! i've to logout?
[01:15] <deitarion> absk007: You *can* use `newgrp dialout` to enter the dialout group in a terminal without logging out, but running programs like your launcher don't have that option.
[01:16] <deitarion> Logging out is the simplest way to apply new group settings because programs inherit their active group memberships from their parents and the login process is one of the few places which checks for new groups.
[01:17] <deitarion> Think of it like environment variables. if you write `export DISPLAY=:1.0` in a terminal, only things started from that terminal will see it.
[01:17] <absk007> deitarion, i'm able access ttyUSB0 but it gives a FATAL Error that i mentioned
[01:18] <deitarion> (21:05:14) deitarion: absk007: I'm only just starting to write Node.JS programs and I've never run into that problem before. Ask Google.
[01:18] <deitarion> (21:09:39) deitarion: As for getting Node.JS to work, have you tried installing a newer version from ppa:chris-lea/node.js to see if that fixes things? That's what I'm running.
[01:18] <deitarion> Aside from that, the only suggestion I have is to ask in a Node.JS IRC channel or on the appropriate StackExchange site.
[01:18] <absk007> deitarion, i'm using nvm and i've v0.11.13
[01:19] <deitarion> absk007: I've never used nvm so that just takes you even further from my area of expertise.
[01:19] <absk007> and the latest alpha version of npm
[01:19] <absk007> deitarion, my node is new & latest.
[01:19] <deitarion> Heck, it's quite probably that you caused your own problems by using a development version of Node.JS and an alpha version of NPM.
[01:20] <deitarion> After all, "development series" and "alpha" both mean "If it breaks and you don't know how to fix it, it's your own fault for using something that's not ready".
[01:23] <deitarion> Stable Node.JS version have even-numbered minor versions like 0.8, 0.10, and 0.12.
[01:23] <deitarion> 0.11 means "experimental and not finished"
[01:28] <absk007> hit me.
[01:30] * deitarion goes AFK to make some food.
=== S-USA is now known as SonikkuAmerica
[06:12] <SamwiseGamgee> Is there an ubuntu link for information on the Nautilus package?
[06:13] <SamwiseGamgee> I tried looking it up in Wikipedia, but that was not helpful
[06:13] <SamwiseGamgee> Is there a full Nautilus package, and if so, where can I find information on it?
[06:15] <SamwiseGamgee> Does this channel work?
[06:25] <linwifi> Hi, I'm trying to build drivers for my Texet WiFi adapter but get these errors during make: http://pastebin.com/gfrjVemE Can anyone help?
=== linwifi is now known as cyborg4
[07:50] <cart_man> Why cant I install ssh-server on lubuntu?
[07:51] <cart_man> "sudo apt-get install openssh-server" doesnt want to work and if I do the recomended command it says the resource must be busy and it cant access it
[07:54] <SamwiseGamgee> Is there Ubuntu documentation about Nautilus? I can't find it anywhere. I even looked in Wikipedia and the Ubuntu forums
[08:02] <SamwiseGamgee> Thunar is my file manager, but can I install the Nautilus Pastebin configurator without the Nautilus File Manager?
[08:03] <ikonia> SamwiseGamgee: you're not using lubuntu
[08:03] <ikonia> SamwiseGamgee: this is not the correct channel
[08:03] <ikonia> SamwiseGamgee: you've been asked multiple times to please use the correct channels
[08:04] <SamwiseGamgee> you mean the forums?
[08:04] <ikonia> SamwiseGamgee: no, the correct IRC channels correctly, OR the forums
[08:04] <SamwiseGamgee> I'm in the forums now
[08:04] <ikonia> this is not the forum
[08:04] <ikonia> (to be %100 clear)
[08:08] <cart_man> Forum --> http://ubuntuforums.org/index.php
[08:10] <SamwiseGamgee> cart_man are you ops?
[08:12] <cart_man> ikonia, Whats the command to see the current processes running?/
[08:12] <ikonia> ps -ef
[08:12] <cart_man> SamwiseGamgee, No just a noob
[08:12] <cart_man> ops as in forum poster?
[08:13] <cart_man> Thanks Iko
[08:27] <SamwiseGamgee> Does Nautilus Configurator work with lubuntu 14.04?
[08:29] <SamwiseGamgee> sorry, Pastebin Configurator
[08:32] <SamwiseGamgee> they say it's a Nautilus extension
[08:33] <SamwiseGamgee> Does that mean you need to have a Nautilus package already running in Lubuntu 14.04 in ordere to install the Nautilus Pastebin Configurator?
[08:35] <jared> SamwiseGamgee: Lubuntu doesn't use Nautilus by default so it's likely you'll have to try it yourself and see. Lubuntu uses PC Man FM as it's default file manager.
[08:35] <SamwiseGamgee> ok, thanks jared
[08:39] <SamwiseGamgee> Oh it's text only, I'm lookin for something to replace Imagebin, because they say Imagebin is no longer safe for posting images
[08:42] <SamwiseGamgee> I can poste text on Pastebin, but where do you guys post your images now that imagebin has malware?
[08:44] <jared> SamwiseGamgee: there are many websites out there that offer image hosting services, I personally don't use any but I'm sure you can find one you like.
[08:44] <SamwiseGamgee> there's probably a good app somewhere in the Ubuntu Software Centre, but I have not found one yet
[08:45] <SamwiseGamgee> for posting images
[08:46] <jared> SamwiseGamgee: I believe most require web page uploads but I've never used them sorry so I don't really know much about Ubuntu integration.
[09:16] <cart_man> ikonia, If I shutdown my GUI and im in command line...what should I run to open up my GUI again?
[09:16] <cart_man> jared, ^^
[09:55] <cart_man> startx seems to work only in ubuntu server
[09:57] <ikonia> cart_man: how did you shut it down ?
[10:01] <cart_man> I didnt yet...just want to murder it now but now without knowing how I can get it back...cause it seems like the changes are permanent
[10:01] <ikonia> cart_man: why do you want to do this ?
[10:01] <cart_man> well obviously not permanent but I dont want to hassle with VI
[10:01] <cart_man> application specific
[10:01] <ikonia> what ?
[10:01] <ikonia> please explain why you want to shut down the X server ?
[10:02] <cart_man> custom hardware with no Visual processing soo the GUI makes it run slower
[10:02] <ikonia> no visual processing ??
[10:02] <ikonia> is this x86 ?
[10:02] <ikonia> custom hardware ??
[10:02] <cart_man> Its old
[10:02] <ikonia> is this x86 ?
[10:02] <cart_man> dont worry about it
[10:02] <cart_man> yea
[10:02] <ikonia> is there a video card in it ?
[10:02] <cart_man> nope
[10:03] <cart_man> hench Visual processing
[10:03] <ikonia> there is no video card at all ?
[10:03] <cart_man> nope
[10:03] <ikonia> so how are you doing anything ?
[10:03] <cart_man> we ran QNX on it which actually had a GUI that doesnt need that
[10:03] <cart_man> it will still run
[10:03] <cart_man> just very slow
[10:03] <ikonia> a gui needs a video card
[10:03] <ikonia> so there must be a video card
[10:03] <ikonia> most bios's won't boot without a video card
[10:03] <cart_man> screen card
[10:04] <ikonia> "screen card" ??
[10:04] <ikonia> what is a "screen card"
[10:05] <cart_man> back in 2003 they use to call it a screen card if im not mistaken
[10:06] <ikonia> I don't think so
[10:06] <cart_man> and even then it was old tech
[10:06] <ikonia> I've never heard of that at all
[10:06] <ikonia> please do "lspci" on the host and put it in a pastebin
[10:06] <ikonia> lets see what you are actually dealing with
[10:07] <cart_man> Intep Corp 82852/855GM Integrated Graphics Device <Rev 02>
[10:07] <cart_man> :(
[10:07] <ikonia> so that's a fine graphics card
[10:07] <ikonia> that should be enough to run a lubuntu gui
[10:08] <cart_man> Yea but I dont want it anyway
[10:08] <cart_man> it does run fine
[10:08] <ikonia> you just said it doesn't run fine
[10:08] <cart_man> yea thats before I launch my Apps
[10:08] <ikonia> you said there is no video card and it doesn't run at all
[10:08] <ikonia> now you are saying there is a fine video card in it and it works fine
[10:09] <ikonia> which applications ?
[10:09] <cart_man> Look...all I want is for it to not come on automatically which I already did... NOW to stop it from hogging processing power "Which totally drags it down" when my processes are running I want to switch it off
[10:09] <cart_man> BUT
[10:09] <cart_man> in the event that I do need a GUI I need to be able to just start it up
[10:10] <ikonia> cart_man: I just asked you how you disabled it and you said "I've not dont it yet"
[10:10] <ikonia> you're changing your story every line
[10:10] <ikonia> 10:57 < ikonia> cart_man: how did you shut it down ?
[10:10] <ikonia> 11:01 < cart_man> I didnt yet...just want to murder it now but now without knowing how I can get it back...cause it seems like th
[10:10] <cart_man> I have done it but now theres thing I need to do so since linux is soo simple to REinstall I just reinstalled it
[10:10] <ikonia> now you are saying "you have shut it down"
[10:10] <cart_man> >.<
[10:10] <ikonia> reinstalled it ??
[10:10] <ikonia> now you're saying you've deleted it ?????
[10:10] <cart_man> hahahahahaha
[10:10] <cart_man> omg
[10:10] <ikonia> cart_man: "how did you shutdown the X server"
[10:11] <ikonia> lets try to asnwer this clearly
[10:24] <cart_man> ok this is how -- > vi /etc/default/grub --> Comment "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" --> GRUB_CMDLINE_LINUX="text" --> Uncomment GRUB_TERMINAL=console
[10:24] <cart_man> ikonia, .. seems to do what I want it to do and CTRL+ALT +F7 doesnt seem to load the GUI anymore
[10:26] <ikonia> I know how to do it
[10:26] <ikonia> I was asking how "you" did it
[10:27] <ikonia> as you'd swapped between saying you'd not done it, done it, done it but didn't know how to get it back
[10:29] <cart_man> thought it would be a simple command though
[10:29] <ikonia> there are many ways to do it
[10:29] <ikonia> again that's why I was asking what you did
[10:33] <cart_man> would be nice if I didnt have to update grub everytime and restart it
[10:36] <ikonia> you don't
[10:36] <ikonia> you set it in grub and it's set until you unset it
[10:43] <cart_man> So is there a way to make it more flexable?
[10:47] <ikonia> what do you need "better"
[10:47] <ikonia> in what way more flexible ?
[10:53] <cart_man> I want to be able to start it up and shut it down in 1 session without restarting the machine
[10:53] <cart_man> or doing file edits
[10:53] <ikonia> ok, so you can use upstart to start the display manager/stop the display manager
[10:53] <ikonia> it's just an init script
[10:54] <ikonia> ls
[10:54] <ikonia> ls
[10:54] <ikonia> oops
[10:54] <ikonia> sorry
[12:10] <cart_man> ikonia,ok but Upstart being ?
[12:11] <cart_man> If I can get the command the script would be easy to write...im relatively new to is but it seems easy
[14:07] <ikonia> cart_man: upstart is the init system
[14:07] <ikonia> cart_man: the thing that starts/stops things at boot time
[14:07] <ikonia> you don't need to write a script it's already there, you just need to call the start/shutdown option for it
[14:10] <cart_man> ikonia,Ive tried that unfortunatelly
[14:10] <cart_man> sudo upstart
[14:10] <cart_man> : /
[14:13] <ikonia> cart_man: that's not a command
[14:47] <cart_man> ugh...anyway
[14:47] <cart_man> tomorrows worries
[14:47] <cart_man> cheers
=== io is now known as IdleOne
[21:29] <hosoka> Hello
[21:30] <hosoka> I did a mistake in the terminal and get this message
[21:30] <hosoka> cannot /etc/apt/preferences.d/ read
[21:31] <hosoka> - DirectoryExists (2: Bestand of map bestaat niet)
[22:26] <francis> Hi
[22:26] <obituaryy> hi
[22:28] <francis> I have lubuntu installed, I'm using a dual monitor setup. Is there way to make each monitor have its own panel because currently the panel extends from the primary monitor to the secondary monitor
[22:31] <absk007> should i remove uxterm, lxterm and xterm. I've installed gnome-terminal and terminator. Which one is better among both?
[22:33] <phillw> absk007: simple system... Try each of them and decide which you prefer :)
[22:34] <absk007> phillw, should i remove the unused ones? Won't it harm in any way for lubuntu?
[22:35] <phillw> absk007: the disk space they use is not to worry about, you can purge them if you wish.
[22:36] <phillw> such applications will not harm lubuntu
[22:36] <absk007> ok. Disk space matters to me though. Running in 7.42GB thumb drive.
[22:37] <absk007> phillw, thanks
[22:37] <phillw> :arandr
[22:37] <phillw> : arandr
[22:37] <phillw> ; arandr
[22:38] <phillw> francis: I'll do this the old fashioned way.... install arandr
[22:38] <ianorlin> francis: I don't know how to make the two panels seperate you could make one be different width or height
[22:38] <ianorlin> but not sure if both could be on bottom
[22:39] <ianorlin> phillw he askign to make lxpanel not on both monitors
[22:42] <absk007> phillw, how to set zsh as my default in gnome-terminal?
[22:43] <phillw> absk007: I do not use gnome-terminal
[22:44] <francis> ianorlin: I tried creating a second panel but it has to be in a different location
[22:45] <francis> phillw: arandr is what I used to configure my monitors
[22:47] <phillw> I've lost track of who wanted it.. but http://ubuntuforums.org/showthread.php?t=2004985
[22:47] <phillw> lubuntu has basic options. If you want esoteric things, you must go search and try.
[23:58] <SamwiseGamgee> How do you exit an application from inside the terminal?
[23:59] <wxl> SamwiseGamgee: killall <process>
[23:59] <wxl> SamwiseGamgee: e.g. killall firefox
[23:59] <SamwiseGamgee> ok, thanks