DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th March 2014
JWJones's Avatar
JWJones JWJones is offline
got root?
 
Join Date: Jan 2014
Location: Cascadia
Posts: 42
Thanked 0 Times in 0 Posts
Default OpenBSD 5.5 snapshot/Gnome 3.10.2 config issues

This morning I did a fresh install of 5.5 snapshot, with Gnome 3.10.2, and I have a couple of issues I can't resolve:

1) suspend/resume when closing/opening lid: even though I have uncommented machdep.lidsuspend=1 in /etc/sysctl.conf, this isn't working.

2) How do you change the settings in gnome weather? I want my settings in Fahrenheit rather than Celsius.

3) Bunched up icons: see screenshot - icons are screwed up, I have to go into "Display" settings, change to a different screen resolution, and then change back to native 1280x800 to get them to display properly.

4) Edge scrolling and horizontal scrolling: in the touchpad settings, I have a setting for two-finger scrolling, but nothing for edge scrolling or horizontal scrolling. This is a simple matter in Xfce, but not Gnome? WTF?

Oh yes, still on my ThinkPad T61.

Reply With Quote
  #2   (View Single Post)  
Old 16th March 2014
ibara's Avatar
ibara ibara is offline
Shell Scout
 
Join Date: Jan 2014
Posts: 117
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by JWJones View Post
2) How do you change the settings in gnome weather? I want my settings in Fahrenheit rather than Celsius.
Here's a really quick and dirty hack to get Fahrenheit weather. You will need to apply this diff to /usr/ports/x11/gnome/libgweather and rebuild libgweather.
# cd /usr/ports/x11/gnome/libgweather && patch -E </path/to/libgweather-fahrenheit.diff && make install-all

Code:
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gnome/libgweather/Makefile,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile
--- Makefile	3 Feb 2014 13:00:29 -0000	1.56
+++ Makefile	16 Mar 2014 20:12:10 -0000
@@ -6,7 +6,7 @@ COMMENT=		weather information access lib
 
 GNOME_PROJECT=		libgweather
 GNOME_VERSION=		3.10.2
-REVISION=		0
+REVISION=		1
 
 SHARED_LIBS +=		gweather-3             2.0      # 2.0
 
Index: patches/patch-libgweather_weather_c
===================================================================
RCS file: /cvs/ports/x11/gnome/libgweather/patches/patch-libgweather_weather_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-libgweather_weather_c
--- patches/patch-libgweather_weather_c	26 Sep 2013 15:56:25 -0000	1.2
+++ patches/patch-libgweather_weather_c	16 Mar 2014 20:12:10 -0000
@@ -7,8 +7,8 @@ Subject: [PATCH] Add fallback in case _N
 
 https://bugzilla.gnome.org/show_bug.cgi?id=708561
 
---- libgweather/weather.c.orig	Thu Sep 19 11:17:26 2013
-+++ libgweather/weather.c	Thu Sep 26 17:54:42 2013
+--- libgweather/weather.c.orig	Sun Feb  2 11:38:57 2014
++++ libgweather/weather.c	Sun Mar 16 16:06:30 2014
 @@ -701,6 +701,15 @@ gweather_info_get_conditions (GWeatherInfo *info)
  static gboolean
  is_locale_metric (void)
@@ -40,3 +40,14 @@ https://bugzilla.gnome.org/show_bug.cgi?
  }
  
  static GWeatherTemperatureUnit
+@@ -720,8 +737,8 @@ temperature_unit_to_real (GWeatherTemperatureUnit unit
+ 
+     if (unit == GWEATHER_TEMP_UNIT_DEFAULT)
+ 	return is_locale_metric() ?
+-	    GWEATHER_TEMP_UNIT_CENTIGRADE :
+-	    GWEATHER_TEMP_UNIT_FAHRENHEIT;
++	    GWEATHER_TEMP_UNIT_FAHRENHEIT :
++	    GWEATHER_TEMP_UNIT_CENTIGRADE;
+ 
+     return unit;
+ }
No warrantee, on your own if it breaks, don't complain to ports@ about it, etc.

This stems from Gnome3 thinking that the United States is a metric country, when it is in reality an Imperial country. This may need more investigation.

EDIT: I also found a top bar weather extension: https://extensions.gnome.org/extension/613/weather/
All you have to do is click the slider on that page to "ON" and restart gnome-shell. It's very configurable and looks much nicer, IMO.


