Ringtone volume adjustment now in too large steps [1.1.9.28]
this my opinion. 20% [steps for] [ringtone] volume adjustment steps is too much, compared to before you could adjust in 1% [steps].
We have moved to a new Sailfish OS Forum. Please start new discussions there.
this my opinion. 20% [steps for] [ringtone] volume adjustment steps is too much, compared to before you could adjust in 1% [steps].
This is not exactly an answer but a workaround for the time being! :)
@Kimking - I found a few files to play with and now have the volume adjustable by single step increments. I've been trying to make a patch for this, but so far, have failed miserably!. So I manually edited the files myself.
Volume Slider:
I found 2 files relating to audio volume settings, one for Ambience volume settings, the other in general Settings.
File one - found at /usr/lib/qt5/qml/com/jolla/gallery/ambience/VolumeAction.qml
line 49 (ambience ringer volume)
File two - found at /usr/share/jolla-settings/pages/sounds/VolumeSlider.qml
line 16 (Volume in Settings)
Just look for StepSize: 20
and change 20 to 1 - save the edit, pkill lipstick (restart homescreen) and voila!, single step increments of volume change. If you want 5% increments, change 20 to 5 - job done!
Volume Keys:
You can also change volume key increments in /usr/share/lipstick-jolla-home-qt5/volumecontrol/VolumeControl.qml
. On lines 417 to 422 (on 2.0.0.10, 421 to 426) you can find:
if (volumeIncreasing)
initialChange = profile.ringerVolume === 100 ? 0 : -0.2
else
initialChange = profile.ringerVolume === 0 ? 0 : 0.2
adjustRingtoneVolume(volumeBar.volumeIncreasing ? 20 : -20)
Those -0.2, 0.2 and 20 : -20 are increments, just replace them as you wish.
There is another adjustRingtoneVolume on line 384 (on 2.0.0.10 388) for when you long press volume keys. If you want volume keys to rapidly mute the device don't change them.
I used Nano for editing the file via SSH over USB. To make changes to files in root using Nano, you must gain root access (devel-su) or the changes cannot be made. I find Nano much easier to use compared with Vim - Vim is powerful but not the most intuitive CLI app I've used.
Release notes of 2.0.4 seem that this has not been improved. So, we have to edit the files as long as there is no simple patch. 5% would be great. I hate it since 20% is too load and 0% not loud enough for some situations.
SagaciousT ( 2016-10-20 12:57:03 +0200 )editI checked XA2 with 3.1.0.11:
I changed line 48 with devel-su vi /usr/lib/qt5/qml/com/jolla/gallery/ambience/VolumeAction.qml
which works for me from Settings -> Ambients.
It seems that for top volume changes need to be done in line 40 devel-su vi /usr/share/jolla-settings/pages/sounds/VolumeSliderController.qml
which worked for me.
For volume keys changes seems that need to be done in lines 496 - 501 /usr/share/lipstick-jolla-home-qt5/volumecontrol/VolumeControl.qml
but I didn't touch those as I prefer less steps there. Note that it might feel odd that way as the volume falls or rise 20% from new finer value with default values not jumps like 0-20-40-60-80-100 which one might expect or prefer. For example: it falls from 25 to 5%.
Note that you need to restart homescreen pkill lipstick
or reboot the phone.
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2015-09-25 14:24:29 +0200
Seen: 904 times
Last updated: Aug 21 '19
Suggestion: Separate folder/browse for ringtones
Prevent accidental shutdown [answered]
Toggle between video and still modes in camera app (faster than now) [released]
password field "peek" functionality
Gallery - zooming in and out to photos
Enable viewing a password while entering it [released]
I want a hardware keyboard with solar charger TOH [answered]
Markdown basics [not relevant]
PBAP bluetooth profile support is requested [released]
My Jolla does not recognise any micro sd card. What I can do? [answered]
I totally agree. Looks also strange having a range of values 0-100% split into 5 units. I'd much prefer 5 or 10% steps if 1% is not possible for some reason
Cary Grant ( 2015-09-25 14:28:44 +0200 )editI think you guys are looking at the ringtone volume adjustment... Personally I hate it too that sometimes the volume keys deal with the ringtone volume and then in other cases with the media volume...
Philippe De Swert ( 2015-09-25 14:40:38 +0200 )edityes ringtone, adjusting.:)
Kimking ( 2015-09-25 14:44:21 +0200 )editI think 5% would be a good step amount.
JakeTheChangeling ( 2015-09-25 17:10:01 +0200 )editMaybe one of the more 'tech savvy' guys among us could create a patch for such an option? @Ancelad@coderus ;)
Spam Hunter ( 2015-09-26 16:40:26 +0200 )edit