“你确定要继续吗?” 登录时的消息

Ale*_*sel 7 login elementary 14.04

每次登录时都会收到以下消息。我使用的是 Ubuntu 14.04 x64。

该消息在我尝试安装 Elementary OS Pantheon 会话后首次出现,但该会话无效。我不得不完全重新安装我的系统,但该消息不断出现。因此,它可能在我的主文件夹中创建了一些东西,但我不知道该看什么以及在哪里看。

有人有任何提示吗?我在 /home 中没有找到任何基本文件夹。我还检查了 .profile 和启动应用程序,但没有。

在此处输入图片说明

Ale*_*sel 5

经过一番挖掘后我发现了这一点。我的 .profile 文件中有一个脚本,可以更改触摸板和键盘的一些设置。我已经使用它几年了,但之前没有出现过这个错误。

脚本中的一些命令似乎不再起作用:

xinput set-int-prop "VertResolution" 7
xinput set-int-prop "HorizResolution" 5
xinput --set-prop --type=float "Logitech Unifying Device. Wireless PID:4013" "Device Accel Constant Deceleration"
Run Code Online (Sandbox Code Playgroud)

例如:

$ xinput set-int-prop "VertResolution" 7
Usage: xinput set-int-prop <device> <property> <format (8, 16, 32)> <val> [<val> ...]
Run Code Online (Sandbox Code Playgroud)

我假设当加载 .profile 并返回这些错误时,系统会弹出该消息,因为当我手动运行它们时,我没有收到弹出窗口。

不管怎样,我把它们评论掉了,我再也没有收到消息了。

所以问题的根源在我的 .profile 中