You are not logged in.

#1 2005-02-16 18:52:10

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

[NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

If anyone is interested in the Rox desktop, which I am to varying degrees throughout the week, here you go.  I've changed the way everything is packaged, slightly.  I put the Libs in /usr/lib, and everything else into /usr/apps, with standardized script in /usr/bin.  Script is based on Tobias Kieslich's work.

groups are rox-desktop for all rox applications, and rox-look-and-feel.

EDIT: a screenshot, with xfwm, I'm going to package OroboROX and play with that.  Oh, and I'll put these in my repo as soon as it exists.
[URL=http://img103.exs.cx/my.php?loc=img103&image=screen9ob.jpg]screen9ob.th.jpg[/URL]

# $Id$
# Contributor: Nathan Curry <thegnu@gmail.com>

pkgname=rox-lib
pkgver=1.9.17
pkgrel=1
pkgdesc="ROX-Lib contains shared code which can be used by other ROX applications.This is rox-lib2"
url="http://rox.sourceforge.net/rox_lib.html"
license=""
depends=('python>=2.2' 'pygtk>=2.0')
source=(http://belnet.dl.sourceforge.net/sourceforge/rox/$pkgname-$pkgver.tgz)
md5sums=('591be5cfb02df1ff76db466a16fa4817')
groups=('rox-desktop')

build() {
  cd $startdir/src/$pkgname-$pkgver/ROX-Lib2
  ./AppRun --compile
  cd ..
  mkdir -p $startdir/pkg/usr/lib
  cp -rp ROX-Lib2 $startdir/pkg/usr/lib
}
# $Id$
# Contributor: Nathan Curry <thegnu@gmail.com>

pkgname=rox-clib
pkgver=2.1.4
pkgrel=1
pkgdesc="ROX-CLib contains shared code which can be used by other ROX applications.This is rox-clib"
url="http://www.kerofin.demon.co.uk/rox/ROX-CLib.html"
license=""
depends=('gtk2' 'libxml2>=2.4')
source=(http://www.kerofin.demon.co.uk/rox/ROX-CLib-$pkgver.tar.gz)
md5sums=()
groups=('rox-desktop')

build() {
  cd $startdir/src/ROX-CLib
  ./AppRun --compile
  cd ..
  mkdir -p $startdir/pkg/usr/lib
  cp -rp ROX-CLib $startdir/pkg/usr/lib
}

# $Id$
# Contributor: Nathan Curry <thegnu@gmail.com>

pkgname=rox-session
pkgver=0.1.25
pkgrel=1
groups=('rox-desktop')
pkgdesc="Session manager for the ROX desktop environment"
url="http://belnet.dl.sourceforge.net/sourceforge/rox/$_srcname-$pkgver.tgz"
depends=('rox-lib' 'glib2>=2.4' 'dbus' 'python')
source=(http://umn.dl.sourceforge.net/sourceforge/rox/ROX-Session-$pkgver.tgz)

build() {
  cd $startdir/src/ROX-Session-$pkgver/ROX-Session
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps/
  cp -rp ROX-Session $startdir/pkg/usr/apps/

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/ROX-Session/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 
# $Id$
# Contributor: Nathan Curry <thegnu@gmail.com>

pkgname=rox-archive
_srcname=archive
pkgver=1.9.4
pkgrel=1
groups=('rox-desktop')
pkgdesc="Archiver based on the Rox Python library"
url="http://belnet.dl.sourceforge.net/sourceforge/rox/$_srcname-$pkgver.tgz"
depends=('rox-lib')
source=(http://belnet.dl.sourceforge.net/sourceforge/rox/$_srcname-$pkgver.tgz)

build() {
  cd $startdir/src/$_srcname-$pkgver
  mkdir -p $startdir/pkg/usr/apps
  cp -rp Archive $startdir/pkg/usr/apps

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/Archive/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 
# $Id$
# Contributor: Nathan Curry <thegnu@gmail.com>

pkgname=rox-edit
_srcname=edit
pkgver=1.9.7
pkgrel=1
groups=('rox-desktop')
pkgdesc="Editor based on the Rox Python library"
url="http://rox.sourceforge.net/phpwiki/index.php/Edit"
depends=('rox-lib')
source=(http://belnet.dl.sourceforge.net/sourceforge/rox/$_srcname-$pkgver.tgz)

build() {
  cd $startdir/src/$_srcname-$pkgver
  mkdir -p $startdir/pkg/usr/apps
  cp -rp Edit $startdir/pkg/usr/apps

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/Edit/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 
# $Id$
# Contributor: Nathan Curry <thegnu@gmail.com>

pkgname=rox-pager
_srcname=pager
pkgver=1.0.1
pkgrel=1
groups=('rox-desktop')
pkgdesc="Pager for the Rox panel based on the Rox Python library"
url="http://rox.sourceforge.net/phpwiki/index.php/Pager"
depends=('libwnck')
source=(http://umn.dl.sourceforge.net/sourceforge/rox/pager-1.0.1.tgz)

build() {
  cd $startdir/src/$_srcname-$pkgver/Pager
  ./AppRun --compile
  cd ..  

  mkdir -p $startdir/pkg/usr/apps
  cp -rp Pager $startdir/pkg/usr/apps

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/Pager/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 
# $Id$
# Contributor: Nathan Curry <thegnu@gmail.com>
pkgname=rox-picky
_srcname=Picky
pkgver=0.5.1
pkgrel=1
pkgdesc="Picky is a app for ROX-Desktops to view PNG, GIF, JPG, XPM, SVG (where available), and other supported image types."
url="http://rdsarts.com/code/picky/"
license=""
depends=('rox-lib>=1.9.14')
source=(http://rdsarts.com/code/picky/$_srcname-$pkgver.tar.bz2)
md5sums=('0082262f75b4bf74c82ee3607d2a7569')
groups=('rox-desktop')

build() {
  cd $startdir/src/$_srcname
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps
  cp -rp $_srcname $startdir/pkg/usr/apps/

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 

Now the Look and Feel applications:

# $Id$
# Contributor: Nathan Curry (thegnu@gmail.com)

pkgname=rox-font
_srcname=Font
pkgver=0.8
pkgrel=1
groups=('rox-look-and-feel')
pkgdesc="Font preferences dialog for ROX-Session, part of a look and feel suite"
url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
depends=('rox-session' 'dbus')
source=($url/$_srcname-$pkgver.tar.bz2)

build() {
  cd $startdir/src/$_srcname
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps
  cp -rp $_srcname $startdir/pkg/usr/apps/

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 
# $Id$
# Contributor: Nathan Curry (thegnu@gmail.com)

pkgname=rox-keybord
_srcname=Keyboard
pkgver=0.9.3
pkgrel=1
groups=('rox-look-and-feel')
pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
depends=('rox-session' 'dbus')
source=($url/$_srcname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$_srcname
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps
  cp -rp $_srcname $startdir/pkg/usr/apps/

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 
# $Id$
# Contributor: Nathan Curry (thegnu@gmail.com)

pkgname=rox-mount
_srcname=Mount
pkgver=0.6pre
pkgrel=1
groups=('rox-look-and-feel')
pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
depends=('rox-session' 'dbus')
source=($url/ROX-$_srcname-$pkgver.tar.bz2)

build() {
  cd $startdir/src/$_srcname
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps
  cp -rp $_srcname $startdir/pkg/usr/apps/

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 
# $Id$
# Contributor: Nathan Curry (thegnu@gmail.com)

pkgname=rox-theme
_srcname=Theme
pkgver=0.5.1
pkgrel=1
groups=('rox-look-and-feel')
pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
depends=('rox-session' 'dbus')
source=($url/$_srcname-$pkgver.tar.bz2)

build() {
  cd $startdir/src/$_srcname
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps
  cp -rp $_srcname $startdir/pkg/usr/apps/

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 
# $Id$
# Contributor: Nathan Curry (thegnu@gmail.com)

pkgname=rox-toolbar-and-menus
_srcname=Toolbar&Menus
pkgver=0.8
pkgrel=1
groups=('rox-look-and-feel')
pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
depends=('rox-session' 'dbus')
source=($url/$_srcname-$pkgver.tar.bz2)

build() {
  cd $startdir/src/$_srcname
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps
  cp -rp $_srcname $startdir/pkg/usr/apps/

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 
# $Id$
# Contributor: Nathan Curry (thegnu@gmail.com)

pkgname=rox-mouse
_srcname=Mouse
pkgver=0.8.3
pkgrel=1
groups=('rox-look-and-feel')
pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
depends=('rox-session' 'dbus' 'pyrex')
source=($url/$_srcname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$_srcname
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps
  cp -rp $_srcname $startdir/pkg/usr/apps/

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 

fffft!

Offline

#2 2005-02-16 19:43:16

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

your right, my bad, I confused session with system...
rox-system is broken and prolly never come back, sorry

-neri

Offline

#3 2005-02-16 19:47:18

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

neri wrote:

your right, my bad, I confused session with system...
rox-system is broken and prolly never come back, sorry

Oh, well we agree then... smile  Yay!

This goes to show you; never tell me I can't do something unless you want me to repackage the entire line of ROX applications...:lol:


fffft!

Offline

#4 2005-04-29 15:27:39

Clanman
Member
Registered: 2005-02-08
Posts: 35

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

Hello thegnu

I'm interested in running ROX desktop. Could you pleas explain how I use the "code" in your post.....

//Clanman

Offline

#5 2005-04-29 15:31:58

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

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

Clanman wrote:

Hello thegnu

I'm interested in running ROX desktop. Could you pleas explain how I use the "code" in your post.....

//Clanman

they are arch PKGBUILD files... check here:
http://wiki2.archlinux.org/index.php/Pa … %20Makepkg

Offline

#6 2005-04-29 16:47:18

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

Clanman wrote:

I'm interested in running ROX desktop. Could you pleas explain how I use the "code" in your post....

Check out the link posted by phrakture.  If you want a completely ROX-based desktop, you'll probably want to use a minimalistic window manager, like blackbox, fluxbox, openbox, pekwm, metacity, oroborus, sawfish, etc.

I've found pekwm to work well, but it's getting reworked at the moment, and I don't know how easy it would be to theme.  Metacity or oroborus could be nice because they're very simple and don't have their own root menus.

Once you get everything installed, you want to make ROX-Session your session manager by running it while in X.  Run:

rox --help

to see how to create a pinboard and panel, and if you enter X with startx, then you'll add those commands at the top of your /home/[your_name_here]/.xinitrc


fffft!

Offline

#7 2005-04-29 17:23:38

Clanman
Member
Registered: 2005-02-08
Posts: 35

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

Thank's for the information. A lot of reading.......
I'm using XCFE4. But I'm missing desktop icons. And that the filemanager is kind of aqward.

I think the rox filemanager is doing a nice job.

//Clanman

Offline

#8 2005-05-02 20:24:45

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

Clanman wrote:

I'm using XCFE4. But I'm missing desktop icons. And that the filemanager is kind of aqward.

I think the rox filemanager is doing a nice job.

The pinboard is what lets you make a "desktop" with icons.  To create a pinboard, run:

rox -p=name_of_pinboard

Windows will also iconify to the backdrop like in the screenshot I posted, but some window managers have a hard time with it.  In Rox's options, you can choose to pass all clicks to the pinboard onto the window manager, which will allow you to keep your xfce root menu.

If you use startx to enter x, add:

rox -p=name_of_pinboard &

to your ~/.xinitrc file


fffft!

Offline

#9 2005-05-08 19:59:12

Clanman
Member
Registered: 2005-02-08
Posts: 35

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

Hmm the more u know the more questions needs answering

Starting
rox -p=pin & from .xinitrc didn't work form me
my .xinitrc looked this way

exec startxfce4
rox -p=pin &

I changed to this

xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
xfdesktop &
rox -p=pin &
exec xfce4-panel

and now it works kind of but

U wrote

"In Rox's options, you can choose to pass all clicks to the pinboard onto the window manager, which will allow you to keep your xfce root menu. "

This wont work for me. I have found the options in Rox but selecting it wont produce a xfce4 menu. It just removes the rox menu when right clicking

Another thing I noticed is that when I put a background picture (the same I have in xfce4) it is black n white or grayscale depending on witch opion (streched, tiled....) I choose.  Btw Im using the lovely ArchLinux.png
(Edit) I'm stupid as this PNG is transperent it takes the backgroundcolors from the rox setting (default grayish) changing this gives a nicer background


Hoping for some intriging anwers  :-)

//Clanman

Offline

#10 2005-05-18 14:22:50

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

Instead of:

exec startxfce4
rox -p=pin & 

Try:

rox -p=pin & 
exec startxfce4

The '&' at the end of the line allows bash to continue through the script without waiting until the first process ends.  For a practical example:

1. Open xterm
2. run the command 'firefox'
3. Firefox will open, and you can't use the xterm anymore.  Close Firefox
4. Run the command 'firefox &'
5. Firefox will open and you can still use the xterm.

You want to put exec startxfce4 at the very end of your .xinitrc file.
-
EDIT:  You're right about xfce4 not receiving the clicks in the root window.  I'm not sure why that is though...  :?

You could maybe try using another window manager like PekWM or blackbox 0.70 and using the xfce panel and other features.  If you get all that stuff up and running, then run ROX-Session, it should take over as the session manager if you just run through the wizard, and you'll have GTK'ed windows.  This is probably going to be a lot of work, but I always tell myself I'll be able to apply it in another area of my life  big_smile


fffft!

Offline

#11 2005-05-18 16:17:41

Clanman
Member
Registered: 2005-02-08
Posts: 35

Re: [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

Yes of course I will try that (it is so simple but yet so hard locating that kind of fault)

Allthough this ~/.xinitrc will let you, not to start the xfdesktop, and only use rox as desktop
As I use the panel I can get to all XFCE goodies anyway

xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
#xfdesktop &     [color=red] note the #
rox -p=pin &
exec xfce4-panel

[/color]

Thanks abunch for the tips

//Clanman

Offline

Board footer

Powered by FluxBB