WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: htop - tiny bug  (Read 3162 times)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
htop - tiny bug
« 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.
« Last Edit: October 12, 2011, 05:13:45 PM by netnomad »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: htop - tiny bug
« Reply #1 on: October 27, 2011, 03:54:03 PM »
has someone any idea?

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: htop - tiny bug
« Reply #2 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?


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: htop - tiny bug
« Reply #3 on: November 11, 2011, 12:43:20 AM »
I tried messing around with this, but I get two terminal windows each time  :(

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: htop - tiny bug
« Reply #4 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: htop - tiny bug
« Reply #5 on: November 11, 2011, 02:25:56 AM »
indeed - posted

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: htop - tiny bug
« Reply #6 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.
« Last Edit: November 11, 2011, 12:02:47 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: htop - tiny bug
« Reply #7 on: November 11, 2011, 11:24:14 AM »
hi roberts,

does that mean that

Exec=cliorix htop

should be used in htop.desktop?

thanks

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: htop - tiny bug
« Reply #8 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.
10+ Years Contributing to Linux Open Source Projects.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: htop - tiny bug
« Reply #9 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


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: htop - tiny bug
« Reply #10 on: November 11, 2011, 01:39:29 PM »
reposted