IV International Conference of Unix at Uninet
  • Presentación
  • Registro
  • Programa
  • Comité Organizador
  • Lista de registrados
  • Equipo de traductores
Talk

20031219-2.en

EMPERORok
EMPERORGood Afternoon/evening for all
EMPERORWelcome one more time to UMEET 2003
EMPERORAs usual, the talk will be here, at this channel and we have prepared
EMPERORthe channel #redes where a set of volunteers will translate from English
EMPERORto Spanish.
EMPERORI remember to question is at #qc channel
EMPERORToday, our next lecturer is Alexey Voinov from Russia
EMPERORhe is graduated Bauman Moscow State Technical Univercity  in 1998.
EMPERORVoins is an upstream maintainer of wdm project. (WINGs display manager)
EMPERORand  is a maintain Window Maker package in ALT Linux distribution, so everything I will say about patches  is implemented ther
EMPERORso.. let's start... please Volvins..
Voinshello.
VoinsI will talk about patches for Window Maker.
VoinsI will describe it mostly for user's point of view.
VoinsIf anyone will be interested in implementation details we can talk about it little later
VoinsFirst, what is Window Maker?
VoinsWindow Maker is a nice window manager for X that reproduces the elegant look and feel of the NEXTSTEP user interface.
VoinsDevelopment is going on but it's getting real slow recently (but every month I notice some minor changes in cvs).
VoinsThere was no releases for more than year.
VoinsLast released version was 0.80.2 (2002-11-08).
VoinsThere's a lot of information about Window Maker on www.windowmaker.org and i don't want to repeat it all here.
VoinsNow to the patches. There's a lot of patches for Window Maker available on net today.
VoinsSome of them new, and some exists for a few years.
VoinsSome of them are very easy to find, and some are placed in not so obvious location.
VoinsWhy those patches was not merged into upstream and will never be?
VoinsIt's easy. Because core developers think those patches add code bloat that's hard to maintain.
VoinsAnd they are absolutely right.
VoinsIt's (usually) easy to write a patch.
VoinsMuch easier than to write a program from scratch, or support something once written.
VoinsToday every patchwriter maintains his patches himself and core developers are free to change anything without fear that change can break some code they even never wrote.
VoinsThere is even "official" patches, that's distributed with Window Maker tarball (like -single_click patch or -workspace_flip)
VoinsAnother reason for lots of patches is of course slow development process.
VoinsIf i've made something usefull it's easier to publish that in form of patch rather than fight to put it into upstream.
VoinsNow, I'll describe some existsing patches. Some by me some by other developers
VoinsAll patches written by me is available at my site. Filenames for those patches are long to agree with our (alt linux) patch naming policy.
VoinsI'll shorten them here.
Voins...-dockkeys patch was one of the first my "big" patches. It adds possibility to assign keyboard shortcuts to docked appicons.
VoinsIt was very usefull feature when alt linux started to use menu program borrowed from Debian. Debian users know that WPrefs.app utility cannot edit generated application menu. And that's the problem
VoinsThere's no other simple way to assign shortcut to something. And many of us don't like touching mouse every time we need xterm
VoinsSo keyboard shortcuts for docked icons was a real soulution that worked.
VoinsNow everyone (almost) knows how to deal with debian menu : just create your own WMRootMenu and use OPEN_MENU command to link it with generated menu.
VoinsNew menu will be easyly editable. And there's easy access to generated parts. But I still find that patch useful.
VoinsOnce I thought about extending that patch to allow assigning shortcuts not only to "leftclick" action, but for "middleclick" action also, but I never found time to implement it.
Voins...-menutrans patch is another patch inspired by debian menu generator.
VoinsIt's hard to support multiply menu files for different languages. I can say it as package maintainer.
VoinsMostly because parts of Window Maker menu placed in user's home directory.
VoinsTherefore changing menu according to changes in user locale can be far from trivial.
VoinsMoreover some languages can be represented with very different encodings. For example, there's 5 different encodings for russian language, that is in widespread use:
Voinskoi8-r, cp1251, cp866, iso8859-5 and utf-8.
VoinsThat patch solves the problem translating generated menu "on the fly".
VoinsMenu file is now generated only for english. When menu is loaded, every item text is processed with gettext using same translation file menu package uses.
VoinsIf special prefix "notranslate_" is found in item text then that prefix is stripped and menu text is left untranslated.
VoinsNow application menu in Window Maker can properly reflects user's locale without  complicated actions
VoinsThere's a little application called Launch.app (by Serg Stoyan) that provides descent command line for Window Maker with history and commands completion.
VoinsSomething like what you see when you press alt-f2 in KDE.
VoinsIt does its job great. But once I looked at sources I was nearly shocked.
VoinsSorry, Serg, but that is very bad code, with buffer overflows and some other strange things everywhere
VoinsI've decided to remove it from our distro, but everyone complained that there's no other way to get same functionality.
Voins...-adialog patch just adds another dialog box to Window Maker, that has history and commands completion.
VoinsThere's still some things to do, but that functionality is already useful.
Voinsnow, about other developers
VoinsCarlos Torres (vlaad) have modified and distributed old patch that adds new kind of titlebar buttons to Window Maker.
VoinsHe claims that those buttons is more like in original NEXT, but I never saw that in any NEXT screenshots. :)
VoinsThough those buttons looks nice and deserves to be used.
VoinsWhat's most intersting with that patch is its history. There was at least 5 developers changing it.
VoinsAnother intersting patch by Carlos is ...-trance patch that emulates transparency for Window Maker menus.
VoinsIt does that without xft and it should probably work everywhere.
VoinsOf course that patch has some quirks. There will be very strange picture if you'll try to move menu around screen or if menu opens on top of some animated dockapp.
VoinsBut who cares, if that pseudo-trasparent menu looks nice almost all time? :)
VoinsThat patch can be counted as "proof of concept" that trasparency is at least possible in Window Maker without some major changes and even without xft.
VoinsAFAIK Carlos is now working on patch for WPrefs.app utility that adds font configuration tab to it. Patch as it is now is available at his site vlaadworld.net.
VoinsPeter Zijlstra is another developer who trys to improve Window Maker with patches
VoinsHis ...-netwm patch make Window Maker aware of all new features guys at freedesktop.org thought of.
VoinsWith that patch it's possible to run (for example) gnome-panel (from GNOME2) and then see and manipulate all desktops and application with it. That's really strange for me: why someone need to run somehting from gnome to manipulate windows in WindowMaker? :)
VoinsGood news is that this patch is slowly get merged into upstream.
VoinsPeter also wrote a lot of useful patches like ...-virtual-desktop patch. It looks (and feels) great.
VoinsOne can place few windows side by side so they width is larger then actual display size.
VoinsWhen you move mouse to one side of the screen or another it shifts windows so one of it is completely visible on screen.
VoinsSomething like virtual screen in XFree86, but without changeing screen resolution. (And dockapps always stays in place :) )
VoinsThe greatest thing with that patch is that it can be disabling without recompiling. That window shifting can be very annoying sometimes.
VoinsAnother nice patch written by Peter is ...-newappicon patch.
VoinsIt highlights appicon of focused application. He once joked that now it's obvious what appicons is needed for. :)
VoinsThere's also patches made by less known developers. For example Pavel Khmelinsky once sent me a great patch that adds context menu for window list.
VoinsContext menu is available at right click in window list menu, and it allows manipulation with windows without switching to workspace this window resides on.
VoinsContext menu is available at right click in window list menu, and it allows manipulation with windows without switching to workspace this window resides on.
VoinsMost useful action is moving windows between workspaces.
VoinsThat's almost all I wanted to say. Every patch mentioned here is applied in package, I maintain. And there's much more patches included in it.
VoinsTo finalize: patches are good at they place. And sometimes it is not right to "force" patch into upstream. :)
VoinsThat's all. Thank you.
MJesusclap clap clap clap clap clap clap clap clap
MJesusclap clap clap clap clap clap clap clap clap
MJesusclap clap clap clap clap clap clap clap clap
MJesusclap clap clap clap clap clap clap clap clap
MJesusclap clap clap clap clap clap clap clap clap
Felix:)
avn;) Thanks Voins

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net!

Email UsMás información


© 2003 - www.uninet.edu - Contact Organizing Comittee - Valid XHTML - Valid CSS - Design by Raul Pérez Justicia