maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Sailfish Tweaks (https://talk.maemo.org/showthread.php?t=92920)

J4ZZ 2015-01-23 01:03

Re: Sailfish Tweaks
 
Thanks for finding.
Actually I like the timer when deleting something, but what bugs me, is when I install or update something from store or warehouse and then have to wait 5 secs....

Is there possibly another switch to remove the wait times for store and warehouse?

pycage 2015-01-23 06:59

Re: Sailfish Tweaks
 
Quote:

Originally Posted by J4ZZ (Post 1457667)
Thanks for finding.
Actually I like the timer when deleting something, but what bugs me, is when I install or update something from store or warehouse and then have to wait 5 secs....

Is there possibly another switch to remove the wait times for store and warehouse?

Just close the app page when the remorse timer runs in the store and the action will be performed immediately.

pichlo 2015-01-23 13:16

Re: Sailfish Tweaks
 
Quote:

Originally Posted by ssahla (Post 1457620)
Yes, it's possible. I have it set to 2 seconds and find that more suitable for me.

/usr/lib/qt5/qml/Sailfish/Silica/RemorseItem.qml
/usr/lib/qt5/qml/Sailfish/Silica/RemorsePopup.qml

In those files, find the timeout numbers (two in each file; by default the value is 5000) and change them to 2000 (to get 2 seconds instead of 5). RemorseItem.qml affects remorse timers that happen "in place" (e.g., deleting an email) and RemorsePopup.qml affects timers that appear in the top part of the screen (e.g., deleting an app in Launcher).

(Don't set it to zero though (to disable the timer altogether), it won't work (at least in some cases)).

Wow, that's great, thanks!

I suppose a different timeout for positive and negative remorse timers would be too much to ask for, right? ;)

To explain what I mean, most remorse timers are of the kind, "So and so will happen unless you press here." Examples: deleting stuff. This is what I call a "negative" timeout since your action stops something from happening.
The other kind is, "Press here if you want something to happen." Examples: proceed with updates in OpenRepos. This is what I call a "positive" timeout since your action makes something happen.

I would prefer the negative timeout short but the positive one long, but I can understand if that is not possible.

juiceme 2015-01-23 16:54

Re: Sailfish Tweaks
 
Quote:

Originally Posted by pichlo (Post 1457777)
Wow, that's great, thanks!

I suppose a different timeout for positive and negative remorse timers would be too much to ask for, right? ;)

To explain what I mean, most remorse timers are of the kind, "So and so will happen unless you press here." Examples: deleting stuff. This is what I call a "negative" timeout since your action stops something from happening.
The other kind is, "Press here if you want something to happen." Examples: proceed with updates in OpenRepos. This is what I call a "positive" timeout since your action makes something happen.

I would prefer the negative timeout short but the positive one long, but I can understand if that is not possible.

Sure it is possible, there are even more than one way of doing it. Two ways come to mind immediately, however both require patching the system in several places;

The first way is to change the interface of the timer invocation by adding a parameter describing the timer length. Then, in each place in the entire system you need to go and add the timeout parameter there.

The second way is to implement 2 remorse timers of each type, one running quick and one running slow. Then you again go through the whole system and change the positive timeouts to use the long running timer and negative timeout to use the fast running timer.

pichlo 2015-01-23 17:08

Re: Sailfish Tweaks
 
Err, thanks, Juice, I know that much but I did not mean to suggest rewriting the whole OS ;)

TemeV 2015-01-23 18:46

Re: Sailfish Tweaks
 
Quote:

Originally Posted by pichlo (Post 1457777)
Wow, that's great, thanks!

I suppose a different timeout for positive and negative remorse timers would be too much to ask for, right? ;)

To explain what I mean, most remorse timers are of the kind, "So and so will happen unless you press here." Examples: deleting stuff. This is what I call a "negative" timeout since your action stops something from happening.
The other kind is, "Press here if you want something to happen." Examples: proceed with updates in OpenRepos. This is what I call a "positive" timeout since your action makes something happen.

