View Single Post
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1483
Originally Posted by RWFarley View Post
Can I make an icon to open a specific worksheet in Calc?
If you always want to start OO with the same file, you could include it as a parameter after "debbie ooffice", with full path.

If you don't abhor the command line, the most efficient way IMO is to define a shortcut
Code:
oo() { /usr/bin/debbie-sue ooffice `readlink -f $1` ; }
After adding this line to your /home/user/.profile, you can open any file that OO can handle by typing "oo filename" in Maemo's XTerminal (that is, the next time you launch it). If you are curious, the readlink hack in the above is needed because the chroot generally changes your working directory, and "readlink -f" returns the full path name.

Similarly, for gnumeric add e.g.
Code:
gn() { /usr/bin/debbie-sue gnumeric `readlink -f $1` ; }
Consult the wiki for more extensive info!
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log

Last edited by rebhana; 2010-06-15 at 20:26.
 

The Following User Says Thank You to rebhana For This Useful Post: