You are not logged in.

#1 2005-07-15 17:09:42

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Ion3

ok,
i just thought there should be an ion3 thread also now when it seems to be pretty stable(i can't stand all those wmii zealots :twisted: ),  big_smile

just grab pkgbuilds at aur, i've put a few there named ion3-devel and ion3-devel-scripts(not needed but it includes a bunch(>50 but some of the themes are buggy and won't start, i recommend you hack look_cleansteel.lua) of themes and stuff), after that you run 'cp /etc/ion3/* ~/.ion3' and then 'exec ion3' in ~/.xinitrc'

edit: the config files start with 'cfg_',
i give a brief explanation here,

1. cfg_ion.lua : ions main conffile, here you set your mod buttons, eg

MOD1="Mod4+"
MOD2="Mod1+"

2. cfg_bindings.lua : here you set your global bindings(hotkeys),

3. cfg_menus.lua : here you set your menus,

4. look.lua : here you set your theme(at the bottom)

dopath("look_xerxes")

enjoy!  big_smile


arch + gentoo + initng + python = enlisy

Offline

#2 2005-07-15 17:11:31

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

#3 2005-07-15 17:18:05

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Ion3

i don't think so, i've only seeen .lua files so far,
the files are not so bloody ugly, even though it takes a while to find out which of them are doing what,


arch + gentoo + initng + python = enlisy

Offline

#4 2005-07-15 17:30:43

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Ion3

you can also set the theme in the F12 menu.

You can split up your desktop by right clicking a frame's title and telling it to split.

And xerxes, i just asked about 10 minutes ago on irc about packaging it,

tuomov, the main devel says to use make -DPREFIX=foobar, and someone else says the debian package uses make install PREFIX=wherever.
and someone else has a patch to make it uses DESTDIR.

iphitus

Offline

#5 2005-07-15 17:33:52

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Ion3

I know how to code lua. I just don't like it. :-P

Dusty

Offline

#6 2005-07-15 17:34:42

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Ion3

ok, but my pkgbuild seems to work for now,
strange that they haven't released a new snapshot when the buildscripts are buggy,


arch + gentoo + initng + python = enlisy

Offline

#7 2005-07-15 17:36:24

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Ion3

Dusty wrote:

I know how to code lua. I just don't like it. :-P

Dusty

you don't code lua in ion, just copy and past a little and you're ready to rock'n roll, , 8)


arch + gentoo + initng + python = enlisy

Offline

#8 2005-07-15 17:41:05

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Ion3

xerxes2 wrote:
Dusty wrote:

I know how to code lua. I just don't like it. :-P

Dusty

you don't code lua in ion, just copy and past a little and you're ready to rock'n roll, , 8)

What's the point of having a scripting language if you don't use it?

I rarely copy and paste code. I always analyze it, figure out what its doing, and usually extend it just to make sure I understand what I'm doing. I don't know why. But Lua feels icky to me.

Dusty

Offline

#9 2005-07-15 17:42:07

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Ion3

Dusty wrote:
xerxes2 wrote:
Dusty wrote:

I know how to code lua. I just don't like it. :-P

Dusty

you don't code lua in ion, just copy and past a little and you're ready to rock'n roll, , 8)

What's the point of having a scripting language if you don't use it?

I rarely copy and paste code. I always analyze it, figure out what its doing, and usually extend it just to make sure I understand what I'm doing. I don't know why. But Lua feels icky to me.

Dusty

Because there are scripts out there which do some awesome stuff which do use it.

iphitus

Offline

#10 2005-07-15 17:46:35

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Ion3

Dusty wrote:
xerxes2 wrote:
Dusty wrote:

I know how to code lua. I just don't like it. :-P

Dusty

you don't code lua in ion, just copy and past a little and you're ready to rock'n roll, , 8)

What's the point of having a scripting language if you don't use it?

I rarely copy and paste code. I always analyze it, figure out what its doing, and usually extend it just to make sure I understand what I'm doing. I don't know why. But Lua feels icky to me.

Dusty

as i see it lua is mainly used for configurations, you can code your own scripts with ion functions, after all it's called 'extending and configuring ion with lua' ,


arch + gentoo + initng + python = enlisy

Offline

#11 2005-07-15 19:01:00

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Ion3

xerxes2 wrote:

as i see it lua is mainly used for configurations, you can code your own scripts with ion functions, after all it's called 'extending and configuring ion with lua' ,

yeah, but I doubt the "extending" goes very far... can you add a "close" button to the title bar of each app with lua?

Offline

#12 2005-07-15 19:40:36

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Ion3

hmm, the core binary of ion is written in c so i doubt that you can add stuff that's not in there somewhere, i don't know if a close button exist because there is a rightclick menu that is scriptable with that kind of stuff,


arch + gentoo + initng + python = enlisy

Offline

#13 2005-07-16 01:53:53

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Ion3

phrakture wrote:
xerxes2 wrote:

as i see it lua is mainly used for configurations, you can code your own scripts with ion functions, after all it's called 'extending and configuring ion with lua' ,

yeah, but I doubt the "extending" goes very far... can you add a "close" button to the title bar of each app with lua?

http://modeemi.cs.tut.fi/~tuomov/repos/ion-scripts-3/
http://modeemi.cs.tut.fi/~tuomov/ion/doc-3/ionconf/

the extending goes a long way.

anyway, whats your problem with ion3? you had problems compiling it and now you seem like your out to take it down however you can.

Offline

#14 2005-07-16 03:09:59

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Ion3

Trying to build with xerces scripts:

