Author Topic: Manjaro Openbox Edition 0.8.13.1 released!  (Read 17165 times)

0 Members and 1 Guest are viewing this topic.

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #15 on: 23. July 2015, 19:54:16 »

will be that the problem is the conky?

vlw fwi, Holmes :)

Yes! - it is the Conky.  But here's the thing:  That Conky config isn't doing anything special.  No dynamic graphs, no fancy clocks, nothing.  It's basically just sitting there telling the day, date, and time in text, plus a few other things that don't tax the CPU.

What I did was replace your Conky config with my config and CPU went straight down to 1% at idle.  Just as it should.  So, what was different?  The syntax.  For some reason, the syntax of your config pushes the CPU to 15-17%.  I think it might be because it is written as a continuous string, whereas in mine each element is separate.  A bunch of tiny strings rather than a couple of big ones.  Yes?  No?  I honestly don't know, but I edited your config to look more like mine and it brought the CPU down from 15-17% to 8%.  CPU use was cut in half, basically. 

My Conky config is a copy of Samir Kahvedzic's original Cathexis Conky config, edited to my own taste.  I got rid of the graphs because they used a lot of CPU.  And recently with Linux kernel 4.1.1, I had to update a small bit of syntax to make the Conky window transparent.  Just had to change a couple of lines, nothing big, but those are the only basic changes I've made to the original config.

Anyway, I think the problem is your use of syntax.  Your config is basically two long lines of code, each closed off on its own, with each element of each line continuing to the next with the use of a comma.  Kahvedzic's config lists each element separately on its own line, with each active element uncommented, and one line doesn't continue directly to the next with the use of a comma.

Solution:  Use Kahvedzic's config and edit his to match what yours does.  Hope this helps!  :-)
« Last Edit: 23. July 2015, 19:56:04 by lightbeam »
---------------------------------------------------
I make you look good. 8)

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #16 on: 23. July 2015, 21:20:58 »
Yes! - it is the Conky.  But here's the thing:  That Conky config isn't doing anything special.  No dynamic graphs, no fancy clocks, nothing.  It's basically just sitting there telling the day, date, and time in text, plus a few other things that don't tax the CPU.

What I did was replace your Conky config with my config and CPU went straight down to 1% at idle.  Just as it should.  So, what was different?  The syntax.  For some reason, the syntax of your config pushes the CPU to 15-17%.  I think it might be because it is written as a continuous string, whereas in mine each element is separate.  A bunch of tiny strings rather than a couple of big ones.  Yes?  No?  I honestly don't know, but I edited your config to look more like mine and it brought the CPU down from 15-17% to 8%.  CPU use was cut in half, basically. 

My Conky config is a copy of Samir Kahvedzic's original Cathexis Conky config, edited to my own taste.  I got rid of the graphs because they used a lot of CPU.  And recently with Linux kernel 4.1.1, I had to update a small bit of syntax to make the Conky window transparent.  Just had to change a couple of lines, nothing big, but those are the only basic changes I've made to the original config.

Anyway, I think the problem is your use of syntax.  Your config is basically two long lines of code, each closed off on its own, with each element of each line continuing to the next with the use of a comma.  Kahvedzic's config lists each element separately on its own line, with each active element uncommented, and one line doesn't continue directly to the next with the use of a comma.

Solution:  Use Kahvedzic's config and edit his to match what yours does.  Hope this helps!  :-)

then, the problem is with the code conky.config?

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #17 on: 24. July 2015, 08:59:30 »
then, the problem is with the code conky.config?

vlw fwi, Holmes :)

Yes, I think it is.  The first thing I did was replace the code in your .conkyrc file with the code from my .conkyrc file.  Doing that allowed the CPU to idle at 1%, instead of 15-17%.  Next, I tried to understand what it was about your config that would use so many CPU resources, but it wasn't anything obvious like the PC temperature or the CPU processes elements of your config.  So then I simply tried to format your config to resemble mine, doing this saved 50% CPU.  I didn't have time to do your entire config, though.  I only completed the first half.

Basically, I think the computer reads your config and my config in two different ways.  The code in your config requires more CPU than the code in my config.  On a newer/modern computer this difference might not be noticeable, but on my old computer the difference matters a lot.
---------------------------------------------------
I make you look good. 8)

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #18 on: 24. July 2015, 14:59:23 »
hello @lightbeam, i will see if i can solve this problem; if i can not solve i will remove the conky next version!

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #19 on: 25. July 2015, 04:35:51 »
hello @lightbeam, i will see if i can solve this problem; if i can not solve i will remove the conky next version!

vlw fwi, Holmes :)

Ignore most of what I said earlier.  The major problem seems to be these two lines in the text section of your .conkyrc config:

Code: [Select]
${font Roboto:pixelsize=13}${alignc}${exec cat /etc/lsb-release|grep DESCRIPTION|sed s/DISTRIB_DESCRIPTION=//|sed 's/"//'|sed 's/"//'}
${font Roboto:pixelsize=13}${alignc}${exec cat /etc/lsb-release|grep RELEASE|sed s/DISTRIB_RELEASE=//} ${exec cat /etc/lsb-release|grep CODENAME|sed s/DISTRIB_CODENAME=//}

The first line isn't needed because it is just the name of the distribution, "Manjaro Linux," something that can be entered in the config just as text without the need for that information to be fetched from a file.

The second line isn't really needed either, because it's just the codename of the distribution.  It's nice to have it there, but there are other references to Manjaro in your config already, namely the kernel setting.

Grep is a search command.  This command used in the conky takes up 12-13% CPU, on my machine.  Removing those two lines that use the grep command brought the CPU down to 3-4%.

On my PC, I know that using my own config on your distro will bring the CPU idle down to 1-3%.  So, if you want to make sure inexperienced users using older PCs don't get the wrong impression about your distro, it might be a good idea to use a conky that doesn't use grep commands, (or even data graphs), as it will show how light the Openbox edition really is.

Thanks for your hard work!  And dealing with my trial and error mumbo-jumbo. 

vlw fwi :)


« Last Edit: 25. July 2015, 12:21:24 by lightbeam »
---------------------------------------------------
I make you look good. 8)

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #20 on: 25. July 2015, 08:52:38 »
Hello guys!
Unfortunately Conky's ability to perform a command only once was aborted with the latest update.
But instead of exec you can use
Code: [Select]
execi <time> indicating the timespan inbetween executions.
exec performs the action everytime the conky is updated, so every second (!), but when you use execi with a high number the query will only be done every now and then.

In the new i3 edition I use this for displaying the distro information:
Code: [Select]
${voffset 20}$alignr$color${execi 5000 awk -F= '/ID=/{printf $2" "} /RELEASE=/{printf $2" "} /NAME=/{print $2}' /etc/lsb-release}Like that it hardly makes any difference in cpu usage.

Hope that helps :)
« Last Edit: 25. July 2015, 11:52:10 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline aguador

  • Vollwertiges Mitglied
  • ***
  • Posts: 200
  • Branch: Stable
  • Desktop: E20
  • GPU Card: Intel 945 GME; Radeon 9000; Nvidia 340xx
  • GPU driver: Free; free; free
  • Kernel: Linux314-net; Linux44-x86; Linux44-x64
  • Skill: Novice
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #21 on: 25. July 2015, 10:30:09 »
Nice work oberon and lightbeam. FWIW: the strange thing is that I just looked at two of the dev versions running live, commenting in the 0.9.0 thread. Holmes first 32-bit version (with graphs in the Conky) idled at 1% on each of four cores; the last 64-bit version at 4%. I don't have time to explore at the moment to know if that offers any more clues to what is going on.

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #22 on: 25. July 2015, 13:51:42 »
Hope that helps :)

Hey Oberon!  Yes, I believe it does help.  I'm not 100% sure because I haven't installed Holmes' new Openbox Edition to the hard drive of my system, but I edited his conkyrc. file to use these two lines:

Code: [Select]
${font Roboto:pixelsize=13}${alignc}${execi 5000 cat /etc/lsb-release|grep DESCRIPTION|sed s/DISTRIB_DESCRIPTION=//|sed 's/"//'|sed 's/"//'}
${font Roboto:pixelsize=13}${alignc}${execi 5000 cat /etc/lsb-release|grep RELEASE|sed s/DISTRIB_RELEASE=//} ${execi 5000 cat /etc/lsb-release|grep CODENAME|sed s/DISTRIB_CODENAME=//}

After using the "killall conky" command in the terminal and restarting conky, your suggestion does appear to work.  Thank you for chiming in! :)

Also, off-topic: I have been learning your i3 distro in my spare time as well.  I like it very much.  Not much of a coder though, but I've found the tiling system to be useful in other ways.  Like comparing drafts, for instance.  I'm wondering if I should go all the way and install it.  Anyway, thanks again!  :)  You too, Holmes!  :)

