Comments (4)
Thanks for requesting!
First, I'd like to better understand what you are saying. Do you need to fix the extension with a replace command in some of its files for it to work? If that is the case, could you please tell me exactly what is it that you needed to do to make it to work? I would like to make this extension to work out-of-the-box in as many setups as possible (also, please include info on your system: distro name, version,
kernel, bumblebee and bbswitch versions).
Second, making it an always present indicator certainly is possible, but I prefer it the way it is now (i.e. only shows when the NVIDIA card is on), because the only functionality offered by the extension (i.e. opening NVIDIA X Settings for Bumblebee X server) is only available when the card and Bumblebee X server are running. Also, the current behavior is how stock GNOME Shell indicators work (network, sound, bluetooth, etc.). That said, I could add an option to show a darker NVIDIA logo when Bumblebee is off, if that is what you'd prefer.
from gnome-shell-extension-bumblebee-status.
Well I was talking about ”gnome-shell --replace” (or just "r" in Alt+F2 menu) command. Bumblebee indicator extension fails to work after restarting Gnome Shell this way.
To be honest I'd like an option that makes Bumblebee Status work exactly that way (but without the bug). It kind of annoys me popping there in the middle, and I think, for now it's better not to be there permanently :)). However, it is you choice if you want to do it or not, but there are some other extensions that implement different options of showing the information: OpenWeather extension and Media Player indicator extensions. I know these because I use them.
It's generally a matter of personal taste.
What I would suggest, would be to make different settings available through options, so that you can cover in advance some other "tastes" (from other people). This means more work from you, and it's your time man.
Thank you for sharing your work anyway!
from gnome-shell-extension-bumblebee-status.
Could you post here the error message that the extension throws? For that, open the GNOME Shell Looking Glass (Alt+F2, "lg", Enter), in the "Extensions" tab, look for "Bumblebee Status" then click the corresponding "Show errors" button. Also, what distro and version of GNOME Shell are you using? Are you using proprietary nvidia drivers or nouveau?
from gnome-shell-extension-bumblebee-status.
Wow, seems I am not clear enough, there are two bumblebee extensions that I am talking about:
- Bumblebee Indicator by majcn: https://extensions.gnome.org/extension/843/bumblebee-indicator/
- Bumblebee Status by dsboger (by you): https://extensions.gnome.org/extension/1100/bumblebee-status/
There's nothing wrong with your extension. From what I remember I don't think Bumblebee Indicator shows an error message in lg menu.
(I occasionally modify some extensions to better suit my needs, but I only do it by reading the code not by searching API's which I actually don't know. Some errors that I make are very hard to trace (for me), because they don't show in lg menu sometimes it's even hard for me to trace them with "journalctl -f". In Bumblebee Indicator by majcn I used to switch bumblebee icons with nvidia ones.)
I put this text in round brackets because it's not important.
MAIN POINT: Your extension works correctly, there's no error whatsoever.
I am on Gnome Shell 3.20 OpenSuse Leap 42.2 and use NVidia Proprietary 375 with bumblebee.
I said at some point "It kind of annoys me popping there in the middle". The popping I am referring to is caused by my scripts that start Bumblebee NVidia due to some issue I had with this laptop on OpenSuse and Fedora. This issue makes desktop screen freeze when starting first application with bumblebee. A workaround I had put toghether (ex. optirun1 script) is:
optirun -c proxy -b virtualgl glxinfo >> /dev/null 2>&1
optirun -c yuv -b virtualgl "$@" &
This is where the popping comes from, it's actually not a bug at all, it's just my script doing what it does.
from gnome-shell-extension-bumblebee-status.
Related Issues (4)
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 gnome-shell-extension-bumblebee-status.