



Afterstep 2.0 Beta Includes XML Graphics System 214
vaevictus writes "Afterstep just released its 2.0 Beta 1, after a long merge from its development branch. One of the most interesting new features is an XML-based graphics system, where any picture for any part of the WM can be a simple chunk of XML, which can do transformations, scaling, gradients and some other nice graphics mods. I've personally used this to cut my 1600x1200 image size from a 2.4mb PNG to a total of about 37kb. This leads to some very compact themes. If you're not familiar, AfterStep is one of the older WMs out there still in active development; all of you WindowMaker fans should check out the WM your WM branched off of, so long ago."
Already testing it now.. (Score:4, Interesting)
Re:Already testing it now.. (Score:5, Interesting)
So I have a question... when I hear XML and graphics, and I instantly think SVG... does this format have anything to do with XML? Is it compatiable? Is there an XSL transformation you can do to turn it into SVG?
Re:Already testing it now.. (Score:2)
Re:Already testing it now.. (Score:5, Informative)
It is very usefull in different fields, such as web design, where you can create a script that generates all of the website's images from some clipart ( including text rendering ).
Note that AfterStep does not need to keep multiple copies of the same image for different pourposes, which is what KDE does with its icon themes, etc.
Re:Already testing it now.. (Score:2)
Re:Already testing it now.. (Score:2)
dude, SVG is vector graphic, and has completely different purpose.
That's fine. XML had a completely different purpose when it was developed also. Did you look at the "overlaying, scaling, tiling, cropping" features of SVG? It's all there! You can do amazing things with transformation, filter effects etc.
Masking, clipping, etc. in SVG [w3.org]
Filters, transforms, etc. in SVG
You should have seen SchemaSoft's amazing "swell magnifier" at SVG Open! (described a bit on the musings page of http://jibbering.co
mirror, maybe muahhaa (Score:4, Funny)
echo "http://digitalXuXhi.com/aX2/www.afterXtep.org/"|
why'm i being a tool? cause only the people who want to visit will paste. mirrors take 10x the bandwidth with a link. so, if anyone translates my url into a link that gets modded over 1, i'll just remove the mirror
Re:mirror, maybe muahhaa (Score:2)
like this
echo 'http://slashdot.org/article.pl?sid=03/08/13/1918
Re:mirror, maybe muahhaa (Score:3, Funny)
You posted with a karma bonus, so no one has modded you up, and no one is now likely to. Grandparent said he'd pull the mirror if the post was modded above 1.
Windowmaker + AS (Score:5, Interesting)
Seriously folks, it's about time WindowMaker merges back with AfterStep. Dividing the great AS WM is the sole reason why KDE and GNOME dominate at this point.
If the WindowMaker project rejoined AfterStep, AfterStep could actually become a viable window manager on it's own terms. As opposed to relying on the publicity of the GNUStep project, and WindowMaker for support in the first place.
Re:Windowmaker + AS (Score:3, Informative)
Assuming you're trolling, let me point out that WindowMaker isn't a fork of AfterStep, it's a from-scratch window manager in the same style. AfterStep on the other hand is a fork of another wm, twm was it?
I've always wondered why AfterStep still exists, actually, having tried both AfterStep always struck me as being a bit clumsy and crufty in comparison. Maybe some AfterStep fans want to explain what they like about it compared to WindowMaker?
Re:Windowmaker + AS (Score:2)
Re:Windowmaker + AS (Score:3, Informative)
Re:Windowmaker + AS (Score:2)
See this page [plig.org]:
AfterStep is based on Fvwm, but it is designed to emulate some of the look and feel of the NEXTSTEP(R) user interface, while adding useful, requested, and neat features. It started life under the name of Bowman, by Bo Yang, but has since moved past simple emulation and into a niche as its own valuable window manager.
Re:Windowmaker + AS (Score:2)
And that's a bad thing, how?
Re:Windowmaker + AS (Score:2)
All configs were in text files including the Wharf (called Icon Dock in Next).
And that's a bad thing, how?
If it still used the same configuration format as fvwm, then you not only had to hand edit some terrible looking pseudo scripts, you then had to run them through a processor (m4 if memory serves). Remember that not all text configuration files are good (think Sendmail). Given the emphasis on XML in this new version of AfterStep, I'd be surprised if the config files haven't been improved if they h
Re:Windowmaker + AS (Score:2)
I corrected myself in a parallel post, but actually, I was in a sense correct to begin with, since fvwm was a fork of twm.
Re:Windowmaker + AS (Score:5, Informative)
It was redesigned to be compliant with new window management specs, and as different from WM it is actually being developed right now.
Re:Windowmaker + AS (Score:3, Informative)
Then again, I would not be surprised if NextStep had this feature before...
Re:Windowmaker + AS (Score:2)
Re:Windowmaker + AS (Score:2)
I understand all that, but all of it could be said for WindowMaker too, which seems to run a bit faster and 'slicker' if you will... for me at least. Just was curious what you might see as a positive difference between the two.
Re:Windowmaker + AS (Score:2)
I've been running AfterStep for about 6 years now. The biggest difference, to me, between AS and WM is in how the virtual desktops are managed. AS has a pager, and it also has a concept of viewports within desktops. It's hard to explain, but think of a workspace that has 4 virtual d
Re:Windowmaker + AS (Score:2)
I want to be clear that if 'AS is what I'm used to, and I see no reason to switch' is what it boils down to that's fine, I'm not trying to criticise other people's choices. I'm just curious.
But, like the earlier poster, everything you're talking about can be done with WM too. I don't know why you cite this as a difference, because it sounds exactly the same. I'm not sure what the maximum Virtual Desktops is, but 4 is default I think, you can make that number larger or smaller quickly and easily, and whate
Re:Windowmaker + AS (Score:2)
No, you misunderstand. I have 4 workspaces, and each workspace has 4 virtual desktops. Granted, it's a very subtle difference betweeen just having 16 virtual desktops, but it's a nice thing to have.
So it really sounds like it does just boil down to liking what you're used to.
That's most of it, yes.
I haven't seen any answers yet that indicate AS does anything WM doesn't.
I haven't seen another pager that has the same function
Re:Windowmaker + AS (Score:2)
Not using AfterStep any more? I use this in AS 1.8, and they are very useful. If you're using AfterStep, just put this in your feel file:
I haven't figured out how to use the win key as a modifier, though.
Nah.. (Score:2)
Correcting myself. (Score:2)
Oops I meant assuming you're not just trolling.
Also I just checked, AfterStep is a fork of fvwm.
Re:Windowmaker + AS (Score:2)
You seem to be stuck back in 2000. KDE 2.0 replaced KWM with kwin, which is completely from the ground up.
GNOME 2.0, similiarly, changed it's perference from Sawfish to Metacity. The two are completley independent.
Sawmill itself was the old name for Sawfish.
Re:Windowmaker + AS (Score:2)
If you are indeed an active WindowMaker developer (which I doubt, judging from your comment), you should know that WindowMaker was never a fork of AS, but rather a complete new window manager. It was made because indeed, there were problems with AS 1.0's codebase. Ultimatly, WindowMaker continuted strong because it had different goals and ideals than AS did.
Note that Afterstep 2.0, just released, is a complete new implementation, and I imagine there are not many prob
XML Image format? (Score:3, Funny)
<picture width="100" height="100">
<pixel>
<element x="0" y="0">
<component name="red" value="10"
<component name="green" value="255"
<component name="blue" value="10"
</element>
</pixel>
</picture>
Re:XML Image format? (Score:1, Insightful)
seriously, wtf does XML have to do with a windowing system or any other type of rendering gizmo?
Re:XML Image format? (Score:3, Insightful)
Re:XML Image format? (Score:5, Funny)
</picture type=jpeg>
<data encoding=32_bit_little _endian_binary_written_in_an_acsii_string_in=32_l
1010101100101001010000111010101010100010001010101 0101010001010101......
</data>
</picture>
Re:XML Image format? (Score:5, Informative)
take a 17KB greyscale tile (defenseless elsie, in this case), and load it with this chunk of xml:
<composite op=tint>
<gradient width=$xroot.width height=$xroot.height colors="BaseDark BaseLight" angle=45/>
<img tile=1 tint="#7Fffffff" src="tiles/DefenselessElsie"/>
</composite>
an d you've got a beautiful 1600x1200 image with a gradient that passes through the entire background , not just a single tile. It will also pull the colors for this gradient out of your current colorscheme, unless you would like to change some simple xml around.
That's not XML (Score:2)
Is this just a quick example you whipped up? Or is this a real sample?
Re:XML Image format? (Score:3, Funny)
<data>
<![CDATA[
begin 644 xmlgif.gz
M'XL(".[).C\``V)L82YG:68``;`&3_E'248X- V $P`;@`\```````____+```
M```P`;@```+^C(^IR^T/HYRTV HNSWKS[#X;B2);FB:;JRK;N"\?R3-?VC>?Z
MSO?^#PP*A\2B \8A,*I?,IO,)C4JGU*KUBLUJM]RN]PL.B\?DLID%:*1):\3Z
M'4FW`W,Z8'YORQ5U1O_0]V>P!YB0YW97*'@VLM@X"`E!>%@8J 0<9N)'I1S>8
M6-D9&DK(>"%WZ?F6B#KYZ09*NFJWY[I`*BH* 9XF+B>>J-VF7RHGWNKOK6,JG
M>LP:.:K+B]J
Re:XML Image format? (Score:4, Interesting)
<component name="red" value="10"
Yep, the standard XML-bloat joke. Here is the serious solution: binary encoding [opengis.org]. I have done some testing by defining a simple demonstration XML image format as:
<XmlDemoImage version="1.1.0">
<Header>
<Width>x</Width>
<Height>y</Height>
<SampleType>byte</SampleType>
</Header>
<Scanline row="i"> <!-- optional attr: filter="diff" -->
<RgbSamples>r g b r g b
</Scanline>
</XmlDemoImage>
If we can avoid the bizarre and hugely self-defeating but all-too-common urge to way-overstructure the pixel representation and use raw binary encoding especially for the dense arrays of numbers, the representation and performance is essentially equivalent to that of PNG format itself (though for some images, BZIP2 compression is significantly better). Here is a study [cubewerx.com] of the issue. On an Athlon-XP1800+ Linux box, I get a raw (Binary)XML reading speed of 188 MB/sec for an uncompressed image. W3C is holding a workshop on binary XML encoding [w3.org] in September, so it may finally be prepared to humour such radical efficiency with XML.
Re:XML Image format? (Score:3, Insightful)
XML is 'supposed' to be a nice little data interchange format. It's not a data storage mechanism (because relational DBMSs are far, far superior) yet misguided people like this are trying to use it as one.
Converting XML to binary? Why go to all the trouble to run it through an XML parser etc. first if you're just going to send a binary file? Use a more efficient file format!
Re:XML Image format? (Score:3, Insightful)
Lots of people use GZIP encoding with XML data to make it suitable for sending over a network. Surprise, GZIP is a _BINARY_ format! And yet, it interoperates between systems very nicely. The page you are viewing was probably GZIP encoded too on the way to your browser. Most XML parsers will accept an GZIPped XML stream and recover the original content transparently. Binary data can be just as interoperable as text data, and hugely more
Re:XML Image format? (Score:2)
I should have said that they keep reinventing the same things over and over again, POORLY.
Re:XML Image format? (Score:2)
To quote from the report:
All primitive types that are used in user-supplied textual content are type-identified by a leading-byte indicator, which is collapsed for numbers small enough to fit into the Count type. Identifying the data types in-line removes any reliance on a external schema to identify the content types and allows for great flexibility. Since the validation is defined in terms of lexical equivalence, primitive types may be arbitrarily substituted at the discre
Re:XML Image format? (Score:2)
Actually, you're misunderstanding this. That would be pretty strange to emit textual XML, parse it back into an internal representaiton and then re-generate binary-encoded XML. You just emit the binary-encoded XML in the first place. Duh! And use a library that does it transparently and can also emit textual XML and/or GZIPped or BZIP2ed output if you so desire. Th
Not being familiar with this... (Score:5, Insightful)
Re:Not being familiar with this... (Score:1, Offtopic)
Note that the feature in the feature list says
5. XML image scripting
Idiotic moderators (Score:2)
Although having looked at "I am a racist's" webpage [resistance.com], frankly I think we should all ignore him. I don't think it's a joke (and if it is it's in very poor taste).
Re:Not being familiar with this... (Score:3, Informative)
It shouldn't. Since the XML is used here only as a configuration file, it's going to be interpreted only once while loading the theme. It might be that this slows down theme switching a bit but I'm skeptical. Metacity themese switch quite fast and they're all XML based.
The end user doesn't gain much since the XML is anyway hidden from him but it's much easier for someone to tweak a pre-e
Re:Not being familiar with this... (Score:2)
This is just another misuse of a poor technology.
XSLT to convert to SVG (Score:3, Interesting)
Re:XSLT to convert to SVG (Score:2)
Re:XSLT to convert to SVG (Score:2, Insightful)
Which raises the question - why didn't they use SVG?
The good news (Score:5, Funny)
That's the good news. The bad news is the WM now eats up 300MB of memory, instead of 30.
Re:The good news (Score:2, Interesting)
Re:The good news (Score:2)
SVG? (Score:5, Insightful)
I'm not sure how this all works (Score:1)
It's got some good looking screenshots, and the link to http://themes.freshmeat.net/browse/922/?topic_id= 9 22 leads some to some pretty nice theme
Boo advancement!!! (Score:4, Funny)
On a more serious note, 8 years ago I used Afterstep. It was the easiest thing to hack through the config files and make it do what ever I wanted to with a minimum of fuss, real estate, processor time, or color space allocation (a big thing on a Sun Classic sporting only a CG3).
Between then an now I've lived with Enlightenment, Window Maker, Gnome, KDE and OSX, yet for my work box I still use Afterstep. Maybe it's because it has a minimal number of doodads to distract me from doing actual work?
Re:Boo advancement!!! (Score:2)
Re:Boo advancement!!! (Score:2)
Since afterstep I've switched through many things, but there's something about it as my first windowmanager that makes me want to go back to it.
Agreed! (Score:3, Interesting)
I've become a blackbox user because it looks nice, is easy to use and theme and it's small. I even use blackbox for windows!
So, congrats to the AfterStep folks on the new version. Too bad it's about 4 years too late!
Ben
Re:Boo advancement!!! (Score:2)
I've tried quite a few WM/DEs... (Score:1, Offtopic)
Not to be flamebait, but I just prefer Gnome over KDE because it seems cleaner, faster, and more usable (God bless the HIG). KDE is good for beginner users, however.
Re:I've tried quite a few WM/DEs... (Score:2)
Re:I've tried quite a few WM/DEs... (Score:2)
Since you're already in the box family, have you tried Openbox [icculus.org]?
Re:I've tried quite a few WM/DEs... (Score:2)
Re:I've tried quite a few WM/DEs... (Score:2)
wait, this sounds familiar... (Score:5, Insightful)
Oh, you mean like SVG?
I guess this could be justified if it were significantly lighter-weight than SVG. Otherwise, why not reuse?
Y DIY? (Score:4, Funny)
Linux rox!
ps - don't tell anyone I actually spend 90% my free time in Windows playing embarrassing adolescent video games.
Hmmm. (Score:1, Funny)
Re:Hmmm. (Score:2, Funny)
Lamous Front Page Editing :-( (Score:1)
This is the front page we're talkin' about!
Re:Lamous Front Page Editing :-( (Score:2, Funny)
<xml_graph type="svg">
<svg_data>blah blah blah</svg_data>
</xml_graph>
<xml_gra ph type="png">
<png_data>blah blah blah</png_data>
</xml_graph>
etc.
PS {SORRY: should have previewed}
Why switch from WindowMaker? (Score:5, Interesting)
WindowMaker CVS has antialiased fonts, and with a little bit of work on icons and tile backgrounds, my desktop looks great.
The menu editor/prefs utility is easy to use, the clip's desktop switching is perfect for what I want, theres nothing obvious about AfterStep that would make me want to switch back.
WindowMaker + GNOME apps/libs + ROX-Filer make up my ideal GUI environment.
As far as I know, theyre both written in C, as opposed to Objective-C for GNUStep, they both attempt to mimic some or all aspects of NeXTSTEP, and WindowMaker was created because the Afterstep crew was too anal about incorporating features that did not appear in the original NeXT system.
So now theyre adding features to Afterstep - dumping the whole idea behind what AfterStep was - 'Its strictly a clone of NeXTSTEP', and somehow this is a step (STEP?) forward?
So why switch from WindowMaker, when AfterStep is clearly just playing catch-up now?
That being said, there are a few rough edges in Window Maker, so perhaps competition from AfterStep will smooth them out.
Re:Why switch from WindowMaker? (Score:5, Informative)
Now AfterStep's desktop model is much more flexible then Window Maker's
Menu editor/prefs thingy is probably the only absent thing in AS 2, but I'm working on it.
Originally AS was anal about being too NeXT strict, which prompted creation of WM, and if you'd look into possibilities of WM's titlebar and frame decoration configuration, and compare it to AfterStep - you'll see enough advantage in AS.
both written in C, but let me tell ya, that you don't want to be messing around with WM's codebase - it sucks.
AfterSTep does not plays catch up - in 2.0 version we have several things that no other desktop environment has - XML images, Menus adjusting to use pattern, Colorschemes, to name just few.
Re:Why switch from WindowMaker? (Score:2)
So essentially they integrated half a GIMP engine
in AS to save a few kb of
and added a lot of dependancies like xml parsers etc. (or reinvented the wheel again)
Gee.
Re:Why switch from WindowMaker? (Score:3, Interesting)
Saving few KB of png files is not an issue. Issue is when you need to convert all your icons from one colorscheme to another. I can do it with one click - can you ?
there are no new dependancies. built in xml parser takes like 50 lines of code ( as it does not do much of traditional XML bloat parsing )
Making prefs menu is not as easy as you think, an
Re:Why switch from WindowMaker? (Score:2)
Re:Why switch from WindowMaker? (Score:2)
request to window maker users (Score:3, Funny)
Actually, this also applies to all users of .*box as well.
Thanks.
Seriously, WM is not nearly as configurable as AS. I don't use AS, but I'm going to check it out just for the heck of it.
simple animations (Score:1, Interesting)
Re:simple animations (Score:2)
Re:simple animations (Score:2)
Re:simple animations (Score:2)
SVG to XML convertor (Score:2)
Re:SVG to XML convertor (Score:2)
Re:SVG to XML convertor (Score:2, Informative)
cat input.svg > output.xml
Re:SVG to XML convertor (Score:2)
Let me know...
Hrm (Score:4, Interesting)
I realise that Window Maker and the like are pretty much designed to be "minimalist", but they seem to be lagging very far behind KDE and GNOME in terms of interface design. For example, just looking at the AfterStep screen-shots on the site (before it gets Slashdotted, heh), i'm liking the way the system is designed, in general, but it looks hideous. The graphics used in the interface are jagged, the window frames and buttons are almost industrial in their simplicity and lack of creativity, and the icons still look like really bad GIFs. And, like i said, i'm a fan of Window Maker, and prefer it over any other window-manager, but it's guilty of this too. They all look like something you might see running on a Commodore or an Amiga.
I know that they're constantly being improved and updated, and i realise the importance of laying down a proper foundation before you go around making things look nice and anti-aliased and all that jazz, but i think a lot of the reason GNOME and KDE each have such a huge following is because they're very pleasant to look at. I think WM and AfterStep and the like could benefit very much from trying to add in a little "eye candy" here and there. You don't need any gimmicks, but i really don't think it would negate the intended minimalism of the system if there were just "themes" and icons and what-not of the same calibre as those you might find looking at Nautilus or Konqueror.
Regardless of all that, Window Maker will remain my favourite window-manager, and i'll continue to recommend it to those looking for a good UNIX interface. And the whole XML graphics thing sounds really neat, also. Just wish they were "up there", in terms of what i mentioned, with GNOME and KDE. :/
Re:Hrm (Score:2, Insightful)
but i think a lot of the reason GNOME and KDE each have such a huge following is because they're very pleasant to look at
Not a flame.....but, I completely disagree. I think the reason that KDE and GNOME are so popular has everything to do with the fact that they are the default window managers in the most popular Linux distros (*cough*RedHat*cough*Suse*cough*). Another plus is that they bring that 'Windows'-ish feel, which new Linux converts crave......it gives them something somewhat familiar while in
After Step (Score:2)
Not trolling, just curious. Other than the ease of use and good looks, what is special about Afterstep or Windowmaker?
Re:After Step (Score:2)
I do all my editing in one desktop/workspace, then flip over to the next one to view changes in a browser. Very convenient.
I like to have icons for editing stuff (text editors, etc) on workspace 1, and icons for browser stuff (galeon, moz, etc) on workspace 2. No damn panel that has the same launchers no matter where you are...
Not a branch and not a good idea... (Score:2)
As it has been mentioned, Window Maker is not a branch of AfterStep. Afterstep was created from fvwm to emulate NeXTSTEP. Window Maker was started from scratch because AfterStep was too bloated and more of a hack.
Someone also mentioned something about merging Window Maker and AfterStep. "Why?", I ask. There is no need. If the features are that great then either people will stop using Window Maker and start usi
Re:Not a branch and not a good idea... (Score:2, Informative)
Yes!!! (Score:2, Funny)
I'll keep you posted...
Ironic? (Score:2)
AfterStep problems (Score:2)
It is VERY complicated to configure, and the menu system is quite clunky and not easy to navigate. Icons on the desktop move around in unusual ways, sometimes one icon will be on-top of another icon... Sometimes an icon will slide left to fill in for another icon that has been uniconified or moved, and sometimes they will stay where they are.
Afterstep is a huge leap from fvwm, it is BSD-licensed, and it has some su
XML in Window Manager is not news (Score:3, Informative)
I think the XFCE4 windowmanager works the exact same way.
So no slight to the AfterStep developers, but they where beaten to the punchline with almost a year on this one
Yeap, just what the world needs (Score:2)
Before you mark this as a troll, does the word BLOAT mean anything to you ?
There is another thread about our expectations from computers in 10 years or so. What I expect is a lean and mea
Huh? SVG? (Score:2)
Re:Afterstep site... (Score:5, Informative)
I mean I do all the development, clipart design, support, and pretty much everything else.
I don't have no time whatsoever to work on web site, and it was rather dead for quite a while, and only recently got revived by Remmy. One of the purposes of releasing this beta was to attract more ppl to the project, and get some help.
You can take a look at my devel site on SourceForge:
http://afterstep.sf.net
and screenshots on
http://afterstep.sf.net/afterstep20beta/
Re:I'm impressed. (Score:2)