/srv/irclogs.ubuntu.com/2015/10/20/#ubuntu-gnome.txt

bcxHow 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
vitalishgood day to everybody! i hope i got to the right place and there will be someone to help with my little problem.10:02
darkxstvitalish, how could we know if you don't describe your problem ;)10:03
vitalishi am trying to type the decription =))10:04
vitalishhow 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
vitalishi couldn't find the settings of workspace switcher anywhere else. =) so i am kind of stuck.10:06
darkxstvitalish, they are by default dynamic (created as required) but you can set a number in gnome-tweak-tool10:07
vitalishi will be fine with any console way of resolving it as long as it works10: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
vitalisham i doing something wrong?10:10
darkxstcould be a bug, its not really a supported config10:11
darkxstvitalish, can you switch to workspaces that don't show in switcher?10:19
darkxst<ctl><alt><up/down>10:19
vitalishsorry for the silence =)10:43
vitalishno, i cannot switch to other workspaces.10:43
vitalishunless the key combination to switch have changed, it was ctrl+alt+arrowkey, right?10:46
darkxstyes10:46
darkxstvitalish, file a bug10:47
bcxHow can i enable a gnome-shell theme from the command line ?10:49
darkxstbcx by typing a lot10:50
vitalishright. there's always no easy way =))) but thanks, darkxst! =)10:50
darkxstvitalish, its a bug, do file a report10:50
darkxstvitalish, preferbably upstream as well, on bugzilla.gnome.org10:51
bcxdarkxst: I use a machine build script, so typing is not an issue10:51
darkxstbcx there is an extension-enabled key in the gsettings schemas10:51
darkxstjust add your extension to that array10:52
darkxst"enabled-extenstions"10:53
darkxst"enabled-extensions"10:53
bcxdarkxst: at the moment i have user-theme extension installed but setting the name is not enough10:53
darkxstoh themes10:53
darkxstthey are different10:54
bcxdarkxst: I am talking about the gnome-shell one10:54
darkxstbcx, I am confused are you trying to enable user-theme extension or actual themes?10:54
bcxboth10:55
bcxuser-themes extension is in the enabled array and shows in tweak tool10:55
darkxstwell the first uses the above mentioned key10:55
bcxthe theme name is in the "name" but it is not applied10:56
darkxstthe latter, idk, but all user-themes does is make shell look in the user home dir for themes10:56
bcxI think my issue is that dbus is not available while my build script is running10:57
darkxstthat could cause problems depending on how you are doing what10:58
bcxwhen I look at user-theme extension srouce code I can see:   const Main = imports.ui.main; Main.setThemeStylesheet(_stylesheet); Main.loadTheme();10:59
bcxI 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 filesystem11:00
darkxstbcx, you can't11:00
darkxstthat is actually loading the theme into the JS engine11:02
bcxso 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 problem11:02
darkxstbcx, probably you are doing it all wrong11:02
darkxstand I don't know what you are building, but look at gsettings overrides and or gnome-shell modes11:03
bcxdarkxst: what is the right way to pre-build a gnome themed env ?11:03
darkxstbcx, at a system level, gsettings overrides11:04
bcxI use glib overrides to activate the user-theme extension and setting my chosen theme11:04
darkxstbcx you don't even need user-theme extension if theme is installed properly in the root filesystem11:05
bcxdarkxst: great ! how to do that ?11:07
darkxstbcx, look at ubuntu-gnome-default-settings11:08
darkxstI have zero time for tutoring people atm11:09
bcxdarkxst: ok will look at the package sources11:10
bcxdarkxst: 20_ubuntu-gnome-default-settings.gschema.override in the mentionned package sets a gtk-theme but no gnome-shell theme11:26
darkxstbcx, yes, we use the upstream gnome theme11:27
darkxstbut you can set that also similarly11:28
bcxdarkxst: setting [org.gnome.shell.extensions.user-theme] / name, is not enough11:29
darkxstbcx, again no user-theme for system themes11:29
bcxdarkxst: hmmm, should I understand that i should not use user-theme extension to set the gnome-shell theme ?11:30
bcxdarkxst: and use another dconf key ?11:30
darkxstbcx, so long as theme is installed in /usr/share/ you can just use the standard keys, no extenstion required11:31
bcxdarkxst: ok, what is the standard key for setting the gnome-shell theme, I have not found it ?11:32
bcxdarkxst: I thought that only the user-theme extension was able to do that11:34
darkxstbcx, I don't know what the key is off the top of my head11:36
darkxstbut user-theme is only to load themes from home dir11:36
bcxdarkxst: maybe there is a dbus message doing this ?11:55
bcxdarkxst: currently all literature I can find on google mentions the user-theme extension for setting the theme11:59
darkxstbcx, don't trust google, there are no good docs there12:00
darkxstyou can set a system theme without that extension12:01
darkxstof course that is beyond most users, that just want download a theme to their home-dir and then set it12:01
bcxdarkxst: so where can I find docs/clues about it ?12:03
bcxdarkxst: or if it is undocumented how can I talk to a developer that knows it ?12:06
darkxstbcx, the keys are there, gnome-tweak-tool uses them12:07
darkxstbcx, you can talk to me more about it, but not tonight, I sleep12:08
bcxthanks darkxst, what is the right timezone for you (i'm in Europe) ?12:10
darkxstbcx, australia12:14
darkxstbcx UTC +11 atm12:15
bcxdarkxst: thanks for helping, I will come back this night (your day), good night12: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
bcxOlotila_:  check out https://github.com/hotice/lightsOn , I have not tried it14:59
octoquadOlotila_, you can also check out https://extensions.gnome.org/extension/517/caffeine/18:09
octoquadbcx, 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!