Hot answers tagged

18

~ is your home directory, usually /home/username. A file or folder name starting with a . is the Linux version of a hidden file/folder. So ~/.config is a hidden folder within your home directory. Open up your file browser to your home folder, then find the option to show hidden files and folders. If you don't see .config, you'll have to create it. Then ...


11

Menu Search->Replace (or Ctrl+h). Fill in find and replace boxes, expand Replace All, click In Session Step-by-step: Select "Replace" from Search menu. Expand "Replace All" Click "In Session"


8

It brought in those many dependencies because you're upgrading to Testing. This can be seen from the many GTK 3.0-related packages which are brought by GNOME 3, and due to the fact that kernel 2.6 (linux-headers-2.6.32-5-686) is being removed (because testing uses a more recent kernel). If you want a more recent Geany on your stable Debian, I'd look for ...


2

While not an answer specific to Geany, could you do this instead using sed at the command line? This will recursively replace "foo" with "bar" in a directory. find . -type f | xargs -i sed -i -e "s/foo/bar/g" "{}"


2

Go to the terminal and type geany -h it will show you all the options availible. Among them -i, --new-instance Don't open files in a running instance, force opening a new instance is exactly what you need. HOW-TO Find that thing you are clicking. Open it in any text editor, or find a way of changing the command it is executing. (might be tricky if ...


2

There is a bug-report/request dealing with this, which apparently has not been addressed: #527 Caret options : As of 0.20, Geany's caret (AKA cursor) is drawn as a 1-pixel vertical bar in insert mode, and as a 2-pixel horizontal bar in overwrite mode, and there's an option to decide whether it blinks or not. While this makes sense, I would prefer to ...


2

The file ~/.config/geany/filedefs only exists if you have created it, either manually or by using the menu Tools / Configuration Files / filetypes.common to save your configuration. Debian's package for geany-common has the default settings for this file in /usr/share/geany/filetypes.common


1

Looking at Geany's wiki, it looks like you might also need to disable this option: use_gio_unsafe_file_saving This is on by the default, and is provided by the GIO library. This option attempts to deal with as many of the issues associated with the other methods as it can: It attempts to use the atomic rename saving ...


1

perl -l0 -ne 'print for /\\subimport\{\}\{(.*?)\}/g' file.tex Would print the filenames inside those \subimport{}{...} functions NUL-delimited. You can pipe that to xargs -0 grep -l gastric -- to find which of those files contain gastric.


1

Edited as the user needs: cat document.tex | cut -d'{' -f3 | cut -d'}' -f1 | while read file grep -i 'gastric' "$file" &>/dev/null && echo "$file contains gastric" done


1

Geany appears to use grep under the hood for searching within files, and it provides an Extra options: field to pass additional arguments to the grep command. Hence you should simply be able to add --exclude='*.aux' in the box provided: --exclude=GLOB Skip files whose base name matches GLOB (using wildcard matching). A file-name ...


1

Replacing with Grep You can do (most of) this with regular expression search/replace. Use the Replace dialog, making sure that "Use Regular Expressions" is selected and "Use multi-line matching" is not. Search for: \\stylea{(.*)} And replace with: \1 This is a regular expression "back reference" to the "captured" text in the search expression (the ...


1

Yes, it's possible to perform this. You should open menu, choose "Build -> Set Build Commands" and change the contents of "Execute" field to command "%f" if you want to execute it in Geany terminal. Or if you'll be satisfied with executing the command in "Compiler" tab (it lacks interactivity, coloring support and so on), change the contents of "Compile", ...


1

Some xkb mappings have the non-breaking space assigned to a combination of key (for instance AltGr-Space or AltGr-Shift-Space). Some compose database also have a mapping (Compose space space for instance). You may be hitting one of those involuntarily.


1

Indeed, Geany is having an option to insert an alternative space. You can find the option inside the "Insert" menu and/or you can set a keybidng for it (inside the insert section of keybedings). In default there should be no keybinding set for.



Only top voted, non community-wiki answers of a minimum length are eligible