|
Page 1 of 3 |
|
1
2 3
|
Next
xterminal "top" shortcut
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 |
Re: xterminal "top" shortcut
xterm -e top usually work so if you find the terminal command you may try the same?
|
Re: xterminal "top" shortcut
1 Attachment(s)
Quote:
Code:
[Desktop Entry]sent from an N900 |
Re: xterminal "top" shortcut
hmmm~ it's so happy to know this. mark it. thanks.
|
Re: xterminal "top" shortcut
Sweet! Thank you both.
|
Re: xterminal "top" shortcut
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 |
Re: xterminal "top" shortcut
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.
|
Re: xterminal "top" shortcut
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!
|
Re: xterminal "top" shortcut
Quote:
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 :o i know it would be much easier to grasp once i get a linux box |
Re: xterminal "top" shortcut
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 ;))
|
Re: xterminal "top" shortcut
Leafpad is notepad like editor for maemo
|
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 |
Re: xterminal "top" shortcut
Quote:
|
Re: xterminal "top" shortcut
Quote:
copy and paste the text into leadpad. name the file topx.desktop from xterm as root, copy the file to the hildon directory. |
Re: xterminal "top" shortcut
Quote:
At least on my phone, I discovered the following commented-out stanza: Code:
<!--Edit: on a whim I uncommented it (removing the <!-- and --> lines) and it seems to work fine. |
Re: xterminal "top" shortcut
What's the difference between
Code:
<menuitem priority="20" name="Reboot">Code:
<menuitem priority="10" name="Soft poweroff">Seems to me both use osso-powerup-shutdown |
Re: xterminal "top" shortcut
Quote:
|
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!
|
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) |
Re: xterminal "top" shortcut
Quote:
|
Re: xterminal "top" shortcut
thanks naabi,
when I say for dummies i mean it. I have created an icon file: Code:
[Desktop Entry]Code:
ssh -l root -L 3389:192.111.1.1:3389 222.222.222.222 -p 22 |
Re: xterminal "top" shortcut
anyone know how to do the above?
|
Re: xterminal "top" shortcut
Try
osso-xterm -e ssh -l root -L 3389:192.111.1.1:3389 222.222.222.222 -p 22 |
Re: xterminal "top" shortcut
Exec=/usr/bin/osso-xterm 'ssh -l root -L 3389:192.111.1.1:3389 222.222.222.222 -p 22'
That should work |
Re: xterminal "top" shortcut
Thanks Juhar that works great I am loving Linux.
so now: after running SSH command is it potable to run another command from teh same file? like launching rDesktop? Code:
rdesktop-cli -f -u username -p password hostTim |
Re: xterminal "top" shortcut
2 Attachment(s)
Quote:
Modify the .desktop file to include the following line. The right side should be the name of file without the .png. (the name of my file was topx.png) Code:
Icon=topxmy topx.desktop shortcut-with-icon for 'top' looks like this: Code:
[Desktop Entry] |
Re: xterminal "top" shortcut
Quote:
I changed the systemui.xml config but see no change yet, I suppose a reboot is in order? |
Re: xterminal "top" shortcut
Quote:
There are a lot of icon directories in diff sizes and I'm trying to understand them. |
Re: xterminal "top" shortcut
Quote:
I'm not so sure about this but just a guess.. And also i didn't get to work my icon to xterm ssh until i changed "Terminal=true" to "Terminal=false" in app.desktop file. |
Re: xterminal "top" shortcut
Quote:
Quote:
|
Re: xterminal "top" shortcut
Can these little xterm apps be packaged up into .debs?
|
Re: xterminal "top" shortcut
Quote:
HTH |
Re: xterminal "top" shortcut
Quote:
|
Re: xterminal "top" shortcut
thanks Archebyte,
my icons didn't show up until I installed a new app. now they are glowing on my desktop. Now if i could run WOL SSH and RDP all from the same icon (app.desktop file) I will be set. Can anyone tell me how to run 2 commands in the terminal from one app.desktop file? Code:
Exec=/usr/bin/osso-xterm 'ssh -l root myip.com -p 22 /usr/sbin/wol -i 192.100.1.255 00:X3:18:F1:86:A1' |
Re: xterminal "top" shortcut
Quote:
Code:
/usr/bin/osso-xterm 'ssh -l root myip.com -p 22 /usr/sbin/wol -i 192.100.1.255 00:X3:18:F1:86:A1' &Code:
chmod a+x /home/user/myscript.shCode:
Exec=/home/user/myscript.shHTH |
Re: xterminal "top" shortcut
Thanks HTH,
what do i do whit this? Quote:
Tim |
Re: xterminal "top" shortcut
Quote:
after putting the two commands in /home/user/myscript.sh, open a terminal and change the permission of the file to make it executable using the above command. 'H'ope 'T'his 'H'elps. archebyte |
Re: xterminal "top" shortcut
Slightly OT question: Is there any place where the coordinates of the various desktop icons are stored, that could be edited? I would like to manually adjust the x- and y-coordinates of for instance bookmark desktop items to align them properly.
|
Re: xterminal "top" shortcut
Hi,
I've used this to run a little python script I've created in xterm. It works well. A couple of questions perhaps somebody could hlp with: 1) How do I get xterm to open maximised? I can't really find any extension to do this. 2) Anyway to keep the terminal open after the script completes? At the moment I have a raw_input("") at the end of my script - any way to remove this and get it to drop back into the terminal without closing it? Hope you can help. Cheers, Wizbowes |
Re: xterminal "top" shortcut
Quote:
|
| All times are GMT. The time now is 11:34. |
Page 1 of 3 |
|
1
2 3
|
Next
vBulletin® Version 3.8.8