LinuxQuestions.org
Help answer threads with 0 replies.
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-28-2004, 12:27 AM   #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, 12:08 PM   #2
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
bump
 
Old 12-17-2008, 01: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, 02:10 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

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 02:22 AM.
 
Old 12-17-2008, 02: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, 02: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, 02: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, 03: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, 09:24 AM   #9
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
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, 11: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 11:11 AM. Reason: Adding information
 
  


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


All times are GMT -5. The time now is 06:30 AM.

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