Problemi fluxbox e conky

Configurazione e uso di desktop e window manager alternativi, quali Enlightenment (E17), FVWM, Fluxbox, OpenBox e altri.
Scrivi risposta
XRob
Prode Principiante
Messaggi: 76
Iscrizione: sabato 14 marzo 2009, 16:31

Problemi fluxbox e conky

Messaggio da XRob »

Salve, ho installato fluxbox su ubuntu ed ho due problemi.
Il primo è lo sfondo. Ho messo nel file startup la riga fbsetbg -f percorsofile & ma all'avvio mi ritrovo il desktop senza sfondo ed il seguente messaggio d'errore:
fbsetbg: I can't find an app to set the wallpaper with. You can install one in many many ways but I will give you some simple advice: install Etern and you're set. Etern provides Esetroot and thats a great wallpaper setter. I recommend you install the package provided by your distro
Il secondo non riguarda fluxbox ma conky. Tra le guide online non ho capito se devo configurare il file .conkyrc nella home o il file conky.conf in /etc/conky.

Il conky che dovrei avere è questo: http://i26.tinypic.com/2ujtggm.png
Ma mi ritrovo questo: http://i29.tinypic.com/vevl38.jpg

Posto i file .conkyrc e conky.conf (.conkyrc ha le impostazioni che dovrebbero far apparire il conky mostrato nel primo screen, mentre conky.conf non l'ho proprio toccato):

.conkyrc:

Codice: Seleziona tutto

# Use Xft?
use_xft yes
font snap-7
#xftfont snap.se:size=6.5
#xftfont Freemono:size=7:bold
#xftfont cure.se:size=8
xftfont Freesans:pixelsize=9
xftalpha 1
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 175
maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color e0e0e0
#default_shade_color white
#default_outline_color black
#own_window_colour 000000

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 35
gap_y 175

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT

DATE ${hr 1}
${alignc 18}${font Freesans:pixelsize=23:bold}${time %H:%M}${font}

${alignc}${font Freesans:pixelsize=10}${time %a %d %b %Y}${font}

SYS ${hr 1}

${alignc}Xubuntu Linux 9.04 Jaunty Jackalope

Uptime ${alignr}${uptime}
Kernel  ${alignr}${kernel}
CPU1 ${freq_dyn_g 1} GHz ${alignr}${cpu cpu1}%  ${cpubar cpu1 4,60}
CPU2 ${freq_dyn_g 2} GHz ${alignr}${cpu cpu2}%  ${cpubar cpu2 4,60}
RAM ${alignr}$memperc%  ${membar 4,60}
SWAP ${alignr}$swapperc%  ${swapbar 4,60}
${if_existing /proc/acpi/battery/BAT1/state capacity}Battery ${alignr}${battery_percent BAT1}%  ${battery_bar 4,60 BAT1}${else}${voffset -12}${endif}

HDD ${hr 1}

Filesystem ${alignr}${fs_used_perc /}%  ${fs_bar 4,60 /}
Vista ${alignr}${fs_used_perc /media/Vista}%  ${fs_bar 4,60 /media/Vista}
Packard Bell ${alignr}${fs_used_perc /media/Packard Bell}%  ${fs_bar 4,60 /media/Packard Bell}

TEMP ${hr 1}

MB ${alignr}${execi 300 sensors | grep temp1 | cut -c15-16 ;}°C
CPU1 ${alignr}${execi 300 sensors | grep Core\ 0 | cut -c15-16 ;}°C
CPU2 ${alignr}${execi 300 sensors | grep Core\ 1 | cut -c15-16 ;}°C
HD ${alignr}${execi 300 nc localhost 7634 | cut -c33-34 ;}°C

NET ${hr 1}
${if_existing /proc/net/route wlan0}
Signal ${alignr}${wireless_link_qual wlan0}% ${wireless_link_bar 4,60 wlan0}
Up     ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 4,60 000000 000000}
Down   ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 4,60 000000 000000}
Local Ip ${alignr}${addr wlan0}
Public Ip ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}${if_existing /proc/net/route eth0}
Up     ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 4,60 000000 000000}
Down   ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 4,60 000000 000000}
Local Ip ${alignr}${addr eth0}
Public Ip ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}
Network Unavailable
${endif}
conky.conf:

