Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
mate-menu.4543
0002-xterm-no-symlink-dep.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-xterm-no-symlink-dep.patch of Package mate-menu.4543
diff -aur a/mate_menu/easybuttons.py b/mate_menu/easybuttons.py --- a/mate_menu/easybuttons.py +++ b/mate_menu/easybuttons.py @@ -399,9 +399,11 @@ def execute( self, *args ): if self.appExec: if self.useTerminal: - cmd = "x-terminal-emulator -e \"" + self.appExec + "\"" + cmd = "xterm -e \"" + self.appExec + "\"" if os.path.exists("/usr/bin/mate-terminal"): cmd = "mate-terminal -e \"" + self.appExec + "\"" + elif os.path.exists("/usr/bin/xfce4-terminal"): + cmd = "xfce4-terminal -e \"" + self.appExec + "\"" Execute(cmd, self.appPath) else: Execute(self.appExec, self.appPath) diff -aur a/mate_menu/plugins/system_management.py b/mate_menu/plugins/system_management.py --- a/mate_menu/plugins/system_management.py +++ b/mate_menu/plugins/system_management.py @@ -164,8 +164,10 @@ Button4 = easyButton( "terminal", self.iconsize, [_("Terminal")], -1, -1 ) if os.path.exists("/usr/bin/mate-terminal"): Button4.connect( "clicked", self.ButtonClicked, "mate-terminal" ) + elif os.path.exists("/usr/bin/xfce4-terminal"): + Button4.connect( "clicked", self.ButtonClicked, "xfce4-terminal" ) else: - Button4.connect( "clicked", self.ButtonClicked, "x-terminal-emulator" ) + Button4.connect( "clicked", self.ButtonClicked, "xterm" ) Button4.show() self.systemBtnHolder.pack_start( Button4, False, False, 0 ) self.mateMenuWin.setTooltip( Button4, _("Use the command line") )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor