/srv/irclogs.ubuntu.com/2011/04/27/#ubuntu-doc.txt

Captainkrtekhello jjesse00:03
Captainkrtekso jbicha just fix those few things (upgrading distro now) and resubmit for review?00:04
jbichaCaptainkrtek: I would take out the Ubuntu references as this page is something upstream could use00:05
jbichawell except for the fact that upstream is using gnome-control-center 3 which is different00:05
Captainkrtekokay00:05
Captainkrtekcool, thanks :-)00:06
jbichaI don't think you need to use quotation marks00:06
jbichaone thing I like to try to do is walk through the process from a default install00:07
Captainkrtekokay00:07
jbichahow does Ubuntu generally act when you plug in a 2nd monitor, does it auto-enable it?00:07
jbichaI don't have the right cable to try out 2 monitors on my computer so I'm not sure00:08
Captainkrtekwell I have two displays :)00:08
Captainkrtekso I can test that00:08
Captainkrtekit doesnt auto enable if i remember correctly00:08
Captainkrtekit may turn it on but with mirroring00:09
jbichaCaptainkrtek: trivia question, how many indicators are possible in the default 11.04 install?00:11
Captainkrtekno idea00:11
Captainkrtekhaha00:11
jbichamore than you'd think00:11
Captainkrtekhow many?00:11
jbichaI'm up to 14 in my count00:13
Captainkrtekoh wow00:13
jbichathe basic 8: o jbicha just fix those few things (upgrading distro now) and resubmit for review?00:13
jbichaoops00:13
jbichabluetooth, battery, network, sound, messaging, clock, me, session00:13
Captainkrtekquoting me? haha00:13
jbichaI have my irssi alert set to yellow on gray so it's hard for me to read direct mentions00:14
Captainkrtekahh00:14
jbichaI really need to change it to something else00:14
CaptainkrtekI use xchat more00:14
jbichaand then there's Tomboy & Transmission00:15
jbichaa Drop Privileges indicator00:15
CaptainkrtekI really only use chrome, eclipse, xchat, filezilla, skype, and beyondcompare00:15
CaptainkrtekI don't have many apps. installed00:15
jbichaalso possible to enable accessibility, display, and keyboard layout indicators00:16
jbichathere should be a print job indicator but that's not been ported yet00:18
Captainkrtekthat'd be nice00:18
=== nhandler is now known as Guest956
=== nhandler_ is now known as nhandler
Captainkrtekhello06:58
Captainkrtekjbicha, just upgraded to natty06:59
jbichaCaptainkrtek: what do you think of it?07:07
Captainkrtekpretty cool07:08
Captainkrtekreminds me a lot of OS X though07:08
Captainkrtekand the Control Center07:08
Captainkrteklooks like the OS X control panel07:08
Captainkrtekfinishing the 2 displays article though07:09
Captainkrtekjbicha, can I have you look at the doc? ill submit it to the mailing list07:11
Captainkrteksubmitted to the mailing list07:25
jbichaoh, the gnome 3 control center is a lot better but it won't be included until 11.1007:26
Captainkrtekgotcha07:26
Captainkrtekin my doc07:26
jbichathat control center has been in Ubuntu for quite a while but it was hidden07:27
CaptainkrtekI said, search for Monitors in the applications menu07:27
Captainkrtekif that alright? still getting used to unity heh07:27
Captainkrtekis*07:27
jbichaI prefer to direct people to the System Settings button since that works in Gnome 3 too07:28
CaptainkrtekI couldn't find it07:28
jbichaclick the button in the far top right of the screen07:28
Captainkrtekohhhh07:28
* Captainkrtek is a noob07:28
jbichaok, make a backup of your 2mon page, and then please uncommit your 2 changes07:32
Captainkrtekokay07:32
jbichabecause it's more of a pain for me to have to apply a diff to the previous diff07:32
Captainkrteksorry07:32
jbichaso email a single diff07:32
jbichait's not a problem, it's a lot to learn07:32
Captainkrtekhow do you uncommit in bzr?07:33
jbichabzr uncommit :-)07:33
Captainkrtekhehe07:34
jbichabut if you don't do bzr revert the changes are still there, just not committed07:34
Captainkrtekjust once07:34
jbichabzr revert07:34
Captainkrtekor twice for the two commits?07:34
jbichatwice07:34
Captainkrtekk07:34
CaptainkrtekI just ls'd in /C and I see display-2monitors.page and .page~07:35
jbichayou have gedit set to autosave07:35
Captainkrtekgotcha07:35
jbicha~ is a backup07:35
Captainkrtekso just remove it07:35
Captainkrtekor leave it?07:35
jbichahidden files are ignored by bzr so it's up to you07:36
Captainkrtekk07:36
jbichadid you figure out what Ubuntu does by default when the 2nd monitor is plugged in?07:36
Captainkrteklet me test that07:36
Captainkrtekwell actually07:36
CaptainkrtekI remember07:36
Captainkrtekit just has the monitor on sort of07:37
Captainkrtekthe monitor will have a signal, but nothing displayed07:37
Captainkrtekthen you toggle it on with the On Off radio button07:37
Captainkrtekthen adjust resolution, Hz, rotation, etc.07:37
Captainkrtekapply and close07:37
jbichamost shouldn't need to adjust refresh or rotation07:38
Captainkrtekyeah07:38
CaptainkrtekI just added that in case07:38
Captainkrtekjbicha, this look okay? http://pastebin.com/SU8C6VKG07:39
Captainkrtekthat's the diffname.txt07:39
jbichano, that didn't work either, it should be a diff from the original stub07:40
Captainkrtekhmm07:40
Captainkrtekokay07:41
Captainkrtekshould be good now07:41
Captainkrtekweird, it is not a stub :/07:41
Captainkrtekthere we go07:43
Captainkrtekjbicha, http://pastebin.com/kx8YMq76 ?07:44
jbichaooh, I didn't know bzr had a shelve option, that could be convenient07:45
Captainkrtekso can I email that one07:46
jbichawait07:48
Captainkrtekk07:48
jbichamake your title more direct: Enable a second monitor07:56
Captainkrtekk07:56
Captainkrteksooo just edit the diffchange?07:56
jbichano, just uncommit :-)07:57
jbichaadd extra returns so that your lines aren't longer than about 90-100 characters07:57
Captainkrtekk07:57
Captainkrtekthis is an art ;-)07:58
jbichayes, we're picky07:58
Captainkrtekhehe I understand07:59
jbichacopy and paste from another doc the system settings blurb so that the style is similar07:59
Captainkrtekk07:59
jbichayou don't need to say radio button, just tell users to click <gui>On</gui>08:00
Captainkrtekk08:00
jbichaand I don't think you need quotation marks08:01
Captainkrtekk08:01
jbichathere's a writing style we've been using but I honestly am not sure how to describe it08:02
Captainkrtekhehe08:02
CaptainkrtekI understand08:02
jbichacopying what the other pages do is about the best advice I have08:02
Captainkrtekyeah08:02
Captainkrtekjbicha, okay I think we are go for launch08:06
Captainkrtekjbicha, http://pastebin.com/MXuWqTKZ08:11
Captainkrtekbueno?08:18
jbichawell it needs more work but if you are stuck figuring out how to improve it you can submit it08:20
CaptainkrtekI know it's not perfect :/ new to all this08:21
Captainkrtekwhat do you think08:21
Captainkrteksubmit or work on it more tomorrow08:22
jbichaif you can improve it, do so, otherwise you can email it08:22
CaptainkrtekIll work on it a bit longer08:23
Captainkrtekthen submit it later tonight08:23
Captainkrtekany tips off the bat? I don't want to keep you awake08:23
jbichaget rids of the tabs, just spaces are fine08:24
Captainkrtekit looks good now :)08:38
Captainkrtekgoing to email it off to you wizards08:39
Captainkrtekjbicha, emailed, thanks for the help, I think you'll be pleased with my last email08:42
Captainkrtekgoodnight :)08:45
peppe84Hi. I see backup page marked as "Outdated".09:50
peppe84What is our approach now, we'll reccomented again sbackup or migrate to backintime or deja-dup?09:50
shaunmj1mc: are you running unity right now?18:30
shaunmor, you know, anybody running unity, can you run this is a terminal and paste the result:18:32
shaunmecho $DESKTOP_SESSION18:32
shaunmj1mc: and if you happen to have xfce running, I wouldn't mind seeing the result there as well18:33
peppe84shaunm: peppe84@contumacia:~$ echo $DESKTOP_SESSION18:34
peppe84gnome18:34
shaunmbugger18:34
shaunmI'm trying to find a reliable way for yelp to know what environment it's running in18:35
jbichashaunm: this might be another dead end, but it's possible to sniff for the appmenu, but that can be used outside of Unity19:25
jbichathough not by default19:25
=== starcraft is now known as starcraftman
jbichaso I'm thinking it would be an ugly hack19:26
jbichamaybe this would help too: http://lists.freedesktop.org/archives/xdg/2011-February/011812.html19:27
j1mcshaunm: yeah, it just says 'gnome' when running unity19:34
shaunmyeah, probably going to have to check known service names on dbus19:35
mdkeshaunm: I think that if there isn't a simple way, one should be created. I can't image just yelp would find it useful19:37
j1mci've sent an email to ubuntu-devel-discuss to get input from other developer folks.19:48
shaunmmdke: its' been discussed before for years in places like xdg-list19:57
shaunmthere's always resistance19:57
mdkeshaunm: bizarre20:14
mdkeshaunm: did you say that to build html using your xslt I can just use a yelp-build script rather than installing the software? I am having problems compiling yelp-xsl20:16
shaunmmdke: well, yelp-build is created from yelp-build.in when yelp-tools is built. so there's no yelp-build you can just take straight from git20:37
shaunmbut all that's done to create yelp-build is some substitutions for paths to various things from yelp-xsl20:37
shaunmlines 19-25. you could just change the @ patterns to actual file paths by hand and call it a day20:38
shaunmor I could just send you mine. if you have yelp-xsl installed in /usr (which you almost certainly do), it will work20:39
mdkeshaunm: I have yelp-xsl 3.0.020:46
mdke(installed in /usr)20:47
mdkeshaunm: it sounds like if you send me yours that would be really useful20:47
mdkethere is probably a way to work around these build problems but if I can just use the yelp-build file without other changes, that is probably the easiest20:48
mdkeshaunm: thanks :)21:07
mdkeshaunm: it doesn't seem to like images with paths starting with / - http://paste.ubuntu.com/599964/21:09
mdkeis that a bug?21:09
mdkeshaunm: aside from that, it works an absolute treat21:10
mdkethanks :)21:10
shaunmmdke: oh, yeah, it just concatenates the path of the referencing page with the URL path21:12
shaunmI guess for absolute paths, I probably shouldn't even copy the media21:13
shaunmbut, you know, those paths aren't going to work very well when you push the html to the web21:13
mdkeshaunm: yeah, what we've done in the past is to change the URLs by running sed over the built html21:14
mdkeditto with ghelp links21:14
shaunmah, fair enough21:15
shaunmwell, if I'm reading the code right, those errors shouldn't stop the build or hurt anything else21:16
mdkenope, all looks to be in order21:16
shaunmhmm, actually, you might have some crazy directories created21:16
mdkeah, it's created a usr/ directory21:17
shaunmyeah21:17
mdkedoesn't seem to be any harm done though21:18
shaunmyeah, you should be able to safely rm -rf that21:19
mdkeshaunm: another question. Can I use the same xsl customisations that we used to build docbook (like to build the html page header and such) with this?21:19
shaunmmaybe. I don't know how old those are, and what templates they overrode21:19
shaunmbut generally, the mallard and docbook output from yelp-xsl share a lot of the same code. you should be able to have a single customization that handles them both21:20
mdkelet's try :)21:20
mdkethis is the sort of thing - http://bazaar.launchpad.net/~ubuntu-core-doc/ubuntu-docs/natty/view/head:/libs/ubuntu-banner.xsl21:21
shaunmis that customization for docbook-xsl?21:23
shaunmI think it is21:23
mdkeyes21:23
shaunmso the same template names aren't going to work21:23
shaunmbut it should be adaptable21:23
shaunm(it would probably be worthwhile for yelp-xsl to have a few more stub templates for customizations, like putting stuff in the header and footer divs)21:24
shaunmwhat I'd probably do with yelp-xsl 3.0.0 is just override html.page. copy what's there, keep stuff intact, and add what you need21:25
shaunmif you use yelp-xsl's docbook stylesheets as well, the exact same customizations will work for both docbook and mallard21:25
shaunmbecause they both go through the html.page template21:25
shaunmmost of the css is consolidated as well, using common classes21:26
mdkeok, will look into that now21:26
mdkeok, that looks workable21:27
shaunmideally, you shouldn't have to override that template, but I don't think yelp-xsl has the stub templates you need for your customizations21:31
shaunmand really, short of adding calls to stubs so that those kinds of overrides aren't necessary in the future, I don't plan on changing that template any. so overriding should be future-safe21:32
mdkeshaunm: getting there, using that template seems to be a fine solution. I really need to learn css properly :)21:54
mdkelearning enough to fix problems and fill holes by trial and error is really slow21:54
jbichayeah I don't know css either21:55
mdkeok, I've taken that as far as I can this evening, will continue anon22:36
mdkecode is in revision 1520 if anyone wants to look/help/test22:37
mdke--> bed22:37

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