Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

update-profile-cache(1) [debian man page]

UPDATE-PROFILE-CACHE(1) 				      General Commands Manual					   UPDATE-PROFILE-CACHE(1)

NAME
update-profile-cache - (re)generate profile assignment cache SYNOPSIS
update-profile-cache DESCRIPTION
Running this script (re)generates the cache of profile assignments used by desktop-profiles. By default this script is run automatically once a day by a cron script. NOTE: No cache of assignments will be generated in cases where cache use isn't supported by desktop-profiles (at the moment caching pro- file assingments is only supported in the simple case when no group or command requirements are used for activation of profiles, i.e. when we have a static machine-wide profile assignment). FILES
/etc/desktop-profiles/*.listing - Files containing the metadata about installed profiles /etc/default/desktop-profiles - File containing default settings for this script AUTHOR
This manual page was written by Bart Cornelis <cobaco@skolelinux.no>. SEE ALSO
desktop-profiles(7), profiles-manager(1), list-desktop-profiles(1) desktop-profiles December 13, 2006 UPDATE-PROFILE-CACHE(1)

Check Out this Related Man Page

PATH2LISTING(1) 					      General Commands Manual						   PATH2LISTING(1)

NAME
path2listing - script facilitating the conversion to managing gconf configuration sources with desktop-profiles SYNOPSIS
path2listing [options] DESCRIPTION
This script takes a single gconf path file (the systemwide one, i.e. /etc/gconf/2/path, when not told otherwise) and reads through it in order to create an ordered list of known configuration sources (it will recurse into included path files when necessary). Using that ordered list it will then create a desktop-profiles_path2listing.listing file containing metadata for all known configuration sources, assigning a precedence value to each encountered configuration source so that: a) the order of sources is the same b) there is space between the precedence values of the various sources to allow for inclusion of additional profiles in the future. c) all mandatory sources have a positive precedence value, and all non-mandatory sources have a negative precedence value In addition to generating the desktop-profiles_path2listing.listing file, this script will also replace the converted path file by one that assumes that desktop-profiles manages all configuration sources (NOTE: a backup copy of all changed files is made, so you can always go back to the previous situation). OPTIONS
-d,--distance distance between the precedence values of each successive pair of configuration sources (defaults to 50), the idea being that you leave some space to insert future sources. -f, --file path file to convert (defaults to /etc/gconf/2/path) -h, --help display the help message -o, --output-file file to put the generated metadata in (defaults to /etc/desktop-profiles/desktop-profiles_path2listing.listing). If this file exists a backup copy will be made prior to overwriting it. --no-replace-file don't replace the path file we're converted with one assuming desktop-profiles manages activation FILES
/etc/gconf/2/path - systemwide gconf path file, default path file to convert /etc/desktop-profiles/desktop-profiles_path2listing.listing - default name for the file containing the generated metadata AUTHOR
This manual page was written by Bart Cornelis <cobaco@skolelinux.no>. SEE ALSO
desktop-profiles(7) desktop-profiles May 07, 2005 PATH2LISTING(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem in Running Script

Hi friends, i have written one small script named as "size.sh"..... while running its giving syntax error at line no 2: 'str=$' unexpected. How to run this file ??? please help me. file content is : ----------------------------- #!/bin/sh str=$( df -k | grep /usr/local)... (14 Replies)
Discussion started by: samfrance
14 Replies

2. UNIX for Dummies Questions & Answers

Trying to find a notebook or desktop with....

a preloaded version of linux/unix on it for a realtively low price. I am looking to spend anywhere from Free-$800. I want to make sure its upgradeable so after i learn linux/unix/scripting and one of the programming languages i can update things and make them better. Assembly is not a problem i can... (10 Replies)
Discussion started by: Corrail
10 Replies

3. UNIX for Dummies Questions & Answers

.profile problem using set -o vi

The “set -o vi” command won't run in the .profile. WHY? This has me puzzled as the problem seems to be too simple, but can't figure it out. Here's the info... Running... Generic sun4u sparc SUNW,Ultra-5_10 K shell Here's the .profile # Copyright (c) 2001 by Sun Microsystems, Inc. # All... (12 Replies)
Discussion started by: jimmyc
12 Replies

4. Shell Programming and Scripting

Issues in the Format in excel file generated from unix machine

Hi, I have generated a report that contains many columns and since I need ir in excel format.. I just renamed te file to excel as follows: cp vijay.txt vijay.xls I have just attached this spreadsheet in the mail and I am getting it to my mail id. But, in the output excel, the columns that... (10 Replies)
Discussion started by: Vijay06
10 Replies

5. Shell Programming and Scripting

CRON is not working perfectly

I scheduled a cron job to run @ 1:00 as follows , 00 01 * * * /app/cbf/CLIF/version-1.0.0.0/scripts/archival.sh Please find the archival.sh script. But cron is throwing a mail stating sqlplus command not found So can anybody suggest what might be the problem ??? (13 Replies)
Discussion started by: manas_ranjan
13 Replies

6. UNIX Desktop Questions & Answers

Wordpad or Notepad?

I am new to using UNIX and after uploading a new script to UNIX from Windows using FTP, the script doesn't always work. It seems this depends on the text editor I use and the transfer type. I understand all scripts should be transferred using ASCII, but can you advise which is the best text editor... (12 Replies)
Discussion started by: Heidi.Ebbs
12 Replies

7. Debian

error running firefox.desktop file

Hi, I installed the FF3 on my new Debian, and part of the installation guidance is to save a file named firefox.desktop on the desktop, which should act like a shortcut to the FF. The file content is: Name=Mozilla Firefox Browser Comment=lightweight browser based on mozilla Exec=firefox... (15 Replies)
Discussion started by: JonesD1
15 Replies

8. Homework & Coursework Questions

monitor log entries and send e-mail

I am stuck and worried. My assignment was due a day ago and I was too busy completing other assignments due during the same time. I worry that not completing this assignment will fail me. Need urgent help in completing the script asap. I dont want to sound pushy to get the answer but just wanted to... (10 Replies)
Discussion started by: vin8465
10 Replies

9. UNIX for Dummies Questions & Answers

Issue with variables via cronned script

I have script sourcing the profile of functional user like as below and my .profile for functional user has below entry now when i cron the script i am receiving the below error after execution, though i could see the output of variable when i do echo as below. can you tell me where... (11 Replies)
Discussion started by: Ariean
11 Replies

10. Shell Programming and Scripting

Need help in GREP command.....

Hi UNIX Gurus, I want to grep the WHERE clause mentioned in the SQL like below or from all the complez queries having this kind of logic. Basic intention is to check the record count impacted by the SQL (mentioned below). I am using this SQL, grep its where clause and creating another SELECT... (18 Replies)
Discussion started by: ustechie
18 Replies

11. UNIX Desktop Questions & Answers

Vintage unix

Hi, this my be a weird request but I'm wondering if it's possible to instill a vintage unix (like early 1980's) onto a laptop or desktop. If so how I would I go about downloading and installing? I'm mainly wanting to do this as an little porject and some funsies for me. Thanks. (11 Replies)
Discussion started by: dado00
11 Replies

12. OS X (Apple)

Moving Files Automatically

I'm looking to find/create a script so that when a download is complete, I can run the script in order for it to automatically move a file such as... 'example.avi' into my videos folder I'm a novice when it comes to scripting, any advice/help would be greatly appreciated! Thanks Andrew (10 Replies)
Discussion started by: abudis
10 Replies

13. UNIX Desktop Questions & Answers

HELP for my script

guys need help how to add user to my script. note: this is not a home work... I'm just self studying unix/linux programming. thanks in advance. and how can i add this script to the add user list below. dont know how to combine case and ifelse. if ; then read -p "Enter username : "... (10 Replies)
Discussion started by: JONATHAN0919
10 Replies

14. UNIX Desktop Questions & Answers

Upload file from desktop to UNIX server via putty

(12 Replies)
Discussion started by: Analabhatla
12 Replies

15. Windows & DOS: Issues & Discussions

How to hide ip address of the desktop?

How to hide the IP address of the desktop that I am using. Say for example each desktop will have its own IP address assigned. I want to hide the IP address of the desktop I am using so that nobody should able to find out the desktop that I am using with IP address. Regards, Maddy (12 Replies)
Discussion started by: Maddy123
12 Replies