A month of Mobian - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: A month of Mobian (/showthread.php?tid=13595) Pages:
1
2
|
A month of Mobian - Ri3qXkW4hjb - 04-08-2021 About a month ago, I got my PinePhone CE with Mobian. Since soon after the box was opened, I have used it as my "daily driver" - but I am not a normal user. If the phone doesn't work, I experience no withdrawl, but instead a pleasant sense of normalcy. Perhaps I sorta live in the 1980s... It's not perfect, but it works about 95% of the time, by my rather limited definition of "works" (calls, basic texts, commandline, internet). Below I'll mention the remaining issues, my todo items left, stuff I resolved, and some of my customizations. Issues
Todos
Resolved
Customization: Screen Stays On In commandline, many commands take a while to finish, while no input is needed but the user wants to watch anyway. This wrapper alias allows you to keep the screen on until the command exits. It's a mobian tweak to use it for sudo in general. This alias lets you use it for non-sudo commands, e.g. wake ping -c 30 pine64.org. Code: alias wake=/usr/bin/gnome-session-inhibit Customization: Change Background Image If you want to change the background image automatically or otherwise via commandline, do something like this: Code: gsettings get org.gnome.desktop.background picture-uri file:///home/mobian/new-background.jpg Customization: Microsecond Sleep If you want to wait for a partial second, use this function. It requires Ruby or Python to be installed. This isn't really pinephone specific, but it's a prerequisite for some of the other customizations below. Code: function usleep { Customization: Wait for Network Connectivity If you're automating something that needs networking to come up before running a command, use this function. Requires the usleep function from above, or a similar way to get usleep at the commandline. E.g. inet-block && ping -c 1 pine64.org. Code: function inet-block { Customization: Wifi On for Just a Specific Command If you want to be stingy with your battery and bring wifi up for just one specific command, use this function wrapper. Requires the inet-block function from above. E.g. wifi apt-get update. Code: function wifi { Customization: Disable Packagekit for Just a Specific Command If you want to do something Packagekit (the automated package updater) temporarily disabled, use this function wrapper. This is good for apt and related commands, to avoid being locked out. E.g. no-pkgkit wifi sudo apt update. Code: function no-pkgkit { Customization: Update Software Using Wifi Minimally If you want to do a quick update, while using wifi only when it's necessary, use this alias. The alias name is kept short for easy typing, but you could rename it to something that makes more obvious sense. This will ask for user confirmation an additional time, compared with a normal apt update && apt upgrade, since it is doing the download first, and then the install as a seperate command. Requires no-pkgkit and wifi functions from above. E.g. uuu. Code: alias uuu='no-pkgkit wifi bash -c "sudo apt update && sudo apt --download-only upgrade" && sudo apt --no-download upgrade' If instead you want to get rid of that extra confirmation, at the cost of a little bit of extra time with wifi on, then use this simpler version instead: Code: alias uuu='no-pkgkit wifi bash -c "sudo apt update && sudo apt upgrade"' Customization: Cellular Network On for Just a Specific Command If you want to run a single command with cellular networking enabled, use this function wrapper. E.g. wwan ping -c 1 pine64.org. Code: function wwan { Customization: Keep Home Directory in Git Repo This isn't pinephone specific, and nothing above needs it. I've been doing it for a while and it made the whole process of developing and using the stuff above easier. See this guide. RE: A month of Mobian - Ri3qXkW4hjb - 04-08-2021 Forgot one customization, to go along with the uuu alias above. This one installs an app, using minimal wifi: alias iii='no-pkgkit wifi sudo apt install' RE: A month of Mobian - MtnSk8 - 04-09-2021 (04-08-2021, 02:56 PM)Ri3qXkW4hjb Wrote: The speaker and mic are almost touching each other. Call audio via bluetooth will help (when/if it comes along) but I don't see any solution other than to move the speaker or mic (or maybe a louder earpiece spkr). In addition to the echo, speaker-to-mic bleed will "auto select" voice prompt menu options. it is kind of hilarious when a menu navigates itself by asking to press or SAY a number then selecting the number for you because the mic heard the robot say a number, love it! but.... It's hard to hear voice menus through the earpiece spkr while holding it to see and navigate the screen. I'm quite pleased that this is my biggest usability problem with the PinePhone. Thanks for the post. RE: A month of Mobian - Zebulon Walton - 04-10-2021 Quote:Call audio via bluetooth will help (when/if it comes along) but I don't see any solution other than to move the speaker or mic (or maybe a louder earpiece spkr). I'm using a wired microphone/earbud headset until such time as bluetooth audio is working. RE: A month of Mobian - Ri3qXkW4hjb - 04-10-2021 (04-10-2021, 06:14 AM)Zebulon Walton Wrote:Quote:Call audio via bluetooth will help (when/if it comes along) but I don't see any solution other than to move the speaker or mic (or maybe a louder earpiece spkr). It's good to know that the wired headset jack is working for somebody. My headset doesn't work, the speaker (audio out) does but mic (audio in) doesn't. I've yet to determine why. Bluetooth headsets are not my thing; I like wired. RE: A month of Mobian - RTP - 04-10-2021 (04-08-2021, 02:56 PM)Ri3qXkW4hjb Wrote: About a month ago, I got my PinePhone CE with Mobian. Since soon after the box was opened, I have used it as my "daily driver" - but I am not a normal user. If the phone doesn't work, I experience no withdrawl, but instead a pleasant sense of normalcy. Perhaps I sorta live in the 1980s... It's not perfect, but it works about 95% of the time, by my rather limited definition of "works" (calls, basic texts, commandline, internet). Great post! On your #10 try the ifmetric command. It allows you to change routing device priority. Allowing you to use internet while having your device hooked up (so 'ethernet' does not take over priority). RE: A month of Mobian - kqlnut - 04-11-2021 (04-09-2021, 11:56 PM)MtnSk8 Wrote: I don't see any solution other than to move the speaker or mic (or maybe a louder earpiece spkr).That's what echo cancellation is for, but I couldn't find much about how/if this is implemented in Pinephone distributions. Only some stuff regarding the Librem 5, but audio routing is handled very differently there as far as I know. Does anybody have more info on that? RE: A month of Mobian - wibble - 04-12-2021 (04-11-2021, 04:15 AM)kqlnut Wrote:Last time I looked it wasn't implemented yet. It _should_ be possible to use the PulseAudio echo cancellation plugin, but it was crashing when I tried it. That may just mean I wasn't using it correctly though. It probably needs to be built into the audio profiles, but they were work in progress at the time.(04-09-2021, 11:56 PM)MtnSk8 Wrote: I don't see any solution other than to move the speaker or mic (or maybe a louder earpiece spkr).That's what echo cancellation is for, but I couldn't find much about how/if this is implemented in Pinephone distributions. Only some stuff regarding the Librem 5, but audio routing is handled very differently there as far as I know. Does anybody have more info on that? RE: A month of Mobian - kqlnut - 04-13-2021 (04-12-2021, 10:47 AM)wibble Wrote:Thanks for the info! Do you know of any GitLab issue or something where I can track the progress on this? I couldn't find anything on that.(04-11-2021, 04:15 AM)kqlnut Wrote:Last time I looked it wasn't implemented yet. It _should_ be possible to use the PulseAudio echo cancellation plugin, but it was crashing when I tried it. That may just mean I wasn't using it correctly though. It probably needs to be built into the audio profiles, but they were work in progress at the time.(04-09-2021, 11:56 PM)MtnSk8 Wrote: I don't see any solution other than to move the speaker or mic (or maybe a louder earpiece spkr).That's what echo cancellation is for, but I couldn't find much about how/if this is implemented in Pinephone distributions. Only some stuff regarding the Librem 5, but audio routing is handled very differently there as far as I know. Does anybody have more info on that? RE: A month of Mobian - Ri3qXkW4hjb - 04-13-2021 (04-10-2021, 11:56 PM)RTP Wrote:Thanks! I'll give this a try.(04-08-2021, 02:56 PM)Ri3qXkW4hjb Wrote: About a month ago, I got my PinePhone CE with Mobian. Since soon after the box was opened, I have used it as my "daily driver" - but I am not a normal user. If the phone doesn't work, I experience no withdrawl, but instead a pleasant sense of normalcy. Perhaps I sorta live in the 1980s... It's not perfect, but it works about 95% of the time, by my rather limited definition of "works" (calls, basic texts, commandline, internet). |