Non-tech-support topic may be discussed here. Discussions on religion and politics are not allowed. This area is intended for fun and community building, not arguments; Please take those elsewhere.
Posts: 601
Joined: Mon Apr 08, 2013 6:45 am

Re: Thanks

Postby drooly » Sun Sep 18, 2016 7:05 am


Code: Select all

openbox --version
Openbox 3.6.1
and startup notifications do not work ootb.

meaning: the package is installed, but i never inquired or actually did anything to make them work.

i don't need it, and here's why:
my conky system monitor always shows me the top 5 applications for cpu, memory and i/o usage.
and an app almost always takes long to startup because at least one of those values is maxed out.
so a quick glance at my conky tells me what's going on.
take a look at one of my screenshots to understand:

Posts: 21
Joined: Thu Sep 15, 2016 10:49 am

Re: Thanks

Postby rufwoof » Sun Sep 18, 2016 8:47 am

Coincidentally I've just trialled Openshot 3.6.1 in a read-only session and as you say ... doesn't work either. Another thought is that rather than complicating things with showing a splash until the window becomes active, a simpler 2 or 3 second splash is sufficient. Perhaps something like

Code: Select all

yad --fixed --center --dialog-sep --skip-taskbar --undecorated --no-buttons \
        --timeout=3 --image="example_icon.png" \
       --text=$"  LOADING .....  " &
(that assumes yad has been installed). Which in this case times out (disappears) after 3 seconds and generates a output/splash like the attached image.

So set it up so that the .desktop calls a script that generates the above and then executes the associated program ... implemented for slow to load programs.

Conky is nice (I like the format of conky in DebianDog), but does steal CPU. DebianDog has a toggle conky icon so you can reveal it only when you want.
splash.jpg (8.83 KiB) Viewed 1522 times

Posts: 601
Joined: Mon Apr 08, 2013 6:45 am

Re: Thanks

Postby drooly » Mon Sep 19, 2016 6:24 am

rufwoof wrote:Conky is nice (I like the format of conky in DebianDog), but does steal CPU.

i don't know what debian dog's conky looks like, but conky is DEFINITELY MUCH LIGHTER than the yad script you quoted there.
granted, it runs non-stop, yad is only called when the app actually starts, but...
conky is very lightweight.
if it uses too much cpu, that's the fault of the debian'dog person that wrote the conkyrc.

try sth like this and see if it uses too much cpu:

Code: Select all

own_window yes
own_window_transparent yes
own_window_type normal
own_window_title Conky

background yes
update_interval 3

cpu_avg_samples 2
diskio_avg_samples 5

pad_percents 0

override_utf8_locale yes
short_units yes
double_buffer yes
no_buffers yes

border_width 0
border_inner_margin 0
border_outer_margin 0

minimum_size 180 950
maximum_width 180
alignment tr
gap_x 10
gap_y 20

# # Graphics settings # #
draw_outline no
draw_shades no
draw_borders no
draw_graph_borders no
default_color cccccc
color1 ffffff
color2 aaaaaa
# colors for fs_bars
color3 4A4D30
color4 4A4D30
color5 4A4D30
color6 4A4D30

use_xft yes
xftfont DejaVu Sans Mono:size=8
format_human_readable yes
use_spacer none

top_name_width 15

${voffset 20}${offset 9}${cpugraph cpu1 40,80 323221 7C8050 -l -t}$alignr${cpugraph cpu2 40,80 323221 7C8050 -l -t}
${voffset -68}${font dejavu sans:style=extralight:size=20}$color2$alignr C P U${voffset 42}$font
${offset 10}$color1${voffset -23}${freq_g 1}GHz ${cpu cpu1}%$alignr${freq_g 2}GHz ${cpu cpu2}%
${offset 9}${voffset -7}${cpugraph cpu3 40,80 323221 7C8050 -l -t}$alignr${cpugraph cpu4 40,80 323221 7C8050 -l -t}
${offset 10}$color1${voffset -23}${freq_g 3}GHz ${cpu cpu3}%$alignr${freq_g 4}GHz ${cpu cpu4}%
${offset 10}${voffset 4}${top name 1}${alignr}${top cpu 1}%
${offset 10}${voffset -1}${top name 2}${alignr}${top cpu 2}%
${offset 10}${voffset -1}${top name 3}${alignr}${top cpu 3}%
${offset 10}${voffset -1}${top name 4}${alignr}${top cpu 4}%
${voffset 16}${font dejavu sans:style=extralight:size=20}$color2$alignr M E M$font$color
${offset 10}${voffset 8}$alignr${mem}/${memmax} - ${memperc}%
${offset 10}${voffset -1}${alignr}SWAP: $swap/$swapmax - ${swapperc}%
${offset 10}${voffset 2}${top_mem name 1}${alignr}${top_mem mem 1}%
${offset 10}${voffset -1}${top_mem name 2}${alignr}${top_mem mem 2}%
${offset 10}${voffset -1}${top_mem name 3}${alignr}${top_mem mem 3}%
${offset 10}${voffset -1}${top_mem name 4}${alignr}${top_mem mem 4}%
${offset 10}${offset -1}${voffset 35}$color2${diskiograph_read /dev/sda 40,80 7C8050 323221 -t -l}$alignr${diskiograph_write /dev/sda 40,80 7C8050 323221 -t -l}
${voffset -63}${font dejavu sans:style=extralight:size=20}$color2$alignr I / O${voffset 37}$font
${offset 10}$color1${voffset -23}Read: ${diskio_read /dev/sda}${alignr}Write: ${diskio_write /dev/sda}$color
${offset 10}${voffset 6}${top_io name 1}$alignr${top_io io_perc 1}%
${offset 10}${voffset -1}${top_io name 2}$alignr${top_io io_perc 2}%
${offset 10}${voffset -1}${top_io name 3}$alignr${top_io io_perc 3}%
${offset 10}${voffset -1}${top_io name 4}$alignr${top_io io_perc 4}%
${offset 10}${voffset 15}${font dejavu sans:style=extralight:size=20}$color2$alignr F S$font
${offset 10}${voffset 4}$color3${fs_bar 15 /}$color1
${offset 10}${voffset -22}root: $fs_used/$fs_size
${offset 10}${voffset 2}$color4${fs_bar 15 /home/data}$color1
${offset 10}${voffset -22}data: ${fs_used /home/data}/${fs_size /home/data}

Return to “LXDE Cafe”

Who is online

Users browsing this forum: No registered users and 2 guests