Comments (1)
no option for it, nor planning, but can be done relatively easily by editingangrysearch.py
, the file you are executing..
open it with sudo as you need write permissions.
In current version, the relevant thing is at the line 45
DATABASE_PATH = os.path.expanduser('~') + '/.cache/angrysearch/angry_database.db'
first part with the ~
is to get path to the home of the current user, the second part - after the plus sign, is where you want it specifically for that user.
if you want it just at different place in your home folder you change just that second part
but if you want it some place specific for every user on that PC, you can for example give it this
DATABASE_PATH = '/usr/share/angrysearch/angry_database.db'
but when you want to update the database you need to run angrysearch with sudo as root, or you wont be allowed to replace the old database with the new. Just search in it is fine as normal user.
/edit
oh, also if you setup automatic database updates by running periodically angrysearch_update_database.py
, the "DATABASE_PATH" needs to be set in it the same too.
from angrysearch.
Related Issues (20)
- Uninstall script can remove files not installed by install script
- Make it easier for end-users to change icons associated with the appliciation - specifically the systray icon.
- feature request: 'only one instance' and always show 'document modify date' HOT 3
- No search results shown. Terminal output: ThreadDBQuery.db_query_signal[str, list, list].emit(): argument 3 has unexpected type 'NoneType' HOT 1
- Crashing when excluding "/"
- Running angrysearch in the background as daemon alongside system tray HOT 2
- Adding more than one excluded directory HOT 1
- autostart angrysearch on system boot without showing window at boot (background start)
- Fix FreeBSD 12+ support
- sudo: unable to execute ./install.sh: No such file or directory HOT 3
- Can only see 'path' and 'name' columns, and weird things happen if I drag the columns HOT 2
- Double click on file path problem
- Unable to start: database disk image is malformed HOT 1
- Feature request: add a way to show the program's version HOT 2
- [Feature Request] Add net tab Type HOT 1
- Wayland support - app_id HOT 2
- Updating via Cron, no file to update
- Crash -> IndexError: list index out of range
- File /var/cache/pacman/pkg/angrysearch-1.0.4-1.4-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). HOT 1
- ANGRYsearch didn't survive update to Ubuntu 24.4 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angrysearch.