lorenzodelarocha / touchegg

Automatically exported from code.google.com/p/touchegg
0 stars 0 forks source link

Having trouble editing config file #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I just installed touchegg on my HP running Ubuntu 11.10.
It is working fine so far but I am having trouble with configuring it.  I 
edited the config file in /usr/share/touchegg but it doesn't update my 
settings.  I tried killing touchegg with "killall -9 touchegg", and it 
successfully killed it.  I then started touchegg back up but it still used the 
old settings.  I even tried restarting my computer but it still would not 
update.
Any idea of how to fix this?

Original issue reported on code.google.com by Aaronne...@gmail.com on 11 Feb 2012 at 11:05

GoogleCodeExporter commented 8 years ago
Hi!

This is the default configuration, the configuration for your user is in the 
path ~/.config/touchegg/touchegg.conf try to edit this file

Greetings!!

Original comment by jose.exposito89@gmail.com on 12 Feb 2012 at 12:07

GoogleCodeExporter commented 8 years ago
That file and folder are not there by default.  I copied the touchegg.conf from 
/usr/share/touchegg to there, performed some edits again, and saved it, then 
proceeded to do the restarts again, but it still was using the defaults.

Original comment by Aaronne...@gmail.com on 12 Feb 2012 at 12:15

GoogleCodeExporter commented 8 years ago
Yes, this file is there by default, and if it not exists, Touchégg creates it, 
as you can see in the Touchégg source code:

    // If the ~/.config/touchegg configuration file doesn't exist copy it
    if (!homeFile.exists()) {
        qDebug() << QDir::homePath() + HOME_CONFIG_FILE
                << " not found, copying config from "
                << USR_SHARE_CONFIG_FILE;
        QDir::home().mkdir(HOME_CONFIG_DIR);
        usrFile.copy(QDir::homePath() + HOME_CONFIG_FILE);
    }

    // Load the configuration into the QHash
    qDebug() << "Reading config from " << QDir::homePath() + HOME_CONFIG_FILE;
    this->initConfig(homeFile);

Try to run Touchégg in a terminal and paste here the output please. In 
addition, you can put here your configuration file to check errors.

Greetings!!

Original comment by jose.exposito89@gmail.com on 12 Feb 2012 at 12:40

GoogleCodeExporter commented 8 years ago

Original comment by jose.exposito89@gmail.com on 28 Feb 2012 at 4:50