You are not logged in.

#1 2016-01-31 13:37:23

0-day
Member
Registered: 2015-10-04
Posts: 149

change default terminal in w9wm

how to for change default terminal in w9wm? from xterm to evilvte.

Offline

#2 2016-01-31 13:43:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: change default terminal in w9wm

I've never heard of that one.

The man page only mentions that xterm is used if 9term is not available so maybe it's hard coded.

See w9wm(1x)

EDIT: As an ugly hack you could un-install xterm and symlink the evilvte binary to /usr/bin/xterm

Last edited by Head_on_a_Stick (2016-01-31 13:44:40)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2016-01-31 13:52:40

0-day
Member
Registered: 2015-10-04
Posts: 149

Re: change default terminal in w9wm

code?

Offline

#4 2016-01-31 13:58:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: change default terminal in w9wm

You can have a look at the source code and see if you can figure it out:

apt-get source w9wm

You will need to un-comment the "deb-src" lines in /etc/apt/sources.list and run `sudo apt update` first though.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#5 2016-01-31 15:04:32

porkpiehat
Member
Registered: 2015-10-27
Posts: 31

Re: change default terminal in w9wm

Read the man page. "man w9wm"

man w9wm wrote:

-term termprog specifies an alternative program to run when the New
       menu item is selected.

Last edited by porkpiehat (2016-01-31 15:06:26)

Offline

#6 2016-01-31 15:20:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: change default terminal in w9wm

^ D'oh! Missed that...
sad

Thanks porkpiehat!
smile


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#7 2016-01-31 18:17:26

0-day
Member
Registered: 2015-10-04
Posts: 149

Re: change default terminal in w9wm

porkpiehat wrote:

Read the man page. "man w9wm"

man w9wm wrote:

-term termprog specifies an alternative program to run when the New
       menu item is selected.

I do not know where to put w9wm -term evilvte

Offline

#8 2016-01-31 18:30:14

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: change default terminal in w9wm

0-day wrote:

where to put w9wm -term evilvte

It looks like it should be added as an argument to the command.

For example:

startx /usr/bin/w9wm -term evilvte

(if you are starting it after a console login)

The man page mentions ~/.w9wmrc but this may just be for the menu items, it's a little unclear on that point.

Perhaps porkpiehat will post back and make me look like a fool again though...
big_smile


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#9 2016-01-31 18:38:37

0-day
Member
Registered: 2015-10-04
Posts: 149

Re: change default terminal in w9wm

[Desktop Entry]
Name=w9wm
Exec=/usr/bin/w9wm -term evilvte
Terminal=false
TryExec=/usr/bin/w9wm
Type=Application
Comment=Light window manager based on 9wm
Comment[fr]=Un gestionnaire de fenêtres léger basé sur 9wm

[Window Manager]
SessionManaged=true


???

Offline

#10 2016-01-31 18:39:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: change default terminal in w9wm

^ Looks good, does it work?


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#11 2016-01-31 18:45:34

0-day
Member
Registered: 2015-10-04
Posts: 149

Re: change default terminal in w9wm

it do not work, start fluxbox

Offline

Board footer

Powered by FluxBB