change giftui directory

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

change giftui directory

#1 Post by klhrevolutionist »

I was wondering how to change the directory in which giftui uses to put music movies and everything
Last edited by klhrevolutionist on Thu 27 Oct 2005, 02:09, edited 3 times in total.

Bruce B

#2 Post by Bruce B »

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.

Bruce B

#3 Post by Bruce B »

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.

User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

you ever heard......

#4 Post by klhrevolutionist »

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

Bruce B

#5 Post by Bruce B »

> 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.

Bruce B

Re: you ever heard......

#6 Post by Bruce B »

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

Post Reply