Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 753  / 2 Years ago, wed, july 27, 2022, 3:19:05

I'm trying to install and use a patched version of liboverlay-scrollbar that matches my personal preferences. I've successfully downloaded lp:ayatana-scrollbar and ./autogen.sh; make; sudo make installed it.



Here's the problem. Taking a look at ldd /usr/bin/*, it doesn't look like any applications actually use liboverlay-scrollbar*.so. And even when I use something like:



export LD_LIBRARY_PATH="/usr/local/lib/:/usr/lib/"
export LIBOVERLAY_SCROLLBAR=1
gedit


The scrollbar-using application I call seems to blithely ignore my /usr/local/lib libraries and use the system-installed ayatana scrollbars. My GTK+ libs are stock Ubuntu, so I'm assuming I don't need to patch and recompile the graphical toolkit.



Could anyone post a step-by-step process for installing overlay scrollbars from source?


More From » programming

 Answers
1

You may check out an easy tutorial at http://developer.ubuntu.com/packaging/html/fixing-a-bug.html



Here is a simple tutorial:




  1. Get Ubuntu's overlay scrollbar



    bzr branch ubuntu:overlay-scrollbar overlay-scrollbar.dev
    cd overlay-scrollbar.dev

  2. Make some modifications

  3. Compile and install



    ./autogen.sh
    make
    sudo make install

  4. Modify a symlink



    sudo ln -f -s /usr/lib/liboverlay-scrollbar-0.2.so.0 /usr/local/lib/liboverlay-scrollbar-0.2.so.0

  5. (optional) Document the fix and build a package



    dch -i
    bzr builddeb


[#40872] Thursday, July 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
quivedge

Total Points: 223
Total Questions: 116
Total Answers: 124

Location: Slovenia
Member since Wed, Apr 6, 2022
2 Years ago
;