Stwoo Stwoo slideshow slideshow slideshow slideshow slideshow slideshow

You are not logged in.

GallerybugX is developed because nokia messed up tracker, so that many users lost ability to "update" images and music, even messages and contacts.
This is due to error in tracker, and tracker would corrupt databases so that each section had to be reseted.

Since nokia never introduced fix for this, we had to make workaround because only solution was to reflash phone with removal of all data on device.
Luckily Ibrakhalifa from TMO claimed that old clean backup will fix problem, and yes, I asked for it, so, I've found that user-dirs.dirs are different in corrupted and in fixed version, so, I extracted file from his backup and made it sort-of available for all users...
But, there was need for slightly better version of it, easier to, I wrote this app.

/*code is released in intention to be useful.
it comes with no warranty of any kind.
Author can't be held for any damage that this code can cause.*/
#include <stdio.h>

const char *filex =
        "# This file is written by xdg-user-dirs-update\n"
        "# If you want to change or add directories, just edit the line you're\n"
        "# interested in. All local changes will be retained on the next run\n"
        "# Format is XDG_xxx_DIR=\"$HOME/yyy\", where yyy is a shell-escaped\n"
        "# homedir-relative path, or XDG_xxx_DIR=\"/yyy\", where /yyy is an\n"
        "# absolute path. No other format is supported.\n"
        "# \n"

int main(void)
    FILE * mFle;
    mFle = fopen("/home/user/.config/user-dirs.dirs", "w");
        if (mFle!=NULL)
            fwrite(filex, 1, strlen(filex), mFle);
            printf("there u go :D\n");
            printf("i failed due unknown reason :-O\n");
    return 0;

Since code is pretty much simple like this, I didn't wanted to complicate it any more with adding some things that don't really need to be there. Later on I find out that somewhere in /etc/ (/etc/xdg/) there's backup of this file, so...even this code could be simpler with cp
It's important to mention that file /home/user/user-dirs.dirs needs to be owned by user and not by root.
regards :D


you're using it at your own risk!!!
download: gallerybugx 0.0.1 armel deb

under construction
FreeBSD Apache Free DNS

under construction
In case you have problems with loading site try alternative version:
mobile version (under construction) | desktop version
Intel on Linux
21:47:33 up 6 days, 2:40, 1 user, load average: 0.01, 0.02, 0.00
Title: The Very First!
Hello WORLD!!! from my very first python-ba...
I've managed to set up web server with https://www...
Title: test-will -reedit
just test thingy...
let's see how it will look in preview :D
Title: Project: Turbulences
The Turbulences
This is project that I am working on for last few ...
crown of thorns.jpg
Copyright © wook, Stwoowerks 2012.
Sitemap | Top | AVG Report

Valid XHTML + RDFaValid CSS!