Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: netnomad on October 12, 2011, 05:12:07 PM

Title: htop - tiny bug
Post by: netnomad on October 12, 2011, 05:12:07 PM
to load htop over ondemand works without any problems: a beautiful terminal runs htop...
afterwards to start htop over wbar or the application-menue two terminals start,
one empty terminal just starts the htop-program, the second terminal displays htop.
Title: Re: htop - tiny bug
Post by: netnomad on October 27, 2011, 03:54:03 PM
has someone any idea?
Title: Re: htop - tiny bug
Post by: netnomad on November 08, 2011, 02:48:59 AM
hi juanito,

i guess it could be the cliorix-issue!?

is there a way in htop.desktop?

Exec=cliorix htop
or
Exec=cliorix xterm -e htop?

Title: Re: htop - tiny bug
Post by: Juanito on November 11, 2011, 12:43:20 AM
I tried messing around with this, but I get two terminal windows each time  :(
Title: Re: htop - tiny bug
Post by: netnomad on November 11, 2011, 01:55:14 AM
hi juanito,

just change in the htop.desktop-file

Terminal=true
to
Terminal=false

then the problem is solved.
Title: Re: htop - tiny bug
Post by: Juanito on November 11, 2011, 02:25:56 AM
indeed - posted
Title: Re: htop - tiny bug
Post by: roberts on November 11, 2011, 10:23:31 AM
The use of cliorx negates the need for Terminal=xxxx and that line can be deleted.
We are using freedesktop as a standard. However we also supporting microcore / command line only ( no X ), in which case there is no xterm and therefore ondemand will fail.
Title: Re: htop - tiny bug
Post by: netnomad on November 11, 2011, 11:24:14 AM
hi roberts,

does that mean that

Exec=cliorix htop

should be used in htop.desktop?

thanks
Title: Re: htop - tiny bug
Post by: roberts on November 11, 2011, 11:58:58 AM
Yes. That way it will for the various ways that Core offers, i.e., with or without X, with or without ondemand.
Title: Re: htop - tiny bug
Post by: netnomad on November 11, 2011, 12:40:55 PM
hi juanito,

i tested following htop.desktop and it works fine:

[Desktop Entry]
Version=1.0
Name=htop
Type=Application
Comment=Show System Processes
Exec=cliorx htop
Icon=htop
X-FullPathIcon=/usr/local/share/pixmaps/htop.png
Categories=ConsoleOnly;System;
GenericName=Process Viewer

Title: Re: htop - tiny bug
Post by: Juanito on November 11, 2011, 01:39:29 PM
reposted