| Prev |   1   2   3     4   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   xterminal "top" shortcut (https://talk.maemo.org/showthread.php?t=35858)

mikkov 2009-12-05 00:37

Re: xterminal "top" shortcut
 
Leafpad is notepad like editor for maemo

Venomrush 2009-12-05 02:24

Re: xterminal "top" shortcut
 
The systeminfowidget has recently been updated with the memory leak fix.
I'm using that now and avoiding the extra steps

goodfellabk718 2009-12-05 03:04

Re: xterminal "top" shortcut
 
Quote:

Originally Posted by Venomrush (Post 411017)
The systeminfowidget has recently been updated with the memory leak fix.
I'm using that now and avoiding the extra steps

have they added any more features? It really doesn't tell you anything, at least with "top" you can see which process is using up the memory or cpu time

archebyte 2009-12-05 06:42

Re: xterminal "top" shortcut
 
Quote:

Originally Posted by goodfellabk718 (Post 410884)
i am trying to create the shortcut but the commands for an editor doesnt work and (command not found) and i downloaded vim but i just dont understand why its not working ( icant type in it, nothing happens when i press the keys) i read that u have to press a set of keys to change between modes (blah) do we have anything easier like nano or something similar? im trying not to be "spoon fed" but alot of the tutorials i have found, there commands dont register with maemos shell. im gonna read up some more. Basically im tryin to open the editor to copy what i was shown and then go from there. So just tell me, what editor are you guys using to get things done? i'll figure out the rest i just need an editor.

Leafpad is a good option if you don't want to mess with vi.
copy and paste the text into leadpad.
name the file topx.desktop
from xterm as root, copy the file to the hildon directory.

kwotski 2009-12-06 01:54

Re: xterminal "top" shortcut
 
Quote:

Originally Posted by Andre Klapper (Post 409622)
There is also a hack by removing the comment lines in /etc/mce/mce.ini that will provide a "Top in XTerm" button in the hardware button menu.
Not that "hack" really means "hack" and doing something wrong here might turn your device into a brick, but for me it works. :-P

For anyone as puzzled as I was by this, I think Andre is really talking about a different file... or maybe.

At least on my phone, I discovered the following commented-out stanza:

Code:

<!--
 <menuitem priority="20" name="Reboot">
  <return>6</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
 <menuitem priority="10" name="Soft poweroff">
  <return>7</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>
 <menuitem priority="5" name="Top in XTerm">
  <callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xter
  <argument type="string">/usr/bin/top</argument>
  </callback>
 </menuitem>
-->

in /etc/systemui/systemui.xml while poking around.

Edit: on a whim I uncommented it (removing the <!-- and --> lines) and it seems to work fine.

Venomrush 2009-12-07 09:06

Re: xterminal "top" shortcut
 
What's the difference between

Code:

<menuitem priority="20" name="Reboot">
  <return>6</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>

and

Code:

<menuitem priority="10" name="Soft poweroff">
  <return>7</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>

Beside the name and position?
Seems to me both use osso-powerup-shutdown

goodfellabk718 2009-12-07 16:35

Re: xterminal "top" shortcut
 
Quote:

Originally Posted by Venomrush (Post 414085)
What's the difference between

Code:

<menuitem priority="20" name="Reboot">
  <return>6</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>

and

Code:

<menuitem priority="10" name="Soft poweroff">
  <return>7</return>
  <po>osso-powerup-shutdown</po>
 </menuitem>

Beside the name and position?
Seems to me both use osso-powerup-shutdown

hmmm, perhaps another switch is missing from the one named reboot. Hmm, anyone?...

les_garten 2009-12-07 17:13

Re: xterminal "top" shortcut
 
I'm not sure there isn't a good reason these were commented out. The Reboot option is pretty Violent i it's reboot. No gracefull shutdown, no file system sync, etc. Like you pulled the batt out. The soft poweroff makes my menu key no longer function, and I have to reboot to get it back. The top xterm is pretty kewl though!

timwatt 2009-12-11 08:06

Re: xterminal "top" shortcut
 
slightly off topic, but it looks like the expertises exist here.
I want to run a command in xTerminal (ssh) i would like to create an icon on my desktop.

Please explain how to make a desktop icon to run a xTerminal command for dummy?
thanks Tim (ps I used "personal menu" on my n810 to do this)

naabi 2009-12-11 08:10

Re: xterminal "top" shortcut
 
Quote:

Originally Posted by timwatt (Post 422229)
Please explain how to make a desktop icon to run a xTerminal command for dummy?

Third post of this thread gives quite good instructions.


| Prev |   1   2   3     4   | Next | Last
All times are GMT. The time now is 11:34.

vBulletin® Version 3.8.8