Fix references to user profile directory.

pull/1/head
Darrell Anderson 12 years ago
parent 6e76ea6798
commit 1c31749c85

@ -1146,7 +1146,7 @@ necessary.</para>
to talk to &knewsticker; but you can use it if you modified the to talk to &knewsticker; but you can use it if you modified the
configuration file by hand.</para> configuration file by hand.</para>
<tip><para>The configuration file is saved in <tip><para>The configuration file is saved in
<filename>~/.kde/share/config/knewsticker_appletrc</filename></para></tip> <filename>~/.trinity/share/config/knewsticker_appletrc</filename></para></tip>
<para>Example:</para> <para>Example:</para>
<screen width="40"> <screen width="40">
<prompt>%</prompt> <userinput><command>dcop</command> <option>knewsticker</option> <option>KNewsTicker</option> <option>reparseConfig</option></userinput> <prompt>%</prompt> <userinput><command>dcop</command> <option>knewsticker</option> <option>KNewsTicker</option> <option>reparseConfig</option></userinput>

@ -912,11 +912,11 @@ Shortcuts...</guimenuitem></menuchoice>.</para></tip>
<para>The emoticons are easy to install - you just place a directory containing <para>The emoticons are easy to install - you just place a directory containing
the icon files along with an XML file describing the mapping from text to picture in the icon files along with an XML file describing the mapping from text to picture in
$TDEDIR/share/apps/kopete/pics/emoticons (or $TDEHOME, for example, in /home/joeuser/.kde/).</para> $TDEDIR/share/apps/kopete/pics/emoticons (or $TDEHOME, for example, in /home/joeuser/.trinity/).</para>
<orderedlist> <orderedlist>
<listitem><para>Copy the extracted directory to $TDEDIR/share/apps/kopete/pics/emoticons or <listitem><para>Copy the extracted directory to $TDEDIR/share/apps/kopete/pics/emoticons or
$HOME/.kde/share/apps/kopete/pics/emoticons (or wherever $TDEHOME is)</para></listitem> $HOME/.trinity/share/apps/kopete/pics/emoticons (or wherever $TDEHOME is)</para></listitem>
<listitem><para>Select Configure &kopete; from the Settings menu and click on Appearance in the left panel of the Preferences window and click on the Emoticons tab</para></listitem> <listitem><para>Select Configure &kopete; from the Settings menu and click on Appearance in the left panel of the Preferences window and click on the Emoticons tab</para></listitem>
<listitem><para>Select the emoticons set you just installed from the list</para></listitem> <listitem><para>Select the emoticons set you just installed from the list</para></listitem>
<listitem><para>Now you can use the newly installed emoticons in &kopete;</para></listitem> <listitem><para>Now you can use the newly installed emoticons in &kopete;</para></listitem>

@ -11,7 +11,7 @@ the <userinput><option>-r</option>
<replaceable>rule_file</replaceable></userinput> command line option to &kppp; <replaceable>rule_file</replaceable></userinput> command line option to &kppp;
and must be installed in <filename and must be installed in <filename
class="directory">${TDEDIR}/share/apps/kppp/Rules</filename> or in <filename class="directory">${TDEDIR}/share/apps/kppp/Rules</filename> or in <filename
class="directory">${HOME}/.kde/share/apps/kppp/Rules</filename> before you will class="directory">${HOME}/.trinity/share/apps/kppp/Rules</filename> before you will
be able to select it in this dialog.</para> be able to select it in this dialog.</para>
<programlisting> <programlisting>

@ -279,7 +279,7 @@
This option is most useful when searching for the special network name This option is most useful when searching for the special network name
<quote>any</quote>. In this mode, the card will log into any network it finds. The <quote>any</quote>. In this mode, the card will log into any network it finds. The
logfile's position is <filename class="directory" logfile's position is <filename class="directory"
>$<envar>HOME</envar>/.kde/share/apps/kwifimanager/wireless-log</filename> >$<envar>HOME</envar>/.trinity/share/apps/kwifimanager/wireless-log</filename>
</para> </para>
</sect3> </sect3>
<sect3> <sect3>