Codice: Seleziona tutto

# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# $Id: conky.conf 1193 2008-06-21 20:37:58Z ngarofil $

alignment bottom_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
font 6x10
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type normal
stippled_borders 0
update_interval 3.0
uppercase no
use_spacer no
show_graph_scale no
show_graph_range no

TEXT
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
$hr
${color grey}Name                  PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
Spero nel vostro aiuto  :(
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40345
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: Problemi fluxbox e conky

Messaggio da steff »

install Eterm and you're set

Codice: Seleziona tutto

sudo apt-get install eterm
il file conky che conta come primo è .conkyrc nella home
Ultima modifica di steff il domenica 16 agosto 2009, 23:06, modificato 1 volta in totale.
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
XRob
Prode Principiante
Messaggi: 76
Iscrizione: sabato 14 marzo 2009, 16:31

Re: Problemi fluxbox e conky

Messaggio da XRob »

Per il desktop ho risolto, grazie.

Quindi  il file conky.conf non devo toccarlo. Allora dov'è il problema se ho settato come volevo il file .connkyrc?  >:(
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40345
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: Problemi fluxbox e conky

Messaggio da steff »

Lancialo con il terminale:

Codice: Seleziona tutto

conky &
ti darà una sfilza di errori perché chi la creato ha un sistema diverso. Ecco uno mio simile:

Codice: Seleziona tutto

# Conky, a system monitor, based on torsmo                  
#                                                           
# Any original torsmo code is licensed under the BSD license
#                                                           
# All code written since the fork of torsmo is licensed under the GPL
#                                                                    
# Please see COPYING for details                                     
#                                                                    
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen         
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.                                                          
#                                                                               
# This program is free software: you can redistribute it and/or modify          
# it under the terms of the GNU General Public License as published by          
# the Free Software Foundation, either version 3 of the License, or             
# (at your option) any later version.                                           
#                                                                               
# This program is distributed in the hope that it will be useful,               
# but WITHOUT ANY WARRANTY; without even the implied warranty of                
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                 
# GNU General Public License for more details.                                  
# You should have received a copy of the GNU General Public License             
# along with this program.  If not, see <http://www.gnu.org/licenses/>.         
#                                                                               
# $Id: conky.conf 990 2007-11-22 19:38:17Z pkovacs $                            

alignment bottom_left
background no        
border_width 1       
cpu_avg_samples 2    
default_color white  
default_outline_color white
default_shade_color white  
draw_borders no            
draw_graph_borders yes     
draw_outline no            
draw_shades no             
font 8x10                  
gap_x 5                    
gap_y 60                   
minimum_size 5 5           
net_avg_samples 2          
no_buffers yes             
out_to_console no          
own_window yes             
own_window_class Conky     
own_window_type normal     
stippled_borders 0         
update_interval 3.0        
uppercase no               
use_spacer none            

TEXT
$nodename - $sysname $kernel su $machine
$hr
${color grey}Acceso:$color $uptime
${color grey}Frequenza CPU0 Mhz:$color $freq 1
${color grey}Frequenza CPU1 Mhz:$color $freq 2
${color grey}Consumo RAM:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}Batteria: $color ${battery_percent BAT1}%  ${battery_time BAT1}
$hr
${color grey}CPU $freq 1: $color ${cpu cpu1}% ${cpubar cpu1 4}
${color grey}CPU $freq 2: $color ${cpu cpu}% ${cpubar cpu2 4}
${color grey}Temperatura: $color $acpitemp °C
${color grey}Processi:$color $processes  ${color grey}In esecuzione:$color $running_processes
$hr
${color grey}Spazio su dischi:
 / $color${fs_free /}  ${fs_bar 6 /}
 /home $color${fs_free /home}  ${fs_bar 6 /}
/dati $color${fs_free /media/dati} ${fs_bar 6 /}
${color grey}Rete:
Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
$hr
${color grey}Nome            PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
XRob
Prode Principiante
Messaggi: 76
Iscrizione: sabato 14 marzo 2009, 16:31

Re: Problemi fluxbox e conky

Messaggio da XRob »

