LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2005, 09:09 AM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
FireFox settings


After creating my new user I am trying to configure my firefox bookmarks,,,, I cant do anything, when I go to my shell:

su
I type my password.
then I go to my user dir

cd firefox
./firefox

the firefox loads as it was created on the root account, and thats how I want it to be through my new use, but I cant do that.... Why?
 
Old 03-14-2005, 09:19 AM   #2
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
as root, type ls -a /root
there might be a dir called .firefox, which would hold personal settings. if there is, just copy it over to /home/[newuser]/.firefox

then you might need to set the ownership of the dir and everything in it. try chown -R [newuser] /home/[newuser]/.firefox

*edit*

if there is no .firefox dir, it might be .mozilla, just look for anything to do with firefox, but it must be preceeded by a '.'

Last edited by 0pal_t0ad; 03-14-2005 at 09:21 AM.
 
Old 03-14-2005, 10:02 AM   #3
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
This is exactly what is going on, I have a folder called firefox-installer which is located under my /home/moderator/firefox-installer/firefox

on my root desktop I Have added the shortcut of firefix like this:

/home/moderator/firefox-installer/firefox and it works perfeclty when I load it, but when I login as with my user account(not root) it wont work(meaning I dont have my bookmarks and theme as its on my root):

I have changed the permission of the folder:

I typed this:

chown -R moderator /home/moderator/firefox-installer

and this is what I have now
Code:
root@Admin:/home/moderator# ls -l firefox-installer
total 14060
-rw-r--r--  1 moderator root     219 2005-02-25 20:30 browserconfig.properties
drwxr-xr-x  4 moderator root    4096 2005-03-14 03:59 chrome/
drwxr-xr-x  3 moderator root    4096 2005-03-14 03:59 components/
-rw-r--r--  1 moderator root   41433 2005-02-26 06:30 config.ini
drwxr-xr-x  5 moderator root    4096 2005-03-14 03:59 defaults/
drwxr-xr-x  2 moderator root    4096 2005-03-14 03:59 extensions/
-rwxr-xr-x  1 moderator root    6338 2005-02-25 20:30 firefox*
-rwxr-xr-x  1 moderator root 9778768 2005-02-25 20:30 firefox-bin*
-rwxr-xr-x  1 moderator root    1699 2005-02-26 06:30 firefox-installer*
-rwxr-xr-x  1 moderator root 1192940 2005-02-26 06:30 firefox-installer-bin*
drwxr-xr-x  2 moderator root    4096 2005-03-14 03:59 greprefs/
-rw-r--r--  1 moderator root    8976 2005-02-26 06:30 header.png
drwxr-xr-x  2 moderator root    4096 2005-03-14 03:59 icons/
-rw-r--r--  1 moderator root    3289 2005-02-26 06:30 install.ini
-rw-r--r--  1 moderator root   26615 2005-03-14 03:59 install.log
-rwxr-xr-x  1 moderator root  449428 2005-02-25 20:30 libmozjs.so*
-rwxr-xr-x  1 moderator root  177164 2005-02-25 20:30 libnspr4.so*
-rwxr-xr-x  1 moderator root  409468 2005-02-25 20:30 libnss3.so*
-rwxr-xr-x  1 moderator root  198152 2005-02-25 20:30 libnssckbi.so*
-rwxr-xr-x  1 moderator root   15272 2005-02-25 20:30 libplc4.so*
-rwxr-xr-x  1 moderator root    8240 2005-02-25 20:30 libplds4.so*
-rwxr-xr-x  1 moderator root  134188 2005-02-25 20:30 libsmime3.so*
-rw-r--r--  1 moderator root     476 2005-02-25 20:30 libsoftokn3.chk
-rwxr-xr-x  1 moderator root  419824 2005-02-25 20:30 libsoftokn3.so*
-rwxr-xr-x  1 moderator root  125824 2005-02-25 20:30 libssl3.so*
-rwxr-xr-x  1 moderator root  665424 2005-02-25 20:30 libxpcom.so*
-rwxr-xr-x  1 moderator root   94888 2005-02-25 20:30 libxpcom_compat.so*
-rwxr-xr-x  1 moderator root    7736 2005-02-25 20:30 libxpistub.so*
-rw-r--r--  1 moderator root    6423 2005-02-26 06:30 license.txt
-rwxr-xr-x  1 moderator root  236671 2005-02-25 20:30 mozilla-xremote-client*
drwxr-xr-x  2 moderator root    4096 2005-03-14 03:59 plugins/
-rw-r--r--  1 moderator root     335 2005-03-14 03:58 registry
drwxr-xr-x  7 moderator root    4096 2005-03-14 03:59 res/
-rwxr-xr-x  1 moderator root   10897 2005-02-25 20:30 run-mozilla.sh*
drwxr-xr-x  2 moderator root    4096 2005-03-14 03:59 searchplugins/
-rw-r--r--  1 moderator root   55809 2005-02-26 06:30 watermark.png
drwxr-xr-x  2 moderator root    4096 2005-02-26 06:30 xpi/
-rwxr-xr-x  1 moderator root  147500 2005-02-25 20:30 xpicleanup*
What else am i missing?
 
