/usr/bin/KateDJ is in libkate-tools 0.4.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #!/usr/bin/env python
# import what we need first, complain if we don't find it
import sys
from kdj import constants
stop=False
if len(sys.argv)>1:
arg=sys.argv[1]
if arg=='-V' or arg=='--version':
print kdj_name_version+', a remuxing program for Kate streams.\n'
stop=True
if arg=='-h' or arg=='--help':
print kdj_name_version+', a remuxing program for Kate streams.\n'
print '\n'+\
kdj_name+' is a remuxing program that allows extracting and decoding Kate tracks\n'+\
'from an Ogg stream, and recreating that Ogg stream after the Kate streams\n'+\
'have been altered.\n'+\
kdj_name+' requires both the Kate tools (kateenc and katedec) and the oggz tools.\n'+\
'\n'+\
'This is a GUI program. Click the \'Help\' button in the main window for more help.\n'
stop=True
else:
print 'Invalid option: '+arg
sys.exit(1)
if stop:
sys.exit(0)
try:
import wx
except:
print 'Failed to find the wx Python module'
sys.exit(1)
# import our own code
from kdj.ui_main import UIMain
app=wx.PySimpleApp()
wx.InitAllImageHandlers()
ui_main=UIMain()
app.MainLoop()
|