It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
Comments welcome.
Luya
+1
I'm installing powerline as first think on Fedora for tmux, vim and fish.
On 01/11/18 01:13, Luya Tshimbalanga wrote:
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
Comments welcome.
Luya
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
On Thu, Nov 1, 2018 at 9:48 AM Michal Konecny mkonecny@redhat.com wrote:
+1
I'm installing powerline as first think on Fedora for tmux, vim and fish.
On 01/11/18 01:13, Luya Tshimbalanga wrote:
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
+1 - this is a great way for us to differentiate our desktop and provide a useful out of box experience for developers. I realize it won't be 100% useful to everyone, but it moves us to an opinionated system :).
regards,
bex
Comments welcome.
Luya
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Le mercredi 31 octobre 2018 à 17:13 -0700, Luya Tshimbalanga a écrit :
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30
If someone wants to do this the font powerline uses should be fixed to used correct unicode point values (and PUA when it include things not standardised by unicode).
Otherwise powerline display is just broken on many terminals
Regards,
On 01/11/18 09:53 +0100, Nicolas Mailhot wrote:
Le mercredi 31 octobre 2018 à 17:13 -0700, Luya Tshimbalanga a écrit :
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30
If someone wants to do this the font powerline uses should be fixed to used correct unicode point values (and PUA when it include things not standardised by unicode).
Otherwise powerline display is just broken on many terminals
+1 if this would naturally solve "unable to calculate font width for 'PowerlineSymbols'" problem with rxvt-unicode.
On Thu, 1 Nov 2018 at 09:44, Nicolas Mailhot nicolas.mailhot@laposte.net wrote:
If someone wants to do this the font powerline uses should be fixed to used correct unicode point values (and PUA when it include things not standardised by unicode).
Otherwise powerline display is just broken on many terminals
Is there a bug report for this?
Le 2018-11-05 11:31, Jonathan Underwood a écrit :
On Thu, 1 Nov 2018 at 09:44, Nicolas Mailhot nicolas.mailhot@laposte.net wrote:
If someone wants to do this the font powerline uses should be fixed to used correct unicode point values (and PUA when it include things not standardised by unicode).
Otherwise powerline display is just broken on many terminals
Is there a bug report for this?
Probably:) But I haven’t checked. It’s 2018. I’m getting sick of telling people: 1. use unicode. 2. use unicode mechanisms like PUA for special non-standard glyphs. 3. apply Fedora fonts packaging guidelines so apps find the result 4. use Opentype only (ttf and otf). Do not ship multiple special feel-good just-in-case cargo culted font formats that confuse apps. 4. write the fontconfig file our guidelines request so your font get picked by fontconfig substitution 5. for fonts intended for use in terms and code editors: get your font aliases in “monospace”. And make sure your font is actually monospace.
Regards,
On 10/31/18 8:13 PM, Luya Tshimbalanga wrote:
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
-1 and say this as a Powerline user. It requires a user level demon just to be fast enough rendering the prompt every time, that is more memory consumption for something some users will never use (users that don't use a terminal). There are lightweight alternatives like powerline-go (single process rendering) but still starting it for every rendering is not ultra fast either.
I really prefer some kind of subpackage like powerline-system-config that could add an something to /etc/profile.d that add a default configuration for all non system users instead of telling people to adapt their .bash_profile/.bashrc (or preferred shell) scripts
Comments welcome.
Luya
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
On Thu, 2018-11-01 at 08:26 -0400, Robert Marcano wrote:
On 10/31/18 8:13 PM, Luya Tshimbalanga wrote:
I really prefer some kind of subpackage like powerline-system-config that could add an something to /etc/profile.d that add a default configuration for all non system users instead of telling people to adapt their .bash_profile/.bashrc (or preferred shell) scripts
I agree. I prefer an "off by default, but easy to on" option. I did write some rough and ready BASH script for my own machine configuration needs ages ago, but I think it just automatically modified ~/.bashrc. I could dig it out and stick it on GitLab if anyone is interested… 😉
Cheers, Dan
On Wed, 2018-10-31 at 17:13 -0700, Luya Tshimbalanga wrote:
Since powerline does not impact the performance, it will be great to set for Fedora 30.
I experienced a performance problem with powerline on Fedora on a Raspberry Pi I was setting up for a friend. It seemed to put significant load on the CPU.
On Thu, 2018-11-01 at 10:04 -0400, Randy Barlow wrote:
I experienced a performance problem with powerline on Fedora on a Raspberry Pi I was setting up for a friend. It seemed to put significant load on the CPU.
My memory is a little hazy - I think it was specifically tmux-powerline and not the bash powerline. Not 100% sure and I don't have a pi to test with myself.
On Thu, Nov 1, 2018 at 10:14 AM Randy Barlow bowlofeggs@fedoraproject.org wrote:
On Thu, 2018-11-01 at 10:04 -0400, Randy Barlow wrote:
I experienced a performance problem with powerline on Fedora on a Raspberry Pi I was setting up for a friend. It seemed to put significant load on the CPU.
My memory is a little hazy - I think it was specifically tmux-powerline and not the bash powerline. Not 100% sure and I don't have a pi to test with myself.
Well, it's worth noting that this *can* put a significant load on the system when operating within a directory that has an enormous commit history (such as the kernel). So if we were to go this route, I think we'd want to first enhance powerline to avoid reading the entire git history while displaying the status.
On Thu, 1 Nov 2018 at 14:55, Randy Barlow bowlofeggs@fedoraproject.org wrote:
On Wed, 2018-10-31 at 17:13 -0700, Luya Tshimbalanga wrote:
Since powerline does not impact the performance, it will be great to set for Fedora 30.
I experienced a performance problem with powerline on Fedora on a Raspberry Pi I was setting up for a friend. It seemed to put significant load on the CPU.
A lighter weight alternative might be PureLine: https://github.com/chris-marsh/pureline
El mié., 31 de oct. de 2018 a la(s) 19:06, Luya Tshimbalanga (luya@fedoraproject.org) escribió:
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
Is there going to be any way to disable this?
I'm a powerline user on Terminal, Tmux and vim, but I don't enable this in all my boxes.
Please note that not all users use powerline and will not want to have it enabled or pre-installed by default.
And those who do use it do not have problems installing it, it's a matter of personal taste.
Polite as usual, Porfirio.
On Thursday, 01 November 2018 at 01:13, Luya Tshimbalanga wrote:
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
Comments welcome.
You could start by explaining what "powerline theme" is and why is it worth enabling.
Regards, Dominik
On Fri, Nov 2, 2018 at 9:10 AM Dominik 'Rathann' Mierzejewski dominik@greysector.net wrote:
On Thursday, 01 November 2018 at 01:13, Luya Tshimbalanga wrote:
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
Comments welcome.
You could start by explaining what "powerline theme" is and why is it worth enabling.
On 11/2/18 9:41 AM, Stephen Gallagher wrote:
On Fri, Nov 2, 2018 at 9:10 AM Dominik 'Rathann' Mierzejewski dominik@greysector.net wrote:
On Thursday, 01 November 2018 at 01:13, Luya Tshimbalanga wrote:
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
Comments welcome.
You could start by explaining what "powerline theme" is and why is it worth enabling.
That provides a nice overview, but as someone who's extensively diddled their bash configuration to achieve most all of this via a very glorified PS1, can anyone tell me why powerline needs a daemon? Or if it's not needed, what benefit does it bring?
On 11/2/18 10:12 AM, John Florian wrote:
On 11/2/18 9:41 AM, Stephen Gallagher wrote:
On Fri, Nov 2, 2018 at 9:10 AM Dominik 'Rathann' Mierzejewski dominik@greysector.net wrote:
On Thursday, 01 November 2018 at 01:13, Luya Tshimbalanga wrote:
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
Comments welcome.
You could start by explaining what "powerline theme" is and why is it worth enabling.
That provides a nice overview, but as someone who's extensively diddled their bash configuration to achieve most all of this via a very glorified PS1, can anyone tell me why powerline needs a daemon? Or if it's not needed, what benefit does it bring?
For bash mode it can run without it, but it is painfully slow (it has so many options and features that it is not a small process doing simple fast tasks), so the daemon allows to have the process running all the time and a small renderer calls it for the current prompt line. It also allow to have multiple renderers for tmux, vim, etc.
This is no small python service running and consuming resources all the time for something non CLI users will ever use. Maybe someone manages to make the powerline daemon to start on demand (if a terminal is opened).
devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
On my Intel NUC, which is x86_64, powerline-daemon uses about 1.2% CPU at all times even when idle. I'm not sure why. The TIME+ colume in top shows it using about 1/5th the CPU time of NetworkManager and 1/2 the time of dbus and 1/3 that of docker running pihole. I dunno, I tolerate it but I'm not sure it's efficient enough by default, but then I have no idea why NetworkManager is consuming as much CPU as it is for that matter, maybe somehow the pihole ends up offloading its work onto NetworkManager.
Chris Murphy
On Fri, 2 Nov 2018 09:41:34 -0400 Stephen Gallagher sgallagh@redhat.com wrote:
On Fri, Nov 2, 2018 at 9:10 AM Dominik 'Rathann' Mierzejewski dominik@greysector.net wrote:
On Thursday, 01 November 2018 at 01:13, Luya Tshimbalanga wrote:
It will be nice to enable powerline theme by default system and user wide. Simple reason is refresh the look of terminal while also providing useful information especially for git branch. Since powerline does not impact the performance, it will be great to set for Fedora 30.
I read in comments here people saying that it takes approximately 1 to 2 per cent of CPU constantly. How is this not an impact to performance? Even if it is small, why waste cpu? Not to mention the context switching hit.
Comments welcome.
You could start by explaining what "powerline theme" is and why is it worth enabling.
I just use PS1='\e[1;33;40m\w\e[0;37;40m @ \u \l\n$ ' I hope there is a way to turn powerline off as I don't need it, if it is just doing what is described in that article. Not saying some people might not find it a wonderful addition, and they should be able to run it. Is there an option in the json configuration file that disables it, if you do decide to make it the default?