Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 01 Sep 2014, 10:52
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
simple hints pop-up
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
miriam


Joined: 06 Dec 2006
Posts: 268
Location: Queensland, Australia

PostPosted: Sat 25 Apr 2009, 19:07    Post subject:  simple hints pop-up  

Everybody has difficulty remembering certain simple, but odd, things. One of my bugbears is the key-shortcuts in the Linux shell. Well, I have found a simple way around the problem, while teaching them to me. I keep a small application icon on the desktop called CLI-tips. When I pause my mouse over the icon a popup tips box appears that lists the most useful shortcuts -- no need to click on anything and take the focus away from the shell window I'm currently using, and when I move the mouse off the icon the popup disappears.

I have uploaded it to my site at
http://miriam-english.org/files/CLI-tips.tar.gz

Note that while I use it to remind me of the shell command-line interface key shortcuts, you can easily adapt it for anything you want. When you unzip it you have an application folder which you can place anywhere; I keep it in my ~/my-roxapps folder but you might want to keep it in /usr/local/apps

Of course you need to drop the application folder onto the desktop to see it there. Smile

Incidentally, it is best to put the icon at the bottom screen to give it maximum room.

To alter the files in the application shift-click it, or right-click it and choose "Look Inside" from the popup menu. There are only 3 files in there:

AppInfo.xml - is the most important because it is a text file that gives the popup text.

AppRun - is a shell script. I normally have this pointing at a document on the bash shell in a gigantic reference folder on my machine, but I've altered it for you so it simply opens the AppInfo.xml file in the default text editor.

.DirIcon - is the application's icon. You can replace this with any that is more to your taste.

Hope this is of use to someone.

_________________
A life! Cool! Where can I download one of those from?

Last edited by miriam on Sun 26 Apr 2009, 02:20; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sat 25 Apr 2009, 20:13    Post subject:  

A novel idea to a common problem, but it works!

Thank you, I learnt a thing or two from it.

You might want to include these supurb but forgotten shellscript examples for V2 Wink

http://www.puppylinux.org/wiki/archives/old-wikka-wikki/categorydocumentation/shellscriptsexamples

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
miriam


Joined: 06 Dec 2006
Posts: 268
Location: Queensland, Australia

PostPosted: Sun 26 Apr 2009, 02:17    Post subject:  

Thanks ecomoney.

The shellscripts page you referred me to is very cool. There are some great items in that list. Thank you for pointing me to it. I must point out though, that the two items titled Copy and Paste seem wrong -- they look like they say that CTRL-C copies text highlighted in rxvt, and that CTRL-Insert pastes into rxvt. Actually CTRL-C copies highlighted text from almost anywhere except from rxvt, and CTRL-V pastes text almost anywhere except into rxvt. I couldn't get CTRL-Insert to do anything inside or outside of rxvt. I believe CTRL-Insert and SHIFT-CTRL-Insert work inside MSWindows the same way as copy and paste...

In rxvt, simply highlighting text copies it to the clipboard. And pressing the middle mouse button (the scroll wheel) inserts text from the clipboard.

I would edit the page, but I can't work out how to -- also, just because CTRL-Insert doesn't do anything on mine doesn't mean it's not true on other people's machines, I guess.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sun 26 Apr 2009, 03:39    Post subject:  

Your welcome Miriam. Yes the copy and past commands are wrong...the way you suggest works.

I think the reason you cant edit it is because its archived now.

We need a new wiki page with this information on it Wink

Heres another one

gcompris >> errors.txt

This redirects errors from the command line when running a program to a nice text file, that can be posted on the forum.

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
miriam


Joined: 06 Dec 2006
Posts: 268
Location: Queensland, Australia

PostPosted: Sun 26 Apr 2009, 10:05    Post subject:  

Yes, redirection can be incredibly useful. A single ">" will redirect normal output to a file, but as you point out ">>" is often much more useful because it appends to the text file instead of overwriting it.

If you want to catch error messages then "2>" or "2>>"can be useful. They catch the standard error (stderr) output (for example cp -R fromdir todir 2>> errors.txt backs up fromdir giving you a list of only those files that didn't copy).

One of the best pieces I've seen on redirection is at:
http://www.linfo.org/redirection.html

Another wiki for Puppy would be great. Is there one? This forum is terrific, but finding data can be difficult. It relies almost completely on people noticing a post and replying, which in turn depends upon posting time and selecting a good subject name.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 26 Apr 2009, 14:03    Post subject:  

miriam wrote:
Another wiki for Puppy would be great. Is there one?


wiki as a book
http://en.wikibooks.org/wiki/Puppy_Linux

ye olde wiki
http://pupweb.org/wikka/PuppyLinuxMainPage

puplets wiki
http://linux.wikia.com/wiki/Puppy_Linux

wikipedia
http://en.wikipedia.org/wiki/Puppy_Linux

doku Puppy wiki
http://puppylover.netsons.org/dokupuppy/doku.php/programs:browser

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sun 26 Apr 2009, 16:05    Post subject:  

The wikis generally need updating Miriam, would be great if you would do a bit of work tidying them up.

Predefined bookmarks in puppy browsers to these locations would be a great help for new users.

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
miriam


Joined: 06 Dec 2006
Posts: 268
Location: Queensland, Australia

PostPosted: Mon 27 Apr 2009, 04:27    Post subject:  

Thanks for the list Lobster.

Ecomoney, I may have a bit of time soon, in a month or two after I finish a blender3D project (using Puppy!). I'll put it on my list of things to have a go at.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Mon 27 Apr 2009, 10:52    Post subject:  

Wow a filmmaker! Remember to put www.puppylinux.org in the credits, and post a link here for us all to see.
_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
miriam


Joined: 06 Dec 2006
Posts: 268
Location: Queensland, Australia

PostPosted: Mon 27 Apr 2009, 13:50    Post subject:  

While I have made some short films before that isn't what I'm doing with Puppy and Blender. I'm making a story that plays out inside a 3D world. It is a bit hard to explain, but imagine being able to step inside a film... it will (hopefully) be a little like that (though less realistic of course). You can read more about it on my site at
http://miriam-english.org/articles/VR-fiction2.html

And yes, Puppy will definitely be in the credits. Very Happy
I'll be posting everywhere I can think of when it is done. It will be freely downloadable and opensource.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0684s ][ Queries: 11 (0.0042s) ][ GZIP on ]