LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   gdesklets auto start display file and without first screen prompt (https://www.linuxquestions.org/questions/linux-desktop-74/gdesklets-auto-start-display-file-and-without-first-screen-prompt-743812/)

nvadekar 07-29-2009 10:54 PM

gdesklets auto start display file and without first screen prompt
 
I am trying to edit the ~/.gdesklets/registry/config.db file to autostart a custom display after a new desktop deployment on first login. there are several issues/questions that arise out of this effort.

1) what causes the config.db to become config-*.db as that at times confused my effort use scripts to modify the config.db file.

2) how can i turn off the initial fist display welcome screen that says it only displays once? I do not see any relevant option to configure the the config.db pickle.

3) how can I determine or control the S'id12481538829742117' for example ID number? I am using a script to edit the display position to keep my display file exactly where I want it to be, but some times there is more than one ID number even though I am only using one display with gdesklets, presumably since I am copying a preconfigured config.db file to the newly deployed desktop and on first start, gdesklets generates a new id number to control my display. I need the pre delivered config file to use the correct id number. following is an example startup script for gdesklets so you can see what I am referring to.




#!/bin/bash

# Edit configuration to always show in the bottom right
/usr/bin/sed -i -e "s/^(I.*/(I$[`xrandr | grep "*" | sed -e "s/x/ /" |awk '{ print $1 }'`-560]/" -e "s/^I.*/I$[`xrandr | grep "*" | awk '{ print $4 }'`-165]/" ~/.gdesklets/registry/config.db

# Start gdesklets
/usr/bin/gdesklets --no-tray-icon

Thanks,

Neal


All times are GMT -5. The time now is 05:39 PM.