Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem getting awesome to see terminal other than xterm...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 497

PostPosted: Sat Oct 26, 2019 2:57 pm    Post subject: problem getting awesome to see terminal other than xterm... Reply with quote

Dear All,

I am running gentoo stable on an amd64 kaveri box.

I recently installed
Code:
awesome
window manager.

It fires up OK and I can run libreoffice and firefox in it etc.

It creates the xterm terminal correctly at the
Code:
mod + return
prompt etc.

But if you change the
Code:
rc.lua
file entry from
Code:
terminal = "xterm"
to e.g.
Code:
terminal = "terminology"
or
Code:
terminal = "alacritty"

those terminals do not appear using those keystrokes.

Do I need to add a special lua command to the rc.lua file?

Comments appreciated.

Regards

Michael Fothergill
Back to top
View user's profile Send private message
kajzer
l33t
l33t


Joined: 27 Nov 2014
Posts: 641

PostPosted: Sat Oct 26, 2019 6:02 pm    Post subject: Reply with quote

AFAIK it needs ' not " , like
Code:
terminal = 'xterm'


Been awhile since I used awesome but I just looked at my rc.lua and it was like that, different terminal but that doesn't matter.

btw what happens if you run terminology from xterm, does it open ?
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 497

PostPosted: Sun Oct 27, 2019 4:08 pm    Post subject: Reply with quote

Many thanks for the reply.

If you enter
Code:
/usr/bin/alacritty
into the xterm terminal then you get an extra terminal appearing running
Code:
alacritty
.

If you do the
Code:
mod + R run
command and then enter alacritty at the top of the screen you will create a new terminal window running alacritty.

It also works with
Code:
terminology
.

Code:
Mod + R
works well to fire up
Code:
firefox-bin
and
Code:
libreoffice
.

Perhaps I should run with it and forget the other commands.

I am doing OK with it so far.

Regards

MF

PS The reason why I switched from
Code:
i3
to
Code:
awesome
is because I hada problem with
Code:
libreoffice
menu font size. The font size is already bigger in awesome for
some reason or other and I think it should be much easier to get things like
Code:
lxappearance
or other gnome based tools to work under awesome than i3 and tweak the menu fonts.
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 129
Location: Scotland

PostPosted: Mon Oct 28, 2019 10:06 am    Post subject: Reply with quote

Not used awesome for a while either, been on i3. I emerged it on amd64 stable, checked the mod+return opened an xterm then copied over the rc.lua, changed xterm to st, keeping the "" double quotes from the /etc/xdg example and it works just fine. Emerged terminology just to double check, as st was build outside of emerge, and works fine too.

Maybe awesome -k to check the config file, or a fresh config?
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 497

PostPosted: Mon Oct 28, 2019 3:32 pm    Post subject: Reply with quote

Many thanks for the response again.

I ran awesome again.
Code:
awesome -k
says the config file is OK.

Having
Code:
"terminology"
in there or
Code:
"/usr/bin/terminology"
in the
Code:
rc.lua default terminal
entry now results in
Code:
xterm
being fired up.

This is making me wonder if the start up file in
Code:
/xdg
or wherever it is located is being used not the copy
I put in
Code:
/home/mikef/.config
(is that the correct location for it?),

Also, when I run
Code:
mod + R alacritty
the first time nothing happens.

But when I run it again the second time then the
Code:
alacritty
terminal window appears.

Comments appreciated on this.

Regards

MF

PS

The
Code:
/home/mikef/.config
directory looks like this:

Code:
mikef@storm ~/.config $ ls -la
total 92
drwxr-xr-x 11 mikef mikef  4096 Oct 28 16:21 .
drwxr-xr-x 18 mikef mikef  4096 Oct 28 16:22 ..
drwxr-xr-x  2 mikef mikef  4096 May  2 17:02 alacritty
drwxr-xr-x  2 mikef mikef  4096 Oct 26 17:31 dconf
drwx------  2 mikef mikef  4096 Oct 26 16:33 gconf
drwx------  2 mikef mikef  4096 May  3 18:12 gtk-3.0
drwxr-xr-x  2 mikef mikef  4096 May  2 17:18 i3
drwxr-xr-x  3 mikef mikef  4096 May  3 18:11 libreoffice
drwx------  2 mikef mikef  4096 Oct 27 16:58 pulse
-rw-r--r--  1 root  root  22606 Oct 28 16:21 rc.lua
-rw-r--r--  1 root  root  22597 Oct 26 16:34 rc.lua~
drwxr-xr-x  3 mikef mikef  4096 May  3 14:51 terminology
drwxr-xr-x  2 root  root   4096 Oct 25 19:31 theme
mikef@storm ~/.config $


Does that look OK?
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 129
Location: Scotland

PostPosted: Mon Oct 28, 2019 4:24 pm    Post subject: Reply with quote

My rc.lua is in ~/.config/awesome/rc.lua

You can specify a config with
Code:
awesome -c /path/to/rc.lua
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum