mylinuxforwork / dotfiles

The ML4W Dotfiles for Hyprland - An advanced and full-featured configuration for the dynamic tiling window manager Hyprland including an easy to use installation script for Arch based Linux distributions.
GNU General Public License v3.0
520 stars 53 forks source link

[FEATURE] Add "Open Terminal Here" Option to Nautilus Context Menu #215

Open hambosto opened 1 week ago

hambosto commented 1 week ago

Summary: I suggest adding an "Open Terminal Here" option directly into the Nautilus file manager's right-click context menu. This enhancement would enable users to quickly open their preferred terminal emulator in the current directory, streamlining their workflow.

Use Case: For users of ML4W who use Nautilus as their file manager, opening a terminal in the current directory is a frequent task. While external solutions like the nautilus-open-any-terminal package offer this functionality, integrating it natively into Nautilus would provide a more integrated and consistent experience.

Implementation Suggestion: Consider implementing this feature similarly to the existing third-party solutions. Users could configure their preferred terminal emulator using straightforward terminal commands:

  1. Install the nautilus-open-any-terminal package:

    yay -S nautilus-open-any-terminal
  2. Set the preferred terminal emulator (e.g., Kitty) and use a generic name for consistency:

    gsettings set com.github.stunkymonkey.nautilus-open-any-terminal terminal 'kitty'
    gsettings set com.github.stunkymonkey.nautilus-open-any-terminal use-generic-terminal-name 'true'

Integrating this feature into Nautilus would eliminate the need for third-party tools and offer a more seamless experience, especially for ML4W users who rely on Nautilus. The feature should default to a generic "Open Terminal Here" name to maintain consistency across various terminal emulators.

Result: screenshot123_04092024_131347

Source: https://github.com/Stunkymonkey/nautilus-open-any-terminal

mylinuxforwork commented 1 week ago

@hambosto This is a great idea. I will implement this for 2.9.7

hambosto commented 1 week ago

@mylinuxforwork cool. I think it might be nice to put it in post-installation.