Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Risorse italiane (documentazione e tools)
  • Search

[tip] migliorare aspetto xdm

Forum riservato alla documentazione in italiano.

Moderator: ago

Post Reply
  • Print view
Advanced search
145 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
Author
Message
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Feb 09, 2005 10:54 am

.:deadhead:. wrote:Usate già il FrameBuffer? Volete provare a vivere senza XDM? Provate Qingy!
Allora usavo qingy ma ha un po' di problemi.
  1. Uno e' che parte in fb quindi poi a caricare X ci mette un attimo (non proprio un contro)
  2. Dopo un po' che faccio lo switch da X a console mi va a pute qingy e non riesco piu' a loggarmi con lui
  3. Devo scaricare un pacchetto in piu'
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
.:deadhead:.
Advocate
Advocate
User avatar
Posts: 2963
Joined: Tue Nov 25, 2003 5:17 pm
Location: Milano, Italy

  • Quote

Post by .:deadhead:. » Wed Feb 09, 2005 11:18 am

fedeliallalinea wrote:Dopo un po' che faccio lo switch da X a console mi va a pute qingy e non riesco piu' a loggarmi con lui
a me è capita rarissimamente quando switcho da qingy ad altre console oppure X,sempre in framebuffer, troppo rapidamente [della serie balliam lo schiaccianoci sulle 7 console]. Ma è una rara eventualità. Cmq con la 0.5.3 non ho avuto alcun tipo di problema. Inoltre, per evitare situazioni spiacevoli, qingy lo tengo solo sulla pts/2, su tutti gli altri tengo getty in FB.
fedeliallalinea wrote:Devo scaricare un pacchetto in piu'
:D 522 kb , contro tutto xorg :-) certo se uno usa già xorg, allora pondera pro e contro, ma per chi non usa X e si affida solo al framebuffer, è la manna dal cielo :mrgreen:

cmq l'importante era far sapere che esiste anche questo :-)

Oh yeah 800 post!
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Feb 09, 2005 12:25 pm

.:deadhead:. wrote: Ma è una rara eventualità.
Ho cambiato proprio per questo perche' da me non e' cosi' rara
.:deadhead:. wrote: :D 522 kb , contro tutto xorg :-) certo se uno usa già xorg, allora pondera pro e contro, ma per chi non usa X e si affida solo al framebuffer
Si ma se uso solo il fb un login manager cosi' non mi serve :wink:
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
.:deadhead:.
Advocate
Advocate
User avatar
Posts: 2963
Joined: Tue Nov 25, 2003 5:17 pm
Location: Milano, Italy

  • Quote

Post by .:deadhead:. » Wed Feb 09, 2005 12:34 pm

Eh.. il framebuffer, gioie e dolori :-)

Come a cosa ti serve?? è così PHIKO! :mrgreen: :lol:

arg! esame, mezzora, ancora,stress...
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Feb 09, 2005 12:42 pm

.:deadhead:. wrote:Come a cosa ti serve?? è così PHIKO! :mrgreen: :lol:
Ok ma io uso principalmente un login manager per non dovermi connettere e poi lanciare ancora startx. Se non userei X allora non mi porrei neanche il problema. Comunque e' una cosa molto personale
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
ares
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Mon Oct 13, 2003 6:06 pm
Location: Savigliano (CN)
Contact:
Contact ares
Website

  • Quote

Post by ares » Wed Feb 09, 2005 1:48 pm

@fedeliallalinea
Aggiungi questo nel file /etc/X11/xdm/Xsetup_0

Code: Select all

/usr/local/sbin/start &  # questa dovresti già averla
echo $! > /var/run/xdmbutton.pid
exit
Poi controlla di avere questa stringa nel file /etc/X11/xdm/xdm-config

Code: Select all

DisplayManager._0.startup:      /etc/X11/xdm/GiveConsole
Dopodichè modifichi il file /etc/X11/xdm/GiveConsole
Aggiungendo questo

Code: Select all

if test -r /var/run/xdmbutton.pid; then kill `cat /var/run/xdmbutton.pid`; fi
Il link originale delle modifiche apportate a xdm è
http://www.customlinux.org/dir/doc/xdm.php

Per chi volesse saperne di + per la creazione di pulsanti
http://www.dci.clrc.ac.uk/Publications/Cookbook/
http://www.tldp.org/HOWTO/Scripting-GUI ... index.html
http://othnielgraichen.tripod.com/tclintro.html

@fedeliallalinea : A proposito, che bordo intendi ?
My portage and homepage
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Feb 09, 2005 2:30 pm

ares wrote:@fedeliallalinea : A proposito, che bordo intendi ?
Quelli dei pulsanti, vorrei solo la scritta senza bordi

PS: grazie mille
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
kender_m
Tux's lil' helper
Tux's lil' helper
Posts: 78
Joined: Tue Jun 08, 2004 8:44 am

  • Quote

Post by kender_m » Wed Feb 09, 2005 3:52 pm

fedeliallalinea wrote:Se non userei X allora non mi porrei neanche il problema. Comunque e' una cosa molto personale
So che sono OT ma non posso esimermi dal segnalare che secondo la grammatica italiana dovresti usare usassi non userei!! :? :?

fedeli, correggi e cancalla il mio post, plz ;)
Top
ares
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Mon Oct 13, 2003 6:06 pm
Location: Savigliano (CN)
Contact:
Contact ares
Website

  • Quote

Post by ares » Wed Feb 09, 2005 4:22 pm

@fedeliallalinea :
Nn credo che si possa fare, per migliorarlo si può aggiungere l'opzione -highlightthickness 0 ad ogni pulsante creato, in questo modo hai barra di pulsanti uniforme senza nessuna linea tra una scritta e l'altra

Code: Select all

button .reboot -highlightthickness 0 -font -artwiz-snap-normal-r-normal--0-0-75-75-p-0-iso8859-1 \
	-bg white -fg LightSlateBlue -bd 0 -text Reboot -command {exec shutdown -r now}
My portage and homepage
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Feb 09, 2005 4:46 pm

@ares: forse mi sono espresso male io ma quello che mi hai detto fa esattamente quello che volevo. Eccolo
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
ares
Apprentice
Apprentice
User avatar
Posts: 280
Joined: Mon Oct 13, 2003 6:06 pm
Location: Savigliano (CN)
Contact:
Contact ares
Website

  • Quote

Post by ares » Wed Feb 09, 2005 4:58 pm

@fedeliallalinea : Bello veramente, avevo capito male io ,pensavo che lo volessi trasparente....ora guardo se c'è un'opzione per fare in modo che anche alla pressione del tasto nn cambi colore
My portage and homepage
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Feb 09, 2005 5:01 pm

Chi volesse l'immagine che ho sullo sfondo clicchi qui

PS: grazie mille ancora ares io non ci sarei arrivato
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
gutter
Bodhisattva
Bodhisattva
User avatar
Posts: 7162
Joined: Sat Mar 13, 2004 10:37 pm
Location: Aarau, Aargau, Switzerland
Contact:
Contact gutter
Website

  • Quote

Post by gutter » Wed Feb 09, 2005 5:06 pm

Io probabilmente ne faro uso ;)
Registered as User #281564 and Machines #163761
Top
luna80
Veteran
Veteran
User avatar
Posts: 1569
Joined: Sun Feb 01, 2004 7:51 am
Location: switzerland

  • Quote

Post by luna80 » Thu Feb 10, 2005 5:29 am

questa la mia schermata.

grazie mille per tutti i suggerimenti aggiunti da @ares
Top
luna80
Veteran
Veteran
User avatar
Posts: 1569
Joined: Sun Feb 01, 2004 7:51 am
Location: switzerland

  • Quote

Post by luna80 » Thu Feb 10, 2005 6:48 am

qualcuno per caso ha avuto problemi con i font del widget di login?

io noto ora che non riesco ad usare nessun altro font diverso da quello che ho postato (-*-snap-*-*-*-*-*-*-*-*-*-*-*-*)
Top
gutter
Bodhisattva
Bodhisattva
User avatar
Posts: 7162
Joined: Sat Mar 13, 2004 10:37 pm
Location: Aarau, Aargau, Switzerland
Contact:
Contact gutter
Website

  • Quote

Post by gutter » Thu Feb 10, 2005 8:48 am

Ho usato anche io quello, quindi non so dirti se gli altri portano problemi.

Solo una domanda (anche se credo che mi non sia realizzabile): ma è possibile ottenereun box di login trasparente? Ho cercato in lungo ed in largo con google ma non ho trovato niente.
Registered as User #281564 and Machines #163761
Top
luna80
Veteran
Veteran
User avatar
Posts: 1569
Joined: Sun Feb 01, 2004 7:51 am
Location: switzerland

  • Quote

Post by luna80 » Thu Feb 10, 2005 8:52 am

gutter wrote:Ho usato anche io quello, quindi non so dirti se gli altri portano problemi.
sarebbe una cosa che vorrei pure io, ma non so e non ho trovato come fare purtroppo :? ...cmq cercherò ancora e caso mai ti faccio sapere!
Top
luna80
Veteran
Veteran
User avatar
Posts: 1569
Joined: Sun Feb 01, 2004 7:51 am
Location: switzerland

  • Quote

Post by luna80 » Fri Feb 11, 2005 5:39 am

luna80 wrote:qualcuno per caso ha avuto problemi con i font del widget di login?

io noto ora che non riesco ad usare nessun altro font diverso da quello che ho postato (-*-snap-*-*-*-*-*-*-*-*-*-*-*-*)

ok, pare che xdm per i font del widget di login accetti soltanto stringhe del tipo

<serie>*<nome>-*-*-*-*-*-*-*-*-*-*-*-*

infatti così funziona.



(a scanso di equivoci, il font naturalmente deve essere presente nelle liste di xfontsel)
Top
mouser
Veteran
Veteran
User avatar
Posts: 1419
Joined: Tue Aug 10, 2004 10:49 am
Location: Milano
Contact:
Contact mouser
Website

  • Quote

Post by mouser » Fri Feb 11, 2005 11:09 am

Posso proporre una cosa a luna80???

Aggiorna il post iniziale con le cose dette in questi post, cosi' raggruppi l'howto tutto all'inizio :wink:
Inoltre potresti postarlo anche sul wiki......

Ciriciao
mouser :wink:
Top
RockSteady
Guru
Guru
User avatar
Posts: 432
Joined: Sat Jun 28, 2003 5:06 am
Location: mestre - venice -italy

  • Quote

Post by RockSteady » Fri Feb 11, 2005 11:22 am

