ngoonee, Saturday 17 July 2010 à 12:53
|
|
Subscription date : 17 July 2010
Messages : 12
|
Cairo dock version is 2.1.3-9, on Arch Linux, using opengl on nvidia closed-source drivers with compiz in gnome.
Feature request:- I use twinview with a laptop screen (1280x800) and a monitor (1280x1024). The monitor is to the right of the laptop.
-------------------------------
| | |
| laptop | |
| screen | monitor |
| | |
--------------| |
dead area | |
-----------------
I find the dock to be easiest to used when placed on the bottom of the screen. I'd like the dock to be on the laptop screen (since I use the monitor for my main work), but when you auto-hide it on the bottom, its not very easy to call it up (if my mouse goes into the dead area the dock autohides again).
I suggest either that the 'activation' area can be specified to include pixels outside the screen as well, or that cairo-dock simply take the area outside the screen on which its placed to activate the dock.
If this is too hard, then no problem. Its just something that annoys me (everytime I want the dock I have to aim my mouse at a 5 pixel height bottom of the screen), but not a major bug, its not even cairo-dock's fault. |
matttbe, Sunday 18 July 2010 à 00:22
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello,
Thank you for this feature request!
Can you try the latest beta release (2.2.0-beta) because there are a few changes with these visibility options. You can use Yaourt (have a look at our wiki) in order to compile the latest version with sources code downloaded from BZR.
In fact, you want to have an 'activation' area like that : -------------------------------
| | |
| laptop | |
| screen | monitor |
| | |
---$$$$$$$$$$$| |
dead area | |
-$$$$$-----------
(this activation area is represented with this symbol: $) |
ngoonee, Monday 19 July 2010 à 06:36
|
|
Subscription date : 17 July 2010
Messages : 12
|
The PKGBUILDs don't work, I could install cairo-dock-bzr based on a --lightweight bzr call (from the posts on the AUR) but could not do the same for plug-ins-bzr, which has like 12 commented lines in the PKGBUILD.
Hope to test this but without plugins a bit hard =) |
matttbe, Monday 19 July 2010 à 10:52
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Can you give us the content of these two pkgbuilds? |
ngoonee, Monday 19 July 2010 à 11:32
|
|
Subscription date : 17 July 2010
Messages : 12
|
http://aur.archlinux.org/packages/cairo-dock-bzr/cairo-dock-bzr/PKGBUILD
and the build() function is
if [ ! -d ./${_bzrmod} ]; then
bzr branch ${_bzrtrunk} -q -r ${pkgver}
else
cd ${_bzrmod} && bzr pull -r ${pkgver}
fi
msg "bzr checkout done."
msg "Removing old build directory..."
rm -rf $srcdir/$_bzrmod-build
msg "Creating build directory..."
cp -r $srcdir/$_bzrmod $srcdir/$_bzrmod-build
cd $srcdir/$_bzrmod-build
msg "Building..."
cmake -DCMAKE_INSTALL_PREFIX=/usr || return 1
make || return 1
make install DESTDIR=$pkgdir || return 1
#mkdir -p $pkgdir/usr/share/applications
#install -Dm644 $srcdir/$_svnmod-build/data/cairo-dock.desktop
$pkgdir/usr/share/applications/cairo-dock.desktop || return 1
http://aur.archlinux.org/packages/cairo-dock-plug-ins-bzr/cairo-dock-plug-ins-bzr/PKGBUILD
and the build() function is
cd $srcdir/
msg "Connecting to the server...."
# if [ ! -d ./${_bzrmod} ]; then
# bzr branch ${_bzrtrunk} -q -r ${pkgver}
# else
# cd ${_bzrmod} && bzr pull -r ${pkgver}
# fi
# msg "bzr checkout done."
#msg "Removing old build directory..."
#rm -rf $srcdir/$_bzrmod-build
#msg "Creating build directory..."
#cp -r $srcdir/$_bzrmod $srcdir/$_bzrmod-build
msg "Starting make..."
cd $srcdir/$_bzrmod-build
autoreconf -isvf
./configure --prefix=/usr --enable-gnome-integration --enable-xfce-integration --disable-kde-integration \
--disable-alsa-mixer --disable-terminal --disable-powermanager --disable-wifi \
--disable-tomboy --disable-compiz-icon --disable-xgamma --disable-gmenu --disable-mail \
--enable-gio-in-gmenu --disable-weblets --disable-exif --disable-keyboard-indicator \
--disable-dnd2share --disable-musicplayer --disable-rssreader \
--enable-xrandr-in-show-desktop --disable-network-monitor \
--enable-scooby-do --enable-doncky|| return 1
make || return 1
make DESTDIR=$pkgdir install || return 1 |
Subscription date : 30 November 2007
Messages : 17118
|
is it normal that your mouse goes out of the screen on the laptop ?
it sounds like a bug in X |
matttbe, Monday 19 July 2010 à 14:18
|
|
ngoonee, Monday 19 July 2010 à 17:53
|
|
Subscription date : 17 July 2010
Messages : 12
|
fabounet : is it normal that your mouse goes out of the screen on the laptop ?
it sounds like a bug in X
Hi fabounet, you're still here =).
Yes it is normal, for screens which aren't the same size. If you have a dual-monitor system you can try setting both to different resolutions. Twinview isn't the only one which will have problems I believe. |
matttbe, Friday 23 July 2010 à 13:24
|
|
Subscription date : 24 January 2009
Messages : 12573
|
(Message added on the task #65)
Added a task for Tofe  |
matttbe, Friday 23 July 2010 à 13:47
|
|
Subscription date : 24 January 2009
Messages : 12573
|
(Message added on the task #65)
@ Tofe: the compilation of cairo-dock-plug-ins (stable version) on ArchLinux failed to build. You have to replace "cd $srcdir/$_pkgname-$pkgver-$pkgrel" by "cd $srcdir/$pkgname-$pkgver-$subversion"  |
Tofe, Saturday 14 August 2010 à 19:44
|
|
Subscription date : 09 February 2008
Messages : 921
|
Ooops. I'll check all this. |
matttbe, Saturday 14 August 2010 à 21:09
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Thank you Tofe  |
Tofe, Sunday 15 August 2010 à 12:33
|
|
Subscription date : 09 February 2008
Messages : 921
|
Ah ! I didn't look at the date... The compilation pb is already resolved. For the bzr version, I'll see if I can become the maintainer. |
ngoonee, Monday 23 August 2010 à 00:32
|
|
Subscription date : 17 July 2010
Messages : 12
|
I've gotten a working PKGBUILD for bzr, I'll request that the maintainance be handed to me. Tofe if you want it please email me (if and when maintainance changes, my email will be in updated PKGBUILD.
Thanks fabounet and matttbe.
EDIT: Oh, and I forgot why I started this thread in the first place. Yes, the new behaviour works just fine, even if my mouse goes off the 'screen' the dock still activates/stays activated.
Thanks all =). |
Tofe, Monday 23 August 2010 à 09:05
|
|
Subscription date : 09 February 2008
Messages : 921
|
But... isn't there already a PKGBUILD for bzr, maintained by Mautz? And he seems to be following the thing, so it's all fine... In addition, his bzr packages will work fine now, as he has followed some of my advices to use an http:// URI instead of a lp:// one.
ngoonee: What didn't work for you with the PKGBUILD of Mautz? |
ngoonee, Monday 23 August 2010 à 09:10
|
|
Subscription date : 17 July 2010
Messages : 12
|
It just doesn't work, because its looking for a root ssh permissions or something. I split off package(), which makes build() run fine (no fakeroot in that case). I'll email him. |
matttbe, Monday 23 August 2010 à 09:11
|
|
Subscription date : 24 January 2009
Messages : 12573
|
@Tofe: did you have a look to my PKGBUILD?
The only thing that I don't know is about the dependences. Tofe can you have a look and add all needed dependences?
It uses a "bzr checkout --lightweight" instead of a branch.
For me it's not necessary to specify the revision because CD should compile every time !
And I don't know if make -j $(grep -c ^processor /proc/cpuinfo) is necessary |
Tofe, Monday 23 August 2010 à 11:02
|
|
Subscription date : 09 February 2008
Messages : 921
|
@ngoonee: I already asked him, in fact, to split into build() and install(). I didn't know that doing this would end in no fakeroot for build(), so I kept the recommandation for not using launchpad URI style with bzr. In addition, there is no longer a need to use "|| return 1" in PKGBUILD (@see my mail to aur-general here: http://www.mail-archive.com/aur-general@archlinux.org/msg08614.html, which has been successfully ignored )
@Mattbe: I'll have a look to the dependancies. |
miau, Friday 27 August 2010 à 13:31
|
|
Subscription date : 27 April 2009
Messages : 38
|
Hello,
i'm the package maintainer of the package. The packages both build fine with the PKGBUILD a few days ago. Can't test it right now, because my laptop broke down. It'll should be fixed at the weekend. Then i'll take a look at the problem.
Bye. |
matttbe, Friday 27 August 2010 à 13:34
|
|
Subscription date : 24 January 2009
Messages : 12573
|
@Miau: Thank you for your help  |
|