Non mi da nessun errore, si avvia normalmente lo script  :-/
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40345
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: Problemi fluxbox e conky

Messaggio da steff »

Ho provato quel .conkyrc che hai postato e ci sono errori per forza e non mi parte mai: /media/Vista non esiste, ~/.scripts/ip.sh non esiste ecc ecc
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
XRob
Prode Principiante
Messaggi: 76
Iscrizione: sabato 14 marzo 2009, 16:31

Re: Problemi fluxbox e conky

Messaggio da XRob »

A me non da errori quando lo avvio:

Codice: Seleziona tutto

r@R:~$ conky &
Conky: use_spacer should have an argument of left, right, or none.  'no' seems to be some form of 'false', so defaulting to none.
Conky: desktop window (7b) is root window
[1] 4024
r@R:~$ Conky: window type - normal
Conky: drawing to created window (0x1400002)
Conky: drawing to single buffer
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40345
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: Problemi fluxbox e conky

Messaggio da steff »

ma dicevi che non era quello che volevi, no?
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
XRob
Prode Principiante
Messaggi: 76
Iscrizione: sabato 14 marzo 2009, 16:31

Re: Problemi fluxbox e conky

Messaggio da XRob »

Si infatti, ma non dipende da errori di configurazione nel file .conkyrc a quanto vedo.
Vorrei capire come risolvere sto problema.
Avatar utente
pierba
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 14532
Iscrizione: sabato 26 febbraio 2005, 19:10

Re: Problemi fluxbox e conky

Messaggio da pierba »

Secondo me dipende dal file, anche se la schermata mi appare come disederesti tu, continua a dirmi che manca ~/.scripts/ip.sh.

Senza quello script non fa nulla: resta una finestra statica.

L'immagine che ottieni tu, e` quella di default di conky appena installato e non configurato.

ciao
Pietro pagina personale - Avete domande sul forum? Leggendo le FAQ: potreste trovare la risposta.
La conoscenza deve essere collettiva, quindi, come da regolamento (Sez. II punto 15) i messaggi personali contententi richieste di assistenza tecnica verranno ignorati.
XRob
Prode Principiante
Messaggi: 76
Iscrizione: sabato 14 marzo 2009, 16:31

Re: Problemi fluxbox e conky

Messaggio da XRob »

La cartella script ce l'ho, con il relativo file ip.sh
Avatar utente
pierba
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 14532
Iscrizione: sabato 26 febbraio 2005, 19:10

Re: Problemi fluxbox e conky

Messaggio da pierba »

Secondo me dovresti riguardare il file di configurazione verificando che tutti i file cui punta siano presenti.

Posta il messaggio che ti scrive se lo lanci da terminale.

ciao
Pietro pagina personale - Avete domande sul forum? Leggendo le FAQ: potreste trovare la risposta.
La conoscenza deve essere collettiva, quindi, come da regolamento (Sez. II punto 15) i messaggi personali contententi richieste di assistenza tecnica verranno ignorati.
XRob
Prode Principiante
Messaggi: 76
Iscrizione: sabato 14 marzo 2009, 16:31

Re: Problemi fluxbox e conky

Messaggio da XRob »

L'ho postato sopra.
Avatar utente
pierba
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 14532
Iscrizione: sabato 26 febbraio 2005, 19:10

Re: Problemi fluxbox e conky

Messaggio da pierba »

Non conosco conky, e non so essere piu` preciso.

Quello e` lo stesso messaggio che da a me, senza alcuna configurazione.
Probablmente devi intervenire sul file di configurazione adattandolo alla tua macchina.

Probabilmente questo puo` aiutarti, se non lo hai gia` visto.

ciao
Pietro pagina personale - Avete domande sul forum? Leggendo le FAQ: potreste trovare la risposta.
La conoscenza deve essere collettiva, quindi, come da regolamento (Sez. II punto 15) i messaggi personali contententi richieste di assistenza tecnica verranno ignorati.
Avatar utente
lion1810
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 637
Iscrizione: mercoledì 21 giugno 2006, 10:06

Re: Problemi fluxbox e conky

Messaggio da lion1810 »

devi deccomentare questa linea

#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
Scrivi risposta

Ritorna a “Altri ambienti desktop e window manager”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 2 ospiti