Thunar Filemanager (Gtk 2.8)

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

Thunar Filemanager (Gtk 2.8)

#1 Post by MU »

Screenshot:

Image

Very nice one.

On first sight, it has these advantages to Rox:
Gtk2, so should support unicode.

You can choose how to navigate, choose a Webbrowser-bar like navigation, or the one as in the Gtk2-fileselectiondialog.
It supports Drag'n'Drop-Bookmarks, and preview of pictures.


Download:
http://dotpups.de/dotpups/File_Managers/Thunar-Gtk-2.8/

If you don't use the XFCE-desktop, you need Exo and LibXFCE, too.

Some more files are required:

Puppy 1.xx to 2.02
You need Gtk2.8, Info:
http://www.murga.org/~puppy/viewtopic.php?t=9599 (NOT in Puppy 2.10 !!!)

Direct download of Gtk2.8 (this updates your System :!: ):
http://dotpups.de/dotpups/Libraries/Gtk ... -1.2.0.pup
http://dotpups.de/dotpups/Libraries/Gtk ... 1.12.1.pup

And you need these ones:
http://dotpups.de/dotpups/Libraries/Gtk ... -0.1.7.pup
http://dotpups.de/dotpups/Libraries/Gtk ... me-0.9.pup
http://dotpups.de/dotpups/Libraries/Gtk ... 2.14.2.pup
http://dotpups.de/dotpups/Libraries/Gtk ... o-0.18.pup
http://dotpups.de/dotpups/Libraries/Gtk ... s-0.11.pup

Puppy 2.10
http://dotpups.de/dotpups/Libraries/Gtk ... -0.1.7.pup
http://dotpups.de/dotpups/Libraries/Gtk ... me-0.9.pup
http://dotpups.de/dotpups/Libraries/Gtk ... 2.14.2.pup
http://dotpups.de/dotpups/Libraries/Gtk ... o-0.18.pup
http://dotpups.de/dotpups/Libraries/Gtk ... s-0.11.pup

If you have no icons in thunar, edit the file
/root/.gtkrc-2.0

Add this line to it:
gtk-icon-theme-name = "gnome"


Mine looks like this:

Code: Select all

# -- THEME AUTO-WRITTEN DO NOT EDIT
include "/usr/share/themes/Galaxy/gtk-2.0/gtkrc"
include "/root/.gtkrc.mine" 
gtk-icon-theme-name = "gnome"
# -- THEME AUTO-WRITTEN DO NOT EDIT
Mark
Last edited by MU on Mon 25 Sep 2006, 00:21, edited 3 times in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

I was wrong, you don't need Perl or Python.
The Plugins use shellscripts.
I added the archiver-plugin, and the TAG-plugin.
Whith that, you can enter Title and Album-name with a rightclick on a musicfile.
This info will be saved IN the musicfile I think.

The archiver-plugin does not work, but could be adapted:

---------------------------------
From the readme:
Supported archive managers
==========================

thunar-archive-plugin currently supports file-roller (the GNOME archive manager)
and ark (the KDE archive manager), but support for additional archive managers
can be easily added.

To add support for a new archive manager, all you need to do is to install
the .desktop file - with the list of supported mime types - for the archive
manager to the $(datadir)/applications/ folder (as usual), and in addition,
install a .tap file to $(libexecdir)/thunar-archive-plugin/, which provides
a wrapper script that invokes the archive manager with the appropriate
parameters for the actions "Create Archive", "Extract Here" and "Extract To".

The .tap and .desktop files should have the same basename, otherwise the
thunar-archive-plugin is not able to find the appropriate .tap file for an
archive manager. For example, if the name of the .desktop file is ark.desktop,
the .tap file must be named ark.tap.

See the scripts/ directory for examples of how to create said .tap files. The
template.tap file should provide a good starting point.

--------------------------------------------

Mark

User avatar
darkerror05
Posts: 276
Joined: Sat 17 Jun 2006, 22:10
Location: Rochester NY, USA

#3 Post by darkerror05 »