I would prefer the negative timeout short but the positive one long, but I can understand if that is not possible.

Is that "positive timeout" used anywhere else than warehouse? I think using it like that is wrong anyway. For updates there should be just normal popup notification without timer in it. After all, it's called "remorse timer" so you hit it if you regret your previous action.

pichlo 2015-01-23 19:37

Re: Sailfish Tweaks
 
Err, good point. So maybe it's not a request for a tweak but a request for "fixing" Warehouse ;)

aegis 2015-01-23 23:27

Re: Sailfish Tweaks
 
That's what I was thinking too. Warehouse uses remorse timers incorrectly. It's very odd.

Markkyboy 2015-02-12 13:03

Re: Sailfish Tweaks
 
Nice to see that my findings are of interest to the 'tech savvy' users here on TMO. (reducing remorse timer settings).

I'm not a dev, I don't really know first thing about programming or code, but I find it all very interesting and simply love tinkering. (Sailfish SDK leaves me looking like a dog that's just been shown a card trick!). :D

Anyway, I'd like to know what element controls the black background in Launcher on Jolla, anyone know?
When I got my first Jolla a year ago, the launcher background was transparent, but it made a real mess of app name text and so Jolla changed it. I would like to revisit that and play with Ambience creation some more.

I've had a look through just about every directory. I have managed to find and rename (.old) 8 files and as a result, I have a brighter, sharper, clearer screen on my Jolla, No more pyramid textures and much more of the 'wallpaper' from my ambience can be seen, but still falls to black once fully in the launcher window, this I would like to change and have a transparent look, not black....??

Any ideas gratefully received.

Regards,

Eminem 2015-02-12 22:02

Re: Sailfish Tweaks
 
Quote:

Originally Posted by Markkyboy (Post 1460519)
but still falls to black once fully in the launcher window, this I would like to change and have a transparent look, not black....??

Checked this?

dconf write /desktop/jolla/background/portrait/app_picture_filename $(dconf read /desktop/jolla/background/portrait/home_picture_filename)

All coderus findings. :)

Markkyboy 2015-02-13 00:05

Re: Sailfish Tweaks
 
Quote:

Originally Posted by Eminem (Post 1460586)
Checked this?

dconf write /desktop/jolla/background/portrait/app_picture_filename $(dconf read /desktop/jolla/background/portrait/home_picture_filename)

All coderus findings. :)

Thanks Eminem, but not helpful. Perhaps you misunderstand what I'm asking.
I want to lose the black background to launcher, so I can see my ambience behind my launcher icons.
Running the commands you gave either turns the whole desktop/home/launcher to black (actually useful to know) or brings back the current ambience - perhaps I misunderstand :confused:

Regards,

coderus 2015-02-13 00:08

Re: Sailfish Tweaks
 
Launcher is Launcher. Check qml files of lipstick-jolla-home-qt5.

Markkyboy 2015-02-13 00:37

Re: Sailfish Tweaks
 
Thanks coderus - at least I am/have been looking in the right place according to your reckoning :)

Perhaps I missed something. I played with one file, adjusted some figures and left myself with a flashing black and white screen - so I reinstalled Sailfish.

I'm looking again, now I've reinstalled all the required apps/dev mode/etc.
I thought maybe one of you guys might know directly - it's cool, I shall keep looking, any further input appreciated! :)

Regards,

Markkyboy 2015-02-13 07:26

Re: Sailfish Tweaks
 
Quote:

Originally Posted by coderus (Post 1460594)
Launcher is Launcher. Check qml files of lipstick-jolla-home-qt5.

Thanks again coderus - you made me look harder into launcher and the file I needed to alter was 'main.qml' in 'lipstick-jolla-home-qt5' - Fan-fkin-tastic!! :)

Regards, :cool:

skanky 2015-02-13 09:41

Re: Sailfish Tweaks
 
Quote:

