website/content/post/oneplus-6t-postmarketos/index.md

127 lines
6.3 KiB
Markdown
Raw Normal View History

2024-02-23 19:27:24 +00:00
---
2024-02-26 22:23:42 +00:00
title: My Oneplus 6T Linux setup
2024-02-23 19:27:24 +00:00
description: A description of my current Linux phone and its setup
date: 2024-02-23 00:00:00+0000
image: postmarket.png
math:
license:
hidden: false
categories:
- Linux
- Mobile
- PostmarketOS
tags:
- linux
- postmarketos
- phosh
---
## Configuration
This is the current configuration i am using while daily driving linux on mobile.\
I am using a [OnePlus 6T](https://www.oneplus.com/it/6t/specs) with [PostmarketOS](https://postmarketos.org/) and the [Phosh](https://phosh.mobi/) user interface.
As a daily driver the phone is basically 100% functional for my use case, your experience may vary depending on your needs.
## Known issues and problems i have experienced
Current issues i have found:
- brightness resets at phone reboot
- default audio output resets at phone reboot
- notch blocking some informations in the top bar (workaround)
- camera not functional
- browser notification not passing through
- gesture to close applications difficult to use
- notifications are not removed when read
## Installation
There are pre-built images of PostmarketOS that can be use if a custom compilation is not needed. The installation of these images if incredibly simple and well documented [here](https://wiki.postmarketos.org/wiki/OnePlus_6_(oneplus-enchilada)).\
Pre-built images can be found [here](https://postmarketos.org/download/).
## Applications
These are the applications that i am currently using/testing:
2024-02-26 22:23:42 +00:00
### Phonecalls
#### Calls
2024-02-23 19:27:24 +00:00
"Calls" is the default application to call used in the OS. As of the writing of this post the app is 100% functional, it can receive and make calls without any issues (at least so far).\
2024-02-26 22:13:00 +00:00
When receiving calls, the vibration and sound work, even when the screen is turned off. Needs some tuning on audio inputs and outputs.
2024-02-23 19:27:24 +00:00
2024-02-26 22:23:42 +00:00
### Messages
#### Chats
2024-02-23 19:27:24 +00:00
"Chats" is the default application to send and receive SMS and MMS messages. I have not tried MMS yet, SMS work perfectly out of the box, no particular setup needed. The app is quite complite and responsive.\
Features include: archiving messages, messages receipts, emojis, seach function and more. Fully functional
2024-02-26 22:23:42 +00:00
### Emails
#### Thunderbird
2024-02-23 19:27:24 +00:00
Thunderbird is very good state overall, i have not needed to look at potential alternatives yet, given how everything i need is in the app already. With a a couple of changes to the view settings it is possible to create a very usable setup.\
Notifications work visually if the app is open in the background, but i have not being able to make the sound of the notifications work.
Once open, emails are fully readable and navigable, they render correctly and have all the standard options available and working (reply, reply list, archive, just, forward, etc).
2024-02-26 22:23:42 +00:00
### Browser
#### Firefox-ESR
2024-02-23 19:27:24 +00:00
The extended support release of Firefox is the default browser of the OS and arrives with **mobile-config-firefox** package already installed, making it usable from the start.\
The browser is fast and responsive, the only issue i have found is that the tabs menu is not working correctly when more tabs than the maximum the view allows are open. I wasn't able to swipe to reach the tabs outside of the view of the menu.\
Aside from that i have found no issue
2024-02-26 22:23:42 +00:00
### Reddit Client
#### Giara
2024-02-23 19:27:24 +00:00
Giara is a a Reddit client release under the GPL3 license, written using python and GTK. The app works very well, shows everything the site does, from comments to thumbs up to dates and edits.\
Has the option to copy to the clipboard a comment or post and to open them in the browser. Currently has a slight issue swiping the main page.
2024-02-26 22:23:42 +00:00
#### Headlines
2024-02-23 19:27:24 +00:00
Formely gtkeddit, it is written in C++ and it's an archived project. It's currently still working great, probably slightly faster than Giara, but the UI is older and i don't like the way it manages trees of comments. Still very good as a Reddit client.
2024-02-26 22:23:42 +00:00
### RSS Feed
#### Newsboat
2024-02-27 19:58:52 +00:00
Famous RSS/Atom feed reader for the terminal written in C++. Somewhat functional after a couple of easy modifications i have found improved my experience. Instructions will follow.
2024-02-26 22:13:00 +00:00
2024-02-26 22:23:42 +00:00
### Matrix client
#### FluffyChat
2024-02-26 22:13:00 +00:00
Written using flutter, works very well out of the box. Notifications works visually as long as the app is among the open applications tray. Only important piece missing is the ability to play audio messages.\
Requires flatpak installation and flathub repository addition.
2024-02-26 22:23:42 +00:00
#### Fractal
2024-02-26 22:13:00 +00:00
The app works, only the basic functions are there but they are all functional, but i am pretty sure it does not support the e2e chats verification.
2024-02-26 22:23:42 +00:00
#### Nheko
2024-02-26 22:13:00 +00:00
Was not able to login due to a visual bug. I'll wait for a fix and try again, apparently the app is very liked among users.
2024-02-26 22:23:42 +00:00
### Phone Camera
#### Megapixels & Millipixels
2024-02-26 22:13:00 +00:00
Not working, no matter what i tried. Still have to look further into it tho.
2024-02-26 22:23:42 +00:00
### System process viewer
#### htop
The famous text based process viewer, honeslty it's here cause its cool. Super cool.
## Some settings i changed (constant Work In Progress tbh):
2024-02-26 22:13:00 +00:00
### Disable vibration during typing
open a terminal and type:
```
gsettings set org.sigxcpu.feedbackd.application:/org/sigxcpu/feedbackd/application/sm-puri-squeekboard/ profile silent
```
2024-02-26 22:23:42 +00:00
### Notch blocking part of the top bar
Following the official PostMarketOS wiki, i edited this file: ```~/.config/gtk-3.0/gtk.css``` with:
```
.phosh-topbar-clock {
padding-left: 130px;
}
```
2024-02-27 19:58:52 +00:00
### Newsboat changes
To use Newsboat to read RSS feeds (inlcuding the feed of this site!) you can change a couple of things to improve your experience. The default browser used by Newsboat when using the "o" command to open an article in the browser is Lynx.\
Using Lynx in the phone's shell is not impossible but impractical. What i found much better is to pass the Firefox-ESR binary as a variable when launching Newsboat, by editing the **newsboat.desktop** file in ```/usr/share/applications``` like this:
```
[Desktop Entry]
Version=1.0
Name=newsboat
GenericName=RSS/Atom feed reader
Comment=Launches newsboat RSS/Atom feed reader
Keywords=RSS,Atom,News
Categories=Network;ConsoleOnly
X-Purism-FormFactor=Workstation;Mobile;
Type=Application
Icon=newsboat
Terminal=true
Exec=bash -c 'env BROWSER=firefox-esr newsboat %u'
```
This will launch the Firefox-ESR binary and use firefox as the browser. The binary will be executed in the same terminal in which you lanuched the Newsboat binary, so, in order to go back to newsboat, you will need to close Firefox first.