Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 26 Oct 2014, 00:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
xfce4-taskmanager hacked for puppy
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Tue 25 May 2010, 02:58    Post_subject:  xfce4-taskmanager hacked for puppy
Sub_title: 18kb pet to replace pprocess + full sources
 

xfce4-taskmanager is a lightweight task/process manager - now adapted for use with jwm and puppy
xfce4-taskmanager-0.5.91-2-i486.pet
Description  pulled latest git with more features and made more hacks and a bugfix or 2
pet

 Download 
Filename  xfce4-taskmanager-0.5.91-2-i486.pet 
Filesize  20.08 KB 
Downloaded  516 Time(s) 
xfce4-taskmanager-0.5.91-i486.pet
Description 
pet

 Download 
Filename  xfce4-taskmanager-0.5.91-i486.pet 
Filesize  18.02 KB 
Downloaded  462 Time(s) 
xfcetaskman.png
 Description   
 Filesize   63.68 KB
 Viewed   1439 Time(s)

xfcetaskman.png

xfce4-taskmanager-0.5.91.tar.bz2
Description  contains various puppy hacks (did not change version number in case someone wants to make a diff)
bz2

 Download 
Filename  xfce4-taskmanager-0.5.91.tar.bz2 
Filesize  309.47 KB 
Downloaded  453 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101

Edited_time_total
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Tue 25 May 2010, 10:26    Post_subject:  

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)

_________________
Web Programming - Pet Packaging 100 & 101

Edited_times_total
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Wed 26 May 2010, 02:05    Post_subject:  

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:
#!/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/xfce4-taskmanager-0.5.91.tar.bz2
xfce4taskman_patch-0.5.91-puppy.gz
Description  here is the patch that includes my tweaks and the git updates (apply to the src directory)
gz

 Download 
Filename  xfce4taskman_patch-0.5.91-puppy.gz 
Filesize  9.65 KB 
Downloaded  446 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Keef


Joined: 20 Dec 2007
Posts: 635
Location: Staffordshire

PostPosted: Thu 27 May 2010, 18:20    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Thu 27 May 2010, 18:54    Post_subject:  

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]

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5754
Location: Valåmoen, Norway

PostPosted: Sat 29 May 2010, 05:29    Post_subject:  

technosaurus
To improve the tailbox this code might help
Code:
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

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0711s ][ Queries: 12 (0.0204s) ][ GZIP on ]