Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
GLTrash is a panel applet for KDE.
When you drag a file onto it it, the shute opens, if you then drop the file the file is deleted (a removable confirmation dialog is displayed first)

Installation:
-Click the download link.
-Choose 'Save as', hit OK.
-Open a terminal in the target folder.
-Run the following commands
$ tar xvjf 13304-gltrash-0.2.3.tar.bz2'
$ cd gltrash-0.2.3
$ ./configure
(add --prefix=/usr if you are running Mandrake, PCLinuxOS or Ubuntu)
$ make
$ su
[ type in password ]
# make install
# logout
-Right click on the KDE panel
-Choose Add->Applet->gltrash
-Drag some a _Uninportant_ file onto the applet
Last changelog:

* GLTrash 0.2.4
Changed main texture back to original
Changed default operation to 'move to trash' instead of delete

* GLTrash 0.2.3
Code cleanup
Added a texture from http://www.planetquake.com/gg/textures/index.html

* GLTrash 0.2.2
Smoothened textures
Added textures to the corners
Changed Lightning (Significantly brighter)

* GLTrash 0.2.1
Changed reflection rate of materials.
Changed Lightning (slightly brighter)
Reduced complexity of the scene to use less CPU.
(Screenshot is not updated!)

* GLTrash 0.2.0
Added rotating warning lights.
Serious graphics changes.

* GLTrash 0.1.1
Removed qtlogo.bmp from dependency.

* GLTrash 0.1
Graphics have been cleaned up

* Initial release (The first version known to run on several distros)


Ratings & Comments

33 Comments

silentme

i cant get it to work im using Mandrake 10.1 comunity and i get this every time i try ./configure (including the prefix stuff) as you write : checking for KDE... configure: error: in the prefix, you've chosen, are no KDE headers installed. This will fail. So, check this please and use another prefix! ive tried in several ways to find out what to do but still havent found the way ps.. im a n00b

The-eh

You probably have to install the development packages for kde. I don't know what these are called in Mandrake, try to find something like 'kdebase-dev', 'kdelibs-dev' etc. Hope that helps.

btrident

The application seems pointless to me ?

Superstoned

hey, probably you can integrate this with the trash kicker applet? so this is kind'a a skin for it?

The-eh

Do you mean the trashcan on the desktop or is there some other trashcan I've missed? In the case of the trashcan on the desktop, I don't really see any easy path for converging the two.

vide

Check out KDE 3.4, there's a nice trashbin kicker applet.

Superstoned

guess you missed it :D there is a kicker trash now, in kde 3.4...

Ekardnam

Yeah, I agree that it should move to trash. The option "Move to..." doesn't seem to work yet? Improvements: - I think move to trash would be much more useful. - Click = Open Trash - Rightclick, "Emty Trash". - Yeah, themes would be great

CeruleanWave

Quick hack which moves the file to trash bin instead of deleting. Replace src/gltrash.cpp with the version at: http://ceruleanwave.dotmod.net/gltrash.cpp

sasquatchdied

Link not working 4/1/04

gnemmi

make outputs: File generated with too recent version of Qt Designer (3.3 vs. 3.2.3) make[2]: *** [GLTrashConfigurationPanel.h] Error 1 make[2]: Leaving directory `/home/gnemmi/gltrash-0.2.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/gnemmi/gltrash-0.2.3' make: *** [all] Error 2 would be nice if you could get it to run with qt3.2.3 see ya

trailcode

Good job, It is nice. But, the files to not go to the trash, they .... are lost forever .....

Lenz

I would be glad to test this applet. Is there an ebuild available? Would be great.

amg
jpcohen

Hi thanks for this nice applet. I write this to suggest you some improvments possible: Firt of all the style of the applet don't fit with the rest of my desktop and i would like to keep it :-) so perhaps i could imagine in the future some choice for the look of the applet (perhaps simply trashcan or something ?). Another think that would be cool is the fact that we should be able to customize it for example to move files to bin instead of delet it... at least some options like this would be great. Last point still in customizability: the possibility to use our own graphism. for example to hae to use static png pics in ~/.gltrash/ for the static icon and a animated png file for the animated part... Well there are just some ideas... at least keep up the good work, and thanks again ;-)

xal55

I must agree. It would be nice if the files were actually added to the trash bin rather than removed from the system. Other than that, nice applet.

fingaz

Looks great can't wait to try it out but... I ran configure, make, then make install as root but the applet does not show up on my KDE Panel add menu. Is it copying to the wrong location? It did not give any error msg during install either... OS: Debian Sarge WM: KDE 3.2.2

JusKickNit

Are you using the --prefix= switch with configure? Try? ./configure --prefix=/usr

Linuxglider

thanks for this cool dock its a cool idea. on mdk it compiles with configure --prefix=/usr go on so Linuxglider

The-eh

Thanks for the feedback! I've included the --prefix option in the description.

wintermte

When I compile and load the applet kicker there are no graphics loaded. Kicker sees it as running, but none of the affects are there. It just looks like an empty applet 1px x 1px. Any thoughts on how I can fix that?

The-eh

There are two possibilities, as I see it. 1. The applet is too dark. 2. There is something wrong with starting the applet. In the first scenario, I'll make brighter versions sometime this week. In the second, do a tail -200 ~/.xsession-errors for eventual error messages on startup.

Ekardnam

>> # tar xvjf gltrash-0.2.tar.bz2' >> # cd gltrash >> # ./configure >> # make >> # su >> [ type in password ] >> # make install >> # logout I would do something like this: # tar xvjf filename # cd gltrash # ./configure --prefix=PREFIX prefix could be "/usr" # make # su [ type in password ] # make install # exit It is a nice applet, but it eats CPU like ****.

The-eh

Thanks for the feedback! The --prefix addition is a nice one, but i think "exit" is bash specific. What kind of hardware are you running on? In worst case it uses 2% of my cpu, I've got an NVIDIA 4200Ti card. The reason it is quite heavy is the faked phong-shading of the lights, which makes use of something like approx 4000 polygons :) I can probably reduce a lot :) I figured the applet is kind of dark when not using a LCD Screen, any comments?

The-Q

usually $ represents normal user shell which # represents root shell.

Pling
0 Affiliates
Details
license
version 0.2.4
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 20 years ago

Score 5.0