-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
Albert is not quit graciously #12
Comments
Same here on Ubuntu 14.04 with the webupd8 ppa. All settings are restored to the default after restart. |
Same here with the same env above, except I am on 14.10 |
Manual fix: Edit |
Sorry guys, I will fix this soon. Currently I am busy with my studies. I will do it after the examination period. |
thanks! :D Setting f12 as hotkey [IT IS ONE LINE]: Setting Ctrl+Space as hotkey [IT IS ONE LINE]: cheers! 👍 |
@rhoconlinux & others: how does this solve the problem? Each time i start the albert app, it rewrites the config file again! |
The problem is IMO that it doesnt update hotkey at all, so it probably wont
even overwrite it.
|
@keevitaja well... it seems like it doesn't write anything actually. That's the bug: Abert does't write the config file at user level at all. As @sagikazarmark say, it doesn't update the hotkey... moreover, this affect EVERY setting you want to modify. After I run the lines I posted above I didn't had any problems concerning the config file. Of course, would be nice to see where are the other options that appear in the GUI and what is the syntax to modifying them. But regarding the keymap issue, the workaround above worked for me for a while now. Cheers! PS: I noticed that every time I install a new application I have to rebuild manually the app index. That's kinda of inconvenient considering that it is built in milliseconds. So, probably a function that rebuilds the app index every time Albert is called could be a nice and handful improvement. :) PS2: Does anybody know a way to disable modules? For instance if I want Albert to be just a super fast app launcher (and not, lets say, to be able to search on internet). Ideas? ...(probably this should go to another issue). 👍 |
Hmm curious. Could somebody please check if this problem persists if you close albert via "F4", instead of rebooting/killing it? Regards |
@ManuelSchneid3r yes, if you close the app with F4, the configuration is saved. Btw there is one weird issue with fuzzy search. Not sure if it is a bug but: qBittorrent can be search with And to autostart Albert i had to add the 5 sec delay! @rhoconlinux you can remove the fileindex folders and rebuild the index! |
@keevitaja sorry, i didn't get it. What should I do in order to autobuild the index every time I call Albert? |
".local/share/albert/". It will move to "~/.cache/albert/" soon. But you will have no luck. It is binary.
As far as I remember none of the versions accomplishes this. I was working on a filesystem-watching design until I realized, that the current architecture is not future-proof. Please wait a while albert is undergoing heavy changes atm. |
Can't wait for the new release! |
vim /$HOME/.config/albert/albert.conf |
Please tell me if this is still an issue with 0.7 |
Hi @ManuelSchneid3r I just installed Albert 0.7 on Arch, and it still doesn't save the config file. |
How do you produce this issue? Please do the following,
reproduce the issue and send me the file (@gmail.com) |
Working great now on first run with no pre-existing configs. Thanks! |
@rhoconlinux when i type this command "touch $HOME/.config/albert/albert.conf && echo "hotkey=ctrl+space" > $HOME/.config/albert/albert.conf " |
The error message is not an issue of albert. Its from touch and most likely the folder is missing. However this is not the config folder. ~/.config/manuelschneid3r/albert.conf (since 0.7.. im not sure) is the correct place for the config. But this will change in the furture to ~/.config/albert/albert.conf or ~/.config/albert.conf. I know this is annoying but albert ist still alpha. I'm just a regular student and my time is finite, so please bare with me. You can just ignore this problem by not using the raw config file and use the graphical frontend for changing setting. This is the recommended way for end users since there is no chance for typos or any other problems. So please do not edit the config file by hand, if you are not forced to do so. If you are forced to do so, you are most likely using an old version/ppa of albert, if not please open an issue. |
i just added albert to the startup applications and everything's working fine now, thank you. |
Oomph looks like SIGTERM is not the only way apps get terminated... |
@tepf Could you please post your environment (use the issue template)? |
@ManuelSchneid3r here it is: Operating System: Arch Linux |
Fine, Arch 👍 |
I copied the whole log because I am not sure if did this right (also there is an error)
|
Okay make an update this is fixed and in 0.8.4 (433fcc7). Thank you. |
After the update
|
Is it still segfaulting? Be careful with |
One of the major problems with this issue is that any abnormal temination will raise this symptoms, since a normal termination is required to serialize all data and the settings. I double checked anything in the serialization and signalhandling. It should be fine. There were a few segfault issues in the last versions which are fixed now. This should solve this problems too. |
how can i terminate albert normally? when i reboot my system using the "reboot" or "systemctl reboot" command in my terminal, albert complains about non-gracious termination the next time i start it. which command do i have to enter into the settings --> plugins --> system --> reboot box in order to terminate albert normally before i reboot my system? |
The major usecase is you dont. Run albert on session init and session teardown will terminate albert. Well it should. Pretty annoying is that many common sessions do kill the applications.
Exactly. Dont use reboot or systemctl. Session that are terminated from the outside/init process kill its applications. Use your session commands.
Depends on your desktop environment. Which one are you using? Currently there are missing good defaults. When I talk of kill and terminate I mean sending SIGKILL or SIGTERM. |
i use the git version of lxqt on arch linux. i start albert when lxqt starts with the command "albert". i found out how to terminate albert graciously:
|
Well you can still press Alt+F4 but make sure the hide on close option is disabled in the settings. Further using the context menu on the gear offers the quit action.
yes this works but its a bit overkill |
Hi there, awesome awesome work!
I noticed that my settings (in special my custom keyboard shortcut to launch the program) are not saved. During the session it recongnizes the changes but apparently it doesn't write any conf file anywhere. When I kill the app using
killall albert
all my settings are restored to the default.Im on ubuntu 1404 and I changed the launch key to f12, just in case this might be the issue.
Thanks!
ps. I also noticed that one can tweak a little bit the themes available. I created my own specially because of the font size (too big for me) and realized that the bottom panel doesn't grab the font size option. :)
ps2. I'm using the webupd8 ppa
The text was updated successfully, but these errors were encountered: