TIPS & TRICKS

A home for all kinds of Puppy related projects
Post Reply
Message
Author
User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

TIPS & TRICKS

#1 Post by Aitch »

TIPS & TRICKS

I often see people post tips & tricks they've learnt that I think,
"Ooh yes, ...must save that"....
then it gets lost in the forum quagmire, as I can't locate/remember where it was
- guess I need a sticky flag or something, though I'm not an 'organised person' :oops:

Anyway Rob/ecomoney just posted this, so I'm going to use it as a starter, for a place to find these sort of usefuls:-

Tempestuous asked;
ecomoney,
please run this command
Code:
lspci -n

and post the results.
ecomoney wrote:I actually did "lspci -n >> pci.txt" which sends the results to a text file, which I opened and copied and pasted the results. A little trick I learnt.
See what I mean?

So if you have any interesting tips & tricks please post here, if it gets too disorganised maybe we can use peppy's upgraded well-minded search

http://www.wellminded.com/puppy/pupsearch.html

to break it down into categories?

[snuck my tip in there] :wink:

Please state if yours is puppyversion specific or across the board type tip/trick, if not obvious

Thanks, guys'n'gals

Aitch :)

MODS wasn't sure where to place this, so feel free to relocate as you wish :D

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#2 Post by Aitch »

and this

http://www.puppylinux.org/manuals/puppy ... and-tricks

and jb4x4's post here

http://www.murga-linux.com/puppy/viewtopic.php?t=27974

and EZPUP [WhoDo]

http://www.puppylinux.org/wiki/applicat ... /ezpuphelp

bash [klhrevolutionist/2005!!]

http://www.tuxhelper.info/

security [John Doe]

http://www.murga-linux.com/puppy/viewtopic.php?t=18639

security follow up [budden comments]

http://www.puppylinux.org/manuals/puppy ... omment-207

Hmm, - starting to get disorganised already [what did I say?]

@JohnM

Pity we don't have organisable/alphabetical sub-categories in this Forum, hint, hint :wink:

Aitch :)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#3 Post by 01micko »

Aitch,
As long as you know exactly how disorganised you are mate, you'll be right! :wink:

(some useful tips there)
Puppy Linux Blog - contact me for access

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#4 Post by ttuuxxx »

Sounds like a nice idea, here's a few icewm tips I've snipped from around the web :)
ttuuxxx
Attachments
icewmTips&Tricks.tar.gz
(7.01 KiB) Downloaded 494 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#5 Post by Lobster »

Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

Tips and Tricks

#6 Post by ecomoney »

Here is a hidden gem in the puppy wiki, I often refer to this now Im getting my head around the command line. It offers examples of scripts and useful functions, such as making an iso out of a cd amongst many others.

http://www.puppylinux.org/wiki/archives ... tsexamples

Im flattered such an innocuous post, has become a basis for a roundup of tips and tricks. I suppose if Ive learnt how to do anything technical with puppy linux over my past few years, its how to get help!!! :roll:

There is an art to being a newb....
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
Billwho?
Posts: 559
Joined: Tue 06 Dec 2005, 09:28
Location: still "In The Dog House" East Coast Oz
Trialing 4.20

tee

#7 Post by Billwho? »

A handy command I have found is the "tee" command ( I use it all the time with configure when compiling ). If you would like to be able to read the output of a command in the terminal and have a text file copy as well just use :

Code: Select all

 command -flags | tee command-output.txt 
Linux = Learning through doing :shock: :? :D
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#8 Post by amigo »

This link :
http://www.puppylinux.org/wiki/archives ... tsexamples

is really badly misnamed. The info there has nothing to do with bash scripting. It is, instead, a collection of handy CLI commands for accomplishing various tasks. I don't see anything about 'scripting' there. It is a misnomer to call command-line tools bash this or that, as they can also be run using any of several other shells.

