Project: sync tool

Chat about Linux in general
User avatar
catweazel
Level 19
Level 19
Posts: 9183
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Project: sync tool

Post by catweazel » Sat Oct 13, 2018 8:57 pm

Progress report

I've got a basic working shell going.

Image

Image

I'll make another report when there's been sufficient progress. Don't forget, I'm open to ideas and suggestions, as well as still not being convinced about the name (Touchwood, with a toad for an icon), so if you have a name suggestion then that's most welcome.

Cheers.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
BG405
Level 7
Level 7
Posts: 1850
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Project: sync tool

Post by BG405 » Sat Oct 13, 2018 9:47 pm

That looks really good so far on both dark and light themes. Could I be a bit cheeky though and ask how the program's label is presented for the titlebar to display? What I mean by this is did you set this explicitly or is it read from some config file? The reason I ask this is that sometimes incorrect program names show in the titlebar, in the course of my experimentation.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

User avatar
catweazel
Level 19
Level 19
Posts: 9183
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Project: sync tool

Post by catweazel » Sat Oct 13, 2018 9:55 pm

BG405 wrote:
Sat Oct 13, 2018 9:47 pm
That looks really good so far on both dark and light themes. Could I be a bit cheeky though and ask how the program's label is presented for the titlebar to display? What I mean by this is did you set this explicitly or is it read from some config file? The reason I ask this is that sometimes incorrect program names show in the titlebar, in the course of my experimentation.
You can be cheeky, several others have been today :)

Code: Select all

#include "mainwindow.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;

    w.setWindowTitle("Touchwood");
    w.show();
    return a.exec();
}
I use a non-translatable string and explicitly set it in main().
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
catweazel
Level 19
Level 19
Posts: 9183
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Project: sync tool

Post by catweazel » Sat Oct 27, 2018 4:07 am

BG405 wrote:
Sat Oct 13, 2018 9:47 pm
That looks really good so far on both dark and light themes.
Progressing slowly...

Image
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
BG405
Level 7
Level 7
Posts: 1850
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: Project: sync tool

Post by BG405 » Sat Oct 27, 2018 4:44 pm

That looks really good. Would fit in well with my KDE theme too.

Also, thanks for your previous post; sorry meant to reply before. Busy on here, isn't it!
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

Mintymandy34
Level 4
Level 4
Posts: 377
Joined: Mon Feb 11, 2019 10:57 pm

Re: Project: sync tool

Post by Mintymandy34 » Thu Mar 14, 2019 7:18 pm

gm10 wrote:
Thu Mar 14, 2019 5:25 am
Not sure I understand, for I know you can do GUI. You mean for Python/Gtk now?
catweazel wrote:
Sat Oct 27, 2018 4:07 am
Progressing slowly...

Image
Wow, didn't know about Chronicle, it looks promising. :)
Where can I find more info about it?
And how many more tools are you keeping in that small arsenal of yours? :D
Thank you both. :)

User avatar
catweazel
Level 19
Level 19
Posts: 9183
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Project: sync tool

Post by catweazel » Fri Mar 15, 2019 1:50 am

Mintymandy34 wrote:
Thu Mar 14, 2019 7:18 pm
Wow, didn't know about Chronicle, it looks promising. :)
Where can I find more info about it?
And how many more tools are you keeping in that small arsenal of yours? :D
Thank you both. :)
It's had a name change and the UI has been completely redone several times, but it's currently on the back-burner for a while. I haven't had time to return to it in the last 6 weeks or so.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

Mintymandy34
Level 4
Level 4
Posts: 377
Joined: Mon Feb 11, 2019 10:57 pm

Re: Project: sync tool

Post by Mintymandy34 » Fri Mar 15, 2019 2:12 am

catweazel wrote:
Fri Mar 15, 2019 1:50 am
It's had a name change and the UI has been completely redone several times, but it's currently on the back-burner for a while. I haven't had time to return to it in the last 6 weeks or so.
Thanks for the information. :)
And thank you for working on this.
I'm sure, someday you will find some time and you'll complete this in a blitz. :D
This looks awesome. :)
Do we have a community page/thread where Mint users showcase their tools?
I would also like to find what others have come up with, but I don't know many people here and I don't know how I could find it.
Thanks for this.
And is Chronicle the final name?
What are you using for designing the GUI? :?:
Is Glade a viable choice for that?
Thanks. :D
And I love the expression you've on your face in that photo of yours.
Always brings me joy. :D

User avatar
catweazel
Level 19
Level 19
Posts: 9183
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Project: sync tool

Post by catweazel » Fri Mar 15, 2019 2:39 am

Mintymandy34 wrote:
Fri Mar 15, 2019 2:12 am
And is Chronicle the final name?
Athenaeum.
What are you using for designing the GUI? :?:
Is Glade a viable choice for that?
Qt, C++.
And I love the expression you've on your face in that photo of yours.
Always brings me joy. :D
lol, cheers.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