non riesco ad aggiungere le icone a xdm ho seguito tutti i passi :(
hoc reato lò script start e messo in /usr/local/sbin

Code: Select all

#!/usr/bin/wish
wm geometry . +270+710
set systemTime [clock seconds]
button .clock -font -*-bitstream\ vera\
sans-bold-r-*--20-*-*-*-*-*-iso10646-1 $
-text "[clock format $systemTime -format %H:%M:%S]"
button .halt -font -*-bitstream\ vera\
sans-bold-r-*--20-*-*-*-*-*-iso10646-1 -$
-text Halt -command {exec shutdown -h now}
button .reboot -font -*-bitstream\ vera\
sans-bold-r-*--20-*-*-*-*-*-iso10646-1$
-text Reboot -command {exec shutdown -r now}
button .screen -font -*-bitstream\ vera\
sans-bold-r-*--20-*-*-*-*-*-iso10646-1$
-text Screenshot -command {exec import -window root
/home/ilyth/screen.png}
button .start -font -*-bitstream\ vera\
sans-bold-r-*--20-*-*-*-*-*-iso10646-1 $
-text Adsl-Start -command {exec adsl-start}
button .kill -font -*-bitstream\ vera\
sans-bold-r-*--20-*-*-*-*-*-iso10646-1 -$
-text Kill -command {exec killall -9 start}
pack .clock .start .screen .reboot .halt .kill -side left
e ho modificato /etc/X11/xdm/Xsetup_0

Code: Select all

#!/bin/sh
# $Xorg: Xsetup_0,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
#xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail

# get KDEDIR value (only) and run kdmdesktop from there
eval "`grep KDEDIR /etc/profile.env`"
[ -x $KDEDIR/bin/kdmdesktop  ]  && ${KDEDIR}/bin/kdmdesktop

# --- Gentoo ---
# create list of sessions for kdm
/usr/bin/xsetbg -fork /home/rocksteady/i_love_gentoo.png
/usr/local/sbin/start &
echo $! > /var/run/xdmbutton.pid
exit
sessions="SessionTypes="
for x in `ls /etc/X11/Sessions`
do
    sessions="${sessions}${x},"
done
echo sessions: $sessions

# update all kdmrcs located; tries some pretty much impossible locations
# to make sure we get 'em all
source /etc/make.conf
for dir in /usr/kde/* /usr $KDEDIR $KDE2DIR $KDE3DIR $KDE2LIBSDIR $KDE3LIBSDIR
do

    echo "Changing kdmrc in $dir"
    cd ${dir}/share/config/kdm || continue

    cp kdmrc kdmrc.orig
    sed -e "/SessionTypes=/c\
${sessions}" kdmrc.orig > kdmrc
    rm kdmrc.orig

done
ma ancora niente icone al avvio d xdm
Linux yoyo 2.6.5 #2 SMP Sat May 22 10:52:10 Local time zone must be set--see zic i686 mobile AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
Top
gutter
Bodhisattva
Bodhisattva
User avatar
Posts: 7162
Joined: Sat Mar 13, 2004 10:37 pm
Location: Aarau, Aargau, Switzerland
Contact:
Contact gutter
Website

  • Quote

Post by gutter » Fri Feb 11, 2005 11:25 am

Porva a togliere l'exit dopo:

Code: Select all

[CUT]
echo $! > /var/run/xdmbutton.pid
 
Registered as User #281564 and Machines #163761
Top
RockSteady
Guru
Guru
User avatar
Posts: 432
Joined: Sat Jun 28, 2003 5:06 am
Location: mestre - venice -italy

  • Quote

Post by RockSteady » Fri Feb 11, 2005 11:31 am

gutter wrote:Porva a togliere l'exit dopo:

Code: Select all

[CUT]
echo $! > /var/run/xdmbutton.pid
 
ciao ho provato a fare come mi hai detto ma ancora niente :roll:
Linux yoyo 2.6.5 #2 SMP Sat May 22 10:52:10 Local time zone must be set--see zic i686 mobile AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
Top
gutter
Bodhisattva
Bodhisattva
User avatar
Posts: 7162
Joined: Sat Mar 13, 2004 10:37 pm
Location: Aarau, Aargau, Switzerland
Contact:
Contact gutter
Website

  • Quote

Post by gutter » Fri Feb 11, 2005 11:41 am

Hai emerso:

Code: Select all

* dev-lang/tk
     Available versions:  8.3.4-r1  ~8.4.6  8.4.6-r1  
     Installed:           8.4.6-r1
     Homepage:            http://dev.scriptics.com/software/tcltk/
     Description:         Tk Widget Set

controlla ;)
Registered as User #281564 and Machines #163761
Top
RockSteady
Guru
Guru
User avatar
Posts: 432
Joined: Sat Jun 28, 2003 5:06 am
Location: mestre - venice -italy

  • Quote

Post by RockSteady » Fri Feb 11, 2005 12:00 pm

>>> dev-lang/tk-8.4.6 merged.


ma ancora niente :roll: fa niente dai :D non voglio rompervi grazie
Linux yoyo 2.6.5 #2 SMP Sat May 22 10:52:10 Local time zone must be set--see zic i686 mobile AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
Top
luna80
Veteran
Veteran
User avatar
Posts: 1569
Joined: Sun Feb 01, 2004 7:51 am
Location: switzerland

  • Quote

Post by luna80 » Fri Feb 11, 2005 12:04 pm

mouser wrote:Posso proporre una cosa a luna80???

Aggiorna il post iniziale con le cose dette in questi post, cosi' raggruppi l'howto tutto all'inizio :wink:
Inoltre potresti postarlo anche sul wiki......

Ciriciao
mouser :wink:
ok hai ragione appena ho un attimo di tempo lo sistemo bene e poi lo faccio.

per quanto riguarda il wiki, cosa devo fare per postarlo?

ciao
Top
Post Reply
  • Print view

145 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next

Return to “Risorse italiane (documentazione e tools)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic