LCID Fire | 1 Nov 13:46 2008
Picon
Picon

Copy signal bindings

I'm currently trying to modify the GtkWindow to send all key strokes not
being handled by any Widget to a specific widget in my app.
AFAIR the way to do this is to get the specific widgets' binding set via:

gtk_binding_set_by_class(GTK_WIDGET_GET_CLASS(source))

and then add all the signal entries present in the source to the window via:

gtk_binding_entry_add_signal
(
 destinationSet,
 sourceEntry->keyval,
 sourceEntry->modifiers,
 currentSignal->signal_name,
 currentSignal->n_args,
 ...
);

The problem I get with this is that gtk_binding_entry_add_signal wants a
vararg - and AFAIK there is no way to build a vararg from GtkBindingArg,
is there?
Could somebody give me a hint how to do this properly?
Paulo J. Matos | 4 Nov 00:25 2008
Picon

Gnome 2.22.3 doesn't receive keyboard

Hi all,

Everything was ok until I decided to change my keyboard layout to
Apple / Macbook. Not only it didn't change but now, no matter which
layout I choose, the keyboard doesn't work!!! :(

When I try to change the layout I get:
"Error activating XKB config.

X Server version data:
The X.Org Foundation
10502000"

and asks to provide the following info:
$ xprop -root | grep XKB
_XKB_RULES_NAMES(STRING) = "xorg", "evdev", "uk", "", "numpad:mac"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = []
 model = macbook78
 overrideSettings = true
 options = []

What might be the problem? Or at least how can I go to 'factory
settings' so that the keyboard at least works...???

--

-- 
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm
(Continue reading)

chris | 12 Nov 00:49 2008
Picon

programmatically adding cross-platform menu items

I'm working with Gnome 2.8.0/KDE3.3.1 on CentOS 4 and Gnome 2.16/KDE
3.5.4 on CentOS 5. I have a script that creates the following
structure in a user's home directory when software is being installed
without root privileges:
.config/
  menus/
    applications-merged/
      <xml-based menu file>

.local/
  share/
    desktop-directories/
      <.directory files>
    applications/
      <.desktop files>

There are two full sets of .desktop files. One that shows up only
under kde, and one that only shows up under gnome. On CentOS 4/Gnome
2.8, this works great, and both desktops have the exact same menus.***

On CentOS 5/Gnome2.16, however, this fails. The menu items still show
up as expected in KDE, but fail to appear at all in Gnome. Moving (and
slightly altering) the contents of the .menu file in the
applications-merged directory to the applications.menu file (in
.config/menus) seems to fix the problem, but it seems easier to just
have the external file and have it be the same on both platforms.

Is there something I'm missing, or an easier way to go about it?

Thanks,
(Continue reading)

Dan Mahoney, System Admin | 14 Nov 05:20 2008

Passthrough-printing in gnome-terminal

Hello,

I've been looking around for an answer to this feature -- in a few cases I 
found a user who asked this question but who had his answers closed out on 
him rather than being taken as a bug report (or a feature request).

https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/155935
https://bugs.launchpad.net/ubuntu/+source/vte/+bug/234518

As I've got some English skills, I'll pose it.

I'd like to get passthrough-printing working in Gnome-terminal.  I'm using 
whatever version of Gnome is installed in the latest as of this time 
(11/13/2008) version of Ubuntu (which includes GNOME Terminal 2.24.1.1).

For those unaware, Passthrough Printing is a neat ability of terminal 
emulation applications to send a "printer on" and "printer off" ANSI 
escape code.  It's found in most terminal emulators, up to and including 
Putty, SecureCRT, VtyNet, as well I believe as "xterm" and a few others.

I'm more than willing to help contribute my experience getting this to 
work on other platforms.

If there's an alternate terminal app I could be using, please let me know 
what it is.  Xterm just isn't configurable enough and resizable enough (I 
can resize an xterm but I can't tweak the other options easily, such as 
font size or colors) to work for me.

This is probably a fairly easy feature to add, for what it's worth...just 
buffer when you see those escape codes, and chunk it to a print dialog.
(Continue reading)

Sven Köhler | 15 Nov 12:33 2008
Picon

different gnome-sessions for local and VNC?

Hi,

at work, i've got a 2 monitor setup. So I've got 4 gnome-panels. 2 for
each monitor, one at the top, one at the bottom.
Because there's plenty of space, I've got a lot of applets running.

That one time, i have configured my VNCserver to start a gnome-session.
(No, X11 forwarding is too slow for me, i need VNC) And of course gnome
loaded all the panels and stuff that i have on my 2 monitor setup.

But i don't want that. If possible, I'd like to have a separate
configuration for my 2 monitor setup and for VNC (mainly a different
panel & applet setup).

Any ideas, whether that is possible with gnome and how?

Regards,
  Sven
Marilyn Davis | 16 Nov 02:52 2008

eog slideshow fullscreen

Hi,

I'd like to display a collection of images as a slideshow, but not in
fullscreen mode.

I see that -f for fullscreen mode, but it does that by default.

I'm running Ubuntu and using eog that comes with.

Thanks for any ideas.

Marilyn
Achim Stumpf | 19 Nov 16:12 2008

changing language

Hi List,

I have changed my language to english. That works.

In KDE I was able to configure as default stuff like date, time, measures/metrics to the german style, but
keeping english as the default language.

I have looked already quite a while, but haven't found anything.

Thanks,

Achim
Alexander M. Batishchev | 20 Nov 18:49 2008
Picon

File context menu in Nautilus

Hello everybody!
Can you please tip me, how can i rename item 'Make Link' to 'Create Link' in
context menu of any file in Nautilus?
In my opinion it sounds more correctly, but this suggestion very hardly
would be accepted by gnome developers, that's why i want rename it locally,
but don't know where to start my search.

===
Best regards,
Alexander M. Batishchev
BJörn Lindqvist | 20 Nov 21:45 2008
Picon

[ANN] GtkImageView 1.6.3 - Image viewer widget for GTK+

I'm pleased to finally announce GtkImageView 1.6.3!

Description
-----------
GtkImageView is a simple image viewer widget for GTK+. Similar to the
image viewer panes in gThumb or Eye of Gnome. It makes writing image
viewing and editing applications easy. Among its features are:

* Mouse and keyboard zooming.
* Scrolling and dragging.
* Adjustable interpolation.
* Fullscreen mode.
* GIF animation support.
* Ability to make selections.
* Extensible using a tool system.

Bindings exists for Perl and Python.

Download
--------
Check it out from Subversion:

    svn co http://publicsvn.bjourne.webfactional.com/gtkimageview

Or download the latest release tarball:

    http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/gtkimageview-1.6.3.tar.gz?format=raw

API documentation can be found online:

(Continue reading)

Neil Bird | 24 Nov 10:02 2008
Face

Setting/seeding global nautilus metadata for directory?


   I'm downloading album art for my collection of ripped CDs, and setting 
nautilus thumbnails for it in my music dir., but of course it's actually 
only doing it for me personally (in ~/.nautilus/metafiles).

   Is there any way to do this globally (for the rest of the family), either 
by setting it in a . file in the dir. itself, or somehow seeding the info 
from there or elsewhere (akin to default gconf values)?

   I don't want to have to do this for everyone, and merely copying the 
metafiles to everyone else's dir. won't keep their lists up to date.

--

-- 
[neil <at> fnx ~]# rm -f .signature
[neil <at> fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil <at> fnx ~]# exit

Gmane