---------------------------------------------------
I make you look good. 8)

Offline papajoke

  • Vollwertiges Mitglied
  • ***
  • Posts: 135
  • from www.manjaro.fr
  • Branch: stable/testing
  • Desktop: KDE4 and 5 - zsh
  • GPU driver: video-nouveau free
  • Kernel: x64
  • Skill: Intermediate
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #23 on: 25. July 2015, 14:14:18 »
Code: [Select]
${font Roboto:pixelsize=13}${alignc}${execi 5000 cat /etc/lsb-release|grep DESCRIPTION|sed s/DISTRIB_DESCRIPTION=//|sed 's/"//'|sed 's/"//'}
${font Roboto:pixelsize=13}${alignc}${execi 5000 cat /etc/lsb-release|grep RELEASE|sed s/DISTRIB_RELEASE=//} ${execi 5000 cat /etc/lsb-release|grep CODENAME|sed s/DISTRIB_CODENAME=//}

you use 4 +3x2 (=10)thread (cat + grep + sed + sed ), is not good for cpu

now, 2+1 (=3)thread
Code: [Select]
awk -F'=' '/DESCRIPTION/ {print $2}' /etc/lsb-release |sed 's/"//g'
awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release
« Last Edit: 25. July 2015, 14:23:05 by papajoke »

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #24 on: 25. July 2015, 14:47:55 »
[off-topic]
I'm wondering if I should go all the way and install it.  Anyway, thanks again!  :)  You too, Holmes!  :)
Glad you like it! :) In any case, wait for the next stable install media - expect to have it delivered by Monday or Tuesday! Some improvements waiting, especially most of the config will now come in package-form so updating will be much easier in the future.
More off-topic: the lua-conky of the 0.8.13 edition which will not be present in the next release can now be installed as a package! Either it's 'lua-clock-manjaro' (just the right part of the conky or 'lua-clock-i3', including the shortcut-reminder-conky. Both packages are currently still in unstable, but will be in stable next week.
[/off-topic, sorry!]
« Last Edit: 25. July 2015, 14:51:40 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #25 on: 25. July 2015, 19:41:39 »
[Off-topic]

Excellent, Oberon! :)

[/Off-topic and sorry too!]
---------------------------------------------------
I make you look good. 8)

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #26 on: 26. July 2015, 03:39:03 »
hi guys, thanks for the help to solve the conky. i never imagined that the problem was that two parameters. congratulations to all of you... ;)

ps: i put the new code at the end of the message that opened this topic: https://goo.gl/1UuMux.

vlw fwi, Holmes :)
« Last Edit: 26. July 2015, 03:55:48 by Holmes »


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline Monro

  • Neuling
  • *
  • Posts: 43
  • Monro of Fyrish coat of arms
  • Branch: stable
  • Desktop: OpenBOx
  • Skill: Novice
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #27 on: 26. July 2015, 14:43:58 »
First, thanks for this revival of openbox. I'm glad, and it looks very nice.

One thing that I think needs re-consideration (from Usability POV), is:
Should a liveCD really be accessible only if one knows the username and password?

IMHO that should be required only for actual sudo actions.

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #28 on: 26. July 2015, 17:25:05 »
First, thanks for this revival of openbox. I'm glad, and it looks very nice.

One thing that I think needs re-consideration (from Usability POV), is:
Should a liveCD really be accessible only if one knows the username and password?

IMHO that should be required only for actual sudo actions.

hi @Monro, i will see how to remove these things (login and password)!

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline xikuuky

  • Jr. Mitglied
  • **
  • Posts: 82
  • Manjaro Maintainer, wh173 h47 h4ck3r.
  • Branch: Stable, testing
  • Desktop: Awesome, QTile, Openbox, Bspwm
  • GPU Card: Nvidia GT Geforce 510M
  • GPU driver: Nonfree
  • Kernel: Manjaro Linux Kernel 4.2
  • Skill: Intermediate
Re: Manjaro Openbox Edition 0.8.13.1 released!
« Reply #29 on: 03. August 2015, 07:36:32 »
Will there be a torrent version available?