/srv/irclogs.ubuntu.com/2010/12/17/#lubuntu.txt

=== AndrewMC is now known as Omicron
=== Omicron is now known as AndrewMC
GaryDhello..does anyone know how to fix lxdmconf? it gives me errors when trying to start it as root.03:04
GaryDno? anyone even reading?03:07
GaryDcan someone help me with lxdm?....or lxdmconf?06:05
head_victimGaryD: sorry I'm not sure how to help other than trying to find the default config and copying that in06:10
head_victimYou could try the mailing list I'm sure there'd be someone there who would be able to help06:10
GaryDhead_victim: i have looked everywhere. the problem is that lxdmconf will start as user, but when i try to apply the changes it tells me to run it as root. wehn i run it as root, it sdoesn't start and gives me some errors in the terminal.06:12
GaryDhere is what i get.....06:13
head_victimAh ok. Can you please paste the error06:13
GaryDTraceback (most recent call last):06:13
GaryD  File "/usr/bin/lxdmconf", line 35, in <module>06:13
GaryD    import lxadmin.detect_os as detect_os06:13
GaryD  File "/usr/lib/pymodules/python2.6/lxadmin/detect_os.py", line 28, in <module>06:13
GaryD    session = os.environ['DESKTOP_SESSION']06:13
GaryD  File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__06:13
GaryD    raise KeyError(key)06:13
GaryDKeyError: 'DESKTOP_SESSION'06:13
head_victimOk that's way above my level. If you can hang in here a bit someone will be along or you might get a quicker response from the mailing list or forum06:14
GaryDthanks06:15
=== BWMerlin_ is now known as BWMerlin
GaryDhello...can anyone help with lxdmconf?14:47
GaryDgilir: maybe you can help? i installed lxdmconf from your ppa for maverick. when i run it from the menu it starts, but when i try to apply the changes it tells me it needs to be root. when i run it with the sudo command i get some errors involving the4 desktop session environment, and it doesn't start at all.15:20
Newkhi, how do i edit the menu?15:33
Newksynaptic fails to load from the menu.. can only start it from cli15:35
Newkand i want to add some things in there15:36
GaryDNewk: press alt+F2. run gksu synaptic15:38
GaryDNewk: to edit the menu in lubuntu you have to manually edit the menu entries.15:39
GaryDNewk:  to edit the synaptic entry go to /usr/share/applications as root and edit the synaptic.desktop file. it should say Exec=gksu synaptic15:52
GaryDNewk: to create new entries in the menu you need to create a desktop file for the thing you want. you can copy another desktop as a template if you want. i am not too sure how to make the entries show up in specific areas. i usually just copy a desktop file from the section of the menu where i want the new entry to be. all of these desktop files are in /usr/share/applications.15:58
NewkGaryD: thank you for the tips i go try it now16:04
GaryDok..yw16:05
NewkGaryD: gksu synaptic from the run-promt still gives me the error that my password is incorrect while i'm sure it IS correct... just like from menu... when i run it from cli with sudo it works fine though16:08
Newkkinda akward16:16
szczurNewk, try gksu -S synaptic16:31
Newkok16:31
Newkahh! that works!16:32
szczur:)16:34
Newkand after editing the menu by putting the -S option there that also works now16:34
Newk:D16:34
Newkthanks16:35
szczurglag you worked it out :)16:35
Newkdo you guys know how to cd and execute on one commandline?16:35
szczurglad*16:35
szczurcd somefolder && somecommand ?16:36
* Newk tries that16:36
Newkallright!16:37
Newk^_^16:37
Newkhmm.. dunno if that works with the Exec= line in a menu file16:41
GaryDNewk: did you get it workedout?16:57
GaryDszczur: i believe you are right...cd somefolder && somecommand16:57
Newkyes that works from cli.. but it doesnt seem to work in the menu entries16:58
GaryDNewk: gksu -S synaptic doesn't work in the menu entry?16:59
Newkoh that does! :)16:59
Newkbut the cd && exe not16:59
GaryDNewk: this is what is in my synaptic desktop file.17:00
GaryDExec=gksu --description /usr/share/applications/synaptic.desktop /usr/sbin/synaptic17:00
NewkExec=gksu --description /usr/share/applications/synaptic.desktop -S /usr/sbin/synaptic17:01
Newkworks17:01
GaryDwhat are you trying to cd and command?17:01
Newka game that has been put inside a folder17:02
Newkwhen i compiled it17:02
Newkit is called Knights and is a remake of an old amiga game17:02
GaryDwhat did you try? paste the command here17:03
NewkExec=cd /home/newk/games/knights_015/bin/ && ./knights17:03
szczurNewk, you're trying to exec program in some foldder17:03
szczurtry Path variable17:03
szczurPath=/home/newk/games/knights_015/bin/17:04
szczurExec=./knigths17:04
szczurshould work17:04
GaryDright.17:04
szczurDuke Nukem 3D is awesome :)17:04
GaryDExec=command is the format.17:04
szczureveryone should play it17:04
szczurNewk, http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html17:05
szczurthis should help you17:05
szczurif you're creating your own *.desktop file17:05
GaryDNewk: in a terminal you would leave off the Exec= part. only use cd /home/newk/games/knights_015/bin/ && ./knights17:06
Newkthat works17:07
Newkbut not from Exec=17:07
Newkalso not with path variable set.. tried that17:07
szczur:/, what about creating a bash script17:08
szczurand then pointing to it with .desktop file17:08
GaryDExec= is only a command in a .desktop file. the Path variable is only used in the .desktop file as well.17:08
GaryDthat would probably work as well.17:08
Newkbash would be the only possibillity for things that need a current dir ...seems so17:09
szczurfor example script like this > http://pastebin.com/iAjxZgQU named knights.sh placed in your home folder17:10
szczurand in desktop file you're pointing to the script >> Exec=/home/newk/knigths.sh17:11
GaryDszczur: have you tried the lxdmconf package form the lxde/lubuntu ppa?17:11
szczurGaryD, nope17:11
GaryDoh17:12
GaryDszczur: how about python? know anything about it?17:13
szczurGaryD, i haven't but there was someone who were learning python as far as i know17:15
szczurdon't remember his nickname though17:16
GaryDactually, the program comes form a ppa from gilir. he is here now, but not actually.17:17
GaryDhe hasn't responded anyway. unless it isn't the same gilir17:17
szczurgot to go, i'll be back in 2 hours or maybe later17:17
GaryDpeace17:18
Newkah.. i didnt got to thank him :(17:19
Newknot that i got it working yet but for the effort17:19
GaryDNewk: what is not working yet?17:25
Newki think i'm almost there...17:26
Newkyes!17:27
GaryDgot it? sweet17:27
Newkneeded to be Exec=sh /home/newk/games/knights_015/knights.sh17:27
GaryDnow if i could only get my problem resolved.17:27
Newkand the knights.sh got a typo17:27
Newkyou got one with python?17:28
Newki just got started with it.. reading about how it works..17:28
GaryDi think so.17:28
GaryDi getr errors when running the program and it doesn't start.17:28
Newkso i guess i wont be much of help there :S17:29
GaryDoh17:29
Newknot even tried to make my first program "hello world" in it :p17:29
Newkbut i want to get into it to do further work on a .py plugin for blender to import midi files for events in blenders time-line17:31
Newkthe developer stopped17:31
GaryDah...17:31
Newkand debugging doesnt give you clues on what to fix?17:33
GaryDhow do i debug?17:33
NewkSPE or IDLE has those right?17:34
GaryD???17:34
Newkpython editors17:42
Newkthey should have debugging functions i guess17:42
GaryDoh...i can edit the files with leafpad...but i don't know the first thing about python.17:42
GaryDthe problem is that the program starts as user, but not as root. it should be ran as root for the changes to be applied.17:43
Newktry running them from those editors17:45
GaryDor is ther some command to set root's sessionto gnome, xfce, or lxde?17:45
Newkbeyond me yet17:48
Newkgotta go.. i wish you succes!17:48
GaryDbye...thanks17:50
GaryDgot it working by using gksu -k lxdmconf18:05
=== fredrik__ is now known as friTTe|
tupper_tomhey i was wondering if it is possible to run Xfce instead of LXDE?21:02
Yorvyktupper_tom: yes21:02
mark76It wouldn't be Lubuntu then, would it?21:02
mark76It'd be Xubuntu21:02
tupper_tomheheh mark7621:02
tupper_tombut Xubuntu is slower is it not?21:03
bioterrordepends21:03
tupper_tomok do you think Thunar will preform ok or better inside LXDE?21:04
Yorvyktupper_tom: It’s OK in LXDE21:05
mark76Ok or better than?21:05
tupper_tomPCman ..sorry21:05
mark76Ah right21:05
YorvykIn what way better21:06
tupper_tomfaster21:06
YorvykNo21:06
tupper_tomone more question....should i have asked these questions in the other IRC channel "off-topic" ?21:07
YorvykFrom my experince they’re about the same21:07
YorvykNot really as it is about Lubuntu and alternatives to it’s stock programs21:08
tupper_tomI have been running Lubuntu on my Eeepc 1005HA and I love it!21:09
YorvykJUst install Thunar and give it a run, that’s the only way to see if It’s better for you.21:10
tupper_tomya i was curious what others thought thanks21:10
tupper_tomDoes Lubuntu have a Forum of it's own?21:11
YorvykNo.  Just use the Ubuntu Fora and tag any question Lubuntu21:12
phillwtupper_tom: we tend to discuss things on the mailing list, I do hold a sub forum area and the main Forum area just needs the Lubuntu tags on as Yorvyk has said.21:13
tupper_tomHow close is Lubuntu to being recognized as an official part of the *buntu family by Canonical?21:14
tupper_tomphillw:thanks21:15
phillwtupper_tom: Canonical are still working out an official apodoption process. http://forum.phillw.net/viewtopic.php?f=18&t=25121:17
tupper_tomphillw: thanks again21:19
phillwtupper_tom: and from my work across various teams, we are treated that way. There is a lot of good will to the Lubuntu project.21:19
tupper_tomphillw: well u got my vote ..nice job21:20
phillwtupper_tom: to keep up to where things are, or ask questions, get on the mailing list https://wiki.ubuntu.com/Lubuntu/GettingInvolved21:21
tupper_tomwill do thanks phillw21:22
* phillw is just a lowly admin person who tries to keep up with the devs :P21:22
tupper_tomhehheee well g2g thanks for all your help everyone21:29
GaryDdang...lxdmconf still not working.....arggh...thought it was fixed with gksu -k option, but nope. program starts, but doesn't actually save the changes.23:45

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