/srv/irclogs.ubuntu.com/2007/11/04/#ubuntu-classroom.txt

=== merriam__ is now known as merriam
Rich4Hey00:23
jribhi00:24
jribrhythmbox is the troublemaker right?00:24
Rich4well, it was amarok until I uninstalled it00:25
Rich4but yes, the problem now is rhythmbox00:25
jribso it is all music players?00:25
Rich4yup00:25
jriberm00:25
Rich4?00:26
Rich4What do I do?00:26
jriblets do a test00:26
jribgo to Preferred Applications in your preferences menu00:27
Rich4ok?00:27
Rich4multimedia preferred is set to rhythmbox00:28
jribmake it gedit00:28
Rich4do I check 'run in terminal' ?00:31
jribsure00:31
Rich4what now00:32
jribnow try closing rhythmbox00:32
Rich4I have another problem--windows are stuck.00:33
Rich4cant be dragged or anything00:33
jribwe haven't fixed this one yet00:33
Rich4youre right00:34
jribor is this new problem the result of closing rhythmbox?00:34
Rich4rhythmbox just opens00:34
jribok00:34
jribrevert the changes to Preferred Applications00:34
Rich4revert = re-select rhythmbox?00:36
jribyeah00:37
jribnew theory...00:37
jribwell, first, you are using desktop effects right?00:38
Rich4jrib: I have another problem there00:50
Rich4jrib: I was using 'wobble' effects. I turned off effects and rhythmbox still stays open00:54
jribok, so now you have window borders right?00:54
jribRich4: go to system -> preferences -> keyboard shortcuts  and disable all shortcuts for the music player00:55
Rich4there are none00:56
jrib"Media Player"00:57
jrib"Play"00:57
jrib"Pause"00:57
jribetc...00:57
Rich4so pretty much all the sound shortcuts00:58
jribsure00:58
Rich4done01:02
jribclose rhythmbox01:03
Rich4it reopens01:04
jribugh01:04
jribok01:04
jribopen a terminal01:04
Rich4ok01:05
jribwe are going to temporarily move rhythmbox01:06
Rich4coding?01:06
jribsudo mv /usr/bin/rhythmbox{,.backup}01:06
Rich4ok.. thats done01:08
jribclose rhythmox01:08
Rich4its closed.01:09
jribso now nothing reopens?01:09
Rich4:)01:11
jribok now pastebin ~/.xsession-errors01:11
Rich4what will that do01:11
jribit will show me errors01:11
jrib!pastebin01:12
ubotupastebin is a service to post large texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the #ubuntu channel topic)01:12
jribsince right now you cannot open rhythmbox01:12
Rich4bash: pastebin: command not found01:17
jribit is not a command, see what ubotu said01:17
Rich4no I posted "pastebin ~/.xsession-errors"01:19
Rich4err. used that and that was my result01:19
jriburl?01:20
jribyou open /.xsession-errors in a text editor and pastebin the contents01:20
Rich4so this isnt console?01:21
jribno01:21
Rich4ok Its open01:28
jribpastebin it01:29
jribcopy and paste it into the http://paste.ubuntu-nl.org site01:30
Rich4what syntax?01:33
jribany01:35
Rich4what about ------- ?01:35
Rich4what do I do now?01:36
jribtell me the url01:36
Rich4http://paste.ubuntu-nl.org/43199/01:37
jribRich4: run 'rhythmbox.backup' in a termial01:39
Rich4coding?01:41
jribjust what is inside the ''01:42
Rich4ok its open01:43
jribclose it01:43
Rich4done01:43
jribdoes it open again?01:44
Rich4no01:44
jribRich4: before we go on, rhythmbox is not in cron job right?01:45
Rich4cron job?01:45
jribwhat is the output of 'crontab -l' and 'cat /etc/crontab'?01:45
Rich4"no crontab for rich"01:50
Rich4and01:50
Rich4"# /etc/crontab: system-wide crontab01:50
Rich4# Unlike any other crontab you don't have to run the `crontab'01:50
Rich4# command to install the new version when you edit this file01:50
Rich4# and files in /etc/cron.d. These files also have username fields,01:50
Rich4# that none of the other crontabs do.01:50
Rich4SHELL=/bin/sh01:50
Rich4PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin01:50
Rich4# m h dom mon dow user  command01:50
Rich417 *    * * *   root    cd / && run-parts --report /etc/cron.hourly01:50
Rich425 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )01:50
Rich447 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )01:50
Rich452 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )01:50
Rich4#"01:50
jribpastebin next time Rich401:51
Rich4sry01:52
Rich4I'll remember that01:52
jribok, do 'sudo mv /usr/bin/rhythmbox{.backup,}01:52
jribok, do 'sudo mv /usr/bin/rhythmbox{.backup,}'01:52
Rich4now it has the opening problem01:53
jribwait01:53
jribdid you open it yourself first or did it open on its own?01:53
Rich4I pressed [enter] in konsole01:54
Rich4then it prompted pw which I entered01:54
jriband then rhythmbox opened on its own, right?01:56
Rich4yes01:56
Rich4I believe the same problem began again01:56
Rich4what did that command do..?01:56
jribyes, we haven't changed anything01:56
jribwe moved rhythmox back01:57
Rich4kk01:57
jribok, do 'sudo mv /usr/bin/rhythmbox{.backup,}'01:57
jriband open up a text editor01:57
Rich4the same line again?01:58
Rich4# /etc/crontab: system-wide crontab01:59
Rich4# Unlike any other crontab you don't have to run the `crontab'01:59
Rich4# command to install the new version when you edit this file01:59
Rich4# and files in /etc/cron.d. These files also have username fields,01:59
Rich4# that none of the other crontabs do.01:59
Rich4SHELL=/bin/sh01:59
Rich4PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin01:59
Rich4# m h dom mon dow user  command01:59
Rich417 *    * * *   root    cd / && run-parts --report /etc/cron.hourly01:59
Rich425 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )01:59
Rich447 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )01:59
Rich452 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )01:59
Rich4#01:59
jrib...01:59
Rich4sry :(01:59
Rich4It said:02:00
Rich4mv: cannot stat `/usr/bin/rhythmbox.backup': No such file or directory02:00
jribit is a different command02:00
jriboh you are right, my mistake02:00
jribok, do 'sudo mv /usr/bin/rhythmbox{,.backup}'02:00
Rich4ok and you wanted me to open it in a txt editor02:01
jribRich4: what does 'echo ~' return for you?02:02
Rich4/home/rich02:03
jribRich4: we are going to replace rhythmbox with http://paste.ubuntu-nl.org/43207/02:04
jribRich4: verify for me that 'ls /usr/bin/rhythmbox' says it does not exist?02:05
Rich4ls: /usr/bin/rhythmbox: No such file or directory02:09
jribRich4: now do: sudo wget -O /usr/bin/rhythmbox http://paste.ubuntu-nl.org/43207/plain/02:09
Rich4ok02:10
Rich4what now02:10
jribRich4: now in your HOME, do you see a file called /home/rich/jrib_rhythmbox_debug?02:10
jribRich4: now in your HOME, do you see a file called /home/rich/jrib_rhythmbox_debug?02:11
* jrib pummels the arrow key02:11
Rich4no, I dont think so02:13
jriboh02:14
jribtry 'sudo chmod +x /usr/bin/rhythmbox'02:14
Rich4ok02:15
Rich4then?02:16
jribRich4: now in your HOME, do you see a file called /home/rich/jrib_rhythmbox_debug?02:17
Rich4nothing02:20
jribdo 'sudo mv /usr/bin/rhythmbox{,.fake} && sudo mv /usr/bin/rhythmbox{.backup,}'02:22
jribthen open rhythmbox02:22
jribthen do 'sudo mv /usr/bin/rhythmbox{,.backup} && sudo mv /usr/bin/rhythmbox{.fake,}'02:23
jribthen minimize rhythmbox02:23
Rich4done. rhythmbox is actually staying minimized02:30
Rich4what did that cmd do?02:30
jribRich4: now in your HOME, do you see a file called /home/rich/jrib_rhythmbox_debug?02:30
Rich4I see nothing02:31
jribRich4: it is the same as before, we just moved the executable (and replaced with the script)02:31
jribwhat does 'cat ~/jrib_rhythmbox_debug' return?02:31
Rich4cat: /home/rich/jrib_rhythmbox_debug: No such file or directory02:32
jribRich4: any ideas on why that is.  To me that does not make sense02:33
jribs/./?02:33
jribit's clear that /usr/bin/rhythmbox is being called since without, your rhythmbox does not respawn02:34
jribRich4: what does 'md5sum /usr/bin/rhythmbox*' return?02:36
Rich4pastebin won't let me paste. claims I'm spamming02:39
jribpaste it here02:39
Rich4its 3 lines of text02:39
Rich42c06b471fda1c559910dfc953b0aa028  /usr/bin/rhythmbox02:39
Rich4259905b6d61715a6c8a9152410d833f3  /usr/bin/rhythmbox.backup02:39
Rich4e98a31675b61f0f774748ae726ea83a3  /usr/bin/rhythmbox-client02:39
jribRich4: what does 'cat /usr/bin/rhythmbox' return?02:41
Rich4wont let me paste due to spam02:43
jribuse pastebin.com02:44
Rich4yeah thats what I mean02:44
Rich4oh nvm02:44
Rich4http://pastebin.com/d65bc6f9202:45
jribok, I don't know why it doesn't run then02:47
jribI have one more thing to try and then I am out of ideas02:47
jriblets get rid of the changes we made, do: sudo mv /usr/bin/rhythmbox{.backup,}02:47
jribRich4: done with that?02:51
Rich4uh02:55
Rich4yeah02:56
Rich4but now rhythmbox just opens again02:56
jribyes, you don't understand what we have been doing?02:57
Rich4yes this replaced the backup, correct?02:57
Rich4err.. used the backup TO restore it02:58
jribwhen we move rhythmbox, it can't open02:58
jribok, last thing to try, run: metacity --replace02:59
Rich4huh?03:01
Rich4go to ctrl+f2 and run that?03:01
jribin a terminal03:01
Rich4alt+f2*03:01
Rich4oh03:01
Rich4what did that do?03:02
Rich4because rhythmbox still just opens03:02
jribjust ran the window manager in a terminal03:02
jribdo you get output?03:02
Rich4yes03:07
Rich4http://pastebin.com/d46fab61303:08
jribRich4: well that's what you want to google and look into it seems03:24
jribgood luck, I have to go in a bit03:25
bazhangvery nice transcripts--thank you all.04:20
=== PriceChild is now known as pricey
=== pricey is now known as pricechild
=== scraisyi is now known as scraisy
MikeMeilleurhi22:22
rainwalkerjrib?23:32
jribhi23:32
jribrainwalker: do you have a preferred scripting language23:32
rainwalkerhey23:32
rainwalkerum...one that I can understand23:32
rainwalkerunfortunately, I don't know any23:33
jribalright23:33
jribwell we need to right a basic if then script that will check what the handedness is and change it appropriately23:33
rainwalkerooh I do know if/then scripts23:34
rainwalkervaguely23:34
rainwalkerin C++23:34
jribyeah, that would be overkill23:34
jribimo23:34
jribbut a good exercise I suppose23:34
rainwalkerI'll take your word for it23:34
jribgive me a minute to write it up23:35
rainwalkeralright23:35
rainwalkerin what? python?23:35
jribnah, I'll do it in bash23:37
rainwalkeroh ok23:37
rainwalkerI think I've seen bash before23:37
jribhttp://paste.ubuntu-nl.org/43350/23:38
rainwalkeryeah that looks familiar23:39
jribthat should work23:39
rainwalkerlets find out...23:40
rainwalkeryep!23:41
jribhaha, I found http://sarbayes.org/ctwardy/toggle-mouse on google23:41
rainwalkerbut I have to choose if I want to run it or display it's contents every time23:42
jribnah23:42
rainwalkerI do23:42
jribmake it executable and create a launcher for it23:42
rainwalkersweet!23:43
rainwalkerthank you!23:43
jribnp23:43
jribif you do want to learn some scripting, python is very nice, check it out23:43
rainwalkeralright, I think I might23:43
rainwalkerwhat about bash?23:43
naliothpython allows more freedom23:44
jribIt helps to pick up the basic bash stuff like conditionals and loops, but for anything more than a couple of lines, run to python23:44
rainwalkerah ok23:44

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