Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    xterminal "top" shortcut

    Reply
    Page 1 of 10 | 1   2     3   | Next | Last
    goodfellabk718 | # 1 | 2009-12-04, 04:44 | Report

    I was lookin around but didnt find anything and my question is:

    Is there a way to create a shortcut that will open xTerminal and run "top"?
    I dont really like load-applet and systemwidget(i forget the name) in maemo etras-testing is, well, in testing. Both of these apps dont really tell me anything, so I was wondering if i can create a shorcut with switches to run xterminal's "top" when i click it.

    thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    R-R | # 2 | 2009-12-04, 04:59 | Report

    xterm -e top usually work so if you find the terminal command you may try the same?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to R-R For This Useful Post:
    goodfellabk718

     
    archebyte | # 3 | 2009-12-04, 06:58 | Report

    Originally Posted by goodfellabk718 View Post
    Is there a way to create a shortcut that will open xTerminal and run "top"?
    yes. create a file called topx.desktop with the following text in the /usr/share/applications/hildon/ directory. you will need root access.

    Code:
    [Desktop Entry]
    Encoding=UTF-8
    Version=0.1
    Type=Application
    Terminal=true
    Name=topx 
    Exec=/usr/bin/osso-xterm top  
    Icon=     
    #X-Window-Icon=timerwidget
    X-Window-Icon=     
    X-HildonDesk-ShowInToolbar=true
    X-Osso-Type=application/x-executable
    This will create an ugly blue application icon in the Application list called 'topx' (to specify an icon, look here). Launching it will execute 'top' directly in xterm. You may now put a shortcut on the desktop for quick access. HTH

    sent from an N900

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

    Last edited by archebyte; 2009-12-11 at 19:30. Reason: added reference to icon post
    The Following 54 Users Say Thank You to archebyte For This Useful Post:
    Bahador, benny1967, Big Phat Jan, bocaJ, borghal, bzhnjm, Corwin, cowb0y, dvergin, F2thaK, Flynx, gidoca, goemb, goodfellabk718, Guffaw, Helmuth, hypoxic, IcyAirs, iKneaDough, Janniman, jerra, jsbigs, juhar, jukey, juxxxer, kik, klepto, kore, kwotski, macey, mail_e36, MasterPo, Mentalist Traceur, mikec, mikhmv, msa, MyNokiaN900, ndi, nikul.padhya, nymajoak, ossipena, pelago, phedders, phreck, pyromaniac, Rauha, Reflektorfalke, robbie, spooley, synthaxx, truslack, uris, vkv.raju, zeljkobo12

     
    funpig | # 4 | 2009-12-04, 09:53 | Report

    hmmm~ it's so happy to know this. mark it. thanks.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    goodfellabk718 | # 5 | 2009-12-04, 11:15 | Report

    Sweet! Thank you both.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Andre Klapper | # 6 | 2009-12-04, 11:37 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Andre Klapper For This Useful Post:
    bitrocky, DaveQB, vkv.raju

     
    goodfellabk718 | # 7 | 2009-12-04, 23:59 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mason | # 8 | 2009-12-05, 00:07 | Report

    why don't you install sshserver and sftp into the device with winscp i.e. it's much easier than to fiddle with the xterm shell on the device!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    goodfellabk718 | # 9 | 2009-12-05, 00:15 | Report

    Originally Posted by mason View Post
    why don't you install sshserver and sftp into the device with winscp i.e. it's much easier than to fiddle with the xterm shell on the device!
    truuuuueeee, but 2 things

    1. I kind of what to see how much i can do on the device (just to know)
    2. I haven't made a linux box yet and wasnt sure if doing that through windows was ideal. I'm a couple of weeks from getting another PC and at which time I was planning to install linux on my old machine


    i know it would be much easier to grasp once i get a linux box

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mason | # 10 | 2009-12-05, 00:32 | Report

    there is no problem with windows there, you just have to make sure you use the right editor for the job. (windows notepad isn't recommended )

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 10 | 1   2     3   | Next | Last
vBulletin® Version 3.8.8
Normal Logout