Originally Posted by Markkyboy (Post 1460614)
Thanks again coderus - you made me look harder into launcher and the file I needed to alter was 'main.qml' in 'lipstick-jolla-home-qt5' - Fan-fkin-tastic!! :)

Regards, :cool:

This is all very interesting...have you documented the files you've changed anywhere? Might be useful to have a wiki page somewhere for these sorts of tweaks?

Markkyboy 2015-02-13 16:59

Re: Sailfish Tweaks
 
Quote:

Originally Posted by skanky (Post 1460624)
This is all very interesting...have you documented the files you've changed anywhere? Might be useful to have a wiki page somewhere for these sorts of tweaks?

Hi skanky,
no, to answer your question, I haven't made any documentation for the files I've played with. I suppose ultimately, Together Jolla would be the place for such a wiki, or here on TMO..??, suggestions welcomed.

Anyway, the files I played with are all found in /usr/share/themes/jolla-ambient/meegotouch/icons
  • graphic-background.png
  • graphic-gradient-corner.png
  • graphic-gradient-edge.png
  • graphic-gradient-home-bottom.png
  • graphic-gradient-home-top.png
  • graphic-shader-texture.png
  • graphic-system-gradient.png
  • graphic-texture-pyramid-diffuse.png
  • graphic-wallpaper-dimmer.png

All I did was to chmod each file and then rename using '.old' as the extension.
I am aware that the way I edit/rename files is perhaps not the way others do it, but it works for me until I learn to use 'nano' or 'vi'.

Renaming the above files was purely an experiment to see the outcome, the effects might not suit everyone, but for me with fairly crap eyesight, I now find the Jolla screen looks sharper in general and the phone even feels a little faster to operate - YMMV.

The other file,(main.qml - found in /usr/share/lipstick-jolla-home-qt5) as discussed earlier in the thread, I'm still playing with. The outcome so far, is not what I expected but it did remove the black background of launcher but left the ambience static and very heavily obscured - this is as far as I have played with this file (I have already crashed the phone once today, doh!)

Please note: I guess some will not see this post as a list of tweaks and I would be inclined to agree, suggestions to change/move the post are welcomed. :)

Regards,

skanky 2015-02-13 17:13

Re: Sailfish Tweaks
 
Quote:

Originally Posted by Markkyboy (Post 1460671)
Hi skanky,
no, to answer your question, I haven't made any documentation for the files I've played with. I suppose ultimately, Together Jolla would be the place for such a wiki, or here on TMO..??, suggestions welcomed.

...

Regards,

Thanks. I've no idea where the best place is, and how useful the information is - aside from listing what affects what.

It's just that I think if and as people look to customise, following those who've blazed the trail is easier than hacking your way through the forest again from scratch. :)

I am aware though, how much of pain self-documentation is though, when trying this stuff - I've forgotten most of my laptop's customisations now, and couldn't get a new one to the same configuration. :confused:

I can't really afford to hack my phone too much - losing it for a week or two earlier was a real pain. I am hoping to get a tablet though and may well consider that more "expendable" in terms of potential time lost re-flashing.

That said, once my current work project has finished, I will be installing the developer kit, so may get some mileage out of that.

juiceme 2015-02-13 19:23

Re: Sailfish Tweaks
 
Quote:

Originally Posted by skanky (Post 1460675)
I can't really afford to hack my phone too much - losing it for a week or two earlier was a real pain. I am hoping to get a tablet though and may well consider that more "expendable" in terms of potential time lost re-flashing.

It's not really a problem since as long as you hack simple things like UI you cannot really botch it whatever you do, you can always restore things like thy were under 60 seconds if you totally mess it up.

Here's how to do that;
1.) Always tweak the device by ssh'ing to it, not from fingerterm. Then it does not matter if you break the UI. I use WLAN myself but of course you could ssh in via USB if that's your thing.

2.) Always take backups of the files you modify.

skanky 2015-02-13 22:12

Re: Sailfish Tweaks
 
Quote:

