wok diff gksu/stuff/gksu.patch @ rev 21783

Add gksu
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 17 22:18:59 2019 +0300 (10 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gksu/stuff/gksu.patch	Wed Jul 17 22:18:59 2019 +0300
     1.3 @@ -0,0 +1,23 @@
     1.4 +--- a/gksu-migrate-conf.sh
     1.5 ++++ b/gksu-migrate-conf.sh
     1.6 +@@ -1,4 +1,4 @@
     1.7 +-#!/bin/bash
     1.8 ++#!/bin/sh
     1.9 + 
    1.10 + set_default ()
    1.11 + {
    1.12 +
    1.13 +# FIXME: gksu is incompatible with /usr/bin/terminal!
    1.14 +# Using sakura here instead.
    1.15 +
    1.16 +--- a/gksu.desktop
    1.17 ++++ b/gksu.desktop
    1.18 +@@ -41,7 +41,7 @@
    1.19 + Comment[th]=เปิดเทอร์มินัลในนามผู้ใช้ root โดยใช้ gksu ถามรหัสผ่าน
    1.20 + Comment[zh_CN]=以 root 用户身份打开一个终端,使用 gksu 询问密码
    1.21 + Encoding=UTF-8
    1.22 +-Exec=gksu /usr/bin/x-terminal-emulator
    1.23 ++Exec=gksu sakura
    1.24 + Icon=gksu-root-terminal
    1.25 + StartupNotify=true
    1.26 + Terminal=false