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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-14-2005, 08:09 AM
|
#1
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Rep:
|
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?
|
|
|
03-14-2005, 08:19 AM
|
#2
|
Member
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298
Rep:
|
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 08:21 AM.
|
|
|
03-14-2005, 09:02 AM
|
#3
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Original Poster
Rep:
|
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?
|
|
|
03-14-2005, 09:11 AM
|
#4
|
Member
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298
Rep:
|
Quote:
Originally posted by 0pal_t0ad
as root, type ls -a /root
|
could you post the output please?
|
|
|
03-14-2005, 09:14 AM
|
#5
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Original Poster
Rep:
|
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:~#
|
|
|
03-14-2005, 09:25 AM
|
#6
|
Member
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298
Rep:
|
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'
|
|
|
03-14-2005, 09:50 AM
|
#7
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Original Poster
Rep:
|
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....
|
|
|
03-14-2005, 10:03 AM
|
#8
|
Member
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879
Rep:
|
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?
|
|
|
03-14-2005, 10:21 AM
|
#9
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Original Poster
Rep:
|
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,
|
|
|
03-14-2005, 10:24 AM
|
#10
|
Member
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298
Rep:
|
have you done the 'chown -R moderator /home/moderator/.firefox' part?
|
|
|
03-14-2005, 10:38 AM
|
#11
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|