Does Thunar Filemanager support pinboards like in rox?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

No.
It is the filemanager of the XFCE-desktop now.
XFCE has its own iconsystem (what is the pinboard in Rox).

But of course you still can use Rox, Thunar does not replace it.
But you cannot drag files from Thunar to the Rox-desktop :roll:
I think that is not so important, as I drag files to the desktop quite seldom, in that case I simply click the "home"-icon to open Rox.

Mark

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

mu

#5 Post by klhrevolutionist »

MU I thank you for leading the way "updating libs". I really do.

However, is it at all possible to have a thunar file-manager for the current puppy-libs ?
Heaven is on the way, until then let's get the truth out!

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

No, unfortunately Thunar cannot be compiled with older versions than 2.8.
In fact thunar was the main reason, why I spent all these days with Gtk-experiments.
In 2.6 it will not compile, as that misses some functions, in 2.10 it crashes because of a bug in Glib (the Thunar-developer thinks so too, and could reproduce the crashes).
2.8 is the only version at moment, where it works.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

I added a small dotpup "desktop-file-utils", that is required so that you can assign applications to documents with a rightclick.
Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

ah cool, with the file-utils also pupzip works with a right-click.
Added the required 2 files to the thunar-dotpup.

"Extract here" does not work, but with a right click -> extract you can open it in Pupzip.
For "extract here", we will have to add a folder parameter to pupzip.
If you rightclick a normal file, you can add it to an archive or create a new one.

Mark

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

quick note

#9 Post by klhrevolutionist »

oops... I should read first.
Heaven is on the way, until then let's get the truth out!

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#10 Post by disciple »

I like it - but is there any way to quickly get most normal file types associated with their applications, or do we have to do them all one at a time as we use them? And thumbnails aren't working... maybe they will if I associate image files with something - I'll see when I get home.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#11 Post by MU »

Thumbnails work for me.
Be shure to install the mime-info dotpup mentioned above.
Do you have correct icons for folders and documents?
A folder must look like a folder, using a different icon than a document.

Which Puppy do you use?