Originally Posted by juiceme (Post 1460699)
It's not really a problem since as long as you hack simple things like UI you cannot really botch it whatever you do, you can always restore things like thy were under 60 seconds if you totally mess it up.

Here's how to do that;
1.) Always tweak the device by ssh'ing to it, not from fingerterm. Then it does not matter if you break the UI. I use WLAN myself but of course you could ssh in via USB if that's your thing.

2.) Always take backups of the files you modify.

Hmmm, makes sense, thank you.
Might have to try it, then. :)

Markkyboy 2015-02-17 11:53

Re: Sailfish Tweaks
 
Hey guys,

despite good previous advice, an abundance of confidence crept in, thought I knew what I was doing and now have made 'main.qml' in 'lipstick-jolla-home-qt5' - corrupt!, doh!, my fault (trying to get the hang of Vim!) <------failed miserably! :D

Could someone be kind enough to send me a copy of `main.qml` found in `/usr/share/ lipstick-jolla-home-qt5` ( I imagine that the new file should NOT be patched by Patchmanager - I'm not using patchmanager).

Thanks in advance.

Regards,

pichlo 2015-02-17 12:18

Re: Sailfish Tweaks
 
1 Attachment(s)
Quote:

Originally Posted by Markkyboy (Post 1461029)
Could someone be kind enough to send me a copy of `main.qml` found in `/usr/share/ lipstick-jolla-home-qt5`

Here you go. Zipped due to TMO uploader's silly restrictions.

Markkyboy 2015-02-17 12:41

Re: Sailfish Tweaks
 
Quote:

Originally Posted by pichlo (Post 1461034)
Here you go. Zipped due to TMO uploader's silly restrictions.

Thank you very much, Pichlo, much appreciated and a lesson learned!! :D

Jolla restored!

Regards,

pichlo 2015-02-24 13:59

Re: Sailfish Tweaks
 
Quote:

Originally Posted by elastic (Post 1456475)
would you mind to share a howto ;-) would prefer to have the date in one line like on your second pic ...

(Talking about this post.)

For anyone interested, I finally got around packing it up as a neat RPM. Here comes my first "official" Sailfish patch. I decided to take it easy and make my debut absolutely basic :)

https://openrepos.net/content/pichlo...-date-one-line

veeall 2015-02-24 15:33

Re: Sailfish Tweaks
 
How about a tweak to maximize homescreen folder view to bottom of the screen and make "Drop icon here to remove it from folder" appear over header or just disable footer altogether, and drop icons to the header area to remove them from folder?

coderus 2015-02-24 17:51

Re: Sailfish Tweaks
 
Quote:

Originally Posted by veeall (Post 1461895)
How about a tweak to maximize homescreen folder view to bottom of the screen and make "Drop icon here to remove it from folder" appear over header or just disable footer altogether, and drop icons to the header area to remove them from folder?

try this one: http://talk.maemo.org/showpost.php?p...&postcount=412

veeall 2015-02-24 18:36

Re: Sailfish Tweaks
 
I accidently deleted Launcher.qml file from /usr/share/lipstick-jolla-home-qt5/launcher, can somebody with latest 1.1.2.15 opt-in post the unpatched original file here! Please help, i don't want to reinstall everything!

coderus 2015-02-24 18:44

Re: Sailfish Tweaks
 
Quote:

Originally Posted by veeall (Post 1461918)
I accidently deleted Launcher.qml file from /usr/share/lipstick-jolla-home-qt5/launcher, can somebody with latest 1.1.2.15 opt-in post the unpatched original file here! Please help, i don't want to reinstall everything!

https://dl.dropboxusercontent.com/u/...a/Launcher.qml

veeall 2015-02-24 18:58

Re: Sailfish Tweaks
 
Thanks a lot!

Must read the file name before deleteing, not trusting the muscle memory, haha.


----
I edited following out, discussion moved to dedicated thread.
----


All times are GMT. The time now is 14:48.

vBulletin® Version 3.8.8