xfce4-taskmanager hacked for puppy

Miscellaneous tools
Post Reply
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

xfce4-taskmanager hacked for puppy

#1 Post by technosaurus »

xfce4-taskmanager is a lightweight task/process manager - now adapted for use with jwm and puppy
Attachments
xfce4-taskmanager-0.5.91-2-i486.pet
pulled latest git with more features and made more hacks and a bugfix or 2
(20.08 KiB) Downloaded 885 times
xfce4-taskmanager-0.5.91-i486.pet
(18.02 KiB) Downloaded 831 times
xfcetaskman.png
(63.68 KiB) Downloaded 1916 times
Last edited by technosaurus on Wed 26 May 2010, 05:33, edited 1 time in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#2 Post by technosaurus »

Here is what I added/changed:

Removed the running as root warning - consider yourself warned

replaced some code for opening defaultbrowser or mozilla instead of using xfce's exo utilities or firefox

in the execute menu
replaced xfce's run program with gexec
replaced xfce's terminal with rxvt
replaced xfce's app finder with pfind (that was as close as I could get for now)
added zigbert's Puppy Control Center from DuDe
(there is plenty of room for more)
I also added the tailbox view of logs that was in pprocess

replaced the close button with a Quit menu containing
restartX
restartjwm
reboot
poweroff
exit to prompt
close *when I replaced the close button with a close menu I couldn't figure out how to make a coresponding close menu item so I used killall xfce4-taskmanager - patches welcome

some build hacks to make it compile without xfce libs

I tried to implement options from pprocess, M$ and other task managers that come up when you hit Ctrl+Alt+Delete... for user-friendliness, but I probably missed some (you'll have to set the jwm keybindings manually for now - until I figure out if jwm-config and zigbert's DuDe will play nice with external changes)
Last edited by technosaurus on Wed 26 May 2010, 15:32, edited 2 times in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#3 Post by technosaurus »

I pulled the latest git, which had some new features: minimize to tray, more tweakable preferences, only menu entries if the program exists

http://git.xfce.org/apps/xfce4-taskmanager/log/

fixed a bug with the tray icon tooltips for gtk<2.16
threw out the new running as root warnings
created a script for killing a process by name via gui

Code: Select all

#!/bin/sh
killall `Xdialog --stdout --under-mouse --inputbox "Enter program name to kill" 0 0`
use puppy's /usr/share/mini-icons instead of gnome/tango/hicolor themes

here is the old source:
http://dl.dropbox.com/u/2670286/taskmgr ... 91.tar.bz2
Attachments
xfce4taskman_patch-0.5.91-puppy.gz
here is the patch that includes my tweaks and the git updates (apply to the src directory)
(9.65 KiB) Downloaded 804 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#4 Post by Keef »

I've tried the 0.5.91-2-i486 version on Slaxer_Pup, but the program just pops up for a second then quits.

Running from a terminal produces this:
(xfce4-taskmanager:19119): Gtk-WARNING **: Unknown property: GtkVBox.orientation

(xfce4-taskmanager:19119): Gtk-WARNING **: Unknown property: GtkVBox.orientation

xfce4-taskmanager-Message: Running as root on puppypc
xfce4-taskmanager: symbol lookup error: xfce4-taskmanager: undefined symbol: g_strcmp0

The other version does the same, but produces a list of running processes in the terminal as well as the other error messages.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#5 Post by technosaurus »

g_strcmp0 is a g-string utility function (from glib) and I'm not just pulling it out of my @$$ (Reference)
The error is from using an old version of glib <2.16 - just update glib and you should be ok

- the other errors are harmless but should go away if you update gtk (not just glib) to 2.16? or higher[/url]
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#6 Post by zigbert »

technosaurus
To improve the tailbox this code might help

Code: Select all

Xdialog --title "Linux kernel messages" --screen-center --fixed-font --no-ok --tailbox /var/log/messages 500x500
If we get a filtering/search function in this task manager it looks very promising.


Sigmund

Post Reply