gm10
Level 18
Level 18
Posts: 8718
Joined: Thu Jun 21, 2018 5:11 pm

Re: Project: sync tool

Post by gm10 » Fri Mar 15, 2019 2:51 am

catweazel wrote:
Fri Mar 15, 2019 2:39 am
And I love the expression you've on your face in that photo of yours.
Always brings me joy. :D
lol, cheers.
That photo of yours. :lol: I'll let that stand and wish you all a good morning. :)

Mintymandy34
Level 4
Level 4
Posts: 377
Joined: Mon Feb 11, 2019 10:57 pm

Re: Project: sync tool

Post by Mintymandy34 » Fri Mar 15, 2019 2:54 am

catweazel wrote:
Fri Mar 15, 2019 2:39 am
Mintymandy34 wrote:
Fri Mar 15, 2019 2:12 am
And is Chronicle the final name?
Athenaeum.
What are you using for designing the GUI? :?:
Is Glade a viable choice for that?
Qt, C++.
And I love the expression you've on your face in that photo of yours.
Always brings me joy. :D
lol, cheers.
Thanks. :D
gm10 wrote:
Fri Mar 15, 2019 2:51 am
That photo of yours. :lol: I'll let that stand and wish you all a good morning. :)
Good morning, gm10. :D

User avatar
catweazel
Level 19
Level 19
Posts: 9183
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Project: sync tool

Post by catweazel » Fri Mar 15, 2019 3:12 am

gm10 wrote:
Fri Mar 15, 2019 2:51 am
catweazel wrote:
Fri Mar 15, 2019 2:39 am
And I love the expression you've on your face in that photo of yours.
Always brings me joy. :D
lol, cheers.
That photo of yours. :lol: I'll let that stand and wish you all a good morning. :)
And good evening to you. I'm still waiting for your tips on a decent python/gtk setup for development, btw.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
Faust
Level 4
Level 4
Posts: 497
Joined: Thu Jul 14, 2016 3:40 am

Re: Project: sync tool

Post by Faust » Fri Mar 15, 2019 3:39 am

catweazel wrote:
Fri Mar 15, 2019 1:50 am

It's had a name change .....
Yes , I remember when you were asking for suggestions .
Mine wasn't very good ... :oops:

I hadn't forgotten about your project and I'll be willing to do some testing whenever you are ready .
I'm well accustomed to trashing systems and recovering them , hence my interest in trying new tools .
Reaching for Clonezilla and Timeshift have become knee-jerk reactions for me .... :lol:

Best wishes , and keep up the good work !
" And so it goes " - Kurt Vonnegut
The modern reality and the satirical parody are rapidly converging .

User avatar
catweazel
Level 19
Level 19
Posts: 9183
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Project: sync tool

Post by catweazel » Fri Mar 15, 2019 3:42 am

Faust wrote:
Fri Mar 15, 2019 3:39 am
catweazel wrote:
Fri Mar 15, 2019 1:50 am

It's had a name change .....
Yes , I remember when you were asking for suggestions .
Mine wasn't very good ... :oops:

I hadn't forgotten about your project and I'll be willing to do some testing whenever you are ready .
I'm well accustomed to trashing systems and recovering them , hence my interest in trying new tools .
Reaching for Clonezilla and Timeshift have become knee-jerk reactions for me .... :lol:

Best wishes , and keep up the good work !
Thanks on both counts, and my code won't trash your system :)

I've done some testing with it being statically compiled and it works fine like that, which means you should only need to run it as an AppImage. I'll get there eventually.

Cheers.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

gm10
Level 18
Level 18
Posts: 8718
Joined: Thu Jun 21, 2018 5:11 pm

Re: Project: sync tool

Post by gm10 » Fri Mar 15, 2019 4:04 am

catweazel wrote:
Fri Mar 15, 2019 3:12 am
I'm still waiting for your tips on a decent python/gtk setup for development, btw.
And I was still waiting for you to confirm that that's what you actually meant. Since right now I'm not sure in which of the two threads the answer would be less off-topic I'll just keep it here:

The glade editor mentioned by Mintymandy34 is one tool that allows you to click together a UI. It creates an external resource file you can then load in python with a GtkBuilder object. It's likely easiest to start with that.

That aside: https://pygobject.readthedocs.io/en/latest/index.html and linked sites have all the API docs and some good tutorials. I'll point you to this part right away because it's important: https://pygobject.readthedocs.io/en/lat ... =threading

I'm sure you've got your own favourite IDE. Personally I prefer Microsoft's Visual Studio Code.

Last but not least, I suggest you install these:

Code: Select all

apt install build-essential python3-dev python3-pip
sudo -H pip3 install --upgrade pip
sudo -H pip3 install setuptools
sudo -H pip3 install pylint
pylint is one of several available linters for python. It integrates with many IDEs including VS Code.

