Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Tip] Minimize to tray ALL for Kde and others
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Tue Jun 13, 2006 2:55 pm    Post subject: [Tip] Minimize to tray ALL for Kde and others Reply with quote

Ciao a tutti... in questi giorni mi rendevo conto man mano che spesso e volentieri ci sono applicazioni perennemente aperte ma che abusano dello spazio nella mia barra delle applicazioni.. alchè mi sono ingeniato ed ho trovato queste due applicazioni :)


ksystraycmd:

Code:
eviantLife ~ # ksystraycmd --help-all
Usage: ksystraycmd [Qt-options] [KDE-options] [options] command

Allows any application to be kept in the system tray

Generic options:
  --help                    Show help about options
  --help-qt                 Show Qt specific options
  --help-kde                Show KDE specific options
  --help-all                Show all options
  --author                  Show author information
  -v, --version             Show version information
  --license                 Show license information
  --                        End of options

Qt options:
  --display <displayname>   Use the X-server display 'displayname'
  --session <sessionId>     Restore the application for the given 'sessionId'
  --cmap                    Causes the application to install a private color
                            map on an 8-bit display
  --ncols <count>           Limits the number of colors allocated in the color
                            cube on an 8-bit display, if the application is
                            using the QApplication::ManyColor color
                            specification
  --nograb                  tells Qt to never grab the mouse or the keyboard
  --dograb                  running under a debugger can cause an implicit
                            -nograb, use -dograb to override
  --sync                    switches to synchronous mode for debugging
  --fn, --font <fontname>   defines the application font
  --bg, --background <color> sets the default background color and an
                            application palette (light and dark shades are
                            calculated)
  --fg, --foreground <color> sets the default foreground color
  --btn, --button <color>   sets the default button color
  --name <name>             sets the application name
  --title <title>           sets the application title (caption)
  --visual TrueColor        forces the application to use a TrueColor visual on
                            an 8-bit display
  --inputstyle <inputstyle> sets XIM (X Input Method) input style. Possible
                            values are onthespot, overthespot, offthespot and
                            root
  --im <XIM server>         set XIM server
  --noxim                   disable XIM
  --reverse                 mirrors the whole layout of widgets

KDE options:
  --caption <caption>       Use 'caption' as name in the titlebar
  --icon <icon>             Use 'icon' as the application icon
  --miniicon <icon>         Use 'icon' as the icon in the titlebar
  --config <filename>       Use alternative configuration file
  --dcopserver <server>     Use the DCOP Server specified by 'server'
  --nocrashhandler          Disable crash handler, to get core dumps
  --waitforwm               Waits for a WM_NET compatible windowmanager
  --style <style>           sets the application GUI style
  --geometry <geometry>     sets the client geometry of the main widget - see man X for the argument format

Arguments:
  command                   Command to execute

Options:
  --window <regexp>         A regular expression matching the window title
                            If you do not specify one, then the very first window
                            to appear will be taken - not recommended.
  --wid <int>               The window id of the target window
                            Specifies the id of the window to use. If the id starts with 0x
                            it is assumed to be in hex.
  --hidden                  Hide the window to the tray on startup
  --startonshow             Wait until we are told to show the window before
                            executing the command
  --tooltip <text>          Sets the initial tooltip for the tray icon
  --keeprunning             Keep the tray icon even if the client exits. This option
                            has no effect unless startonshow is specified.
  --ownicon                 Use ksystraycmd's icon instead of window's icon in systray
                            (should be used with --icon to specify ksystraycmd icon)
  --ontop                   Try to keep the window above other windows
  --quitonhide              Quit the client when we are told to hide the window.
                            This has no effect unless startonshow is specified and implies keeprunning.
DeviantLife ~ #     


In poche parole:
Code:
$kdesystraycmd thunderbird &

Ed eccolo comparire vi basta un click sullicona nella traybar di kde ed eccolo scomparire ma rimanere up and running :)

Stessa cosa per xmms (se volete evitare il plugin apposito che spesso e volentieri mi crasha)

ora il limite sta nella vostra immaginazione

Code:
AllTray
:
Purtroppo la versione smascherata di alltray a me segfault quindi ho dovuto smascherare l'ultima (che è molto meglio definita ve lo assicuro)

Code:
# echo x11-misc/alltray ~x86 >> /etc/portage/package.keywords
#emerge -av alltray

a questo punto lanciamo alltray con il programma che ci interessa:
Code:

$alltray thunderbird

Semplice e indolore

oltretutto a differenza di ksystraycmd l'icona ha lo sfondo trasparente, funziona con tutti i wm fluxbox compreso :).

Ciao a tutti Koma


[edit]
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
pingoo
Guru
Guru


Joined: 11 Jul 2006
Posts: 324

PostPosted: Sun Sep 24, 2006 2:32 pm    Post subject: Reply with quote

Finalmente!

N'ce la facevo + a vede' thunderbird occuparmi l'elenco finestre
Grazie della segnalazione ;) alltray sembra proprio quello che cercavo

Bye
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Sun Sep 24, 2006 3:45 pm    Post subject: Reply with quote

8O wow... eccezionale, grazie della segnalazione!
Un piccolo appunto: con il comando alltray <nomeapplicazione> viene creata un'ulteriore finestra, invece dal menu applicazioni->accessori (quantomeno sotto gnome) lancio alltray e funziona benissimo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum