可执行文件如何双击打开
Tofloor
poster avatar
fancn
deepin
2017-08-11 07:12
Author
今天下了jetbrain的toolbox,设了可执行,但是系统默认尝试压缩管理器打开。有什么办法双击直接运行?
Reply Favorite View the author
All Replies
1 / 2
To page
avatar
jingle
deepin
2017-08-11 15:15
#1
二进制?sh ?
Reply View the author
avatar
fancn
deepin
2017-08-11 15:31
#2

二进制的。

jetbrains-toolbox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=f32995133c8d7169f8e2b7507e2b91571e0f9eb7, stripped
Reply View the author
avatar
dreco
deepin
2017-08-11 17:14
#3
目前应该没这功能
Reply View the author
avatar
jingle
deepin
2017-08-11 17:41
#4
https://bbs.deepin.org/post/144005
二进制的。

jetbrains-toolbox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically li ...

估计默认程序需要选择下 终端执行下
Reply View the author
avatar
youngitachi
deepin
2017-09-05 21:05
#5
https://bbs.deepin.org/post/144005
估计默认程序需要选择下 终端执行下

这个界面也找不到终端啊,要是添加该从那个地方添加呢?
我觉得“双击打开可执行文件”这个功能应该加上,除了这个toolbox,还有下的AppImage文件,都需要这种功能,毕竟不想每次从终端上启动。
哈哈,另外安利一下这个jetbrains toolbox,有了这个,使用jetbrains全家桶任何产品都很方便,各个版本(ultimate,community)都有,而且升级方便,比起从深度商店下载旧版还是要好一些。
Reply View the author
avatar
jingle
deepin
2017-09-05 21:15
#6
https://bbs.deepin.org/post/144005
这个界面也找不到终端啊,要是添加该从那个地方添加呢?
我觉得“双击打开可执行文件”这个功能应该加上 ...

那个toolbox 已经收录了
通过监视器查看终端进程的 位置 直接添加

建议 sudo chmod+x xxxx.imageAPP

./xxx
Reply View the author
avatar
youngitachi
deepin
2017-09-05 22:08
#7
https://bbs.deepin.org/post/144005
那个toolbox 已经收录了
通过监视器查看终端进程的 位置 直接添加

赞一个。录屏好评。
Reply View the author
avatar
billy123456
deepin
2017-09-06 01:06
#8
https://bbs.deepin.org/post/144005
那个toolbox 已经收录了
通过监视器查看终端进程的 位置 直接添加

不是deepin-terminal吧,不是应该设置打开方式为deepin-terminal -e吗
Reply View the author
avatar
jingle
deepin
2017-09-06 01:19
#9
https://bbs.deepin.org/post/144005
不是deepin-terminal吧,不是应该设置打开方式为deepin-terminal -e吗

如果按照 文管的打开方式  /usr/bin/deepin-terminal  估计只能选择这吧
Reply View the author
avatar
billy123456
deepin
2017-09-06 02:01
#10
https://bbs.deepin.org/post/144005
如果按照 文管的打开方式  /usr/bin/deepin-terminal  估计只能选择这吧

这样你能正常打开?
Reply View the author
avatar
youngitachi
deepin
2017-09-06 06:35
#11
https://bbs.deepin.org/post/144005
那个toolbox 已经收录了
通过监视器查看终端进程的 位置 直接添加

你说toolbox已经收录,可是我在深度商店里面搜不到啊
Reply View the author
avatar
youngitachi
deepin
2017-09-06 06:43
#12
https://bbs.deepin.org/post/144005
那个toolbox 已经收录了
通过监视器查看终端进程的 位置 直接添加

添加了deepin-terminal,然而并不能双击打开。
Reply View the author
avatar
billy123456
deepin
2017-09-06 07:08
#13
https://bbs.deepin.org/post/144005
添加了deepin-terminal,然而并不能双击打开。

jingle那样做理论上是不能实现双击打开的
Reply View the author
avatar
billy123456
deepin
2017-09-06 07:14
#14
https://bbs.deepin.org/post/144005
添加了deepin-terminal,然而并不能双击打开。

你可以试试在桌面创建一个文件,里面写上

  1. #!/bin/bash
  2. deepin-terminal -e $*
Copy the Code

写完之后右键保存,选中那个文件,右键,属性,允许以程序执行文件,以后这种东西打开方式都选这个文件
Reply View the author
avatar
billy123456
deepin
2017-09-06 07:14
#15
https://bbs.deepin.org/post/144005
你可以试试在桌面创建一个文件,里面写上

写完之后右键保存,选中那个文件,右键,属性,允许以程序执行 ...

我不保证会成功
Reply View the author
avatar
youngitachi
deepin
2017-09-06 17:14
#16

感谢回复,我中午回去试试。
Reply View the author
avatar
youngitachi
deepin
2017-09-07 08:03
#17

中午忘了。
刚刚试了一下,果然还是不行。
Reply View the author
avatar
youngitachi
deepin
2017-09-07 08:11
#18

好像又可以了。
不过还是会打开一个终端,不够优雅。
不管怎样,还是谢谢你的方法了。
Reply View the author
avatar
billy123456
deepin
2017-09-07 21:04
#19
https://bbs.deepin.org/post/144005
好像又可以了。
不过还是会打开一个终端,不够优雅。
不管怎样,还是谢谢你的方法了。 ...

不要终端就把deepin-termial -e $*那一行换成$*
Reply View the author
avatar
billy123456
deepin
2017-09-07 21:05
#20
https://bbs.deepin.org/post/144005
不要终端就把deepin-termial -e $*那一行换成$*

不保证成功
Reply View the author
1 / 2
To page