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 Thu 02 Oct 2014, 04:29
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Creating new desktop items
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
SkullyRipz

Joined: 02 Mar 2012
Posts: 24

PostPosted: Fri 02 Mar 2012, 13:01    Post_subject:  Creating new desktop items
Sub_title: How do I create a new executible desktop item?
 

I'm very new to unix but am catching on quickly. I recently installed Puppy LInux onto my computer and am learning how to install new pups.

I have installed the firefox 4.0 web browser and am able to access it through the shell or through file. What i would like to do is create a desktop icon for it. I would also like to make it my default browser. How do I go about doing this? Is there any advice or resources that could point me in the right direction? Also am i able to remove seamonkey?

Any help or advice would be greatly appreciated. Thanks. =)
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2455
Location: near here

PostPosted: Fri 02 Mar 2012, 15:46    Post_subject:  

hi Cool

welcome to the Kennels

(firefox will have a menu entry too)
if your on puppy5 you can-


A) choose default browser from globe on the bottom left.

B) go to PuppyMenu > Setup > Setup Puppy > Default Programs Chooser

C) this works for any program with menu entry go to /usr/share/applications then drag the desire app to background

D) if the program hasn't got a menu entry you can drag its script or binary to background - often found in /usr/local/bin

are you frugally installed ?

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
SkullyRipz

Joined: 02 Mar 2012
Posts: 24

PostPosted: Fri 02 Mar 2012, 16:26    Post_subject:  

Thanks for the welcome.

Yes I am frugally installed. Followed the tutorial to partition the hard drive for puppy, linux swap and fat32 for win/linux shared files.

I am very unfamiliar with this being brought up in windows. I am teaching myself through the rute guide and through searching through forums.

Now I'm not sure what version of puppy I have. I downloaded the lastest version available. But in my menu | setup | setup puppy, I do not have an option of "defaults program chooser". I did find the defaultbrowser, however when I drag it into geany all I see is.

<#!/bin/sh
exec mozstart "$@">

I drag and drop mozstart and i get a lot of lines. I'm assuming I need to edit some of these lines to point to the default browser I would like to use. I'm just really not sure what paths I need to enter and what paths to leave alone.

I was however able to get it onto the desktop via dragging it from /usr/shar/applications. Thank you so much for your help. It is much appreciated.
Back to top
View user's profile Send_private_message 
Mercedes350se

Joined: 16 Apr 2008
Posts: 633

PostPosted: Sat 03 Mar 2012, 00:35    Post_subject:  

You should already have a "browse" icon on the desktop which will start a browser other than your desired Firefox.

Go into /usr/local/bin and right click on defaultbrowser>Open as Text then change mozstart to the correct Firefox file, save and you should be good to go.

The Firefox file will be the one you used to start it.

Regarding removing/replacing seamonkey with Firefox I thought there was a thread here:

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

but it seems to have gone.
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2455
Location: near here

PostPosted: Sat 03 Mar 2012, 10:06    Post_subject:  

Quote:
<#!/bin/sh
exec mozstart "$@">

I drag and drop mozstart and i get a lot of lines. I'm assuming I need to edit some of these lines to point to the default browser I would like to use. I'm just really not sure what paths I need to enter and what paths to leave alone.


the default program chooser may only be default on Polar Pup (which i'm using) - you are probably using Slacko you can check with the following command.
echo $PATH

Code:
source /etc/DISTRO_SPECS && echo "$DISTRO_NAME $DISTRO_VERSION"

see http://puppylinux.org/wikka/PuppyVersionInformation

have you tried replacing mozstart with firefox?

you can start binaries and scripts by just using there filename as long as their path has been added to PATH string

use the following code to see all those paths
Code:

echo $PATH

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Sat 03 Mar 2012, 11:55    Post_subject: Re: Creating new desktop items
Sub_title: How do I create a new executible desktop item?
 

SkullyRipz wrote:

Creating new desktop items


Quote:

Quote:

Example:

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

Note: the example is for window manager which is called "JWM".

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send_private_message 
SkullyRipz

Joined: 02 Mar 2012
Posts: 24

PostPosted: Sun 04 Mar 2012, 12:28    Post_subject:  

Got it to work by changing the defaultbrowser file to exec firefox rather than mozstart. Works great now.

Thank you everybody for your responses and advice. I really do appreciate it.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0629s ][ Queries: 11 (0.0053s) ][ GZIP on ]