Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text search in the current terminal #116

Closed
kikecalpe opened this issue Apr 30, 2013 · 65 comments
Closed

Text search in the current terminal #116

kikecalpe opened this issue Apr 30, 2013 · 65 comments

Comments

@kikecalpe
Copy link

Want to be able to make text search in the terminal http://guake.org/ticket/362
Reported by: sylock Owned by: somebody
Priority: minor Milestone: 0.5.0
Component: guake Version:
Keywords: Cc:
Description

It would be great being able to make search on the output of the shells. For exemple, with a shorcut CTRL-f. And n for next match (and N for previous match). Being able to use regex in the search would be great either.

@gsemet
Copy link
Member

gsemet commented Feb 13, 2014

I really like this feature!

@gsemet gsemet added this to the 0.5.0 milestone Feb 13, 2014
@gsemet gsemet assigned gsemet and unassigned gsemet Feb 13, 2014
@gsemet
Copy link
Member

gsemet commented Feb 17, 2014

Should not be difficult: Provided by https://developer.gnome.org/vte/unstable/VteTerminal.html#vte-terminal-search-set-gregex

TODO:

  • display a "firefox"/"chrome" search panel on Ctrl+F (or Ctrl+Shift+F)
  • search next (on "Enter") / previous (On "Ctrl + Enter")
  • support regex

@gsemet gsemet modified the milestones: 0.5.1, 0.5.0 Jul 11, 2014
@gsemet gsemet modified the milestones: 0.5.1, 1.0.0 Sep 7, 2014
@Ginja
Copy link

Ginja commented Jan 15, 2015

+1

@alex-kirienko
Copy link

Can you implement this feature ? Please

@gsemet
Copy link
Member

gsemet commented Mar 4, 2015

I really would like but I have not time to work on guake for the moment

@gsemet gsemet modified the milestones: 0.6.0, 1.0.0 Mar 4, 2015
@rbu
Copy link

rbu commented Mar 25, 2015

Oh I would love this. It's a shame guake is missing this feature in comparison to the regular gnome terminal or something like yakuake.

@gsemet gsemet added this to the 0.6.0 milestone Mar 25, 2015
@gsemet gsemet self-assigned this Mar 25, 2015
@ckorobov
Copy link

+1

@gsemet
Copy link
Member

gsemet commented Apr 17, 2015

Sadly, the python-vte module doesn't export the search methods. This means there is quite a big change to do on the binary itself, and then upload to maintainers and distributions (ubuntu, ...) and then, only then, have access to these methods... I'll try another way...

@gsemet gsemet modified the milestones: 0.6.0, 0.7.0 Apr 19, 2015
@gsemet gsemet added this to the 1.0.0 milestone Apr 28, 2015
@toritsejuFO
Copy link

This feature hasn't been implemented yet? I just tried searching with the intuitive command (Ctrl+f and Ctrl+shift+f) but it didn't work. And I can't find any command that does so in preferences.

@daroczig
Copy link

I ended up using tmux in Guage for this purpose.

@toritsejuFO
Copy link

Oh yeah ;). I only like using tmux on remote servers though, and not locally because of the hassle of scrolling. Thanks for replying anyways.

@der-ali
Copy link

der-ali commented Jan 13, 2019

+1

1 similar comment
@TookTheRedBean
Copy link

+1

@Nikitenko
Copy link

I believe and hope.

@gsemet
Copy link
Member

gsemet commented Jan 30, 2019

Hi guys :) just had a baby girl, so maintaining guake is now low priority, but i’ll try to continue on it when possible, at least to release a new version with recent change. Text search is not hard, just need some time...

@toritsejuFO
Copy link

Congratulations! :)

@howyay
Copy link

howyay commented Jan 31, 2019

Congrats :D

@preactive
Copy link

Congratulations on the baby girl @gsemet!

@gsemet
Copy link
Member

gsemet commented Feb 4, 2019

and if one of you want to have a look at the code, do not hesitate ! Pull Requests are very much loved here :)

@derrix060
Copy link

@gsemet I'm very keen to implement it, but I have no idea for what to start.. Can you provide some high-level steps of what needs to be done to support it?

@gsemet
Copy link
Member

gsemet commented Mar 18, 2019

Hi. a glade file has been started some months ago, not sure how to deal with it.

  • having a dialog box sucks. Not really usable, except done carefully
  • I like how iterm2 on mac does that:
    • a small text search appear on the screen (a-la firefox), and by default you actually search backward which is exactly was we want to do most of the time
    • you can still search forward
    • text are automatically selected so it is visually compeling

Appart by installing the dev environment (see the documentation), and hacking the python code, I can't say more on that. Once you have started hacking and see how it works, it is not really difficult. Time consuming yes. Difficult no :) Good luck

@frederickjh
Copy link

Tilda another dropdown terminal has had this feature since Nov 17, 2015. Switching to Tilda was my solution for searching in a dropdown terminal. On Ubuntu you can install with sudo apt install tilda.

@gsemet gsemet modified the milestones: 3.5.0, -- NEXT VERSION -- Apr 3, 2019
@mlouielu mlouielu mentioned this issue Apr 17, 2019
8 tasks
@gsemet gsemet closed this as completed Apr 23, 2019
@gsemet
Copy link
Member

gsemet commented Apr 23, 2019

Done in #1533

@chax
Copy link

chax commented Apr 26, 2019

Hi, i just tested this new feature and i must say search box doesn't look good with dark theme because overlay background is light-colored and dark themes usually have light-colored fonts, so it's barely visible and it's very hard to read what you type. At first i thought it's not working because i couldn't see the text at all until i really focused my eyes on the search box. Also, background is not transparent as the rest of the terminal, so it looks really ugly and it really stands out from the rest of design. At least make background the right color (the one provided by the current selected GTK theme).

@gsemet
Copy link
Member

gsemet commented Apr 26, 2019 via email

@chax
Copy link

chax commented Apr 26, 2019

yep, will do

@chax
Copy link

chax commented Apr 26, 2019

@gsemet Here it is: #1561

@pevogam
Copy link

pevogam commented Oct 12, 2022

Is there any issue being reported where the search box looks good already but doesn't do anything upon Enter or Previous/Next arrow click?

@Davidy22
Copy link
Collaborator

I'm testing this and not seeing this happen, which version of guake are you on?

@pevogam
Copy link

pevogam commented Oct 13, 2022

The environment I have is

$ guake --version
Guake Terminal: 3.7.0
VTE: 0.68.0
VTE runtime: 0.68.0
Gtk: 3.24.34

and identical problems have been reported with environments in #1533 (comment).

@Davidy22
Copy link
Collaborator

Davidy22 commented Oct 14, 2022

3.7 is several versions behind current, as is the 3.6.x version reported in the linked issue. The search box has received changes most recently in 3.8 that likely fix issues with it.

@pevogam
Copy link

pevogam commented Nov 14, 2022

For various reason I have to wait for my Fedora release to catch up to that. I am still not convinced it is fixed there but will be forced to wait for later. Thanks for the feedback though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests