LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-27-2004, 11:27 PM   #1
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
gnome desktop for all users?


Is there a directory where I can place one particular shortcut available to all the users in gnome desktop?
 
Old 10-29-2004, 11:08 AM   #2
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
bump
 
Old 12-17-2008, 12:34 AM   #3
LaughingBoy
Member
 
Registered: May 2006
Location: Adelaide, South Australia
Distribution: Fedora 6-17 x64 / Ubuntu 10.x x64
Posts: 95

Rep: Reputation: 16
Question Revival

I'm keen to know this too.

Where does one put a Desktop shortcut (only really interested in Gnome - RHEL and Fedora systems) such that it appears on all users desktops?

Thanks in advance,

L.B.
 
Old 12-17-2008, 01:10 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I think you would have to add it to the stock desktop before you added the users. I cannot remember where that is stored at the moment.

Edit: I knew I had seen this topic before but I did not catch how old this thread was.

Last edited by lazlow; 12-17-2008 at 01:22 AM.
 
Old 12-17-2008, 01:11 AM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Crikey, that's an old post to dig up.

Why don't you simply put a link in each ~/Desktop? Write simple loop, something like (not tested):
Code:
for i in  /home/*; do ln -s target_here $i/Destop/link_name; done
 
Old 12-18-2008, 01:35 AM   #6
LaughingBoy
Member
 
Registered: May 2006
Location: Adelaide, South Australia
Distribution: Fedora 6-17 x64 / Ubuntu 10.x x64
Posts: 95

Rep: Reputation: 16
Cheers Billy.

Yes, it's an old post, but I was trying to do the right thing by searching before posting, and this was the closest I could come up with.

As for the linking loop - that's close to what we came up with, except it doesn't permit each user to delete if they want to, so we had to su $i first.

I was just wondering if there was an "all users" location for a simple "cp" operation instead.

I'm guessing no?

L.B.
 
Old 12-18-2008, 01:47 AM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Are all your users in the same group? You could just run a similar loop with "chgrp users" or whatever
 
Old 12-18-2008, 02:25 AM   #8
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
You have a directory "/etc/skel" which contains all files and directories for new user home, I think you just have to add a "Desktop" subdir with the proper links. Then the new users you'll create will have the links on their desktop.
 
Old 12-18-2008, 08:24 AM   #9
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by LaughingBoy View Post
I was just wondering if there was an "all users" location for a simple "cp" operation instead.
/etc/rc.local is run after all other startup scripts are executed.
/etc/bashrc is executed as part of a user's bash login.
 
Old 12-18-2008, 10:10 AM   #10
nooneknowme
Member
 
Registered: Feb 2008
Location: Bangalore, India
Posts: 69

Rep: Reputation: 5
interesting question.
i googled arnd and found the following directories which i found to be promissing. Not sure though ( Dont have a *nix system to check at present. Do try the following dirs'
Quote:
Menus are specified by ".desktop" files located in one of the following directories:
/usr/share/gnome/apps/
/etc/X11/applnk/
/usr/share/applnk/
$HOME/.gnome/apps/ (Private menues)
i know it can be done through the last one, but that wont be fun. Try the other 3 directories

forgot to add a link to the source site where i got the info

Last edited by nooneknowme; 12-18-2008 at 10:11 AM. Reason: Adding information
 
  


Reply



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
KDE Gnome Desktop Menu Edits (right click on desktop) jdier Linux - Software 11 08-03-2006 05:05 AM
Loss of desktop functionality after setting new desktop from firefox in fc2/gnome. dr_zayus69 Linux - Software 3 03-09-2005 09:29 AM
How to set a Gnome theme as default for all users and future users ? MDesigner Linux - Newbie 1 06-28-2004 11:12 AM
Create standard desktop for all users in Gnome and KDE omICron Linux - Newbie 2 05-28-2004 02:11 PM
CD-ROM.desktop on KDE desktop / mounting drives as users theabyyss Linux - General 2 02-22-2002 09:07 PM

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

All times are GMT -5. The time now is 09:28 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
Open Source Consulting | Domain Registration