User Tools

Site Tools


docs:tips_n_tricks:ubuntu:index.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:tips_n_tricks:ubuntu:index.html [21.09.2014 03:44 CEST] – [Recover from NetworkManager problems] peterdocs:tips_n_tricks:ubuntu:index.html [19.09.2018 12:54 CEST] (current) – [Get rid of 'Gtk-Message: Failed to load module "overlay-scrollbar"'] peter
Line 1: Line 1:
 ====== Ubuntu ====== ====== Ubuntu ======
 +{{indexmenu>.#1}}
 +{{NEWPAGE>.}}
 +===== Pages tagged Ubuntu =====
 +{{topic>Ubuntu}}
 ===== Make bootable USB stick ===== ===== Make bootable USB stick =====
  
Line 9: Line 13:
  
 After this, you can run your favourite //*fdisk// and add partions to use the remaining space on the stick for other purposes. After this, you can run your favourite //*fdisk// and add partions to use the remaining space on the stick for other purposes.
 +{{tag>USB}}
 +{{entry>USB}}
  
 ===== Make resume work ===== ===== Make resume work =====
Line 92: Line 98:
 One problem I solved this way were the network menus claiming that wifi was disabled while it could easily used after being configured by //ifconfig// and //iwconfig//. One problem I solved this way were the network menus claiming that wifi was disabled while it could easily used after being configured by //ifconfig// and //iwconfig//.
  
-=====  Enable Headset for high quality audio =====+ss=====  Enable Headset for high quality audio =====
 //Applied on Ubuntu 14.04// //Applied on Ubuntu 14.04//
  
Line 109: Line 115:
       :\\       :\\
       :\\       :\\
 +{{tag>audio bluetooth}}
 +{{entry>audio}}
 +{{entry>bluetooth}}
 +===== Get rid of 'Gtk-Message: Failed to load module "overlay-scrollbar"' =====
 +
 +Searching the we led me to [[https://askubuntu.com/questions/538993/gtk-message-failed-to-load-module-overlay-scrollbar|Ask Ubuntu]]. In my case, the setting was the environment variable //GTK2_MODULES//:
 +
 +<code bash>
 +~ $ echo $GTK2_MODULES                                   
 +overlay-scrollbar
 +~ $
 +</code>
 +
 +Following the basic idea, I followed the answer linked above and found
 +
 +<code bash>
 +
 +~ $ cat /etc/X11/Xsession.d/81overlay-scrollbar
 +# This file is sourced by Xsession(5), not executed.
 +
 +if [ -z "$GTK2_MODULES" ] ; then
 +        GTK2_MODULES="overlay-scrollbar"
 +else
 +        GTK2_MODULES="$GTK2_MODULES:overlay-scrollbar"
 +fi
 +
 +export GTK2_MODULES
 +~ $ dpkg --search /etc/X11/Xsession.d/81overlay-scrollbar
 +overlay-scrollbar: /etc/X11/Xsession.d/81overlay-scrollbar
 +~ $ dpkg --listfiles overlay-scrollbar
 +/.
 +/etc
 +/etc/X11
 +/etc/X11/Xsession.d
 +/etc/X11/Xsession.d/81overlay-scrollbar
 +/usr
 +/usr/share
 +/usr/share/glib-2.0
 +/usr/share/glib-2.0/schemas
 +/usr/share/glib-2.0/schemas/com.canonical.desktop.interface.gschema.xml
 +/usr/share/glib-2.0/schemas/com.canonical.desktop.interface.enums.xml
 +/usr/share/doc
 +/usr/share/doc/overlay-scrollbar
 +/usr/share/doc/overlay-scrollbar/changelog.Debian.gz
 +/usr/share/doc/overlay-scrollbar/copyright
 +~ $ dpkg --list 'overlay-scrollbar*'
 +Desired=Unknown/Install/Remove/Purge/Hold
 +| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
 +|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
 +||/ Name                       Version            Architecture       Description
 ++++-==========================-==================-==================-=========================================================
 +ii  overlay-scrollbar          0.2.17.1+16.04.201 all                Scrollbar overlay - configuration
 +rc  overlay-scrollbar-gtk3:amd 0.2.16+r359+15.04. amd64              GTK 3 module for overlay scrollbars
 +~ $
 +</code>
 +continue as //root//:
 +<code>
 +~ # dpkg --purge overlay-scrollbar-gtk3
 +(Reading database ... XYZYXZ files and directories currently installed.)
 +Removing overlay-scrollbar-gtk3:amd64 (0.2.16+r359+15.04.20150319-0ubuntu1) ...
 +Purging configuration files for overlay-scrollbar-gtk3:amd64 (0.2.16+r359+15.04.20150319-0ubuntu1) ...
 +~ # apt-mark auto overlay-scrollbar
 +overlay-scrollbar set to automatically installed.
 +~  # aptitude install
 +The following packages will be REMOVED:
 +  overlay-scrollbar{u}
 +0 packages upgraded, 0 newly installed, 1 to remove and 400 not upgraded.
 +Need to get 0 B of archives. After unpacking 23.6 kB will be freed.
 +Do you want to continue? [Y/n/?] y
 +(Reading database ... 606065 files and directories currently installed.)
 +Removing overlay-scrollbar (0.2.17.1+16.04.20151117-0ubuntu1.16.04.1) ...
 +Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...
 +
 +~ # dpkg --purge overlay-scrollbar                            
 +(Reading database ... XYZXYZ files and directories currently installed.)
 +Removing overlay-scrollbar (0.2.17.1+16.04.20151117-0ubuntu1.16.04.1) ...
 +Purging configuration files for overlay-scrollbar (0.2.17.1+16.04.20151117-0ubuntu1.16.04.1) ...
 +~ # 
 +</code>
 +
 +Well, the last steps could have been simplified by just ''dpkg --purge overlay-scrollbar''((''apt-get purge overlay-scrollbar'' would do it as well)) - but I wanted to have some fun 8-)
 +{{tag>GTK GTK2}}
 +{{entry>GTK}}
 +{{entry>GTK2}}
 +======  ======
 +
 +{{tag>Linux Ubuntu}}
 +{{entry>Linux}}
 +{{entry>Ubuntu}}
 +
docs/tips_n_tricks/ubuntu/index.html.1411263853.txt.gz · Last modified: 21.09.2014 03:44 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki