web-dev-qa-db-ja.com

すべてのスコープ、フィルター、ダッシュプラグインを無効にする方法は?

Dashは、ファイルやアプリを探しているときの天気や料理のレシピ(?!)まで、必要のないものでいっぱいになっています。また、私も持っていないファイルから結果を取得せずに音楽ファイルを含めるように設定する方法を見つけることができません。

アプリランチャーが実際にアプリを起動する13.04での動作に戻る方法はありますか? (したがって、すべてのフィルター、特に私のコンピューターとは関係のない結果を取り除きます。)

また、機能しないようです。すべてをオフにしようとしてフィルターのリストを調べますが、検索するものを入力すると、再びオンになりますか?

34
Han Cnx

次を使用できます。

dpkg -l | grep scope

コンピューターにインストールされているすべてのスコープを一覧表示します。

13.10では、本当に必要なのはneedです:libunity-scopes-json-def-desktop、unity-scope-home、unity-scopes-master-default、unity-scopes-runner。

他のすべてのスコープを安全にアンインストールしても、インストールされたアプリケーションのみを検索する機能ダッシュを使用できます。

おそらく、「侵入的」なレンズアプリケーションも存在することを知りたいと思うでしょう。

dpkg -l | grep lens

インストールされているすべてのレンズアプリケーションを一覧表示します

13.10の場合、本当に必要なのはneedです:unity-lens-applicationsと、おそらくunity-lens-filesも同様です。

繰り返しますが、他のすべてのレンズアプリケーションを安全にアンインストールしても、インストールされたアプリケーションを検索するダッシュを使用できます。

それらのアプリケーションを削除するには、このコマンド全体をコピーして、開いているターミナルに貼り付けます。

Sudo apt-get purge unity-lens-friends unity-scope-audacious unity-scope-chromiumbookmarks unity-scope-clementine unity-scope-colourlovers unity-scope-devhelp unity-scope-firefoxbookmarks unity-scope-gdrive unity-scope-gmusicbrowser unity-scope-gourmet unity-scope-guayadeque unity-scope-manpages unity-scope-musicstores unity-scope-musique unity-scope-openclipart unity-scope-texdoc unity-scope-tomboy unity-scope-video-remote unity-scope-virtualbox unity-scope-Yelp unity-scope-zotero unity-lens-friends unity-lens-music unity-lens-photos unity-lens-video

プロセス中にシステムに残しておきたいものをアンインストールしないように、常に次のプロンプトに注意してください。

私はファイルを検索するためにnautilusを使用していますが、ここで行う必要のあることは間違いないでしょう。また、プライバシーを維持するには、プライバシー設定を「オンライン結果を含めない」に変更する必要があります。


15.10の場合

Sudo apt-get purge unity-scope-audacious unity-scope-chromiumbookmarks unity-scope-clementine unity-scope-colourlovers unity-scope-devhelp unity-scope-firefoxbookmarks unity-scope-gdrive unity-scope-gmusicbrowser unity-scope-gourmet unity-scope-guayadeque unity-scope-manpages unity-scope-musicstores unity-scope-musique unity-scope-openclipart unity-scope-texdoc unity-scope-tomboy unity-scope-video-remote unity-scope-virtualbox unity-scope-Yelp unity-scope-zotero unity-lens-music unity-lens-photos unity-lens-video

20
mchid

まず、フィルターとスコープは2つの異なるものです。

あなたの言うことから、あなたの問題はフィルターではなくスコープにあるようです。

それらを無効にするには、[設定]、[プライバシーとセキュリティ]に移動し、オンライン検索結果を含めるをオフにします。

12
To Do

TL; DR

これらの3つのコマンドが必要になります。そして、何もインストールする必要はありません。

Sudo apt-get remove $(dpkg --get-selections | cut -f1 | grep -P "^unity-(lens|scope)-" | grep -vP "unity-(lens|scope)-(home|applications|files)" | tr "\n" " ");
gsettings set com.canonical.Unity.Lenses always-search "['applications.scope']";
gsettings set com.canonical.Unity.Dash scopes "['home.scope', 'applications.scope', 'files.scope']";

これらのコマンドが何をするのか、そしてそれをあなたが望むものに微調整する方法を詳細に説明します。

長い回答の説明

1。

次のコマンドは、unity-*-home、unity-*-applicationを除くすべてのnity-lens-*およびnity-scope-*パッケージを自動的に削除します。 unity-*-files

Sudo apt-get remove $(dpkg --get-selections | cut -f1 | grep -P "^unity-(lens|scope)-" | grep -vP "unity-(lens|scope)-(home|applications|files)" | tr "\n" " ")

2。

次に行う必要があるのは、Gnome構成を編集して統一することです。デフォルトではインストールされないdconf-editorを使用します(Sudo apt-get install dconf-editorを実行してインストールします)が、上記のgsettingsコマンドを使用してコマンドラインから直接変更を適用できることを忘れないでください。

次を実行してdconf-editorを起動します:Sudo dconf-editor

2.A。

com> canonical> unity> lensに移動します:always searchを編集して、デフォルトで必要なものを選択し、['applications.scope']が、より多くの値を持つことができます(単一性、ファイルなどのないアプリケーションの検索にのみ興味があります)

2.B

最後に、com> canonical> unity> dashに移動します:scopesを編集し、['home.scope', 'applications.scope', 'files.scope']のままにします

必要なのはそれだけです

9
thebugfinder

さらに、インストールできます

Sudo apt-get install unity-Tweak-tool

そこで検索を無効にします:
enter image description here 6. [オンラインソースの検索]チェックボックスをオフにし、[その他の提案]を表示します

source:https://fixubuntu.com/

1
rubo77
find /usr/share/unity/scopes/ -name \*.scope -printf "%P "|sed -es':/:-:g'

インストールされているすべてのスコープをリストします。

gsettings set com.canonical.Unity.Lenses disabled-scopes "[$(find /usr/share/unity/scopes/ -name \*.scope -printf "'%P',"|sed -es':/:-:g' -e's/,$//')]"

これにより、スコープを完全に無効にできるため、必要なスコープのみを有効にできます。ダッシュを使用してスコープを管理するには、少なくともapplications-scopes.scopeを有効にする必要があります。

0
skarz