You are not logged in.

#1 2012-04-02 15:18:27

rnarch
Member
Registered: 2012-03-17
Posts: 292

nautilus-open-terminal to open xfterm4 instead of xterm

I have installed in nautilus and nautilus-open-terminal in xfce4 on Arch. It opens xterm which does not have good font and appearance. How can I change the setup so that xfterm4 opens rather than xterm. I have tried arch wiki and google and though there are some posts but no clear solution. I can adjust the xterm font but it lasts only for one session. Any help will be appreciated.

Offline

#2 2012-04-02 16:00:46

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 456

Re: nautilus-open-terminal to open xfterm4 instead of xterm

can't you create a launtcher to the right terminal ?

ezik

Offline

#3 2012-04-03 07:05:08

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: nautilus-open-terminal to open xfterm4 instead of xterm

I am not sure if I have been able to define the problem clearly. The 'nautilus-open-terminal' package adds to nautilus a menu item (under File) 'open in terminal' which opens a terminal in the folder being viewed in nautilus (rather than opening a terminal from launcher, which will be opened in the home folder). However, the terminal being opened is xterm and I want to change it to xfterm4. How can I manage this? Thanks for your help.

Offline

#4 2012-04-03 07:08:51

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: nautilus-open-terminal to open xfterm4 instead of xterm


Burninate!

Offline

#5 2012-04-03 07:39:41

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: nautilus-open-terminal to open xfterm4 instead of xterm

Many thanks for the pointer.  I used following commands:

$ gsettings set org.gnome.desktop.default-applications.terminal exec xfterm4
$ gsettings set org.gnome.desktop.default-applications.terminal exec-arg "'-e'"

I replaced konsole with xfterm4 in the first line. Now the terminal opens but closes immediately. What could be the reason?

Offline

#6 2012-04-03 21:17:47

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,141

Re: nautilus-open-terminal to open xfterm4 instead of xterm

man xfterm4

CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2012-04-04 00:52:07

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: nautilus-open-terminal to open xfterm4 instead of xterm

There is no man entry for xfterm4.
xfterm4 is a script file which apparently adjusts the command parameters.

Offline

#8 2012-04-04 06:09:49

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: nautilus-open-terminal to open xfterm4 instead of xterm

Try using "'-hold -e'" instead of "'-e'" in that second line.


Burninate!

Offline

#9 2012-04-04 06:22:27

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: nautilus-open-terminal to open xfterm4 instead of xterm

This works partially in the sense that it opens the desired terminal (xfterm4) but it is in the home folder only and not in the folder being displayed in nautilus.

I tried both -hold and --hold with same results.

Offline

#10 2012-04-06 11:48:17

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: nautilus-open-terminal to open xfterm4 instead of xterm

I want to revert this back to original. I tried following command:

$ gsettings set org.gnome.desktop.default-applications.terminal exec xterm

But now no terminal is opening.
'xterm' command works all right otherwise from another terminal.

Offline

#11 2012-04-06 16:24:47

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,141

Re: nautilus-open-terminal to open xfterm4 instead of xterm

rnarch wrote:

There is no man entry for xfterm4.
xfterm4 is a script file which apparently adjusts the command parameters.

OK. So read the script. You need to figure out the equivalent command line option to the one given in the example using konsole i.e. what to pass to the command to invoke the same function.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB