… | |
… | |
107 | |
107 | |
108 | $schnauzer->set_geometry_hints; |
108 | $schnauzer->set_geometry_hints; |
109 | } |
109 | } |
110 | |
110 | |
111 | if (@ARGV) { |
111 | if (@ARGV) { |
112 | $_ = Glib::filename_to_unicode $_ for @ARGV; |
112 | $schnauzer->set_paths ([map Glib::filename_to_unicode $_, @ARGV]); |
113 | $schnauzer->set_paths (\@ARGV); |
|
|
114 | $schnauzer->show_all; |
113 | $schnauzer->show_all; |
115 | $schnauzer->handle_key ($Gtk2::Gdk::Keysyms{space}, []); |
114 | $schnauzer->handle_key ($Gtk2::Gdk::Keysyms{space}, []); |
116 | } else { |
115 | } else { |
117 | $schnauzer->set_dir (File::Spec->curdir); |
116 | $schnauzer->set_dir (File::Spec->curdir); |
118 | $mainwin->show_all; |
117 | $mainwin->show_all; |
|
|
118 | $viewer->show_all; |
119 | } |
119 | } |
120 | |
120 | |
121 | $viewer->show_all; |
121 | $viewer->show_all; |
122 | |
122 | |
123 | main Gtk2; |
123 | main Gtk2; |
… | |
… | |
157 | T rotate counterclockwise° |
157 | T rotate counterclockwise° |
158 | ctrl-v open a new visual schnauzer window for the current dir |
158 | ctrl-v open a new visual schnauzer window for the current dir |
159 | ctrl-s rescan visual schnauzer files for updates/deletes etc. |
159 | ctrl-s rescan visual schnauzer files for updates/deletes etc. |
160 | ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image. |
160 | ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image. |
161 | |
161 | |
|
|
162 | And when playing movies, these additional keys are active: |
|
|
163 | |
|
|
164 | left rewind by 10 seconds |
|
|
165 | right forward by 10 seconds |
|
|
166 | down rewind by 60 seconds |
|
|
167 | up forward by 60 seconds |
|
|
168 | pg_up rewind by 600 seconds |
|
|
169 | pg_down forward by 600 seconds |
|
|
170 | o toggle on-screen display |
|
|
171 | p pause/unpause |
|
|
172 | escape stop playing |
|
|
173 | 9 turn volume down |
|
|
174 | 0 turn volume up |
|
|
175 | |
162 | The following keys are redirected to the default visual schnauzer window: |
176 | The following keys are redirected to the default visual schnauzer window: |
163 | |
177 | |
164 | space next image |
178 | space next image |
165 | backspace last image |
179 | backspace last image |
166 | |
180 | |