Advertisement
Guest User

Untitled

a guest
Jun 30th, 2023
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. To change the maximum frames per second (fps) in Sailfish OS (SFOS), you can follow these steps:
  2.  
  3. 1. Open the Terminal app on your SFOS device.
  4. 2. Type the following command and press Enter:
  5.  
  6. devel-su
  7.  
  8. This command will grant you root access.
  9. 3. Enter the root password when prompted.
  10. 4. Type the following command to open the configuration file for the compositor:
  11.  
  12. vi /etc/environment
  13.  
  14. This command will open the file in the vi text editor. If you prefer a different text editor, you can replace "vi" with the name of your preferred editor.
  15. 5. Use the arrow keys to navigate to the line that starts with QT_QPA_EGLFS_SWAPINTERVAL. This line controls the maximum fps.
  16. 6. Press the i key on your keyboard to enter insert mode in vi.
  17. 7. Change the value after QT_QPA_EGLFS_SWAPINTERVAL= to your desired maximum fps. For example, if you want a maximum of 60 fps, change it to 1/60.
  18. 8. Press the Esc key on your keyboard to exit insert mode in vi.
  19. 9. Type :wq and press Enter to save the changes and exit vi.
  20. 10. Restart your SFOS device for the changes to take effect.
  21.  
  22. Please note that modifying system configuration files can have unintended consequences or may require technical knowledge. Make sure to proceed with caution and create a backup of any critical files before making changes.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement