Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In my linux mint 13 xfce install I was creating a keyboard shortcut for gnome-terminal when I came across another binary called gnome-terminal.wrapper.

xfce4-terminal also has an equivalent xfce4-terminal.wrapper binary.

What is the purpose of the .wrapper extension? The man pages don't seem to say anything about it.

share|improve this question

migrated from stackoverflow.com Aug 31 '12 at 13:33

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 5 down vote accepted

The wrapper makes the command-line arguments of xfce4-terminal (or gnome-terminal) consistent with the arguments for (u)xterm. This way the app can serve as a drop-in replacement for xterm when invoked from other applications.

For example, it can be used by clusterssh (terminal=/usr/bin/xfce4-terminal.wrapper), and your favorite desktop's "run command in terminal" feature if you change your default terminal application.

share|improve this answer

Run the file command on that gnome-terminal.wrapper (or other) file, you'll find out it is some (e.g. Perl) script. Look into that script, you'll guess it is translating some arguments....

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.