GLTrash

Various KDE 1.-4. Improvements

Source (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
Score 50.0%
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:

14 years ago

* 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)

silentme

14 years ago

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

Report

C

The-eh

14 years ago

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.

Report

btrident

14 years ago

The application seems pointless to me ?

Report

Superstoned

14 years ago

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

Report

C

The-eh

14 years ago

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.

Report

Superstoned

14 years ago

guess you missed it :D

there is a kicker trash now, in kde 3.4...

Report

vide

14 years ago

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

Report

Ekardnam

14 years ago

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

Report

CeruleanWave

15 years ago

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

Report

sasquatchdied

14 years ago

Link not working 4/1/04

Report

gnemmi

15 years ago

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

Report

trailcode

15 years ago

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

Report

Lenz

15 years ago

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

Report

amg

15 years ago

Ask you shall recieve...

http://bugs.gentoo.org/show_bug.cgi?id=57494

Report

jpcohen

15 years ago

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 ;-)

Report

xal55

15 years ago

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.

Report

fingaz

15 years ago

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

Report

JusKickNit

15 years ago

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

./configure --prefix=/usr

Report

Linuxglider

15 years ago

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

Report

C

The-eh

15 years ago

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

Report

wintermte

15 years ago

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?

Report

C

The-eh

15 years ago

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.

Report

Ekardnam

15 years ago

>> # 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 ****.

Report

C

The-eh

15 years ago

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?

Report

The-Q

15 years ago

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

Report

14 years ago

* 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)

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
0.2.4
updated Apr 16 2005
added Jun 12 2004
downloads 24h
0
pageviews 24h 3