Old 03-14-2005, 10:11 AM   #4
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
Quote:
Originally posted by 0pal_t0ad
as root, type ls -a /root
could you post the output please?
 
Old 03-14-2005, 10:14 AM   #5
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by 0pal_t0ad
could you post the output please?
root@Admin:~# ls -a /root
./ .bash_history .gftp/ .kderc .thumbnails/
../ .cache/ .gnome/ .local/ .xine/
.DCOPserver_Admin_:0@ .config/ .gnome2/ .mailcap .xinitrc
.DCOPserver_Admin__0 .cpan/ .gnome2_private/ .mcop/ Desktop/
.ICEauthority .esd_auth .gnupg/ .mcoprc loadlin16c.txt
.Xauthority .firefox/ .gstreamer-0.8/ .mozilla/ loadlin16c.zip
.anjuta/ .fullcircle/ .gxine/ .qt/
.aspell.en.prepl .gconf/ .ispell_english .recently-used
.aspell.en.pws .gconfd/ .kde/ .themes/
root@Admin:~#
 
Old 03-14-2005, 10:25 AM   #6
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
if you type ls -a /root then ls /root, you'll notice that there's less dirs the second time, that's because the dirs preceeded by '.' are hidden and used to store user preferences. the one we're interested in is ".firefox". You need to copy it to your /home/moderator dir and change ownership with chown.
to copy it you need to use the cp command. i can't remember the syntax off the top of head unfortunately but i think it's something like 'cp -r /root/.firefox /home/moderator/.firefox' if that doesn't work read up on it using 'man cp'
 
Old 03-14-2005, 10:50 AM   #7
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
Ok this is driving me crazy I have almost changed everything to 777:

This is what I have now, I have also copied the .firefox from root into /home/moderator/

root@Admin:/home/moderator# ls -l .firefox
total 4
drwxrwxrwx 2 moderator root 4096 2005-03-14 05:32 plugins
root@Admin:/home/moderator#

...? this is insane....
 
Old 03-14-2005, 11:03 AM   #8
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Is this a problem? Isn't it just that the setting-file is different for user root and user moderator? couldn't you just export bookmarks to file and import them as the user? Same with the theme file?
 
Old 03-14-2005, 11:21 AM   #9
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
I did that, but somehow it wont allow me doing certain things, for example I have bookmarks toolbar folder and it wont appear no matter what... There is even one folder that I cant delete, I have tried installing it and reinstalling it again but it wont work,
 
Old 03-14-2005, 11:24 AM   #10
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
have you done the 'chown -R moderator /home/moderator/.firefox' part?
 
Old 03-14-2005, 11:38 AM   #11
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by 0pal_t0ad
have you done the 'chown -R moderator /home/moderator/.firefox' part?
Thanks guys got it working now..... somehow my bookmarks were corrupted so I deleted them rm import my bookmarks again, made my permission and it works now.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Retaining settings through Firefox upgrade DukieJF Linux - Newbie 4 11-13-2005 07:50 AM
font settings won't stay in firefox Cinematography Linux - Software 2 07-26-2005 08:36 PM
Firefox settings for multiple users ice_hockey Linux - Software 1 04-01-2005 08:06 AM
How to port over Firefox and Thunderbird Settings Mic Q SUSE / openSUSE 0 12-21-2004 07:47 AM
Firefox not saving any settings? carlosinfl Linux - Software 4 05-28-2004 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration