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 Wed 17 Dec 2014, 17:47
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Please post your simple tricks you know but others don't
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 5 Posts_count   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: 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. Razz Maybe I digg some more practical scripts.

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
prehistoric


Joined: 23 Oct 2007
Posts: 1317

PostPosted: 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
View user's profile Send_private_message 
Lobster
Official Crustacean


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

PostPosted: Mon 08 Feb 2010, 19:39    Post_subject:  

Cleaner Leaner Puppy? - yep it is possible . . . and simple Smile

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
View user's profile Send_private_message Visit_website 
ken geometrics

Joined: 23 Jan 2009
Posts: 76
Location: California

PostPosted: 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
Code:
VAR=hello


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
View user's profile Send_private_message 
ecomoney


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

PostPosted: 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. Smile

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send_private_message Visit_website MSNM 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: 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
View user's profile Send_private_message Visit_website 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: 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
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6462
Location: Auckland, New Zealand

PostPosted: 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
View user's profile Send_private_message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: 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
View user's profile Send_private_message 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: 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. Sad

Oh, btw, you can make bookmarks page in pplog Very Happy

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
prehistoric


Joined: 23 Oct 2007
Posts: 1317

PostPosted: 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
View user's profile Send_private_message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: 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

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send_private_message 
itzme

Joined: 28 Jan 2010
Posts: 15

PostPosted: Thu 11 Feb 2010, 04:58    Post_subject: Wbar refresh in XFCE
Sub_title: 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
View user's profile Send_private_message 
itzme

Joined: 28 Jan 2010
Posts: 15

PostPosted: Thu 11 Feb 2010, 06:51    Post_subject: Foxitreader Help File
Sub_title: 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
View user's profile Send_private_message 
toowoombalinux

Joined: 15 Feb 2010
Posts: 95

PostPosted: Mon 15 Feb 2010, 20:33    Post_subject:
Sub_title: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 5 Posts_count   Goto page: Previous 1, 2, 3, 4, 5 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1417s ][ Queries: 12 (0.0494s) ][ GZIP on ]