for tr in fi cs de; do 
        mkdir -p /home/dusty/pkg/usr/share/man/$tr/man1 ; 
        /bin/install -c -m 644 ion3.$tr.1 /home/dusty/pkg/usr/share/man/$tr/man1/ion3.1 ; 
        /bin/install -c -m 644 pwm3.$tr.1 /home/dusty/pkg/usr/share/man/$tr/man1/pwm3.1 ; 
done
mkdir -p /home/dusty/pkg/usr/share/ion3
for i in welcome.txt  welcome.fi.txt  welcome.cs.txt  welcome.de.txt; do 
        /bin/install -c -m 644 $i /home/dusty/pkg/usr/share/ion3 ; 
done
make[1]: Leaving directory `/home/dusty/src/ion-3ds-20050625/man'
make[1]: Entering directory `/home/dusty/src/ion-3ds-20050625/po'
for i in fi cs de; do 
        mkdir -p /usr/share/locale/$i/LC_MESSAGES ; 
        /bin/install -c -m 644 $i.mo /usr/share/locale/$i/LC_MESSAGES/ion3.mo ; 
done
/bin/install: cannot create regular file `/usr/share/locale/fi/LC_MESSAGES/ion3.mo': Permission denied
/bin/install: cannot create regular file `/usr/share/locale/cs/LC_MESSAGES/ion3.mo': Permission denied
/bin/install: cannot create regular file `/usr/share/locale/de/LC_MESSAGES/ion3.mo': Permission denied
make[1]: *** [_install] Error 1
make[1]: Leaving directory `/home/dusty/src/ion-3ds-20050625/po'
make: *** [subdirs-install] Error 2
==> ERROR: Build Failed.  Aborting...

Dusty

Offline

#15 2005-07-16 05:47:30

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Ion3

a working pkgbuild.

# Contributors: Jens Persson(xerxes2) & James Rayner (iphitus)
pkgname=ion3-devel
pkgver=20050625
pkgrel=2
pkgdesc="A complete desktopenvironment built on the tiling windowmanager PWM3."
url="http://iki.fi/tuomov/ion/"
depends=('x-server' 'lua')
makedepends=('autoconf')
source=(http://modeemi.fi/~tuomov/ion/dl/ion-3ds-20050625.tar.gz)
md5sums=('5eba98afb32ce8448698a84ca9f2f960')

build() {
  cd $startdir/src/ion-3ds-$pkgver
  sed -i -e "s@PREFIX=/usr/local@PREFIX=/usr@" system.mk
  sed -i -e "s@LUA_DIR=/usr/local@LUA_DIR=/usr@" system.mk
  make || return 1  
  sed -i -e "s@PREFIX=/usr@PREFIX=$startdir/pkg/usr/@" system.mk
  make install 
 }

Offline

#16 2005-07-16 09:10:27

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Ion3

dusty: there was a problem with a localedir, i built it as root so i didn't noticed it before but i have updated pkgbuild at aur and tried it as user myself and it worked, smile


arch + gentoo + initng + python = enlisy

Offline

#17 2005-07-16 17:17:40

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Ion3

You rock, prospective TU.

I'm compling now. When I get back from the library it better be done.

Dusty

Offline

#18 2005-07-16 17:47:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Ion3

Dusty wrote:

You rock, prospective TU.

I'm compling now. When I get back from the library it better be done.

Dusty

only takes 45 seconds tongue

Offline

#19 2005-07-16 18:19:38

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Ion3

This is sad...

I got ion3 running, it looks good. Reminds me of when I used to be a huge fan of ion2. But the keybindings suck. I opened cfg_bindings in vim and... well I just hate all that lua code. I suppose that I could write a module that loads keybindings from a config file, but I just can't seem to get my heart into it.

Dusty

Offline

#20 2005-07-16 18:55:32

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Ion3

Dusty wrote:

This is sad...

I got ion3 running, it looks good. Reminds me of when I used to be a huge fan of ion2. But the keybindings suck. I opened cfg_bindings in vim and... well I just hate all that lua code. I suppose that I could write a module that loads keybindings from a config file, but I just can't seem to get my heart into it.

Dusty

by the same token, the wmii scripting is nasty and needs to switch over to use config files....

Offline

#21 2005-07-16 18:57:04

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Ion3

i've thought of that too, but once you've learned which files are doing what it's almost fun to tweak it, my ion3 is almost perfect now and it was not that difficult to fix it, smile


arch + gentoo + initng + python = enlisy

Offline

#22 2005-07-16 19:28:01

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Ion3

phrakture wrote:

by the same token, the wmii scripting is nasty and needs to switch over to use config files....

True enough. I guess I just got used to it.

WTF is up with these window managers?  I mean window management is supposed to be an aesthetic thing, and yet configuring the bloody things is done in the least elegant totally unaesthetic manner possible!?

wmii uses bash, ion3 uses lua, and openbox uses XML. The only thing worse could be a wm configured using SQL or Basic!

I guess its theoretically possible to use python to configure wmii though.

Dusty

Offline

#23 2005-07-16 20:34:42

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Ion3

Dusty wrote:

I guess its theoretically possible to use python to configure wmii though.

get to work!

actually though, it'd be kinda cool to use the libixp python bindings... which should be slightly faster than calling wmir all the time...

if you want to work on it, get it started and I'd be happy to help

Offline

#24 2005-07-16 20:59:40

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Ion3

Hmm, a mission in life. Maybe this will help stem the flow of lonliness...

Dusty

Offline

#25 2005-07-22 22:44:45

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Ion3

i don't know if you still feel lonely dusty but i added ion3-devel to community just in case, big_smile


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB