Hi misc@,

i face a problem with zenity (from ports).  I use it to read a string via a 
nice graphical popup (in my case, the url to a youtube video, which then gets
opened in fullscreen mplayer).

Gnome is installed on my machine, although i don't use it very often.  Anyway,
zenity has a few dependencies on gnome (see http://ports.su/x11/gnome/zenity),
and when i'm logged in to gnome, zenity starts within a second.

Now, i seldomly use gnome, but dwm instead (a simple tiling manager).  Also, i
start dwm directly with a 'xinit' from the terminal, while i use gdm for gnome.

>From dwm, zenity takes ~7 seconds (!) to start.  The whole system is installed 
on a ssd (samsung 830) for that matter.  Even worse, the startup time stays 
like that, whenever i (re)start zenity, so everything the system had to load 
seems to be gone immediately after the program exits.

My questions are:

  - what can i do to improve the startup time of zenity?
  - if nothing can be done, are there any fast-starting alternatives?  I only
    need to get a string from a graphical interface to a shell script.


The script can be seen here [1].


Thanks,
Nils

[1]: 
https://bitbucket.org/drm00/bin/raw/5282894e9e2972bcf6a1332f04cf9c000cf75a60/dwm-helper/watch_online_videos.sh

Reply via email to