Speaking of bash scripting would talk about things like shebangs, if statements, for and while loops, using brackets ([ or [[) to substitute for the 'test' command, command and variable substitution and other such subjects.

I don't mean to distract from the utility of such pages, but calling them by their correct name is a good place to start for organizing them. Tips and Tricks should probably be orgnaized according to categories which are easily understood by beginners and not alphabetically according to the name of the commands.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#9 Post by 01micko »

Here's one, most of you may know this.
Hit 'Tab' twice in a console or terminal and it will print every executable on your system. Handy to know what's there.
Puppy Linux Blog - contact me for access

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#10 Post by Aitch »

@Lobster

re: organise them here

Brilliant for Puppy 4.0 users

& the rest....? :wink:

Aitch :)

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#11 Post by Pizzasgood »

Tab also attempts to autocomplete when you're typing a path or command. If it can't decide, it will do as much as it can (if there are files name coolpizzapics and coolpizzafilms, and you type 'coo' and press tab, it will fill in the 'lpizza'). Then if you press tab a second time it will list the possibilities.

That's what's happening when you press it twice with no commands. It has no idea how to complete, so on the second press it lists all the options.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#12 Post by 01micko »

Pizzasgood wrote:Tab also attempts to autocomplete when you're typing a path or command. If it can't decide, it will do as much as it can (if there are files name coolpizzapics and coolpizzafilms, and you type 'coo' and press tab, it will fill in the 'lpizza'). Then if you press tab a second time it will list the possibilities.

That's what's happening when you press it twice with no commands. It has no idea how to complete, so on the second press it lists all the options.
There ya go! :wink: (read my sig, lol)
Puppy Linux Blog - contact me for access

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#13 Post by technosaurus »

Here is my favorite tip

`

and my second favorite

!

the first opens a terminal via ROX in the current folder
the second allows you to type one command in ROX

http://roscidus.com/desktop/
the ROX site has tons of amazing tips (especially for Puppy/puplet developers)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#14 Post by Pizzasgood »

If you add this to /root/.gtkrc.mine, you can change the keyboard shortcuts that ROX-Filer (and, I presume, some other GTK programs) use by hovering the pointer over the option and pressing the combo. I like to set [CTRL]-[D] for "Create New Directory" in ROX-Filer.

Code: Select all

gtk-can-change-accels = 1
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#15 Post by DaveS »

technosaurus wrote:Here is my favorite tip

`
Sweet and useful. I send myself an email containing my favourite bookmark links. Using that I can access web pages direct from my email program.
Spup Frugal HD and USB
Root forever!

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#16 Post by Lobster »

DaveS wrote:I send myself an email containing my favourite bookmark links.
Obvious useful tip

I exported my bookmarks
then clicked on the bookmarks.html created
selected all and copied
changed gmail to rich formatting
and pasted in

Many thanks :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

mow9902
Posts: 187
Joined: Wed 26 Nov 2008, 08:29

#17 Post by mow9902 »

Just a newbie - but I think this is a very useful suggestion. Wouldn't a wiki be a good platform to organize and host these tips ?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#18 Post by technosaurus »

I almost forgot - for firefox and seamonkey


about:config


turning off ipv6 can speed up web browsing and there are 100s of other tweaks you can make to turn off/on the annoying/nice things
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#19 Post by Flash »

In SeaMonkey, using Bookmarks -> Manage Bookmarks -> Tools -> Export you can make a file of all your bookmarks, which file can then be imported (via the same route) back into SeaMonkey (or, I think, Firefox and maybe other browsers.)

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Moving stuff out of save file to /mnt/home using symlinks

#20 Post by mcewanw »

Well, this is an ancient thread but temporarily I thought I'd add this weird tip (from another thread) here since I haven't arranged access to the wiki and the old tips and tricks thread from the wiki is no longer there anyway!
Moat wrote: trying to resolve the Firefox caching>savefile issue via drag/drop/symlink back has not been sucessful, as Firefox always annoyingly re-creates the entire ~/.Mozilla paths apon the next boot
Actually I found a solution to that problem, which I've used in many varieties of Puppy. Immediately after you do the drag/drop/symlink back step use the puppy menu to reboot (restart) the system (not shutdown). I do mean immediately... if you wait and shutdown and then restart, as you say Firefox recreates the entire ~/.mozilla paths. But if you restart immediately as I say, for some weird reason the symlink stays as desired...

The "losing symlink" behaviour seems to be a bug in Puppy, which could do with being tracked down and fixed in case it causes any other problems.
mcewanw
github mcewanw

Post Reply