I just saw, that in Puppy 2.10 it crashes, when I try to set the run-action for a file :(

There is another version of Thunar in this dotpup, will try it in the next days in Puppy 2.10, or compile a more recent cvs-version.
http://www.murga.org/~puppy/viewtopic.php?t=9861

Mark

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#12 Post by sunburnt »

Mark; Are you saying the newest Xfce has Thunar in it? What version?
It is the filemanager of the XFCE-desktop now.
XFCE has its own iconsystem (what is the pinboard in Rox).
GuestToo says he doesn't like Xfce, I wonder if it's the functionality or having to code for it?
He seems to like iceWM, it's just a bigger JWM near as I can tell.
I don't have a clear picture of the differences between JWM, IceWM, & XFCE.
They're structure's different, which is too bad, because the functionality is essentially the same.
Functionality wise, there's probably some different features & services between them
Will any of them really do anything the others won't? Some may not have a tray, etc.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#13 Post by MU »

I think GuestToo talked about Gnome, that he does not like.
I don't like it either as a whole desktop, just some programs from it.
----------------------------------
The xfce-dotpup is a beta-version, not shure if 4.4 final is already out.
The included thunar is slightly older than the one from this thread I think.

Icewm and Jwm are "only" windowmanagers, while xfce is a full desktop like Gnome.
Different to Gnome, it is very modular, so other xfce-dotpups in this forum only included the most common things like the windowmanager and the panel.

The full xfce includes filemanager, themes, configuration-tools, an own icon-system.

I personally prefer building my own desktop based on Icewm and the Xfce-taskbar, Puppys configuration-tools and icons (rox).
As filemanager XFileExplorer (and konqueror from KDE as webbrowser).

This is Icewm + xfce-taskbar + rox(2 , at moment I use 1 again)
http://dotpups.de/dotpups/WindowManager ... kbarmu.jpg

Links:
icewm-ultra:
http://www.murga.org/~puppy/viewtopic.php?t=9404

xfce-taskbar
http://www.murga.org/~puppy/viewtopic.php?p=62412#62412

When I finished the PSI-installer, I plan to create a "MU-Desktop", which puts all these parts in one .sfs file together with some other utilities for easy usage.

So you could run "xwin mu-desktop" to get everything pre-configured the way I use Puppy.

Mark
Last edited by MU on Wed 27 Sep 2006, 01:30, edited 1 time in total.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#14 Post by GuestToo »

GuestToo says he doesn't like Xfce
that's just my personal preferences ... i don't know why, i just don't find the Xfce interface, well, likable

i guess the wm i like the best is Fluxbox ... but Flux really doesn't play well with Rox

but I like Evilwm too ... so my preferences are probably not average ... I like small and minimalistic

they can all do what a window manager needs to do, so maybe your choice of window manager is mostly a question of which one you like best ... you've got a lot of choice.

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#15 Post by Nathan F »

Yes, you have lots of choice. And that's the point now isn't it?

I just installed Xubuntu onto a second computer at home. This has a pretty cutting edge xfce desktop and I'm finding that I like it a lot better than earlier versions. However the library requirements have gone up a lot, as has the memory footprint. I'd have to say that I favor either fluxbox or openbox with rox. And usually no panel these days, it just takes up space.

Nathan
Bring on the locusts ...

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#16 Post by disciple »

Either a restart or reinstalling the mime-info dotpup fixed it. But it shows the relative location in the address bar, so the up button is actually the same as the back button, which is kind of pointless, and I can't find anything in their documentation about it - is it the same for everyone else?
BTW I use Grafpup

Hint: Hold down control and plus or minus to change the icon size quickly

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#17 Post by Dougal »

I compiled the new XFCE RC yesterday.

It uses Thunar for the pinboard (like Rox in Puppy), but there's an option of compiling the desktop without icon support, so it might not be necessary.

Thunar seemed to work ok, but I had to hack it to get rid of the "running as root" message. Have just recompiled it and need to try it out...

XFCE can be run not as a whole environment. You have the separate bits and can use what you want: desktop, panel, session-manager...
It's just a matter of changing the xfcerc file, or killing what you don't want and then saving the session that way...

I'll probably make some kind of XFCE package, but have a question, maybe Nathan or MU could help with: what shall I package it as?? .pup? .pet?
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#18 Post by tempestuous »

Thanks Dougal for your XFCE packages. My next remaster will certainly include this window manager.

But I I dislike XFCE's session manager as a way of managing the startup components. I prefer to use the old method of launching the various components from the end of .xinitrc, like this -

xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
exec xfce4-panel

And I like the way that you can "mix-and-match" the components.
For purely aesthetic reasons, I like using XFCE in combination with the Oroborus window manager, using MU's Oroborus dotpup. The only problem is that Oroborus is not "aware" of the XFCE panel, and will draw windows which overlap the panel. The workaround is to autohide the panel.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#19 Post by MU »

tempestuous,

use this small script to force Desktop-borders:

/usr/bin/wmstruts

Code: Select all

#!/usr/bin/puppybasic

//-- create a invisible window, required by struts

mylist = xwin_createsimplewindow()
HiddenwindowID = mylist[0]

//-- activate struts (window-manager must be NET_WM-compliant)

xwin_setwmstruts( "0x" & HiddenwindowID , 100 , 20, 20, 20)

//-- endless loop

while 1

  shell("sleep 100000")

wend

make it executable:
chmod 755 /usr/bin/wmstruts
Run it:
wmstruts

To exit:
killall wmstruts

Now when you maximize windows, they will not cover the whole screen.
Change 100 , 20, 20, 20 to your needs, this is the border of each side of the desktop in Pixel.

Use this program to keep your panel visible, or to keep some Desktop-icons always visible.

Other Window-manager manipulations:
http://www.murga.org/~puppy/viewtopic.php?t=2592

Mark

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#20 Post by tempestuous »

Thanks Mark. Now my window manager is perfect :D

Post Reply