Re: gtk-key-theme-name = "Emacs" has no effect



Hello,

Yes, there is a file called:

/usr/share/themes/Emacs/gtk-2.0-key/gtkrc

Here's what pan tries to access:

strace -eaccess,lstat64 -f pan

access("/usr/X11R6/lib/X11/locale/iso8859-1/XLC_LOCALE", R_OK) = 0
access("/home/sypasche/.Xauthority", R_OK) = 0
lstat64("/etc/gtk-2.0/gtkrc", 0xbfffeabc) = -1 ENOENT (No such file or directory)
access("/etc/gtk-2.0/gtkrc.fr_CH", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/gtk-2.0/gtkrc.fr", F_OK) = -1 ENOENT (No such file or directory)
lstat64("/home/sypasche/.gtkrc-2.0", {st_mode=S_IFREG|0644, st_size=29, ...}) = 0
access("/home/sypasche/.gtkrc-2.0.fr_CH", F_OK) = -1 ENOENT (No such file or directory)
access("/home/sypasche/.gtkrc-2.0.fr", F_OK) = -1 ENOENT (No such file or directory)
access("/home/sypasche/.themes/Default/gtk-2.0/gtkrc", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/themes/Default/gtk-2.0/gtkrc", F_OK) = 0
lstat64("/usr/share/themes/Default/gtk-2.0/gtkrc", {st_mode=S_IFREG|0644, st_size=69, ...}) = 0
access("/usr/share/themes/Default/gtk-2.0/gtkrc.fr_CH", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/themes/Default/gtk-2.0/gtkrc.fr", F_OK) = -1 ENOENT (No such file or directory)
access("/home/sypasche/.themes/Default/gtk-2.0-key/gtkrc", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/themes/Default/gtk-2.0-key/gtkrc", F_OK) = 0
lstat64("/usr/share/themes/Default/gtk-2.0-key/gtkrc", {st_mode=S_IFREG|0644, st_size=82, ...}) = 0
access("/usr/share/themes/Default/gtk-2.0-key/gtkrc.fr_CH", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/themes/Default/gtk-2.0-key/gtkrc.fr", F_OK) = -1 ENOENT (No such file or directory)

Apparently, it does not want to read the Emacs theme.

Cheers,

Sylvain

On  Oct 14  11:47, Sven Neumann wrote:
 > Hi,
 > 
 > Sylvain Pasche <sylvain_pasche yahoo fr> writes:
 > 
 > > Using gtk version 2.0.6 debian packages, I wanted to use the emacs
 > > style keybindings.
 > > 
 > > So I have put 
 > > 
 > > gtk-key-theme-name = "Emacs"
 > > 
 > > in ~/.gtkrc-2.0
 > > 
 > > However, this has apparently no effect: ctrl-a and ctrl-e don't bind
 > > to beginning or end of line.
 > 
 > did the Debian package install the file
 > ${prefix}/share/themes/Emacs/gtk-2.0-key/gtkrc ?
 > 
 > 
 > Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]