From: cheyrn via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Po Lu <luangruo@yahoo.com>,
Kenned Doll via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Re: GTK theme while running emacs without gnome shell
Date: Mon, 13 Feb 2023 04:25:34 -0000 [thread overview]
Message-ID: <167626233393.2460914.5889822211196027743@startmail.com> (raw)
In-Reply-To: <87edqv1wxc.fsf@yahoo.com>
On Saturday, February 11, 2023 5:42 PM, Po Lu <luangruo@yahoo.com> wrote:
>
> Kenned Doll via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> writes:
>
> > I built emacs 28.1 from source on ubuntu 22.04 running under WSL2 on
> > windows 11. I have the theme specified using the GTK_THEME environment
> > variable. The theme works as expected in gnome-terminal and nautilus,
> > but for emacs it only works within the window. The border and title
> > bar are white and I'm using Adwaita-dark theme.
> >
> > So, first, do you know how I can get the theme to apply to the title
> > bar and border?
> >
> > Also, I thought the titlebar and border were ordinarily supplied by a
> > desktop manager or desktop shell. Since I'm not running a DM, where is
> > that coming from?
>
> Since you are using weasel and Emacs 28, it comes from weasel's window
> manager, which is based on Weston. I don't think it can be changed.
> >
Someone on reddit pointed me to how this can be solved. Pure GTK was
integrated into master. So, with master or emacs-30 using the --with-pgtk
option gets you emacs built with pure GTK.
For whatever reason this didn't work for me until I used:
make bootstrap configure="--with-pgtk ..."
<https://batsov.com/articles/2021/12/19/building-emacs-from-source-with-pgtk/>
cheyrn
prev parent reply other threads:[~2023-02-13 4:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-11 20:06 GTK theme while running emacs without gnome shell Kenned Doll via Users list for the GNU Emacs text editor
2023-02-12 1:42 ` Po Lu
2023-02-13 4:25 ` cheyrn via Users list for the GNU Emacs text editor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=167626233393.2460914.5889822211196027743@startmail.com \
--to=help-gnu-emacs@gnu.org \
--cc=cheyrn@use.startmail.com \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).