@ -584,7 +584,7 @@ MaxPingsAtOnce = 256 #send up to 256 ICMP echo requests at on
<term><option>-k</option>, <option>--kde1</option></term> <term><option>-k</option>, <option>--kde1</option></term>
<listitem> <listitem>
<para>Search first for <para>Search first for
<filename>$<envar>HOME</envar>/.kde/share/config/lisarc</filename>, then <filename>$<envar>HOME</envar>/.trinity/share/config/lisarc</filename>, then
for for
<filename>$<envar>TDEDIR</envar>/share/config/lisarc</filename>.</para> <filename>$<envar>TDEDIR</envar>/share/config/lisarc</filename>.</para>
</listitem> </listitem>

@ -65,7 +65,7 @@ public:
/** /**
* Get the style path. * Get the style path.
* The style path points to the directory where the style is located. * The style path points to the directory where the style is located.
* ex: ~/.kde/share/apps/kopete/styles/StyleName/ * ex: ~/.trinity/share/apps/kopete/styles/StyleName/
* *
* @return the style path based. * @return the style path based.
*/ */

@ -41,7 +41,7 @@ namespace Kopete
* You can only use an TQImage and a image path to create/update * You can only use an TQImage and a image path to create/update
* the picture. * the picture.
* If the picture doesn't exist as a file, it generate a local * If the picture doesn't exist as a file, it generate a local
* copy into ~/.kde/share/apps/kopete/metacontactpicturecache * copy into ~/.trinity/share/apps/kopete/metacontactpicturecache
* *
* This class is implicitly shared, so don't use it as a pointer. * This class is implicitly shared, so don't use it as a pointer.
* *

@ -45,7 +45,7 @@ void HistoryPlugin::convertOldHistory()
TQString kopetedir=locateLocal( "data", TQString::fromLatin1( "kopete")); TQString kopetedir=locateLocal( "data", TQString::fromLatin1( "kopete"));
TQDir d( kopetedir ); //d should point to ~/.kde/share/apps/kopete/ TQDir d( kopetedir ); //d should point to ~/.trinity/share/apps/kopete/
d.setFilter( TQDir::Dirs ); d.setFilter( TQDir::Dirs );

@ -255,7 +255,7 @@ void AccountingSelector::setupTreeWidget() {
tl->setColumnWidth(0, 205); tl->setColumnWidth(0, 205);
tl->setRootIsDecorated(true); tl->setRootIsDecorated(true);
// look in ~/.kde/share/apps/kppp/Rules and $TDEDIR/share/apps/kppp/Rules // look in ~/.trinity/share/apps/kppp/Rules and $TDEDIR/share/apps/kppp/Rules
TQStringList dirs = KGlobal::dirs()->resourceDirs("appdata"); TQStringList dirs = KGlobal::dirs()->resourceDirs("appdata");
for (TQStringList::ConstIterator it = dirs.begin(); for (TQStringList::ConstIterator it = dirs.begin();
it != dirs.end(); it++) { it != dirs.end(); it++) {

@ -6,7 +6,7 @@ proc err { msg } {
puts stderr "[lindex $argv0 0]: $msg" puts stderr "[lindex $argv0 0]: $msg"
} }
foreach i [glob -nocomplain ~/.kde/share/apps/kppp/Log/*-199?] { foreach i [glob -nocomplain ~/.trinity/share/apps/kppp/Log/*-199?] {
if {[catch { set fin [open $i "r"] }]} { if {[catch { set fin [open $i "r"] }]} {
err "cannot open $i for reading" err "cannot open $i for reading"

@ -43,9 +43,9 @@ open_ksirc::open_ksirc
{ {
setCaption( i18n("Connect to Server") ); setCaption( i18n("Connect to Server") );
// check for existance of ~/.kde/share/apps/ksirc/servers.txt // check for existance of ~/.trinity/share/apps/ksirc/servers.txt
// if it don't exist use $TDEDIR/share/apps/ksirc/servers.txt // if it don't exist use $TDEDIR/share/apps/ksirc/servers.txt
// changes are written to ~/.kde/share/apps/ksirc/servers.txt // changes are written to ~/.trinity/share/apps/ksirc/servers.txt
TQString filename = locate("appdata", "servers.txt"); TQString filename = locate("appdata", "servers.txt");
serverFileParser::readDatafile( filename.ascii() ); serverFileParser::readDatafile( filename.ascii() );

@ -104,7 +104,7 @@ int serverFileParser::readDatafile( const char *fileName )
// Writes the data stored in the global variable to the server file, // Writes the data stored in the global variable to the server file,
// returns 1 if sucessful, takes a filename as an argument, uhh NOT. // returns 1 if sucessful, takes a filename as an argument, uhh NOT.
// we want to write it ~/.kde/share/apps/ksirc/servers.txt // we want to write it ~/.trinity/share/apps/ksirc/servers.txt
// //
int writeDataFile() int writeDataFile()

@ -382,7 +382,7 @@ For reslisa the file is named reslisarc instead lisarc.
-u, --unix search at first for $HOME/.lisarc, then -u, --unix search at first for $HOME/.lisarc, then
for /etc/lisarc, this is the default behaviour for /etc/lisarc, this is the default behaviour
-k, --kde1 search at first for $HOME/.kde/share/config/lisarc, -k, --kde1 search at first for $HOME/.trinity/share/config/lisarc,
then for $TDEDIR/share/config/lisarc then for $TDEDIR/share/config/lisarc
-K, --kde2 looks for the file lisarc in every directory -K, --kde2 looks for the file lisarc in every directory

@ -198,7 +198,7 @@ int main(int argc, char** argv)
"--kde1, --kde2 and --unix are not supported anymore.\n"\ "--kde1, --kde2 and --unix are not supported anymore.\n"\
"Lisa will always first look for $(HOME)/.lisarc , then for /etc/lisarc.\n"\ "Lisa will always first look for $(HOME)/.lisarc , then for /etc/lisarc.\n"\
"If your lisa configuration file was created using an older version of \n"\ "If your lisa configuration file was created using an older version of \n"\
"the KDE control center, copy the /root/.kde/share/config/lisarc to /etc and \n"\ "the KDE control center, copy the /root/.trinity/share/config/lisarc to /etc and \n"\
"then start lisa without any command line options.\n"<<std::endl; "then start lisa without any command line options.\n"<<std::endl;
return 0; return 0;
break; break;

@ -338,7 +338,7 @@ MyString NetManager::getConfigFileName()
/* else if (m_configStyle==KDE1CONFIGSTYLE) /* else if (m_configStyle==KDE1CONFIGSTYLE)
{ {
tmpFilename=getenv("HOME"); tmpFilename=getenv("HOME");
tmpFilename+=MyString("/.kde/share/config/")+tmpBase; tmpFilename+=MyString("/.trinity/share/config/")+tmpBase;
if (fileReadable(tmpFilename)) if (fileReadable(tmpFilename))
return tmpFilename; return tmpFilename;
tmpFilename=getenv("TDEDIR"); tmpFilename=getenv("TDEDIR");

@ -187,7 +187,7 @@ int main(int argc, char** argv)
"--kde1, --kde2 and --unix are not supported anymore.\n"\ "--kde1, --kde2 and --unix are not supported anymore.\n"\
"ResLisa will always first look for $(HOME)/.reslisarc , then for /etc/reslisarc.\n"\ "ResLisa will always first look for $(HOME)/.reslisarc , then for /etc/reslisarc.\n"\
"If your lisa configuration file was created using an older version of \n"\ "If your lisa configuration file was created using an older version of \n"\
"the KDE control center, copy the $(HOME)/.kde/share/config/reslisarc to $(HOME)/.reslisarc.\n"<<std::endl; "the KDE control center, copy the $(HOME)/.trinity/share/config/reslisarc to $(HOME)/.reslisarc.\n"<<std::endl;
break; break;
case 'c': case 'c':

Loading…
Cancel
Save