techie | !ppc | 00:00 |
---|---|---|
ubottu | PowerPC. Formerly used by Apple for the Macintosh line of computers. Variants are now used in popular gaming consoles. PPC was a fully supported Ubuntu architecture up to and including edgy. It is now a community port, see https://wiki.ubuntu.com/PowerPCFAQ | 00:00 |
* likemindead is back (gone 01:05:28) | 01:43 | |
maxwell | How can I get this line of code to run every time I boot up automatically: "setxkbmap -option grp:switch,grp:alt_shift_toggle_led:scroll us,ru | 02:57 |
maxwell | " | 02:57 |
maxwell | ? | 02:57 |
techie | put it in a bash script and have it run using the session manager | 02:57 |
knome | maxwell, applications -> settings -> sessions and startup -> tab "application autostart" | 02:58 |
techie | yep | 02:58 |
maxwell | I have *totally* forgotten how to do that. | 02:59 |
maxwell | Simple instructions, please? | 02:59 |
maxwell | Oh wait... | 02:59 |
maxwell | I think I have it. | 02:59 |
maxwell | Yes. | 03:00 |
maxwell | Thank you. | 03:00 |
maxwell | *hugz* | 03:00 |
knome | you're welcome | 03:00 |
maxwell | Hrmm, I added it. | 03:03 |
maxwell | Is there anything I fucked up on? | 03:03 |
maxwell | It is not working D: | 03:03 |
maxwell | Can someone please walk me through that? | 03:04 |
knome | is the script runable? (chmod +x filename) | 03:04 |
maxwell | Well if I type it into terminal and hit enter, it runs... | 03:04 |
maxwell | I actually cannot remember how to make it into a script *file* etc. | 03:04 |
maxwell | The command in question is pasted above. | 03:05 |
maxwell | But that is all I've got. | 03:05 |
knome | i'm a bit unfocused of anything right now, sorry | 03:07 |
maxwell | Well, focus? | 03:08 |
maxwell | I want to have the following command in quotation marks run whenever my system starts up: " setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ru" | 03:08 |
knome | maxwell, did you look at applications -> settings -> sessions and startup -> tab "application autostart" ? | 03:10 |
maxwell | Yes. | 03:10 |
maxwell | Then I clicked "add" | 03:10 |
maxwell | Made a name for the script. | 03:11 |
maxwell | typed what I wanted in the little box marked " command", saved and quit. | 03:11 |
knome | did you check it's checkbox in the window? | 03:11 |
maxwell | Yes, checked. | 03:11 |
knome | try to create a scriptname.sh file for it | 03:13 |
knome | and as only line, paste your command | 03:14 |
maxwell | what does that mean? please explain. | 03:15 |
knome | then right-click the file in thunar -> properties, tab "permissions" and check the box "allow this file to run as program" | 03:15 |
knome | ok... | 03:15 |
knome | open mousepad | 03:15 |
* maxwell is retarded. | 03:15 | |
* maxwell opens mousepad. | 03:15 | |
knome | paste your command in mousepad | 03:16 |
maxwell | done | 03:16 |
knome | save the file as /home/yourusername/startup.sh | 03:16 |
knome | open thunar | 03:17 |
knome | you should be in /home/yourusername/ | 03:17 |
maxwell | yes | 03:17 |
knome | right-click startup.sh and select properties | 03:17 |
knome | go to tab permissions | 03:17 |
knome | check the box "allow this file to run as program" from the bottom of the window | 03:18 |
maxwell | Okay, did that. | 03:18 |
knome | then close the window and thunar (and mousepad, if you have it still running) | 03:18 |
knome | then, open applications -> settings -> sessions and startup | 03:18 |
maxwell | Oh, mmk. | 03:18 |
maxwell | Gotcha there. | 03:18 |
knome | go to tab "application autostart" | 03:18 |
knome | click "add" | 03:18 |
knome | name it whatever you want | 03:18 |
knome | and for the command, type "/home/yourusername/startup.sh" without the quotes. | 03:19 |
maxwell | Mmmk, testing... | 03:19 |
knome | then, click ok and make sure it has the mark checked in the list on the "applications autostart" window | 03:19 |
knome | then close all windows login again | 03:20 |
maxwell | Ah! Question... | 03:20 |
knome | okay? | 03:20 |
maxwell | If I change the name to make it a hidden file, so long as I change the filepath and everything, nothing would fuck up, riight? | 03:20 |
maxwell | I shall do that. | 03:20 |
knome | yes. | 03:20 |
maxwell | Thank you. | 03:20 |
maxwell | Hrmm, not working. | 03:22 |
maxwell | I logged on and off. | 03:22 |
knome | are you running xubuntu 9.04 ? | 03:23 |
maxwell | Yes. | 03:23 |
knome | okay. | 03:23 |
knome | open thunar and browse to /home/yourusername/.config/autostart | 03:24 |
maxwell | I just did a fresh install the other day as I came back from a few months of vacation. | 03:24 |
maxwell | Mmk, there. | 03:24 |
knome | find the appropriate file and open it in mousepad | 03:24 |
maxwell | Done. | 03:24 |
knome | !pastebin | maxwell | 03:25 |
ubottu | maxwell: pastebin is a service to post multiple-lined texts so you don't flood the channel. Ubuntu pastebin is at http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic | 03:25 |
maxwell | I know what pastebin is :) | 03:25 |
knome | paste it and let me see | 03:25 |
maxwell | http://paste.ubuntu.com/279219/ | 03:25 |
knome | did you rename the file? | 03:26 |
maxwell | No :S | 03:26 |
knome | okay | 03:26 |
maxwell | Oh, shit yes. | 03:26 |
maxwell | I did. | 03:26 |
maxwell | I called it "keyboard_switch) | 03:26 |
knome | ok, change the Exec line accordingly | 03:26 |
knome | and save the file and relogin. | 03:27 |
maxwell | doing so... | 03:27 |
* maxwell tears hair out. | 03:29 | |
knome | doesn't work, or what? | 03:29 |
maxwell | No it does not. | 03:30 |
knome | ok, just to be sure, can you paste the script file | 03:30 |
maxwell | Mmmk. | 03:30 |
knome | also, open terminal, type "ls -l" (in your home) and paste the output as well | 03:30 |
maxwell | file name: keyboard_switch | 03:30 |
knome | you can use a single paste | 03:30 |
maxwell | mmmk. | 03:31 |
maxwell | http://paste.ubuntu.com/279222/ | 03:31 |
knome | ok, where is your /home/maxwell/keyboard_switch ? | 03:32 |
knome | the Exec= line should have a script path/file that exists | 03:33 |
maxwell | Oh shit, BRB!! | 03:33 |
techie | that didnt sound good | 03:33 |
knome | not really. | 03:33 |
knome | maxwell, does it work? | 03:34 |
maxwell | Okay, I just changed the file name and path to match. | 03:34 |
maxwell | And no, it does not work. | 03:35 |
maxwell | Is there not some simpler way of doing this? | 03:35 |
maxwell | Last time I asked someone to help me with this it took five minutes. | 03:35 |
techie | what was all that about maxwell? | 03:35 |
maxwell | ? | 03:35 |
knome | this is the right way to do it. | 03:35 |
techie | "maxwell> Oh shit, BRB!!" | 03:35 |
maxwell | Stuff, things. | 03:35 |
maxwell | Life, etc. | 03:35 |
techie | fair enough | 03:35 |
knome | maxwell, you can paste again the file in ~/.config/autostart and the output of "ls -l" ? | 03:35 |
knome | and output of "cat keyboard_switch" | 03:36 |
maxwell | http://paste.ubuntu.com/279226/ | 03:37 |
knome | okay, can you paste the output of "cat keyboard_switch.sh" | 03:38 |
maxwell | maxwell@maxwell-desktop:~$ cat keyboard_switch.sh | 03:38 |
maxwell | setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,rumaxwell@maxwell-desktop:~$ | 03:38 |
knome | hmm, open the file, go to the end of the first line and press enter, then save and try to relogin | 03:39 |
maxwell | Still isn't working. | 03:41 |
maxwell | I am sure there is some hella-simple way of doing this though. | 03:41 |
maxwell | It feels like you are overcomplicating it somehow. | 03:41 |
knome | to be honest, i think you are doing something wrong. this works for me. | 03:42 |
maxwell | Odd. | 03:43 |
samson_ | hello | 03:43 |
knome | maxwell, you can try to copy the file in .config/autostart to /etc/xdg/autostart | 03:43 |
samson_ | first time user here, wondering if someone can help me out with a problem | 03:43 |
maxwell | I have decided to try this from the beginning. | 03:43 |
knome | !ask | samson_ | 03:44 |
ubottu | samson_: Please don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) | 03:44 |
techie | !ask samson_ | 03:44 |
ubottu | Sorry, I don't know anything about ask samson_ | 03:44 |
techie | dang you knome | 03:44 |
samson_ | lol | 03:44 |
knome | techie, :) | 03:44 |
samson_ | My laptop: IBM R31; Question 1: I cannot get sound to work, I have installed all the updates, sound doesnt work, plz help | 03:45 |
maxwell | Isn't there some way of forgoing the whole making of another file to get this to work? | 03:47 |
maxwell | Can I not just somehow type the code into the "command" box when I am doing the add in application autostart? | 03:47 |
xylox | maxwell, if you run the bash file you created, it runs ok? | 03:47 |
maxwell | I didn't try that. | 03:50 |
xylox | just doubleclik it and see if it runs ok | 03:50 |
maxwell | Yes. | 03:50 |
maxwell | It works fine. | 03:51 |
maxwell | (if I double-click on it) | 03:52 |
xylox | then add to your file in the first line this -> sleep 5 | 03:52 |
maxwell | ? | 03:53 |
maxwell | Wait? | 03:53 |
maxwell | So just, add it to the first line then? | 03:53 |
xylox | yes, is a delay to give time to x to load before the command | 03:54 |
maxwell | (it only has one line :O) | 03:54 |
maxwell | Okay, now what? | 03:54 |
techie | xylox, if he runs it via startup and sessions it will load when X is well loaded | 03:54 |
xylox | techie, it happened to me and just worked with sleep | 03:55 |
xylox | maxwell, try it | 03:56 |
maxwell | mmmk | 03:57 |
maxwell | No. | 03:58 |
maxwell | Not working. | 03:59 |
samson_ | so anyone got any ideas? | 04:07 |
xylox | maxwell, pastebin your bash file to check it | 04:09 |
maxwell | Bash file? | 04:10 |
xylox | yeah, the file you made and added to your autostart | 04:11 |
maxwell | I have pasted it like......six times though. | 04:13 |
maxwell | It honestly hasn't changed. | 04:13 |
maxwell | setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ru-> sleep 5 | 04:13 |
xylox | oh man | 04:14 |
maxwell | Oh, that one. | 04:21 |
maxwell | One sec there, mate. | 04:21 |
maxwell | http://paste.ubuntu.com/279243/ | 04:24 |
xylox | maxwell, your file should be like this http://pastebin.com/d6c9389f5 | 04:25 |
xylox | make sure is executable | 04:25 |
xylox | and make sure is loaded at startup apps | 04:25 |
maxwell | brb, testing. | 04:28 |
maxwell | Thank you. | 04:30 |
maxwell | Crazy how all it needed were those few characters at the beginning. | 04:31 |
maxwell | Until next time! | 04:31 |
maxwell | Ciao! | 04:31 |
visitor1 | hi techie | 04:58 |
techie | helllo visitor1 | 04:58 |
visitor1 | could you helpüme once again please? | 05:00 |
visitor1 | -ü | 05:00 |
techie | sorta trying to help myself atm, but sure | 05:00 |
visitor1 | i would like to install the new xnview, http://newsgroup.xnview.com/viewtopic.php?f=60&t=18423 | 05:00 |
visitor1 | but its not in the packet managment and no .deb | 05:00 |
visitor1 | how complicated is it? | 05:01 |
techie | im downloading it now | 05:01 |
ryguy | Hey, I'm trying to set up a static IP address so I can forward apache to my domain name but I'm not sure exactly how to get my ip adress, gateway, and netmask. whatismyip.com gives me a different IP address than ifconfig | 05:05 |
techie | ifconfig will give you the information for your computer | 05:06 |
techie | getmyip will give you the information of your internet connection | 05:06 |
ryguy | alright so I just throw the information from ifconfig into /etc/network/interfaces? | 05:07 |
techie | yes but it has to be in the correct layout | 05:07 |
ryguy | right, how do i find my gateway? | 05:07 |
techie | that will be the ip of your router | 05:08 |
ryguy | Mask from ifconfig outputs 255.0.0.0 does that sound correct? | 05:08 |
ryguy | or should it look more like my ip? | 05:08 |
ryguy | no wait, it says 255.255.255.0 | 05:09 |
techie | once your done please pastebin me your /etc/network/interfaces | 05:10 |
ryguy | alright | 05:10 |
ryguy | http://friendpaste.com/2B9LjhFiq4m3eKVzFNvO82 | 05:11 |
techie | i dont think the auto lo eth0 line is needed but im not 100% sure | 05:12 |
ryguy | well im using this guide here | 05:13 |
ryguy | http://www.ubuntugeek.com/how-to-set-a-static-ip-address-in-ubuntu-810-intrepid-ibex.html | 05:13 |
techie | looks alright | 05:13 |
ryguy | alright, thanks! | 05:13 |
visitor1 | do you know a picture viewer which saves the zoom techie ? | 05:19 |
visitor1 | i have comics in jpeg but at every new picture i have to zoom agin | 05:20 |
visitor1 | i hope the xnview can manage this | 05:20 |
techie | nope i dont | 05:22 |
visitor1 | i have tried more than three picture viewer but none can do this | 05:22 |
visitor1 | how does it look techie ? | 05:43 |
techie | it looks as if theres a bash script to configure it all | 05:44 |
techie | extract it and run the file xnview.sh | 05:44 |
techie | and with some luck it will all just work | 05:45 |
visitor1 | ok, thanksw, will try it | 05:45 |
visitor1 | it works, and i can save the zoom, excellent, thanks a lot techie | 05:52 |
techie | no problem | 05:52 |
visitor1 | where are the programm files where i should copy the xnview directory? | 05:53 |
visitor1 | dont know about the directory structure of linux | 05:55 |
techie | no clue | 05:55 |
visitor1 | i have copied the xnview files to a temp directory | 05:56 |
techie | wait | 05:56 |
techie | does xnview.sh launch the viewer or install it? | 05:56 |
visitor1 | it launches the viewer | 05:56 |
techie | kk | 05:56 |
techie | put it into a directory of your choosing | 05:56 |
techie | and make a symbolic link in /usr/local/sbin/ | 05:57 |
techie | that way you can just launch it from anywhere | 05:57 |
visitor1 | ok but where are usually put the programm files in xubuntu? | 05:58 |
techie | umm, put it into /etc/ | 05:58 |
techie | so /etc/xnview/ | 05:58 |
visitor1 | ok thanks a lot | 05:59 |
visitor1 | hmm i managed to copy it to /etc and i made a starter icon on th desktop, but i wont start, it wants to open xnview.sh with the text editor, how do i change it to an .exe? | 06:19 |
techie | ln -s /path/to/xnview.sh /usr/local/sbin/xnview | 06:21 |
techie | done that? | 06:23 |
techie | once you have done that you can launch it by typing xnview into terminal or into the launcher (ALT + F2) | 06:24 |
visitor1 | now i have done it, but xnview is in /etc? | 06:24 |
techie | yeah so the command would have been something along the lines of | 06:25 |
techie | ln -s /etc/xnview/xnview.sh /usr/local/sbin/xnview | 06:26 |
visitor1 | ok i am stupid | 06:26 |
techie | *no comment* | 06:27 |
visitor1 | how do i delete the wrong link, ln -s /path/to/xnview.sh /usr/local/sbin/xnview | 06:28 |
techie | sudo rm /usr/local/sbin/xnview | 06:28 |
visitor1 | sudo ln -s /etc/XnViewMP/xnview.sh /usr/local/sbin/xnview | 06:33 |
visitor1 | /usr/local/sbin/xnview: 4: ./xnview: not found | 06:33 |
* techie title his head sideways | 06:34 | |
techie | tilts* | 06:34 |
visitor1 | hmm its working when iam in /etc/XnViewMP/xnview.sh | 06:35 |
xylox | visitor1, have you tried downloading the rpm file form xnview website and creating .deb with "alien" | 06:35 |
visitor1 | but in another directory i get this error, /usr/local/sbin/xnview: 4: ./xnview: not found | 06:35 |
techie | wait | 06:35 |
techie | are you running it with ./xnview or just xnview | 06:35 |
visitor1 | just xnview | 06:35 |
techie | bizzare | 06:36 |
techie | anyway im gonna go afk | 06:37 |
visitor1 | ok ,thanks anyway | 06:38 |
visitor1 | will try to solve this mystery | 06:38 |
_Space_Case_ | i just installed xubuntu on my old 600 mhz computer from the alternate cd when i first booted, im not exactly sure what to call-em but the bar across the top, aplacation places and user swicher applet is not there after i updated how do i get it back? | 13:22 |
knome | alt+f2 -> xfce4-panel | 13:23 |
_Space_Case_ | ty | 13:24 |
basajaun | need help with dvd drive | 13:29 |
basajaun | hi all | 13:31 |
basajaun | ubuntu 9.04 | 13:31 |
basajaun | hi all running xubuntu 9.04 | 13:33 |
basajaun | have problem with a dvd drive | 13:33 |
_Space_Case_ | whats the problem? | 13:34 |
_Space_Case_ | what is the better flash player? from the universe? | 13:43 |
basajaun | hi _Space_Case_ one of my cd drives has stopped showing media (DVD) still responds to command like eject, trying to find out a method to correct problem | 13:45 |
basajaun | damn | 13:45 |
basajaun | can somebody help me troubleshoot dvd drive problem? | 13:47 |
Zal | hello? | 14:24 |
Zal | how does this work? | 14:26 |
SiDi | It works by waiting for someone to answer before one disconnects >_> | 14:32 |
basajaun | need help with cd drive sr0 no file show in menu http://pastebin.com/f5f04f072 | 14:33 |
basajaun | need help with dvd drive | 14:53 |
basajaun | http://pastebin.com/f241b1c5f | 14:53 |
basajaun | need help with dvd drive see end of pasted http://pastebin.com/f241b1c5f | 15:09 |
MrNaz | well that's funny... netstat -putan show just - under the process name that is listening on a port... what does that mean and how do i free the port up ? | 15:11 |
=== feld2 is now known as Feldegast | ||
joe-schmoe | knome: ping | 17:07 |
knome | joe-schmoe, pong? | 17:07 |
joe-schmoe | ok it worked :) | 17:07 |
knome | what? | 17:07 |
joe-schmoe | j1mc here | 17:07 |
knome | oh hehe | 17:07 |
qwebirc72791 | knome: j1mc here | 17:08 |
qwebirc72791 | cool | 17:08 |
qwebirc12776 | knome here | 17:08 |
qwebirc72791 | :) | 17:08 |
qwebirc72791 | i think this works well | 17:08 |
qwebirc6580 | knome: | 17:11 |
qwebirc6580 | where did you find that randomnick command ? :D | 17:11 |
knome | out of my head | 17:11 |
* qwebirc6580 giggles | 17:11 | |
knome | (click the button on top left) | 17:12 |
knome | and "add webchat to your site" | 17:12 |
knome | and follow the wizard :) | 17:12 |
metalboy94 | hi everyone. | 18:52 |
metalboy94 | im a linux newb and want to install xubuntu to my Lifebook C1020 so i have a question. i already have Windows XP installed on that notebook. is there a partitioning tool on the xubuntu LiveCD that could help me install it without losing Windows XP and all the data on the hard-drive? | 18:54 |
Balsaq | it takes me 3min and 30 sec to to go from off to the internet including putting in my name and password...is that slow? | 19:37 |
Balsaq | and does sdding ram change that or is it a processor issue? | 19:37 |
Balsaq | adding* i meant to say | 19:38 |
ccc1 | how would I, from the commandline, change a user so that they can administer the system. I cannot login graphically to any of my admin accounts, only my user accounts are working | 19:54 |
ryguy | ello | 20:55 |
nuvan | can someone msg me the default grouplist for the first user on an xubuntu system? I accidentally removed myself from all but the fuse group... | 21:26 |
MadsRH | knome -> I send you an email via Launchpad with a link to http://dl.getdropbox.com/u/175241/boot/x_throbber.tar.gz | 23:50 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!