You are not logged in.

#1 2019-11-24 17:48:21

Bridouz
Member
From: France, countryside
Registered: 2019-08-15
Posts: 30
Website

[ Solved ]urxvt as x-terminal-emulator and sudo

Hi there,

I wanted to change x-terminal-emulator for urxvt.

All is good when I launch commands like :

x-terminal-emulator -e "ncmppp"

However when I want to launch commands with sudo, urxvt quickly appears and disappears. The command is not usable.

Exemple :

x-terminal-emulator -e "sudo visudo"

Do you know what I miss/do not understand ?

Last edited by Bridouz (2019-11-25 07:36:36)

Online

#2 2019-11-24 18:30:02

damo
....moderator....
Registered: 2015-08-20
Posts: 5,270

Re: [ Solved ]urxvt as x-terminal-emulator and sudo

Pass it as a shell command

x-terminal-emulator -e sh -c 'sudo visudo'

Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#3 2019-11-25 07:37:32

Bridouz
Member
From: France, countryside
Registered: 2019-08-15
Posts: 30
Website

Re: [ Solved ]urxvt as x-terminal-emulator and sudo

Thanks a lot.

I still do not understand the difference between these two commands. wink

Online

Board footer

Powered by FluxBB