* Re: StumpWM and Gnome
2008-12-12 9:15 ` StumpWM and Gnome Sébastien Vauban
@ 2008-12-12 20:31 ` Andreas Politz
2008-12-12 20:58 ` Jay Belanger
` (2 subsequent siblings)
3 siblings, 0 replies; 18+ messages in thread
From: Andreas Politz @ 2008-12-12 20:31 UTC (permalink / raw)
To: help-gnu-emacs
Sébastien Vauban wrote:
> Hi,
>
>> I thought using a line like this:
>> (add-to-list 'Info-default-directory-list "/usr/local/src/stumpwm")
>
> I'm hijacking this thread about the Info on StumpWM to ask
> something related to it, but where I'm completely newbie.
>
> I read things about StumpWM with a lot of interest for some
> time, now. I would like to give it a try, but I fear I would
> miss windows and icons.
>
> So, my question is: under Ubuntu, is it possible to have both
> StumpWM *and* Gnome, and have a convenient way to switch between
> both -- so I sometimes can learn with the StumpWM, and sometimes
> (when I'm in a hurry) work efficiently with what I better know
> (Gnome)?
>
> Any hints on how to do this?
>
> Best regards,
> Seb
>
Maybe the best way for you would be starting a 2nd Xserver.
startx /full/path/to/stumpwm -- :1
You need the apropriate rights to do this.
I don't know much about Ubuntu, so I can't tell wheather this
will work out of the box.
-ap
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: StumpWM and Gnome
2008-12-12 9:15 ` StumpWM and Gnome Sébastien Vauban
2008-12-12 20:31 ` Andreas Politz
@ 2008-12-12 20:58 ` Jay Belanger
2008-12-12 21:18 ` Dmitri Minaev
2008-12-12 22:10 ` Ted Zlatanov
3 siblings, 0 replies; 18+ messages in thread
From: Jay Belanger @ 2008-12-12 20:58 UTC (permalink / raw)
To: help-gnu-emacs
Sébastien Vauban <zthjwsqqafhv@spammotel.com> writes:
...
> So, my question is: under Ubuntu, is it possible to have both
> StumpWM *and* Gnome, and have a convenient way to switch between
> both -- so I sometimes can learn with the StumpWM, and sometimes
> (when I'm in a hurry) work efficiently with what I better know
> (Gnome)?
See
http://lists.gnu.org/archive/html/stumpwm-devel/2007-02/msg00007.html
What I do is have
while :
do
/path/to/stumpwm
gnome-session
done
in my .xinitrc. When logging in, choose the appropriate session
(something like "Run XClient Script"). Logging out of stumpwm takes you
to gnome, and conversely.
Since this is offtopic, any followups should go to
stumpwm-devel@nongnu.org
Jay
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: StumpWM and Gnome
2008-12-12 9:15 ` StumpWM and Gnome Sébastien Vauban
2008-12-12 20:31 ` Andreas Politz
2008-12-12 20:58 ` Jay Belanger
@ 2008-12-12 21:18 ` Dmitri Minaev
2008-12-12 22:10 ` Ted Zlatanov
3 siblings, 0 replies; 18+ messages in thread
From: Dmitri Minaev @ 2008-12-12 21:18 UTC (permalink / raw)
To: Sébastien Vauban; +Cc: help-gnu-emacs
On Fri, Dec 12, 2008 at 1:15 PM, Sébastien Vauban
<zthjwsqqafhv@spammotel.com> wrote:
> So, my question is: under Ubuntu, is it possible to have both
> StumpWM *and* Gnome, and have a convenient way to switch between
> both -- so I sometimes can learn with the StumpWM, and sometimes
> (when I'm in a hurry) work efficiently with what I better know
> (Gnome)?
Add a new entry to GDM Sessions menu. To do so, copy any of the
*.desktop files in /usr/share/xsessions to
/usr/share/xsessions/stumpwm.desktop and edit it to look like this:
[Desktop Entry]
Encoding=UTF-8
Name=StumpWM
Exec=/usr/local/bin/stumpwm
Icon=
Type=Application
--
With best regards,
Dmitri Minaev
Russian history blog: http://minaev.blogspot.com
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: StumpWM and Gnome
2008-12-12 9:15 ` StumpWM and Gnome Sébastien Vauban
` (2 preceding siblings ...)
2008-12-12 21:18 ` Dmitri Minaev
@ 2008-12-12 22:10 ` Ted Zlatanov
2008-12-18 9:50 ` Sébastien Vauban
3 siblings, 1 reply; 18+ messages in thread
From: Ted Zlatanov @ 2008-12-12 22:10 UTC (permalink / raw)
To: help-gnu-emacs
On Fri, 12 Dec 2008 10:15:46 +0100 Sébastien Vauban <zthjwsqqafhv@spammotel.com> wrote:
SV> I read things about StumpWM with a lot of interest for some
SV> time, now. I would like to give it a try, but I fear I would
SV> miss windows and icons.
SV> So, my question is: under Ubuntu, is it possible to have both
SV> StumpWM *and* Gnome, and have a convenient way to switch between
SV> both -- so I sometimes can learn with the StumpWM, and sometimes
SV> (when I'm in a hurry) work efficiently with what I better know
SV> (Gnome)?
SV> Any hints on how to do this?
Note you can use
nntp+news.gmane.org:gmane.comp.window-managers.stumpwm.devel or the
mailing list that it tracks to ask StumpWM questions.
You are looking for this in ~/.gnomerc:
export WINDOW_MANAGER=/home/tzz/source/stumpwm/stumpwm
leave it unset to use the regular WM.
Ted
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: StumpWM and Gnome
2008-12-12 22:10 ` Ted Zlatanov
@ 2008-12-18 9:50 ` Sébastien Vauban
2008-12-18 13:30 ` David Hansen
[not found] ` <mailman.3036.1229607504.26697.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 18+ messages in thread
From: Sébastien Vauban @ 2008-12-18 9:50 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
Hi Andreas, Jay, Dmitri, Ted and the others,
> SV> I read things about StumpWM with a lot of interest for some
> SV> time, now. I would like to give it a try, but I fear I would
> SV> miss windows and icons.
>
> SV> So, my question is: under Ubuntu, is it possible to have both
> SV> StumpWM *and* Gnome, and have a convenient way to switch between
> SV> both -- so I sometimes can learn with the StumpWM, and sometimes
> SV> (when I'm in a hurry) work efficiently with what I better know
> SV> (Gnome)?
>
> SV> Any hints on how to do this?
Thank you very much for your different and very interesting
answers on how to make that happen.
I've managed to launch the StumpWM, but I get an empty screen. I
mean I see "Welcome to StumpWM" in a box on the top right
corner, that disappears after a couple of seconds, and then
nothing...
I try to click or press keys, but nothing changes -- no
reaction...
> Note you can use
> nntp+news.gmane.org:gmane.comp.window-managers.stumpwm.devel
> or the mailing list that it tracks to ask StumpWM questions.
Anyway, I will use that newsgroup for further questions.
Thanks,
Seb
--
Sébastien Vauban
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: StumpWM and Gnome
2008-12-18 9:50 ` Sébastien Vauban
@ 2008-12-18 13:30 ` David Hansen
[not found] ` <mailman.3036.1229607504.26697.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 18+ messages in thread
From: David Hansen @ 2008-12-18 13:30 UTC (permalink / raw)
To: help-gnu-emacs
On Thu, 18 Dec 2008 10:50:06 +0100 Sébastien Vauban wrote:
> I've managed to launch the StumpWM, but I get an empty screen. I
> mean I see "Welcome to StumpWM" in a box on the top right
> corner, that disappears after a couple of seconds, and then
> nothing...
What do you expect?! Everything is working correctly. C-t C-h should
pop up the list of available key bindings. For more detailed help look
into the info manual.
David
^ permalink raw reply [flat|nested] 18+ messages in thread
[parent not found: <mailman.3036.1229607504.26697.help-gnu-emacs@gnu.org>]
* Re: StumpWM and Gnome
[not found] ` <mailman.3036.1229607504.26697.help-gnu-emacs@gnu.org>
@ 2008-12-19 12:55 ` Sébastien Vauban
2008-12-19 16:15 ` henry atting
0 siblings, 1 reply; 18+ messages in thread
From: Sébastien Vauban @ 2008-12-19 12:55 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
Hello David,
>> I've managed to launch the StumpWM, but I get an empty
>> screen. I mean I see "Welcome to StumpWM" in a box on the top
>> right corner, that disappears after a couple of seconds, and
>> then nothing...
>
> What do you expect?! Everything is working correctly. C-t C-h
> should pop up the list of available key bindings.
I remembered, from a video, that it was C-h or something like
that. Have tried all sorts of combinations, except C-t C-h...
> For more detailed help look into the info manual.
I'll surely do. Thanks for your help.
And... yes, it works... even if I still can't do that much at
the moment... I could launch Emacs and Firefox...
BTW, the fonts I'm using in Emacs (Consolas installed on my
Ubuntu) is really not as nice as in Gnome. Any hint?
Thanks for your help,
Seb
--
Sébastien Vauban
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: StumpWM and Gnome
2008-12-19 12:55 ` Sébastien Vauban
@ 2008-12-19 16:15 ` henry atting
2008-12-29 10:50 ` Sébastien Vauban
0 siblings, 1 reply; 18+ messages in thread
From: henry atting @ 2008-12-19 16:15 UTC (permalink / raw)
To: help-gnu-emacs
Zitat - Sébastien Vauban * Fr Dez 19 2008 um 13:55 -
> BTW, the fonts I'm using in Emacs (Consolas installed on my
> Ubuntu) is really not as nice as in Gnome. Any hint?
Maybe you want to adjust your Xft settings (in .Xdefaults), for example
like this:
!Xft settings
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintslight
Xft.antialias: 1
Xft.rgba: rgb
henry
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: StumpWM and Gnome
2008-12-19 16:15 ` henry atting
@ 2008-12-29 10:50 ` Sébastien Vauban
2008-12-29 12:08 ` David Hansen
[not found] ` <mailman.3489.1230553403.26697.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 18+ messages in thread
From: Sébastien Vauban @ 2008-12-29 10:50 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
Hi Henry,
>> BTW, the fonts I'm using in Emacs (Consolas installed on my
>> Ubuntu) is really not as nice as in Gnome. Any hint?
>
> Maybe you want to adjust your Xft settings (in .Xdefaults),
> for example like this:
>
> !Xft settings
> Xft.dpi: 96
> Xft.hinting: 1
> Xft.hintstyle: hintslight
> Xft.antialias: 1
> Xft.rgba: rgb
I've done this, but I still have ugly fonts in Emacs (not much
better within "xterms", but I guess there are other settings
there to look at).
I also checked the font string that I was using within Emacs
when launched from Gnome by:
o launching `ielm';
o typing `(frame-parameters)';
o and looking at the "font" string.
I've copied that string:
(font . "-microsoft-consolas-regular-normal-normal--11-*-*-*-*-*-fontset-startup")
to my `.stumpwm' init file:
(set-font "-microsoft-consolas-regular-normal-normal--11-*-*-*-*-*-fontset-startup")
But it is still no better (after having restarted the X server).
What am I missing?
Thank you very much!
Seb
--
Sébastien Vauban
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: StumpWM and Gnome
2008-12-29 10:50 ` Sébastien Vauban
@ 2008-12-29 12:08 ` David Hansen
[not found] ` <mailman.3489.1230553403.26697.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 18+ messages in thread
From: David Hansen @ 2008-12-29 12:08 UTC (permalink / raw)
To: help-gnu-emacs
On Mon, 29 Dec 2008 11:50:28 +0100 Sébastien Vauban wrote:
>> Xft.hinting: 1
This is arguable. I do use:
Xft*autohint: false
Xft*hinting: true
But your freetype version may be compiled w/o all the possibly patent
infringing stuff. You can try
Xft*autohint: true
Xft*hinting: false
or try to compile freetype yourself and go to one of the header files
to enable these features (this is documented within the freetype source,
grep -ri "patent").
>> Xft.hintstyle: hintslight
Better use "hintfull"
>> Xft.rgba: rgb
Use this only if you have a TFT.
> I've done this, but I still have ugly fonts in Emacs (not much
> better within "xterms", but I guess there are other settings
> there to look at).
What's your Emacs version?
> to my `.stumpwm' init file:
>
> (set-font "-microsoft-consolas-regular-normal-normal--11-*-*-*-*-*-fontset-startup")
StumpWM only supports old style X11 fonts. Use one of the "classics"
like fixed or neep.
David
^ permalink raw reply [flat|nested] 18+ messages in thread
[parent not found: <mailman.3489.1230553403.26697.help-gnu-emacs@gnu.org>]
* Re: StumpWM and Gnome
[not found] ` <mailman.3489.1230553403.26697.help-gnu-emacs@gnu.org>
@ 2008-12-29 14:17 ` Sébastien Vauban
0 siblings, 0 replies; 18+ messages in thread
From: Sébastien Vauban @ 2008-12-29 14:17 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
Hello David,
First, thanks for your answer...
>>> Xft.hinting: 1
>
> This is arguable. I do use:
>
> Xft*autohint: false
> Xft*hinting: true
>
> You can try:
>
> Xft*autohint: true
> Xft*hinting: false
>
>
>>> Xft.hintstyle: hintslight
>
> Better use "hintfull"
I've tried all the above possibilities, but that had no visible
impact on my font problem.
See my Emacs window looked like when started from Gnome:
http://www.mygooglest.com/sva/Consolas-in-Emacs-23-from-Gnome.png
and, now, from StumpWM (in all above cases):
http://www.mygooglest.com/sva/Consolas-in-Emacs-23-from-StumpWM.png
It is even unreadable sometimes (look at the "Happy New Year"
sentence).
What's weird is that:
o characters look somehow bolder than before, but less
readable because some sort of stretch;
o characters that are really in bold look as perfect under
StumpWM as they were under Gnome: those seem unchanged.
>>> Xft.rgba: rgb
>
> Use this only if you have a TFT.
Yes, I do have an LCD screen (using a laptop).
>> I've done this, but I still have ugly fonts in Emacs (not much
>> better within "xterms", but I guess there are other settings
>> there to look at).
>
> What's your Emacs version?
GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) of
2008-05-06 on iridium, modified by Debian
>> to my `.stumpwm' init file:
>>
>> (set-font "-microsoft-consolas-regular-normal-normal--11-*-*-*-*-*-fontset-startup")
>
> StumpWM only supports old style X11 fonts. Use one of the
> "classics" like fixed or neep.
I removed that line.
Thanks for your tips.
Now that you clearly see what I tried to explain with words,
would you have an explanation of this feature?
Best regards, and Happy New Year already,
Seb
--
Sébastien Vauban
^ permalink raw reply [flat|nested] 18+ messages in thread