Git Product home page Git Product logo

nemo_contains_and_scroll's Introduction

My Favorite

Similar to Windows when opening a file from search

There is a small (maybe 1-2s) delay when opening. But it will get there!

Installation Guide: Nemo Contains And Scroll

This nemo_action:

opens the containing directory of a selected item in a new window and attempts to scroll to and highlight the item, enhancing the file navigation experience within the Nemo file manager.

Enabled Features

  • Seamless Navigation: Opens the containing folder of any selected file or folder in a new Nemo window, automatically scrolling to and highlighting the item.
  • User-Friendly: Integrates smoothly into the Nemo context menu for easy access with a right-click.
  • Efficiency Boost: Especially useful during searches, saving time and clicks by directly showing the item's location in its directory.

Quick Start

SingleCommand Install

To install the Nemo action on Linux Mint, open a terminal and execute this SingleCommand:

REPO_URL="https://github.com/ForDefault/nemo_contains_and_scroll.git" && \
REPO_NAME=$(basename $REPO_URL .git) && \
git clone $REPO_URL && \
cd $REPO_NAME && \
sudo apt-get update && sudo apt-get install -y xdotool && \
sed -i "s|/home/\$USER|/home/$USER|g" contains_and_scroll.nemo_action && \
mv contains_and_scroll.sh /home/$USER/.local/share/nemo/actions/ && \
mv contains_and_scroll.nemo_action /home/$USER/.local/share/nemo/actions/ && \
chmod +x /home/$USER/.local/share/nemo/actions/contains_and_scroll.sh && \
chmod +x /home/$USER/.local/share/nemo/actions/contains_and_scroll.nemo_action && \
cd .. && rm -rf $REPO_NAME

Usage

Right-click on any file or folder within Nemo, and select "Contains And Scroll" from the context menu. You will be taken to the containing directory in a new window, scrolled to that item, and it will be highlighted.

My Other Nemo Actions:

Post-Installation

To ensure the changes take effect, you may need to restart Nemo with the following command:

 nemo -q

Troubleshooting

If the action does not appear in Nemo's context menu or doesn't function as expected, please check the following:

  • Ensure xdotool is installed and operational.
sudo apt install xdotool
  • Verify that the action script has the correct permissions and is located at
cd /home/$USER/.local/share/nemo/actions/
  • Restart Nemo using to apply the changes.
nemo -q

nemo_contains_and_scroll's People

Contributors

fordefault avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.