[12:22] <stefandebacker> does anyone has a solution for the following strang problem. When I add a user in my edubuntu, everything goes well except the location of "documents, music, etc..." is wrong. it links to the wrong user
[12:22] <alkisg1> getent passwd user
[12:22] <alkisg1> What does this tell you?
[12:24] <stefandebacker> the name of the user is: test3. when i do the command it gifs: test3:x:1007:1007,,,:/home/test3:/bin/bash
[12:26] <alkisg> OK. Next, sudo cat /home/test3/.config/user-dirs.dirs
[12:27] <alkisg> !pastebin
[12:27] <alkisg> And finally, ls -lha -R /etc/skel
[12:28] <stefandebacker> the first command: everything links = "$home/..."
[12:30] <stefandebacker> XDG_DESKTOP_DIR="$HOME/Bureaublad"
[12:30] <stefandebacker> XDG_DOWNLOAD_DIR="$HOME/Bureaublad"
[12:30] <stefandebacker> XDG_TEMPLATES_DIR="$HOME/"
[12:30] <stefandebacker> XDG_PUBLICSHARE_DIR="$HOME/"
[12:30] <stefandebacker> XDG_DOCUMENTS_DIR="$HOME/"
[12:30] <stefandebacker> XDG_MUSIC_DIR="$HOME/"
[12:30] <stefandebacker> XDG_PICTURES_DIR="$HOME/"
[12:30] <stefandebacker> XD
[12:30] <stefandebacker> but "Bureaublad" works correct
[12:33] <stefandebacker> second command. All the files are own by systeembeheerder:systeembeheerder which is the user I have used to make the skel with
[12:33] <alkisg> stefandebacker: use the pastebin to paste those files / commands
[12:34] <alkisg> See above, I wrote the link to it.
[12:34] <alkisg> If you messed with /etc/skel, that's probably the cause of your problems
[12:36] <stefandebacker> do you want everything, it seems to be quiet a lot
[12:36] <stefandebacker> probably
[12:37] <stefandebacker> what I did was: set de user settings like i wanted them, and then copied everything from the home/systeembeheerder folder to /etc/skel
[12:37] <alkisg> Try moving your old skel and create a new empty one, and then create a new user and see if that new user has the problem
[12:37] <alkisg> That's not good practice
[12:37] <alkisg> That's why then all your new users point to the same user
[12:37] <stefandebacker> everything seems to work fine, just the links of Documents and music, enz...
[12:38] <stefandebacker> sure
[12:38] <stefandebacker> what's a better methode?
[12:38] <alkisg> Using sabayon
[12:38] <stefandebacker> i tried that, but had some problems
[12:38] <stefandebacker> do you think i can fix the links in gnome?
[12:39] <alkisg> You'll find other problems too. Sure, you can solve them one by one, but it'll be a constant headache.
[12:39] <alkisg> grep -r "systeembeheerder" /etc/skel
[12:39] <stefandebacker> hum
[12:39] <alkisg> ==> you need to remove all references for that
[12:41] <stefandebacker> did you get the past on past.ubuntu.com?
[12:42] <stefandebacker> do i understand it correctly: i have to remove all files I get with: grep -r "systeembeheerder" /etc/skel
[12:42] <alkisg> No, I didn't get the paste, you need to also paste the URL here
[12:43] <alkisg> No, don't remove those files. Those are the files that have a problem, but you need to fix each problem manually.
[12:43] <stefandebacker> http://paste.ubuntu.com/479356/
[12:43] <alkisg> By deleting those files you just delete all the customizations you made
[12:43] <alkisg> Just use sabayon, the method you're trying to use isn't a good one.
[12:43] <stefandebacker> ok
[12:46] <stefandebacker> so would it work if i change /etc/skel/.gtk-bookmarks which has: file:///home/systeembeheerder/Documenten
[12:46] <stefandebacker> in file://$home/Documenten
[15:40] <dgroos> oops -- meant to ping alkisg on THIS channel...
[15:43] <alkisg> hey dgroos
[15:43] <dgroos> incredible you sch-scripts!
[15:43] <alkisg> Heh, I don't think the channel matters much... sch-scripts uses ltsp anyway :)
[15:43] <alkisg> Thanks!
[15:43] <alkisg> To translate the interface, you'd need to change the sch-scripts.glade file
[15:44] <alkisg> You can do that with the glade3 editor
[15:44] <dgroos> even though it's greek to me, I'm liking this program better than italc which, at its best, worked slowly and buggy.
[15:44] <alkisg> (sudo apt-get install glade; glade-3)
[15:45] <dgroos> not to say that I didn't appreciate it, of course, as it helped out in class.
[15:45] <dgroos> I really like how snappy it is.
[15:45] <alkisg> When I finish my phd I'm going to properly internationalize sch-scripts, but unfortunately for the next 2 years I won't be able to give much time to it
[15:45] <dgroos> I'll download glade-3 and get started!
[15:45] <alkisg> Bugs are there, of course, but I like the backend much more than the italc backend
[15:46] <dgroos> for sure.  The only think I've had an issue with so far is unlocking a screen.  Is that just me?
[15:46] <dgroos> Also, as you predicted, it does work via NX on my desktop.
[15:47] <alkisg> dgroos: ah, if you lock the screen twice, it doesn't unlock anymore. Known bug, fix committed but not released
[15:47] <dgroos> I'll remember that.
[15:48] <alkisg> At the end of september I'm going to give a week to sch-scripts, so any feedback you give till then will be put into that new version
[15:48] <dgroos> How would you like me to submit the feed back?
[15:49] <alkisg> You can file bugs here: https://bugs.launchpad.net/sch-scripts
[15:49] <alkisg> You can ask questions here: https://answers.launchpad.net/sch-scripts
[15:50] <alkisg> We don't have a dedicated mailing list (we using a generic #linux.sch.gr list for all linux subjects related to education in greece) so if you want you can also mail me directly at alkisg at gmail
[15:51] <alkisg> Most sch-scripts devs also hang out at the #linux.sch.gr irc channel
[15:52] <dgroos> great thanks, and suggestions should go where--in bugs.launchpad, no?
[15:52] <alkisg> Sure, and I'll just tag them as wishlists if applicable.
[15:55] <dgroos1> trying to install glade gave me a heap of warnings--help? http://pastebin.ubuntu.com/479435/
[15:58] <alkisg> Urm, and finally it gets installed or not?
[15:59] <alkisg> (it's not a very stable program, so save often, but usually it gets the work done)
[16:01] <alkisg> bbl
[16:03] <dgroos1> alkisg: sure, and looks like it did.  I'll find out.
[17:22] <dgroos1> alkisg: ping
[17:55] <alkisg> dgroos1: pong
[17:56] <dgroos1> I used glade-3 to edit copies of executeCommand.glade and sch-scripts.glade.
[17:57] <dgroos1> I reinserted them back in their original places and sure enough the menu names of the main window are now in English.
[17:57] <alkisg> Nice!
[17:58] <dgroos1> However, I changed a lot more than that but see no other changes.  What did I miss?
[17:58] <alkisg> I'm not sure what you mean there. E.g. you changed 20 menu captions, and only 10 of them are actually changed?
[17:59] <dgroos1> Let me find an example...
[18:03] <dgroos1> In glade, I opened sch-scripts.glade.  In the Widgets menu I selected 'mainwindow/vbox1/miClients/file and changed the "Label:" to "_File" and looks like it worked.
[18:05] <dgroos1> I then scrolled down, changed 'mainwindow/vbox1/toolbar/tbWakeOnLan to "WakeUp" but I don't see where that change took effect when I restarted sch-scripts.
[18:05] <dgroos1> Actually, I scrolled through every menu item in the Widgets and changed every label I saw in Greek to English.
[18:07] <dgroos1> but I don't see effect anywhere.
[18:12] <dgroos1> Maybe the menu lists were already in English, on second thought, and I didn't effect any change in the workings of sch-scripts?
[18:16] <alkisg> dgroos1: can you send me your updated .glade file to check?
[18:17] <dgroos1> sure, via e-mail or...?
[18:19] <alkisg> pastebin would do, i guess..
[18:23] <dgroos1> opened the file with gedit, pasted it into pastebin, tried to save and got the message that "PHP and other web scripts are not allowed" so wouldn't save.  I'll e-mail or is there a trick...?
[18:24] <alkisg> dgroos1: try ltsp.pastebin.com
[18:25] <dgroos1> OK got rid of the > at the start of the first two lines and it posted at: http://pastebin.ubuntu.com/479502/
[18:26] <alkisg> @(#*$&(#*@ I need to sign on to launchpad to download it as plain text... my god I don't think I"ll use paste.ubuntu.com again :)
[18:28] <dgroos1> :)  I'll re-load on the ltsp.pastebin...
[18:28] <dgroos1> and the other file is: http://ltsp.pastebin.com/utqBwBK5
[18:29] <alkisg> Nah ok I got it, it's just stupid how ubuntu pastebin works
[18:29] <dgroos1> just in case... http://ltsp.pastebin.com/7A0fac3J
[18:29] <dgroos1> brb
[18:30] <alkisg> dgroos1: you didn't translate any of the menu items, though - only the main menus...
[18:31] <alkisg> For example: Clients » Συνεδρία » Εκκίνηση needs to be translated to Clients > Session > Wake on lan - or something like that
[18:44] <zerothis> Both ed/x/ubuntu 10.04 freezes after splash. Low-graph mode freezes on its warning dialog. Early versions work fine
[18:46] <alkisg> zerothis: for generic ubuntu questions, try #ubuntu
[18:47] <alkisg> You'll get more answers there
[18:47] <zerothis> Thx
[18:47] <alkisg> It's probably a problem with your graphics card and you could try nomodeset as a kernel parameter or something
[18:55] <dgroos1> ah, is that the: &#x39A;&#x3BB;&#x3B5;&#x3AF;&#x3B4;&#x3C9;&#x3BC;&#x3B1; &#x3BF;&#x3B8;&#x3CC;&#x3BD;&#x3B7;&#x3C2; in the xml file?
[18:56] <alkisg> dgroos1: no idea, why don't you do it from glade-3?
[18:56] <dgroos1> Yes, trying but can't find anything that I haven't translated.  How do I find it?
[18:57] <alkisg> Click on the clients menu so that it opens, and then click on some submenu, and change its label from the properties to the right
[18:59] <dgroos1> Not sure how I missed it.  I'll do these and give a try.  Thanks!
[19:21] <highvoltage> mhall119: hey, are you around?
[19:23] <mhall119> yup
[19:37] <dgroos1> alkisg: Looking at the .glade file with gedit looks like I changed most things except the 'tooltiptext'.  Where do I find that?
[19:39] <dgroos1> Yes, just tested and all menu stuff is in English!  The mouse-over text still isn't translated.
[19:41] <alkisg> dgroos1: select a menu item, and then click the Common tab on the right
[19:42] <alkisg> The tooltips are there
[19:43] <dgroos1> OK and can't see where to change the Greek words at the top of the list of users box or the word at the top of the box below that (say groups, maybe?)
[19:44] <alkisg> Some of the words might be in the source code so they cannot be easily changed (unless you change gui.py)
[19:45] <alkisg> I'm talking to the other devs in #linux.sch.gr to see if someone has time to properly internationalize at least the UI of sch-scripts...
[19:48] <dgroos1> That would be awesome, for sure.  What is left besides the translations I'm doing?
[19:49] <alkisg> Adding internationalization support means to add the infrastructure for .po files
[19:49] <alkisg> It's a big change, and I don't have the time for it now, but I hope others do have the time...
[19:50] <alkisg> Now, the way you did it, your .glade file will be overwritten on the first sch-scripts update
[19:50] <dgroos1> You folks have really made quite a program here--at least rivals iTALC if not having even more features.
[19:50] <dgroos1> :-(
[19:50] <dgroos1> I'd hoped that wouldn't be so...
[19:51] <alkisg> Thanks - we'll be using it ourselves on our classrooms so we won
[19:51] <alkisg> won't abandon it ever unless something better comes up
[19:52] <alkisg> Unfortunately I'm the main developer and I need to finish my phd so it'll be in 'low-maintainance' mode for the next 2 years...
[19:52] <alkisg> ...unless the other devs can do more. I hope so :)
[19:55] <dgroos1> I'm very impressed with it, will give it a test in my classroom, and will e-mail out on the list-serves my experiences with it.
[20:29] <dgroos1> alkisg: here's the contents of sch-scripts.glade with all Greek translated to English with help of google translate and my best guesses of those :) http://ltsp.pastebin.com/1mrp0YU2
[20:29] <alkisg> Thanks dgroos1 :)
[20:30] <dgroos1> and the executeCommand.glade is fully translated in the already posted page above.
[20:30] <dgroos1> You're welcome :)
[20:31] <dgroos1> Also, thinking about it, it won't be much of a chore translating the new versions of these files when updated, I'll be able to reference my current copy and copy/paste.
[20:32] <dgroos1> How do I know when this will update or better said, what can I do to make sure that it only updates when I'm ready to update it?
[20:34] <dgroos1> Also, on a different question, since if have both stgraber's and your ppa in my sources, how will I/the computer, know which versions of ltsp files to update to?  Do I need to worry about this?  Are they the same versions?
[20:35] <highvoltage> it will use the package with the highest version number
[20:36] <dgroos1> hi highvoltage
[20:36] <dgroos1> So... if one person updates ltsp the other person's update would go on top of that...
[20:36] <dgroos1> so, they aren't branches, I didn't know.
[20:36] <dgroos1> Thanks.
[20:37] <alkisg> dgroos1: for example, I now have an updated gnome-session in my ppa, which fixes the problem with ltsp client reboot (they normally logout instead of rebooting)
[20:37] <highvoltage> hi dgroos1
[20:37] <alkisg> If an updated gnome-session lands on ubuntu-updates, then you'll lose that extra functionality until I put a newer gnome-session to my ppa again
[20:38] <dgroos1> alkisg: congrats! that was an annoying bug :)
[20:38] <highvoltage> alkisg: something like that. using ppa's (and especially multiple ppas with the same packages) come with some risk, which is why things should ideally go into -backports with PPAs just being something temporary. and where -backports can't be used, use some kind of official ppa for the project instead
[20:39] <alkisg> highvoltage: what risk? (except for unexperienced developers?)
[20:40] <alkisg> I can't put non-accepted packages to -backports... that's why we're using PPAs, for things that can't go to the official archives...
[20:41] <dgroos1> alkisg: what does this mean for me in a practical sense?  How should I manage my sudo apt-get update/upgrades?
[20:41] <dgroos1> If it's a bit complex it might be worth sending out to the mailing lists...
[20:41] <highvoltage> alkisg: I know, but it's possibly to get an unexpected upgrade and lose some improvements or changes
[20:42] <dgroos1> I think I might not be the only one unsure on this, as well as when to update the chroot, as well.
[20:42] <highvoltage> hmm, are we specifically talking about ltsp PPAs or PPAs in general?
[20:42] <highvoltage> (sorry I kind of picked up the end of the discussion there)
[20:43] <alkisg> dgroos1: our ppa aims at helping inexperienced teachers, so idealy you/they don't have to do anything. You might get a "loss of functionality" for some hours or even days until I upload a newer package, but that's about it...
[20:43] <alkisg> highvoltage: well, any PPAs, of course if they're maintained properly...
[20:44] <dgroos1> alkisg: so I just do a simple update/upgrade?
[20:45] <dgroos1> and do an ltsp-build-client
[20:45] <dgroos1> no need to go into the chroot?
[20:49] <alkisg> dgroos1: for the chroot, it's as usual with ltsp: you need to update it regularly
[20:50] <alkisg> E.g. if a security update to the kernel comes out, then the chroot needs to be upgraded, and ltsp-update-image/ltsp-update-kernels to be called etc
[20:51] <alkisg> The same for sch-scripts, e.g. some times the sch-client script needs to be updated (but we tried to make it simple + rather stable, because we know many teachers won't update their chroots)
[20:53] <dgroos1> good to know.  Also, I just tried to 'shutdown' from the client and it just logged out.  Is that because I've not ever done an ltsp-update-kernels?
[20:54] <alkisg> You didn't update your chroot after you installed our ppa to it
[20:54] <alkisg> (or maybe the server, don't remember...)
[20:54] <alkisg> Try it from inside the sch-scripts, it should be pretty easy
[20:54] <alkisg> (the chroot - for the server you do it as usual)
[20:55] <dgroos1> sch-scripts is SO quick!
[20:56] <dgroos1> I'll try these things upon returning this eve.  alkisg: Thanks for your work and your help.
[20:56] <alkisg> You're welcome :)