bcx | How can i set a gnome-shell theme from the command line ? | 05:17 |
---|---|---|
=== ccar_away is now known as ccarella | ||
=== zequence_ is now known as zequence | ||
vitalish | good day to everybody! i hope i got to the right place and there will be someone to help with my little problem. | 10:02 |
darkxst | vitalish, how could we know if you don't describe your problem ;) | 10:03 |
vitalish | i am trying to type the decription =)) | 10:04 |
vitalish | how do you set the number of workspaces in ubuntu gnome? i've tried it in the bottom right corner of desktop there's a workspace switcher (which i found to be the only graphical mention of workspaces in the system), when trying to select preferences of it and set the number to be more than 1, it still defaults to 1, however it changes the number of rows. | 10:06 |
vitalish | i couldn't find the settings of workspace switcher anywhere else. =) so i am kind of stuck. | 10:06 |
darkxst | vitalish, they are by default dynamic (created as required) but you can set a number in gnome-tweak-tool | 10:07 |
vitalish | i will be fine with any console way of resolving it as long as it works | 10:07 |
vitalish | =) thank you darkxst for the tip. however it doesn't change the switcher. as far as i can see now. it does let to change the number but the switcher still says it's got one workspace =) | 10:10 |
vitalish | am i doing something wrong? | 10:10 |
darkxst | could be a bug, its not really a supported config | 10:11 |
darkxst | vitalish, can you switch to workspaces that don't show in switcher? | 10:19 |
darkxst | <ctl><alt><up/down> | 10:19 |
vitalish | sorry for the silence =) | 10:43 |
vitalish | no, i cannot switch to other workspaces. | 10:43 |
vitalish | unless the key combination to switch have changed, it was ctrl+alt+arrowkey, right? | 10:46 |
darkxst | yes | 10:46 |
darkxst | vitalish, file a bug | 10:47 |
bcx | How can i enable a gnome-shell theme from the command line ? | 10:49 |
darkxst | bcx by typing a lot | 10:50 |
vitalish | right. there's always no easy way =))) but thanks, darkxst! =) | 10:50 |
darkxst | vitalish, its a bug, do file a report | 10:50 |
darkxst | vitalish, preferbably upstream as well, on bugzilla.gnome.org | 10:51 |
bcx | darkxst: I use a machine build script, so typing is not an issue | 10:51 |
darkxst | bcx there is an extension-enabled key in the gsettings schemas | 10:51 |
darkxst | just add your extension to that array | 10:52 |
darkxst | "enabled-extenstions" | 10:53 |
darkxst | "enabled-extensions" | 10:53 |
bcx | darkxst: at the moment i have user-theme extension installed but setting the name is not enough | 10:53 |
darkxst | oh themes | 10:53 |
darkxst | they are different | 10:54 |
bcx | darkxst: I am talking about the gnome-shell one | 10:54 |
darkxst | bcx, I am confused are you trying to enable user-theme extension or actual themes? | 10:54 |
bcx | both | 10:55 |
bcx | user-themes extension is in the enabled array and shows in tweak tool | 10:55 |
darkxst | well the first uses the above mentioned key | 10:55 |
bcx | the theme name is in the "name" but it is not applied | 10:56 |
darkxst | the latter, idk, but all user-themes does is make shell look in the user home dir for themes | 10:56 |
bcx | I think my issue is that dbus is not available while my build script is running | 10:57 |
darkxst | that could cause problems depending on how you are doing what | 10:58 |
bcx | when I look at user-theme extension srouce code I can see: const Main = imports.ui.main; Main.setThemeStylesheet(_stylesheet); Main.loadTheme(); | 10:59 |
bcx | I don't know how to do equivalent thing from the command-line without dbus, ie the unix file-only way as the information must end someone on filesystem | 11:00 |
darkxst | bcx, you can't | 11:00 |
darkxst | that is actually loading the theme into the JS engine | 11:02 |
bcx | so my current implementation installs user-theme extension, installs the theme, sets it in dconf -> so i can see it selected with gnome-tweak-tool, but is not applied since dbus was unavailable at install time, manually selecting again in gnowme-tweak-tool though resolves my problem | 11:02 |
darkxst | bcx, probably you are doing it all wrong | 11:02 |
darkxst | and I don't know what you are building, but look at gsettings overrides and or gnome-shell modes | 11:03 |
bcx | darkxst: what is the right way to pre-build a gnome themed env ? | 11:03 |
darkxst | bcx, at a system level, gsettings overrides | 11:04 |
bcx | I use glib overrides to activate the user-theme extension and setting my chosen theme | 11:04 |
darkxst | bcx you don't even need user-theme extension if theme is installed properly in the root filesystem | 11:05 |
bcx | darkxst: great ! how to do that ? | 11:07 |
darkxst | bcx, look at ubuntu-gnome-default-settings | 11:08 |
darkxst | I have zero time for tutoring people atm | 11:09 |
bcx | darkxst: ok will look at the package sources | 11:10 |
bcx | darkxst: 20_ubuntu-gnome-default-settings.gschema.override in the mentionned package sets a gtk-theme but no gnome-shell theme | 11:26 |
darkxst | bcx, yes, we use the upstream gnome theme | 11:27 |
darkxst | but you can set that also similarly | 11:28 |
bcx | darkxst: setting [org.gnome.shell.extensions.user-theme] / name, is not enough | 11:29 |
darkxst | bcx, again no user-theme for system themes | 11:29 |
bcx | darkxst: hmmm, should I understand that i should not use user-theme extension to set the gnome-shell theme ? | 11:30 |
bcx | darkxst: and use another dconf key ? | 11:30 |
darkxst | bcx, so long as theme is installed in /usr/share/ you can just use the standard keys, no extenstion required | 11:31 |
bcx | darkxst: ok, what is the standard key for setting the gnome-shell theme, I have not found it ? | 11:32 |
bcx | darkxst: I thought that only the user-theme extension was able to do that | 11:34 |
darkxst | bcx, I don't know what the key is off the top of my head | 11:36 |
darkxst | but user-theme is only to load themes from home dir | 11:36 |
bcx | darkxst: maybe there is a dbus message doing this ? | 11:55 |
bcx | darkxst: currently all literature I can find on google mentions the user-theme extension for setting the theme | 11:59 |
darkxst | bcx, don't trust google, there are no good docs there | 12:00 |
darkxst | you can set a system theme without that extension | 12:01 |
darkxst | of course that is beyond most users, that just want download a theme to their home-dir and then set it | 12:01 |
bcx | darkxst: so where can I find docs/clues about it ? | 12:03 |
bcx | darkxst: or if it is undocumented how can I talk to a developer that knows it ? | 12:06 |
darkxst | bcx, the keys are there, gnome-tweak-tool uses them | 12:07 |
darkxst | bcx, you can talk to me more about it, but not tonight, I sleep | 12:08 |
bcx | thanks darkxst, what is the right timezone for you (i'm in Europe) ? | 12:10 |
darkxst | bcx, australia | 12:14 |
darkxst | bcx UTC +11 atm | 12:15 |
bcx | darkxst: thanks for helping, I will come back this night (your day), good night | 12:16 |
Olotila_ | computer goes to sleep when wathcing youtube, how do i stop that? | 14:57 |
Olotila_ | now i have "never sleep", but i do want it to sleep when i dont use it, but not sleep when watching videos etc. | 14:58 |
bcx | Olotila_: check out https://github.com/hotice/lightsOn , I have not tried it | 14:59 |
octoquad | Olotila_, you can also check out https://extensions.gnome.org/extension/517/caffeine/ | 18:09 |
octoquad | bcx, thanks for sharing that one :) | 18:09 |
=== _7 is now known as Guest23899 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!