install_shared

来自「C写的TELNET」· 代码 · 共 34 行

TXT
34
字号
#!/bin/shecho GTelnet v2.2echo ----------------------------------------------------------------------------------echo To run this script you either have to run as rootecho or you have to have a write access to echo /usr/share/pixmaps and /usr/share/iconsecho Installing icons background images to /usr/share ...mkdir -p /usr/share/pixmaps/gtelnetif [ -f /etc/mandrake-release ];  then cp -fv share/gtelnet /usr/lib/menu/gtelnet;fiechoecho Copying images and icons...cp -fv share/*.jpg /usr/share/pixmaps/gtelnetcp -fv share/*.png /usr/share/pixmapscp -fv share/*.xpm /usr/share/iconsechoecho Copying documentation...cp -fRv docs /usr/doc/gnome-telnet-2.2echoecho Installing the icon to GNOME Menu in /usr/share/gnome/apps/Internet ...cp -fv share/GTelnet.desktop /usr/share/gnome/apps/Internetchmod go+rx /usr/share/pixmaps/gtelnetchmod go+rx /usr/doc/gnome-telnet-2.2echo ----------------------------------------------------------------------------echo Done! Have fun! Now to run GTelnet, click it from the "Internet" menu

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?