Quote:
Originally Posted by JWJones View Post
4) Edge scrolling and horizontal scrolling: in the touchpad settings, I have a setting for two-finger scrolling, but nothing for edge scrolling or horizontal scrolling. This is a simple matter in Xfce, but not Gnome? WTF?
Horizontal scrolling is automatic when two-finger scrolling is enabled. My touchpad doesn't have an edge scroller so I can't comment on that. I'm on a ThinkPad EDGE E420 here.

~Brian
__________________
@bcallah on app.net

Last edited by ibara; 16th March 2014 at 10:18 PM. Reason: Discovery of the gnome-shell weather extension.
Reply With Quote
  #3   (View Single Post)  
Old 17th March 2014
JWJones's Avatar
JWJones JWJones is offline
got root?
 
Join Date: Jan 2014
Location: Cascadia
Posts: 42
Thanked 0 Times in 0 Posts
Default

Thanks, Brian, I'll check out that top bar weather extension, looks nice, indeed. And I did discover the ability to horizontal scroll using two finger scrolling, works just fine.
Reply With Quote
  #4   (View Single Post)  
Old 17th March 2014
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 593
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by JWJones View Post
4) Edge scrolling and horizontal scrolling: in the touchpad settings, I have a setting for two-finger scrolling, but nothing for edge scrolling or horizontal scrolling. This is a simple matter in Xfce, but not Gnome? WTF?
This Arch Linux wiki may be helpful. I do not run Gome3 but it does speak of using gconf-editor.

You should also be able to set touchpad options on the fly with synclient. If Gnome3 allows this to work, it should be a quick easy way to test the options.
Code:
synclient TapButton1=1
Code:
synclient VertEdgeScroll=1
Code:
synclient HorizEdgeScroll=1
.

Last edited by shep; 17th March 2014 at 02:53 PM. Reason: [cmd][/cmd] --> [code][/code]
Reply With Quote
  #5   (View Single Post)  
Old 17th March 2014
JWJones's Avatar
JWJones JWJones is offline
got root?
 
Join Date: Jan 2014
Location: Cascadia
Posts: 42
Thanked 0 Times in 0 Posts
Default

Thanks, shep, I will try this. Found another issue, too:

5) Attempting to log out of user account results in crash.
Reply With Quote
  #6   (View Single Post)  
Old 17th March 2014
ibara's Avatar
ibara ibara is offline
Shell Scout
 
Join Date: Jan 2014
Posts: 117
Thanked 0 Times in 0 Posts
Default

I'm getting the sinking feeling that something has been misinstalled on your machine.
__________________
@bcallah on app.net
Reply With Quote
  #7   (View Single Post)  
Old 18th March 2014
JWJones's Avatar
JWJones JWJones is offline
got root?
 
Join Date: Jan 2014
Location: Cascadia
Posts: 42
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ibara View Post
I'm getting the sinking feeling that something has been misinstalled on your machine.
I don't know what that could possibly be, this is a clean installation of 5.5-snapshot plus Gnome 3.10.2. I have seen the bunched up icon issue with Arch+Gnome 3.10.2 as well, so I suspect most of this is Gnome related, as my 5.5-snapshot with Xfce works perfectly. I did get edge/horizontal scrolling working just fine, however. Still no suspend/resume.
Reply With Quote
  #8   (View Single Post)  
Old 18th March 2014
ibara's Avatar
ibara ibara is offline
Shell Scout
 
Join Date: Jan 2014
Posts: 117
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by JWJones View Post
Still no suspend/resume.
You never mentioned if suspend/resume worked without Gnome.
__________________
@bcallah on app.net
Reply With Quote
  #9   (View Single Post)  
Old 18th March 2014
JWJones's Avatar
JWJones JWJones is offline
got root?
 
Join Date: Jan 2014
Location: Cascadia
Posts: 42
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ibara View Post
You never mentioned if suspend/resume worked without Gnome.
It works on my 5.5 w/Xfce.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD i386 snapshot & PAE on VirtualBox aleunix OpenBSD Installation and Upgrading 2 1st March 2012 06:44 PM
Automating OpenBSD snapshot downloads with a .netrc file J65nko Guides 1 7th January 2010 03:09 AM
Set Of gnome issues jaideep_jdof NetBSD General 13 17th September 2009 06:39 AM
Gnome issues in OpenBSD 4.2 Shredder OpenBSD General 61 27th May 2008 07:34 AM
Unicode issues with gnome-mount/HAL? milkycow FreeBSD Ports and Packages 3 9th May 2008 11:46 PM


All times are GMT. The time now is 03:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick