site  contact  subhomenews

ROX-Filer 20100408smw-patched

May 09, 2010 — BarryK
As reported recently in my blog, Thomas Leonard, the founder and chief maintainer fixed a focus problem that ROX-Filer has with GTK >=2.18.

There is also another problem with SeaMonkey 2.x and Firefox 3.6.x. Drag-and-drop is broken. If you don't know about drag-and-drop from the browser window to a Rox window, it is great -- instead of downloading something in the normal way, just drag it to a Rox window and a terminal will open and wget will run. For my satellite connection I have found wget to be more reliable.

Thomas has also fixed that. He posted a snapshot of the source with the fix, but I don't recall where (their mail list?) and he may not have put the fix into trunk as he commented that it is really a bug in Mozilla source and should be fixed by them.

The Rox source needs a couple of patches for Puppy, which I have done. Find 'rox-filer-20100408smw-patched.tar.gz' here:

http://bkhome.org/sources/alphabetical/r/
username: pXupXpy password: liXnuXx (remove the Xs)

I have created a PET package for Quirky (will upload soon). If you want to compile it yourself, it is a bit different from normal source packages...

Firstly, compile and install shared-mime-info 0.71:
# ./configure --prefix=/usr
# make
# make install


Compile Rox:
# ./ROX-Filer/AppRun

...that will not install. Manually update the rox_filer 2.9.0 PET package by dragging the new files inside ROX-Filer directory (not the sub-directories).

I'm running the new ROX-Filer now, runs fine, and I have confirmed that drag-and-drop works. Don't know about the GTK focus problem though, as Quirky has GTK 2.16.6.

As Rox no longer has the focus problem (supposedly), I have removed this from /etc/profile in Woof:

if [ `grep -E '^gtk\+-2|^libgtk2.0' /root/.packages/woof-installed-packages | head -n 1 | cut -f 3 -d '|' | cut -f 2 -d '.'` -ge 18 ];then
export GDK_NATIVE_WINDOWS=true
fi


...that was a workaround to fix the focus problem. It was reported though that it might not be good for some other apps.

Things are looking pretty good, re getting rid of these outstanding bugs. The only remaining reason that I reverted SeaMonkey to 1.1.18 from 2.0.4 is that of it not playing mms and rtsp streams. Well, have to live with that one -- ff 3.6 has the same problem.

Comments

homebank icons
Username: technosaurus
after running strace to find out where it looked for the images, I put them into /usr/share/pixmaps and it all worked fine (I also found out that petget will install there automatically if you put them into the root of a pet)"10 May 2010, 8:05"01570"96.13.93.182'Love drag-and-drop"TazOC"Thanks for this Barry, I've compiled it and with the change above to /etc/profile it works great. I've really missed drag-and-drop with wget into ROX since I've updated to SM 2.04 and now it's back!"10 May 2010, 24:09"01570"71.115.243.18'Rox"ttuuxxx"Hi Barry I figured out a small but cool feature with rox by accident :) http://www.murga-linux.com/puppy/viewtopic.php?p=444201#444201 Basically its a hidden fully functional panel you can set on the screen, you can set it up top, on the bottom or either sides. [img]http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=31757[/img] [code]/usr/local/apps/ROX-Filer/ROX-Filer -launch[/code] then right click on the panel and select "Panel Options" ttuuxxx

Re Rox feature
Username: BarryK
"ttuuxxx, That is fascinating!

Rox background fix
Username: technosaurus
"I was looking on rox-filer's git repo for stuff to backport into amigo's gtk1 patched version (for low ram machines) when I noticed this recent update: [b]Centre the pinboard image correctly if larger than the screen (patch sent to Ubuntu anonymously and forwarded; see Ubuntu bug #615490)[/b] Maybe this will allow us to get rid of having to fix the background image every time X is started. IMHO jwm does a better job with the background image anyways (it can have a different background per desktop).

Zenity
Username: ttuuxxx
"Hi Barry here's the a version of Zenity that I hacked and removed the gnome deps, it still compiles fine :) http://www.smokey01.com/ttuuxxx/other/sources/zenity-2.20.1.tar.gz and also the metacity theme switcher clarf made http://www.smokey01.com/ttuuxxx/other/sources/metacity-setter-1.tar.gz ttuuxxx

Re config metacity
Username: BarryK
"ttuuxxx, Did you compile it without the GTK dependencies? I configured it like this: # ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --disable-shared --disable-gconf --disable-verbose-mode --disable-sm --disable-startup-notification --disable-scrollkeeper --disable-compositor ...and it needed 'libcanberra' and 'gnome-doc-utils'. No buttons at top-right of window, but I think that I read on the forum, you have a solution for that. The advantage of config with GTK deps is that GTK is used to draw the borders and it uses the current GTK theme. So, if you are happy with a very bland window that basically matches the GTK theme, then no other theme setter is needed. Then Gconf is not needed. Oh, I have just realised something. The README states this: [i]--disable-gtk, which would implement the interface in ui.h without using GTK. This one is easier than you think because the main part of the window manager doesn't use GTK directly, but is still fairly hard to do. You would probably have to give up some of the features, such as window menus, as menus are pretty complex to implement well. So time may be better spent adding a GTK configure script feature to build GTK with only a small core set of functionality.[/i] However, "./configure --help" does not show that option, so maybe that feature is no longer offered and noone bothered to update the README.

metacity
Username: ttuuxxx
"Hi Barry as gnome-doc-utils goes, Its the easiest library to remove from about 90% of gnome apps, just open the configure script up and search for gdu then delete the 10 or lines in a row related to gdu, gdu usually just makes the help and other language files that we usually remove anyways. I configured metacity like ./configure CFLAGS="-mtune=i386 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-shared --enable-strip --build=i386-pc-linux-gnu 2.14X has orbit and gconf already in it for evince document viewer, gcaltool calculator, Rubrica address book v-cards. The menus are being built and controlled by xfcepanel, Its kind of good the way I have it, The window decorations are controlled by metacity but then chtheme gtk2 changer changes the gtk2 themes independently that way If you don't like the default metacity gtk2 theme, then you can use another and still keep the main window decorations. hmmm its interesting about how you can get GTK2 as the backend, I think I might try it. Thanks ttuuxxx

Rox-Filer
Username: ttuuxxx
"Hi Barry as you probably know I'm in the middle of updating 4 series, well lately on 5 series luci and 4 series a strange thing has been happening, if you right click on a bin or any old file and select properties and then do it to the next file, rox isn't letting go of the first file and basically you get the properties of the first file and not the second file, and to overcome it, basically you have to right click the first file, select properties then click the white space around file and then it releases the first file and then you can move onto the second file, what a pain. So anyways I decide to compile the latest Rox-Filer and well its fixed, just a single right click on each file and before you ask, yes you can copy & paste just fine without any patches. Finally it looks like Rox is back in action :) I have it compiled on the latest gtk also. This is the version that works fine http://repo.or.cz/w/rox-filer.git/snapshot/de0d1c90d3a213beb3213ab8cc36a6af86c5b793.tar.gz and the page I located it on, I just took the latest tar.gz on the right column. [u]http://repo.or.cz/w/rox-filer.git[/u] ttuuxxx

JWM
Username: 01micko
"Joe has been in heavy development too! He is now up to jwm-498 as at 20101216 .. how did that slip past us? The biggest visible change is how he handles the virtual desktops in the taskbar. There are now tooltips showing the desktop number, 2 rows (even 3 rows)of desktops are now supported, so you can have eight virtual desktops and not eat half the taskbar. The syntax has now changed and I am in the process of getting together a new tool to help process the virtual desktops, backward compatible with <493. There are a bunch more changes and an improved manpage. I know it's too late for wary-500 but for quirky and beyond it's ideal. Cheers!

jwm 500
Username: 01micko
"well Joe is up to jwm-500! Here's a quote of the latest changelog: [i]2010-12-26 06:09 +0000 [r500] joewing: * src/jwm.h: Attempted build fix for newer versions of fribidi. 2010-12-26 06:03 +0000 [r499] joewing: * src/client.c: Fix a fullscreen problem with some programs (patch from Patriot). 2010-12-17 01:18 +0000 [r498] joewing: * src/popup.h, src/pager.c, src/event.c, src/pager.h, src/popup.c: Show popups on the pager with desktop names (patch from Steve Neumann).[/i] Cheers!


Tags: quirky