[Contribute Advice] 建议右键增加个刷新
Tofloor
poster avatar
BI8ETU
deepin
2022-12-11 07:18
Author

第一次用深度,总的来说不错,刚刚使用,还需要适应,不知道可以添加右键“刷新”,期待深度体验了再来!!!

Reply Favorite View the author
All Replies
tifa
deepin
2022-12-11 07:21
#1

Linux具有先进性,不用刷新yeah

Reply View the author
pzm9012
Moderator
2022-12-11 07:28
#2

下载星火应用商店,从里面安装一个右键刷新

Reply View the author
云的眼泪
deepin
2022-12-11 07:31
#3

右键中没有刷新,但其实按一下F5,就是刷新。

如果确实想要,可以自己添加。

将下面的代码保存为refresh.sh文件,运行一下就可以了。

#!/bin/bash

#*@package deepin-refresh

#*@author Lyvnee

#*@version 0.3

#*@license MIT

#*@link http://lyvnee.com

echo "==========开始安装=========="
dirname="/usr/share/deepin/dde-file-manager/oem-menuextensions"
if [ ! -d $dirname ];then
echo "正在创建插件路径..."
sudo mkdir -p $dirname
else
echo "插件路径已存在!"
fi

echo "安装所需依赖..."
sudo apt install xautomation -y

echo "开始创建refresh.desktop文件..."
cd $dirname
read -p "硬件使用F5刷新,请输入 1 ;硬件使用Fn+F5刷新,请输入 2:" refresh

case $refresh in

  1. sudo sh -c 'cat >refresh.desktop<< EOF
    [Desktop Entry]
    Type=Application
    Name=refresh
    Name[zh_CN]=刷新
    #Icon=view-refresh
    Exec=xte "key F5"
    #Exec=xte "keydown Multi_key" "key F5" "keyup Multi_key"
    X-DFM-MenuTypes=EmptyArea
    EOF'
    ;;
  2. sudo sh -c 'cat >refresh.desktop<< EOF
    [Desktop Entry]
    Type=Application
    Name=refresh
    Name[zh_CN]=刷新
    Icon=view-refresh
    #Exec=xte "key F5"
    Exec=xte "keydown Multi_key" "key F5" "keyup Multi_key"
    X-DFM-MenuTypes=EmptyArea
    EOF'
    ;;
    *) echo '输入错误,停止安装,若要继续安装,请重新执行此脚本!'
    exit 0
    ;;
    esac

echo "==========安装完成=========="
echo "请重启文件管理器,点击右键查看。"

Reply View the author
BI8ETU
deepin
2022-12-11 16:32
#4

😃 收到,谢谢!

Reply View the author
广雅居士
deepin
2022-12-11 16:49
#5

刷新并没有什么实际用途,最多心理安慰。

Reply View the author
广雅居士
deepin
2022-12-11 16:53
#6

windows的刷新,是为了解决计算机缓存、内存、硬盘不同步问题设置的。比如你用文件管理器正查看spot目录,这时候另一个程序在spot目录下建立个文件,你是看不到的,要刷新一下才看得到。

现在计算机硬件软件技术进步太多,系统每时每刻都在自动刷新,因此已经不需要手动刷新了。

Reply View the author
BI8ETU
deepin
2022-12-11 18:09
#7
广雅居士

windows的刷新,是为了解决计算机缓存、内存、硬盘不同步问题设置的。比如你用文件管理器正查看spot目录,这时候另一个程序在spot目录下建立个文件,你是看不到的,要刷新一下才看得到。

现在计算机硬件软件技术进步太多,系统每时每刻都在自动刷新,因此已经不需要手动刷新了。

😂 确实是这样的,只是习惯性回到桌面就点右键刷新,哈哈,看来习惯得改咯

Reply View the author
广雅居士
deepin
2022-12-11 18:13
#8
BI8ETU

😂 确实是这样的,只是习惯性回到桌面就点右键刷新,哈哈,看来习惯得改咯

慢慢改,习惯就好了。

Reply View the author
skype001
deepin
2022-12-11 18:51
#9

image.png

image.png

下载地址 https://gitee.com/deepin-community-store/spark-store/releases/tag/3.2

Reply View the author
BI8ETU
deepin
2022-12-11 21:38
#10
skype001

image.png

image.png

下载地址 https://gitee.com/deepin-community-store/spark-store/releases/tag/3.2

😊 谢谢,按照你说的解决了!

Reply View the author
Merlin
deepin
2022-12-12 17:46
#11

20.9可能会回归这个功能(具体请以实际版本发行注记为准),已经在需求规划中

Reply View the author
130******48
deepin
2022-12-12 17:51
#12

卵用没有 就算是windows的刷新也没有任何实际意义

Reply View the author