/srv/irclogs.ubuntu.com/2012/04/03/#ubuntu-beginners.txt

jdmcancerHello02:43
jdmcancerIs anyone here to help me?02:44
holstein!ask | jdmcancer02:44
ubot2jdmcancer: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience02:44
jdmcancerOK02:45
jdmcancerMy problem is with my monitor and I think it is software related and not hardware because I turned on my computer and my monitor was working and then I installed todays updates and restarted the computer and it was working until it finished booting and then it displayed a message saying out of range02:48
jdmcancerI'm on my computer hooked up to a different monitor now02:49
holsteinmaybe... try booting an older kernel.. the last one that worked02:49
jdmcancerI did and got the same result02:50
holsteinset the resolution right now to something more generic and try plugging the other monitor back in02:50
jdmcancerI went into the monitor settings and hit reset and still the same results. Is there a way for someone to check the settings from linux regarding the monitor?02:52
holsteinjdmcancer: you need to check what the monitor supports02:53
holsteinjdmcancer: try setting to something more generic, and plug the monitor in... dont just hit 'reset'.. set to 800x60002:53
holsteinsomething that will work everywhere02:53
holsteini see those messages when the card is sending information that the monitor cant deal with02:54
holsteinyou could have windows, and see that message just as well02:54
jdmcancerI'm not very technical with caomputers, what should I do as far as the settings?02:54
jdmcancerThe monitor is a couple of years old but I do not believe it is hardware because it was working before I installed the updates and rebooted the computer02:57
holsteinjdmcancer: its a software setting correct03:01
holsteini would literally just set it to exactly what i suggested... 800x600.. something generic03:02
jdmcancerOK thanks03:03
JDMcQ1Question: 10.04LTS won't let me add a Gateway through GUI. Keeps resetting it to 0.0.0.0 What's with that?13:08
sattu94JDMcQ1: press enter, after you have entered it.13:13
JDMcQ1sattu94: I think I'm losing it! That worked! duh! But for some reason that machine still won't give me internet access. Other machines work no problem (11.10)13:17
sattu94JDMcQ1: try disabling and re-enabling the connection.13:18
sattu94Click on it in the network connections drop down menu.13:18
geirhaHow does «route -n» look?13:20
JDMcQ1No luck, This is a laptop and has both wireless and hardwired. Both seem OK If I disconnect eth0 wlan0 picks right up but without Internet can ping at will13:26
jemohhey I have a little problem. Am writing pygtk code using vim and here it is :13:28
jemoh#!/usr/bin/env/ python13:28
jemohimport pygtk13:28
jemohpygtk.require('2.0')13:28
jemohimport gtk13:28
jemohclass Base:13:28
jemoh    def destrpy(self,widget,data=none):13:28
jemoh        gtk.main_quit()13:28
jemoh    def __init__(self):13:28
jemoh        self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)13:28
jemoh        self.window.show()13:28
jemoh        self.window.connect("destroy", self.destroy)13:28
jemohi13:28
jemoh    def main(self):13:28
jemoh        gtk.main()13:28
jemohif __name__ == "__main__"13:28
jemoh     base = Base()13:28
jemoh     base.main()13:28
jemohNow when I try to execute it using chmod+x window.py13:28
jemohThis is what I get:13:29
jemohjemoh@Hiuhu:~$ ./window.py13:29
jemohbash: ./window.py: /usr/bin/env/: bad interpreter: Not a directory13:29
jemohSomeone pliz tell me why am getting this error13:30
=== yofel_ is now known as yofel
Snicksiejemoh, you have a space between #!/usr/bin/env and 'python', I guess you need to remove that space? :)13:53
jemohAv tried it but I still get the same error13:55
jemohWhat else could be the problem ?13:55
holsteinjemoh: i would look at the "not a directory" error14:08
jemohsorry but how can look in to it ?14:10
holsteinjemoh: that error says to me you have something reffering to a directory that doesnt exist14:11
holsteinis there a /usr/bin/env ?14:11
holsteinmaybe try #python14:13
philinuxholstein: Yes env is a file in /usr/bin14:13
jemohNo there isn't but I did exactly what a certain pygtk tutorial video suggested and on the video, the instructors code ran okay14:13
holsteinjemoh: why dont you pastebin what you pasted here earlier before philinux got here14:14
holstein!paste | jemoh14:15
ubot2jemoh: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.14:15
=== raju is now known as raju-away
jemohOk lemmi do it14:15
bdfhjkHello14:19
bdfhjkNice to see You again after a long break14:19
bdfhjkDo You know any Ubuntu hosting service for online judge?14:20
bdfhjkwhich will be used to organize algorithm classes?14:20
jemohhere is the link :14:50
jemohhttp://pastebin.com/WpynceXk14:50
jemohPlz help14:50
bdfhjk#!/usr/bin/env/ python14:54
bdfhjkremove space :-)14:55
geirhaNo, remove the last /15:03
geirhaAs interpreter, you want /usr/bin/env with python as argument.15:04
JoseeAntonioRlsht: Ok, we can help you over here :)22:36
JoseeAntonioR!ask22:36
ubot2Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience22:36
lshtresolution of my monitor dell xps 1722:37
JoseeAntonioRlsht: Ok, what's the problem with your resolution?22:38
lshtfirst i tried to set it up from system...monitor but failed, than tried to install22:38
lshtnvidia driver 17322:38
JoseeAntonioRCan we run some commands, to check some things?22:39
lshtfrom Synaptic22:39
lshtof course22:39
JoseeAntonioROk. Please, open a Terminal (using Ctrl+Alt+T) and type/paste this command:22:39
JoseeAntonioRsudo lshw -C display; lsb_release -a; uname -a22:39
JoseeAntonioRThen, give us the output in a pastebin.22:39
JoseeAntonioR!pastebin22:39
ubot2For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.22:39
lsht*-display UNCLAIMED             description: VGA compatible controller        product: nVidia Corporation        vendor: nVidia Corporation        physical id: 0        bus info: pci@0000:02:00.0        version: a1        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress cap_list        configuration: latency=0        resources: memory:c8000000-c8ffffff memory:d0000000-dfffffff(prefetchable) memory:cc22:41
lshtis it ok?22:41
JoseeAntonioRYes :)22:42
JoseeAntonioRThis seems to be a common problem we've had with Intel chipsets. Maybe this is the same, let's try with some steps...22:42
lshtmy default resolution should be 1600x900 how to make it?22:42
JoseeAntonioRlsht: One second, please.22:43
JoseeAntonioRMay I have your monitor's brand and moedl?22:43
lshtthe integrated monitor of laptop dell xps 17  701x22:44
JoseeAntonioROh, yes, of course. I forgot about it.22:44
JoseeAntonioRJust give me one second while I find some values for it.22:44
lshtok, when I go to monitor - unrecognised or something like this....resolution 800x 60022:45
JoseeAntonioRYes, same problem I had some months ago :)22:45
JoseeAntonioRLet's issue some commands while I find the values.22:46
JoseeAntonioRPlease, in the Terminal, type "sudo X -configure :1"22:46
lshtand when i tried this with drivers... now comes first message, that somethin is wthout driver and than22:46
JoseeAntonioRlsht: Please, issue the command I gave you before. Tell me when it's finished, don't give me the output.22:47
lshtok,22:47
lshtcomes closing log?22:47
JoseeAntonioRlsht: Yes. Now, let's issue another command.22:48
JoseeAntonioRgksu gedit xorg.conf.new22:48
JoseeAntonioRlsht: The command in the line above this one should open a Text Editor22:48
JoseeAntonioRWe will be working on it, so don't close it.22:49
lshtyes22:49
lshtok22:49
JoseeAntonioRlsht: Ok. Once it has opened, search for the Monitor section. There are 3 monitor sections, one which is Monitor0, right?22:50
lshtok22:50
JoseeAntonioRlsht: I mean, what I told you is right? Please check for it22:51
lshtSection "Monitor" Identifier   "Monitor0" VendorName   "Monitor Vendor" ModelName    "Monitor Model"22:51
JoseeAntonioRlsht: Please, don't paste things here. Just answer the questions, because this channel is publicly logged.22:52
lshtok22:52
JoseeAntonioRlsht: Ok, after Monitor Model, there should be an EndSection line. Before that section, add this two lines:22:53
JoseeAntonioRHorizSync 67.5 - 137.222:53
JoseeAntonioRVertRefresh 60.0 - 120.022:53
JoseeAntonioRlsht: Add them just before EndSection and after ModelName22:54
JoseeAntonioRlsht: Did you add them?22:56
lshtmoment22:57
lshtnew row for every line?22:57
lshtyes22:58
JoseeAntonioRlsht: Yes, a new row for every line.22:58
lshtok22:58
JoseeAntonioRlsht: Once you're finished, please save the file, and if you want me to check it put it into a pastebin.22:58
JoseeAntonioR!pastebin | lsht22:59
ubot2lsht: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.22:59
matt_help, i cant get ubuntu installed on my computer22:59
lsht!pastebin | lsht Section "ServerLayout" Identifier     "X.org Configured" Screen      0  "Screen0" 0 0 InputDevice    "Mouse0" "CorePointer" InputDevice    "Keyboard0" "CoreKeyboard" EndSection  Section "Files" ModulePath   "/usr/lib/xorg/modules" FontPath     "/usr/share/fonts/X11/misc" FontPath     "/usr/share/fonts/X11/cyrillic" FontPath     "/usr/share/fonts/X11/100dpi/:unscaled" FontPath     "/usr/share/fonts/X22:59
ubot2lsht Section "ServerLayout" Identifier     "X.org Configured" Screen      0  "Screen0" 0 0 InputDevice    "Mouse0" "CorePointer" InputDevice    "Keyboard0" "CoreKeyboard" EndSection  Section "Files" ModulePath   "/usr/lib/xorg/modules" FontPath     "/usr/share/fonts/X11/misc" FontPath     "/usr/share/fonts/X11/cyrillic" FontPath     "/usr/share/fonts/X11/100dpi/:unscaled" FontPath     "/usr/share/fonts/X: For posting multi-line 22:59
lshtis so ok?23:00
JoseeAntonioRlsht: Please, read the instructions.23:00
JoseeAntonioRNo, it's not ok.23:00
JoseeAntonioR*Read* the instructions.23:00
JoseeAntonioR!pastebin23:00
JoseeAntonioR!pastebin23:00
ubot2For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.23:00
JoseeAntonioRlsht: ^^^23:00
matt_so can anyone help me23:00
lshtok23:00
JoseeAntonioR!ask | matt23:01
ubot2matt: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience23:01
JoseeAntonioRlsht: Do you have the link for the paste?23:02
matt_well everytime i try to install it i cant because it wont run. when i finish installing it just brings me to a purple screen with options like run linux. recovery mode and when i clikc run it just goes to a black screen23:02
lshti used paste.ubunto.com how can i give you securely the url?23:02
JoseeAntonioRlsht: Just give it to me. That is public, and doesn't mean any risk for your PC.23:02
JoseeAntonioRWe can't access your PC directly.23:02
JoseeAntonioRmatt_: Are you in Ubuntu right now?23:03
lsht?23:03
lshthttp://paste.ubuntu.com/913824/23:03
matt_i cant even get on. im on my desktop and its my laptop and i have tried to install it twicxe, both with the same problem23:03
JoseeAntonioRlsht: Ok. Please, save and close the file.23:03
lshtdone23:03
JoseeAntonioRmatt_: Have you MD5 checked the ISO you downloaded?23:03
JoseeAntonioRlsht: Ok. Now, I need you to issue this command: "sudo mv xorg.conf.new /etc/X11/xorg.conf"23:04
JoseeAntonioRlsht: That will move the file to its correct position23:04
matt_i dont think so, i got the disc from my friend who has ubuntu and he just gave me the disk he used23:04
JoseeAntonioRmatt_: I think you should try downloading an ISO, then you can burn it into a CD or make a LiveUSB with it. www.ubuntu.com/download/ubuntu/download23:05
lshti dont know if i typed it wright can i do it one more time?23:05
JoseeAntonioRlsht: Yes.23:05
matt_ive done that on the usb the first time and it didnt work23:05
JoseeAntonioRmatt_: Did you MD5 the ISO? Maybe you got a corrupted iso.23:05
lshtno such file or directory23:06
lsht?23:06
JoseeAntonioRmatt_: https://help.ubuntu.com/community/HowToMD5SUM23:06
JoseeAntonioRlsht: Then you moved it correctly.23:06
matt_my friend installed linux yesterday and i used the same disc he does23:06
lshtok23:06
matt_actually, when i try to installe like 10 minutes in i get a error saying something about /deb/sev or something like that23:06
JoseeAntonioRlsht: You can press the up key to check the last commands you issued, in order. If you want to, you can check you typed it right before we move on.23:06
JoseeAntonioRmatt_: Do you know what is the version of that Ubuntu CD?23:07
lshtok23:07
JoseeAntonioRlsht: Was it OK?23:07
lshtlsht: Then you moved it correctly.23:08
lshtyes there is no such file or directory if i get it wright23:09
JoseeAntonioRlsht: Just wanted to check, because you might have moved it with another name23:09
lshtshould be positive answer23:09
JoseeAntonioRJust to ckeck23:09
lshti copied the command from chat23:09
JoseeAntonioRlsht: If you copied it, then it's right. Now, please close the Terminal.23:10
lshtclosed23:10
JoseeAntonioRlsht: Please copy this command into a paper: "sudo rm /etc/X11/xorg.conf"23:11
lshtis it two ii -s after X?23:12
lshtor two ll-s23:12
Unit193X one one.23:12
lshtok23:12
Unit193What are you trying to do, JoseeAntonioR?23:13
JoseeAntonioRUnit193: That generates a new xorg.conf with the HorizSync and VertRefresh values of the monitor, to get resolution.23:13
JoseeAntonioRUnit193: If at the end the command doesn't work, then the person can use the command I last gave to remove the xorg.conf and get back to "normal"23:14
lshti saw a theme about a similar configuration  http://ubuntuforums.org/showthread.php?p=1040642223:14
JoseeAntonioRlsht: Please, reboot the PC. If it works, then you will be able to change the resolution. If not, and you cannot see anything, boot into text mode, and issue that command. I will be waiting for you here23:14
lshtok,23:15
lshtrebooting23:15
JoseeAntonioRUnit193: That was the first problem I solved, had it with my old PC.23:17
lshthey again23:19
JoseeAntonioRlsht: Hello! Did it work?23:19
lshti have the same resolution23:19
lshtas before23:19
JoseeAntonioRAren't you able to change it?23:20
JoseeAntonioRlsht: ^^23:20
lshtYou do not appear to be using the NVIDIA X driver.  Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.23:20
JoseeAntonioROk, then open a Terminal and run "sudo nvidia-xconfig" without quotes, and then reboot again. That should make it23:21
lshti run the command23:22
lshtnow restart?23:22
JoseeAntonioRlsht: Yep :)23:23
lshthey23:30
JoseeAntonioRlsht: Hello! How is it?23:30
lshtfirst i get error message23:30
lshtafter reboot23:31
lsht(EE) NVIDIA (0)23:31
lsht:23:31
JoseeAntonioR!enter23:31
ubot2Please try to keep your questions/responses on one line. Don't use the "Enter" key as punctuation!23:31
JoseeAntonioR!pastebin23:31
ubot2For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.23:31
JoseeAntonioRlsht: ^^^23:31
lshtFailed to initialize the GLX module;23:31
lshtplease23:31
lshtcheck your x23:31
lshtaaa23:32
lshti had to write it somewhere first23:32
JoseeAntonioRlsht: So, you figured out how to solve the last issue?23:34
lshtwhich one exactly? I have had only one issue - resolution?23:35
JoseeAntonioRlsht: You said you had to write it somewhere fist23:37
lshtmoment23:40
JoseeAntonioRlsht: Ok.23:40
lshtok, first comes this23:40
lshthttp://paste.ubuntu.com/913861/23:40
lshtthan I give ok23:41
lshtand than comes to 5 options, and I choose continue low resolution23:41
lshtand everithing is as before23:41
lshtother options were repair and some other things23:42
lshtrepair step by step23:42
lshttwo reboots two times one and the same23:42
JoseeAntonioRI think you should try with Repair, and if that doesn't work then remove the file with the command I gave you.23:42
JoseeAntonioRI would suggest removing the file right now.23:42
lshtIn the last paste is about the driver23:43
lshthow can I upgrade to the 295 driver on Nvidia page?23:43
lshtI downloaded the run file, and than?23:43
JoseeAntonioRDo you have the link to the webpage so I can check it out?23:44
lshtthis driver is not in Synaptic?23:44
lshtthe link was in the theme in forum i mentioned23:44
lshtmoment23:44
JoseeAntonioRlsht: Well, you should open the Update Manager to see if there are any updates.23:45
JoseeAntonioRlsht: Have you checked if there are any additional drivers to be installed?23:45
lshthttp://www.nvidia.de/object/linux-display-amd64-295.33-driver-de.html23:45
lshthow23:45
lsht?23:45
JoseeAntonioRWhich version of Ubuntu are you running?23:46
lsht1023:46
lsht10.04 LTS23:47
lsht i just check in Synaptic but the latest ist 18523:47
lshtdriver23:48
JoseeAntonioRlsht: It is because you are running Ubuntu 10.04.23:48
lshtow can i manualy download driver from nvidia page and than install it23:48
lsht?23:48
lshtshould i install another version?23:49
JoseeAntonioRlsht: Well, you will not be able to install it because of the Kernel.23:49
lshtouch23:49
JoseeAntonioRlsht: What I should recommend is installing another Ubuntu version, maybe 10.10, then 11.04, and finally 11.1023:49
lshti have the installation near my original windows 723:50
lshtwhat should i do exactly?23:51
lshtnot to damage everything?23:51
JoseeAntonioRlsht: Do you have many important documents in Ubuntu?23:51
lshti mean beside23:51
lshtno23:51
lshtnothing23:51
lshtimportant some films etc.23:52
lshtthe installation is from 1 week23:52
JoseeAntonioRlsht: Well, then I recommend doing a fresh install of Ubuntu 11.10, so then you can upgrade to 12.04 LTS.23:53
lshtThe problem should be not to damage tthe Windows23:53
JoseeAntonioRDoing a fresh install means to format just the Ubuntu partition. You should select it manually. It won't damage Windows in any way23:53
lshtthat is beside the  linux23:53
lshtis 12.04 LTS already available?23:54
JoseeAntonioRlsht: No, it will be available in 23 days.23:54
lshtso for the install - with dvd and etc.?23:55
lshtwhat will hapen when i eraze the current 'boot loading' or what the name is23:56
lshtnow I have dual boot system?23:56
JoseeAntonioRlsht: If you do a fresh install of Ubuntu, you will still have the two systems.23:57
lshtwill the next clean linux install erase or some how damage my windows?23:57
JoseeAntonioRlsht: No, as I told you.23:58
lshtand i don't need to install windows one more time23:58
lshtok23:58
lshtby the way23:58
JoseeAntonioRlsht: No, just don't choose to install in the entire Hard Drive.23:58
JoseeAntonioRlsht: Tell me.23:58
lshti made the install 'inside windows' should this be ok too?23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!