User avatar
catweazel
Level 19
Level 19
Posts: 9183
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Project: sync tool

Post by catweazel » Fri Mar 15, 2019 4:10 am

gm10 wrote:
Fri Mar 15, 2019 4:04 am
catweazel wrote:
Fri Mar 15, 2019 3:12 am
I'm still waiting for your tips on a decent python/gtk setup for development, btw.
And I was still waiting for you to confirm that that's what you actually meant. Since right now I'm not sure in which of the two threads the answer would be less off-topic I'll just keep it here:
lol

Many, many thanks. You've given me something to get my gums into this weekend.

At my age, people don't have teeth.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
meToo
Level 1
Level 1
Posts: 10
Joined: Sat Feb 02, 2019 6:52 am
Location: Staffordshire, England

Re: Project: sync tool

Post by meToo » Fri Mar 15, 2019 6:14 am

Good luck with this project, if you're still looking for a name, how about 'syncChief' which gives an clue to its purpose and AFAIN has not been used. One of the complaints I hear about linux is the strange names given to apps which obscure the function. Also could I ask you to consider at least one light theme, some users find dark themes with grey text difficult to read. I personally also like the Appimage approach, like portable apps on that other system, which sometimes consist of just one executable.

ATB, Mike.

Edit: I guess its cold where you are!
Last edited by meToo on Fri Mar 15, 2019 6:21 am, edited 1 time in total.
Lenovo T520 i5, 8GB ram, 1TB HDD Mint 19.1

User avatar
catweazel
Level 19
Level 19
Posts: 9183
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Project: sync tool

Post by catweazel » Fri Mar 15, 2019 6:18 am

meToo wrote:
Fri Mar 15, 2019 6:14 am
Good luck with this project, if you're still looking for a name, how about 'syncChief' which gives an clue to its purpose and AFAIN has not been used. One of the complaints I hear about linux is the strange names given to apps which obscure the function. Also could I ask you to consider at least one light theme, some users find dark themes with grey text difficult to read. I personally also like the Appimage approach, like portable apps on that other system, which sometimes consist of just one executable.

ATB, Mike.
Thanks. The theme is set by the OS. The picture you saw also had an accompanying picture of the application using a light theme. As for the name and linux esotericism, Athenaeum suits me fine on the grounds that you'd probably have to go searching go-ogle for the meaning. I encourage self-sufficiency in that department :)
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
meToo
Level 1
Level 1
Posts: 10
Joined: Sat Feb 02, 2019 6:52 am
Location: Staffordshire, England

Re: Project: sync tool

Post by meToo » Fri Mar 15, 2019 6:38 am

catweazel wrote:
Fri Mar 15, 2019 6:18 am
Athenaeum suits me fine on the grounds that you'd probably have to go searching go-ogle for the meaning. I encourage self-sufficiency in that department :)
OK but it dissuades new linux users being introduced to the system. I suppose at that stage they still think of syncToy (if they are even aware of it).
Like your signature! I wonder how many notice it. My daughter lives in NZ and complains of headaches from being upside down. :lol:
Lenovo T520 i5, 8GB ram, 1TB HDD Mint 19.1

Mintymandy34
Level 4
Level 4
Posts: 377
Joined: Mon Feb 11, 2019 10:57 pm

Re: Project: sync tool

Post by Mintymandy34 » Fri Mar 15, 2019 7:22 am

catweazel wrote:
Fri Mar 15, 2019 6:18 am
Thanks. The theme is set by the OS. The picture you saw also had an accompanying picture of the application using a light theme. As for the name and linux esotericism, Athenaeum suits me fine on the grounds that you'd probably have to go searching go-ogle for the meaning. I encourage self-sufficiency in that department :)
Athenaeum is a cool name to me, maybe 'cause Athena was one of my favourites among the gods when I was young. (I know I'm weird. :lol: )
Though I've no idea how it relates to a sync tool, maybe it relates in a way that, you can always sync your knowledge with that of the ancients with the help of a library or an institution, I don't know, I might be wrong.
I think, it's cool. :)

And I also like the AppImage approach, I think it's really cool to have a portable app that can run anywhere. :D
And I'm seeing a lot of developers choosing AppImage format to distribute their softwares in their respective websites.
Though initially I had read AppImages had a problem with security as they weren't sandboxed, even I read a discussion between AppImage devs talking about implementing sandboxing with such packaging system. :(
They've also recommended to use FireJail for that purpose.

I've not seen anything about how big of an impact the issue can have and how to properly solve it.
I gain some confidence when big developers use this format, though a little fear is still lurking inside. :(
I think you can clarify this.
If it's way too off-topic and I should start a new topic/thread, then please let me know. :D
Thanks. :)

Post Reply

Return to “Chat about Linux”