| Author |
Message |
dejan555

Joined: 30 Nov 2008 Posts: 2407 Location: Montenegro
|
Posted: Fri 05 Feb 2010, 05:51 Post subject:
|
|
I see which command mentioning
To open script that's in executable path in geany:
| Code: |
geany `which defaultpaint`
|
To change default paint application from command line I use sed which is powerfull text stream editor:
| Code: |
sed -i 's/mtpaint/gimp/' /usr/local/bin/defaultpaint
|
These are not some commands that only I know really, they're widely known but I find myself using them recently in puppy related file operations. Maybe I digg some more practical scripts.
_________________

|
|
Back to top
|
|
 |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Fri 05 Feb 2010, 11:41 Post subject:
really simple link |
|
I hope that everyone using Puppy has figured out that you don't want to download ISO images, etc. into the virtual file system in RAM, when it is easy to download them to a separate directory on the device mounted as /mnt/home. (I use /mnt/home/downloads.)
Note: when you are running from CD without using a pup-save file there will not be a home partition. Reboot and save to a file, and the partition used will be mounted as /mnt/home.
When you get tired of clicking on filesystem, then /mnt, then home, then downloads, to use downloaded files, you can put a symbolic link which will take you directly to /mnt/home in your /root directory like this: | Code: | | ln -s /mnt/home /root/home | You can also link directly to the downloads directory (folder). | Code: | | ln -s /mnt/home/downloads /root/downloads |
If you are running several different puplets on one machine (at different times), they can all use the same downloads directory, provided the partition it is on is mounted in each of them.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Mon 08 Feb 2010, 19:39 Post subject:
|
|
Cleaner Leaner Puppy? - yep it is possible . . . and simple
go to
Menu / System / Bootmanager configure bootup
(that is the right click on desktop or bottom left click)
then . . . Manage System Services
Use Help to sort out what to do
My config:
I never print (turned off CUPS Deamon)
SLmodems - no thank you
syslogger - m m m . . . may use in bug reporting (decided it could go)
Firewall - kept that even though router has one
Hardware hotplug - yep need that for USB
I am using 4.3.2 Experimental (Woof build) but this should be in Puppy 4.3.1 - maybe earlier and puplets too
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
ken geometrics
Joined: 23 Jan 2009 Posts: 76 Location: California
|
Posted: Mon 08 Feb 2010, 22:40 Post subject:
|
|
| sc0ttman wrote: | yes, this thread is a good idea...
I have no real tips, other than something i learned recently..
to get and use variables from files in bash or the terminal, type
| Code: | . /path/to/FILENAME
echo $VAR |
this will show 'hello' if the file called FILENAME above contains |
You can combine this with the fact that the "env" command lists all the current variables to make a simple way to save all the current values of your variables from one run of a script to the next. The simplest way to do this is to make all your variables have some unlikely string in their names:
env | grep _QJXV_ >saved.config
In english "_QJXV_" is very unlikely.
|
|
Back to top
|
|
 |
ecomoney

Joined: 25 Nov 2005 Posts: 2183 Location: Lincolnshire, England
|
Posted: Tue 09 Feb 2010, 02:40 Post subject:
|
|
Playing flash videos full screen with no stutter/crashes
Flash is a buggy, bloated PITA. There is a trick however...
Many flashplayers on movie streaming sites use the /tmp directory to "buffer" their video streams. The VLC player can play these directly. First you need the VLC player
http://www.murga-linux.com/puppy/viewtopic.php?t=31890
Simply go to the streaming website and start the stream playing, then immediately hit the pause button, and minimize your browser. Next open ROX and navigate down the directory tree using the up arrow in the top left of the window. Go into the /tmp directory and you will notice some video files with wierd alphanumeric names. Clicking on them will open them in VLC, from which you can "seek" through the video and play them in full screen.
Things should be much improved when sites start using the new html5 video standard in firefox 3.6.
_________________ Puppy Linux's Mission
Sorry, my server is down atm!
|
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3620 Location: around the bend
|
Posted: Tue 09 Feb 2010, 02:45 Post subject:
|
|
have been opening saved files for reading later one-by-one. now i find i can select a multiple of them and drag it to opera and they all will open in separate tabs.
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3669 Location: UK
|
Posted: Tue 09 Feb 2010, 04:14 Post subject:
|
|
Use Seamonkey Composer to create an HTML document that is basically a list of bookmarks. Call it SpeedDial or something similar, then set it as you Seamonkey home page. Switching to it gives you a page that works like Opera Speed dials. Set Seamonkey to load it on startup, and you are done..........
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6181 Location: Auckland, New Zealand
|
Posted: Tue 09 Feb 2010, 04:32 Post subject:
|
|
I don't know about Seamonkey, but in Firefox (at least old versions) the bookmarks are stored in an html file, so you could simply use your bookmarks as your homepage.
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3669 Location: UK
|
Posted: Tue 09 Feb 2010, 04:46 Post subject:
|
|
| disciple wrote: | | I don't know about Seamonkey, but in Firefox (at least old versions) the bookmarks are stored in an html file, so you could simply use your bookmarks as your homepage. |
Sure you can, and Seamonkey works the same, but creating a whole new page allows a different set of bookmarks, effectively increasing instant access.
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2407 Location: Montenegro
|
Posted: Tue 09 Feb 2010, 04:59 Post subject:
|
|
I was trying to find some good php bookmarks manager to use with hiawatha and php or put on my site but can't find a good one.
Oh, btw, you can make bookmarks page in pplog
_________________

