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 20 Oct 2014, 21:17
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
change giftui directory
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Thu 14 Jul 2005, 03:45    Post subject:  change giftui directory  

I was wondering how to change the directory in which giftui uses to put music movies and everything
Last edited by klhrevolutionist on Wed 26 Oct 2005, 22:09; edited 3 times in total
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11129
Location: The Peoples Republic of California

PostPosted: Thu 14 Jul 2005, 09:30    Post subject:  

I don't know where giftui puts its files, because I've not used it.

However, they way I do it with common directories is with bash aliases.

Like this:

myapps='cd /root/my-applications'
hdc5='cd /mnt/hdc5'

If I have time tonight, I'll start a discussion on using and creating bash aliases.

Another very easy technique is to use ROX, find the directory, create ROX link by dragging and dropping the directory to the desktop.
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11129
Location: The Peoples Republic of California

PostPosted: Thu 14 Jul 2005, 17:51    Post subject:  

I'm sorry, I misunderstood your question. Duh.

I change directory locations quite often.

Take for example, Thunderbird. I want a common email location for all the installed OSes. I achieve this with links.

For an example, I could move the files in /root/.thunderbird say on /mnt/hda5/email.

Then I make a link like this.

ln -s /mnt/hda5/mail /root/.thunderbird

ln is for making links

-s says I want a soft link

/mnt/hda5/mail is the actual location of the directory

/root/.thunderbird is the name and location of the link that points to /mnt/hda5/mail

Linux is pretty flexible with things like this.
Back to top
View user's profile Send private message 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Thu 14 Jul 2005, 18:07    Post subject: you ever heard......  

You ever heard the story aboot the roof???
It's over your head, you lost me there bruce

what I did with realplayer is I took realplayers usr and placed it into /usr/
like you said was there more Confused
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11129
Location: The Peoples Republic of California

PostPosted: Thu 14 Jul 2005, 18:37    Post subject:  

> was there more?

Well yes, I think there is more (if you are not satisified with less), but it ain't in the instruction manual.

    * Copy (or make links) the nphelix* files from the RealPlayer/mozilla directory to your Firefox and Mozilla plugin directories.

    * I edit /etc/profile and add this line:

    export HELIX_LIBS=/usr/local/RealPlayer

    takes effect after reboot

    * type which realplay on the command line, if it doesn't display the location of realplay, that means that realplay is not in your path. Make a link
    ln -s /usr/local/RealPlayer/realplay /root/my-applications/bin/realplay

    * type which realplay again, if it doesn't show up, I guess I did something wrong.


Then test it on a reaplayer supported media file.
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11129
Location: The Peoples Republic of California

PostPosted: Thu 14 Jul 2005, 20:45    Post subject: Re: you ever heard......  

klhrevolutionist wrote:
You ever heard the story aboot the roof???
It's over your head, you lost me there bruce

what I did with realplayer is I took realplayers usr and placed it into /usr/
like you said was there more Confused


It is all simple sort of, in a way, I guess.

Everything in blue are my comments, everything in black is console input and output.

[~] is my custom prompt to replace #

I want to know where the program which is located


[~] which which

/usr/bin/which

I want to see the help for which

[~] which --help

BusyBox v0.60.5 (2004.09.18-02:04+0000) multi-call binary

Usage: which [COMMAND ...]

Locates a COMMAND.


I want to see the help for ls

[~] ls --help

BusyBox v0.60.5 (2004.09.18-02:04+0000) multi-call binary

Usage: ls [-1AacCdeFilnpLRrSsTtuvwxXhk] [filenames...]

List directory contents

Options:
    -1 list files in a single column
    -A do not list implied . and ..
    -a do not hide entries starting with .
    -C list entries by columns
    -c with -l: show ctime
    -d list directory entries instead of contents
    -e list both full date and full time
    -F append indicator (one of */=@|) to entries
    -i list the i-node for each file
    -l use a long listing format
    -n list numeric UIDs and GIDs instead of names
    -p append indicator (one of /=@|) to entries
    -L list entries pointed to by symbolic links
    -R list subdirectories recursively
    -r sort the listing in reverse order
    -S sort the listing by file size
    -s list the size of each file, in blocks
    -T NUM assume Tabstop every NUM columns
    -t with -l: show modification time
    -u with -l: show access time
    -v sort the listing by version
    -w NUM assume the terminal is NUM columns wide
    -x list entries by lines instead of by columns
    -X sort the listing by extension
    -h print sizes in human readable format (e.g., 1K 243M 2G )
    -k print sizes in kilobytes(default)


[~]

I want to know more about the file which. Note that It is a link to a file called busybox

[~] ls -l /usr/bin/which


lrwxrwxrwx 1 root root 12 Jun 8 15:31 /usr/bin/which -> /bin/busybox*

I want to see the help for ln

[~] ln --help

BusyBox v0.60.5 (2004.09.18-02:04+0000) multi-call binary

Usage: ln [OPTION] TARGET... LINK_NAME|DIRECTORY

Create a link named LINK_NAME or DIRECTORY to the specified TARGET

You may use '--' to indicate that all following arguments are non-options.

Options:
    -s make symbolic links instead of hard links
    -f remove existing destination files
    -n no dereference symlinks - treat like normal file
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0586s ][ Queries: 11 (0.0060s) ][ GZIP on ]