|
|
Back to top
|
|
 |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Tue 09 Feb 2010, 10:32 Post subject:
Firefox bookmarks |
|
| disciple wrote: | | I don't know about Seamonkey, but in Firefox (at least old versions) the bookmarks are stored in an html file, so you could simply use your bookmarks as your homepage. | Current Firefox 3.5+ uses something called JSON natively, but you can easily export your bookmarks to an HTML file, which you can edit with Seamonkey composer.
It's a good idea to back up your bookmarks in a portable format, to protect yourself from crashes, or lock-in to a particular browser. (You may trust Mozilla or Google today, but suppose tomorrow they sell out to the evil empire of Redmond.)
Back in the bronze age, when I was running SuSE 5.8 over copper dial-up lines, I created a local homepage to avoid waiting for the ISP to give me access to their view of the Internet. This also allowed easy switches between different browsers, since all use HTML. Use internal bookmarks for quick links to current things, but edit your old standbys into an HTML page. This gives you the ability to organize links by your own categories, include images to remind you, etc.
You are not limited to fitting everything on one page, or a fixed number of categories, as in "speed dial". There is no reason you can't have multiple, linked, local web pages, each devoted to a particular category, and index them with your primary home page. Access is virtually instantaneous.
You may even discover you can go all the places you want on the Internet without ever using Google, Yahoo!, Ask or bing.
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Tue 09 Feb 2010, 11:19 Post subject:
|
|
here's something I wrote to save the seamonkey bookmarks and strip off the "extra"code to leave just the active link
so it is very easy to manage the new index for a number of uses
if you look at the original seamonkey index it's clean to view
but it saves extra code not needed if you plan to share bookmarks
or post download links
its just a one click auto build the index and display it script
two files are auto generated without editing your original bookmarks
and auto opens for viewing
a clean url list
/root/bookmarks_stripped.txt
a clean working index for any browser
/root/new_index_list
http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=19665
Joe
_________________ slackware 14
|
|
Back to top
|
|
 |
itzme
Joined: 28 Jan 2010 Posts: 15
|
Posted: Thu 11 Feb 2010, 04:58 Post subject:
Wbar refresh in XFCE Subject description: making wbar auto restart after changing wallpaper in XFCE Desktop settings |
|
I only just spotted this thread, I should have posted my simple trick here, maybe a mod could move it here and delete this post, anyway here is my trick........http://murga-linux.com/puppy/viewtopic.php?t=52415
|
|
Back to top
|
|
 |
itzme
Joined: 28 Jan 2010 Posts: 15
|
Posted: Thu 11 Feb 2010, 06:51 Post subject:
Foxitreader Help File Subject description: Getting Foxitreader help file to work |
|
I recently installed Foxitreader and found that it couldn't find the help file when run from the menu, but if it was run directly from "/usr/bin " it functioned correctly, I found that if I made a link to " /usr/bin/fum.fhd " and placed it in" /root " it worked normally from the menu list.
hope that's helpful
|
|
Back to top
|
|
 |
toowoombalinux
Joined: 15 Feb 2010 Posts: 74
|
Posted: Mon 15 Feb 2010, 20:33 Post subject:
Subject description: Opening a Port in your firewall |
|
G'day,
| Code: | iptables -A INPUT -i eth1 -p tcp --sport 2234 -m state --state ESTABLISHED -j ACCEPT
|
This opens the Port 2234 for my Wireless (eth1) connection.
Cheers
Martin
_________________ Toowoomba Linux Community
http://groups.google.com/group/toowoombalinux
Puppy Linux 301 - KDE 3.5.8
|
|
Back to top
|
|
 |
|