tag:blogger.com,1999:blog-49508964030249879682024-02-22T06:45:20.702-03:00Lamarque's blogBlog about Linux and KDE.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.comBlogger165125tag:blogger.com,1999:blog-4950896403024987968.post-43772871946738551552021-12-28T12:11:00.006-03:002021-12-29T00:12:13.458-03:00Custom keyboard layout in Wayland<p>Unfortunately, the configuration at the and of this post does not work for Wayland Qt applications, like konsole, kate. A colleage from KDE Brazil telegram channel <a href="https://medium.com/@canadaduane/key-remapping-in-linux-2021-edition-47320999d2aa">pointed</a> me to a working <a href="https://github.com/rvaiya/keyd">solution</a>.</p><p>Update 28/12/2021: the configuration below works for X11/XWayland applications only.</p><p>Going forward with migrating to Wayland. There are several smalls things to fix in my setup, one of them is adding a custom layout to workaround the fact that my child broken the Up key of my laptop's keyboard. I had mapped F9 to Up using $HOME/.Xmodmap, which does not work in Wayland. I have figure out how to that in Wayland <a href="https://blog.stigok.com/2020/10/27/from-x11-xmodmap-to-wayland-xkb-custom-keyboard-layout.html">[1]</a> <a href="http://who-t.blogspot.com/2020/07/user-specific-xkb-configuration-part-2.html">[2]</a> and maybe this can help other people.</p><p></p>Create this file to configure XDG_CONFIG_HOME variable:<div><br /><span style="font-family: courier;"># /etc/profile.d/xdg.sh</span><br /><span style="font-family: courier;">export XDG_CONFIG_HOME=$HOME/.config</span><br /><br /><p></p><p>Create the $HOME/.config/xkb/rules/evdev.xml</p><p><span style="font-family: courier;"><?xml version="1.0" encoding="UTF-8"?></span></p><p><span style="font-family: courier;"><!DOCTYPE xkbConfigRegistry SYSTEM "xkb.dtd"></span></p><p><span style="font-family: courier;"><xkbConfigRegistry version="1.1"></span></p><p><span style="font-family: courier;"> <layoutList></span></p><p><span style="font-family: courier;"> <layout></span></p><p><span style="font-family: courier;"> <configItem></span></p><p><span style="font-family: courier;"> <name>lvs</name> </span><span style="background-color: white; color: green; font-family: Consolas, Menlo, "courier new", monospace; font-size: 15px;"><!-- Change to any name you want --></span></p><p><span style="font-family: courier;"> <shortDescription>Layout LVS</shortDescription> </span><span style="background-color: white; color: green; font-family: Consolas, Menlo, "courier new", monospace; font-size: 15px;"><!-- Same here --></span></p><p><span style="font-family: courier;"> <description>Layout com F8, F9 e F10 remapeadas</description> </span><span style="background-color: white; color: green; font-family: Consolas, Menlo, "courier new", monospace; font-size: 15px;"><!-- Any description you want --></span></p><p><span style="font-family: courier;"> <countryList></span></p><p><span style="font-family: courier;"> <iso3166Id>US</iso3166Id> </span><span style="background-color: white; color: green; font-family: Consolas, Menlo, "courier new", monospace; font-size: 15px;"><!-- Add your country to this list --></span></p><p><span style="font-family: courier;"> <iso3166Id>BR</iso3166Id> </span><span style="background-color: white; color: green; font-family: Consolas, Menlo, "courier new", monospace; font-size: 15px;"><!-- My country: Brazil --></span></p><p><span style="font-family: courier;"> </countryList></span></p><p><span style="font-family: courier;"> <languageList></span></p><p><span style="font-family: courier;"> <iso639Id>eng</iso639Id> </span><span style="background-color: white; color: green; font-family: Consolas, Menlo, "courier new", monospace; font-size: 15px;"><!-- Layout language --></span></p><p><span style="font-family: courier;"> <iso639Id>por</iso639Id> </span><span style="background-color: white; color: green; font-family: Consolas, Menlo, "courier new", monospace; font-size: 15px;"><!-- Brazilian Portuguese --></span></p><p><span style="font-family: courier;"> </languageList></span></p><p><span style="font-family: courier;"> </configItem></span></p><p><span style="font-family: courier;"> </layout></span></p><p><span style="font-family: courier;"> </layoutList></span></p><p><span style="font-family: courier;"></xkbConfigRegistry></span></p><p><br /></p><p>Create a file $HOME/.config/xkb/symbols/lvs (the file name have to match the layout name in evdev.xml) with the actual changes you need. I just copied the file with the symbols I wanted to change to save time:</p><p><span style="font-family: courier;">cp /usr/share/X11/xkb/symbols/srvr_ctrl $HOME/.config/xkb/symbols/lvs</span></p><p>Then I removed all lines that should not be changed. The final file is the following (the actual changes are in bold):</p><p><span style="font-family: courier;">partial function_keys</span></p><p><span style="font-family: courier;">xkb_symbols "fkey2vt" {</span></p><p><span style="font-family: courier;"> key <FK08> {</span></p><p><span style="font-family: courier;"> type="CTRL+ALT",</span></p><p><span style="font-family: courier;"> symbols[Group1]= [ <b>Prior</b>, F8, F8, F8, XF86_Switch_VT_8 ]</span></p><p><span style="font-family: courier;"> };</span></p><p><span style="font-family: courier;"> key <FK09> {</span></p><p><span style="font-family: courier;"> type="CTRL+ALT",</span></p><p><span style="font-family: courier;"> symbols[Group1]= [ <b>Up</b>, <b>Prior</b>, F9, F9, XF86_Switch_VT_9 ]</span></p><p><span style="font-family: courier;"> };</span></p><p><span style="font-family: courier;">};</span></p><p>Comparing all this to the .Xmodmap it seems way more complicated :-( This is my .Xmodmap:</p><p><span style="background-color: white; font-family: courier;">! 74 = F8 </span></p><p><span style="font-family: courier;">keycode 74 = Prior <br /><br /></span></p><p><span style="font-family: courier;">! 75 = F9 <br />keycode 75 = Up Prior</span><br /></p><p><span style="font-family: courier;"><span style="font-family: "Times New Roman";">You need to restart startplasma-wayland so the changes take affect. The best part is that it also works with X11, so I removed my .Xmodmap.</span></span></p><p>PS: the Up key does not work in konsole to show the previous command when running in wayland, even with an external keyboard with a physical Up key. That works in X11.</p></div>Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-12648407043641289902021-12-25T15:27:00.007-03:002021-12-28T12:11:41.619-03:00Nvidia optimus with wayland. Help needed.<span style="font-family: inherit;">I have given a try on wayland and it works in my notebook (Gigabyte p34v5) when using only the Intel gpu (/dev/dri/card0) and mesa. Now I have been trying to make it work with the Nvidia gpu (GeForce GTX 970M, /dev/dri/card1) using proprietary driver. The thing about that gpu is that is uses <a href="https://www.nvidia.com/en-us/geforce/technologies/optimus/">optimus</a> and thus need the following command to work with X11:</span><div><span style="font-family: inherit;"><br /></span></div><span style="font-family: courier;"># /usr/share/sddm/scripts/Xsetup file<br />xrandr --setprovideroutputsource modesetting NVIDIA-0</span><div><span style="font-family: inherit;"><br /></span></div><div><span style="font-family: inherit;">There is just a blank screen on sddm whithout that command (the Nvidia gpu is not physically connected to the display, it needs the Intel gpu to send image to any display, the command above connects the Nvidia gpu to the Intel one). Since xrandr does not work with wayland I am kind of stuck trying figure out the equivalent of that command for wayland. I have tried the <a href="https://www.reddit.com/r/wayland/comments/aquaje/does_wayland_supports_setprovideroutputsource/">following environment variable</a> to no avail:</span></div><div><span style="font-family: inherit;"><br /></span></div>WLR_DRM_DEVICES=card1:card0<div style="text-align: left;"><span style="font-family: inherit;"><br /></span></div><div style="text-align: left;"><span style="font-family: inherit;">My current startwayland.sh script is:</span></div><div><span style="background-color: #f6f7f8; font-size: 13px;"><span style="font-family: inherit;"><br /></span></span></div><div><span style="font-family: courier;"># card0: intel<br /># card1: nvidia<br />export WLR_DRM_DEVICES=card1:card0<br />export KWIN_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0<br />export XDG_RUNTIME_DIR=/tmp/1001<br />export XDG_SESSION_TYPE=wayland<br />export QT_QPA_PLATFORM=wayland<br />export GBM_BACKEND=nvidia-drm<br />export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json:/usr/share/glvnd/egl_vendor.d/50_mesa.json<br />export EGL_PLATFORM=wayland<br />export EGL_LOG_LEVEL=debug<br />export QT_LOGGING_RULES="kwin*=true"<br />export KWIN_GL_DEBUG=1<br />export WAYLAND_DEBUG=1<br />unset DISPLAY<br />mkdir -m 0700 -p $XDG_RUNTIME_DIR<br /><br />if [ -n "$DBUS_SESSION_BUS_ADDRESS" ]; then<br /> <span> </span>export $(dbus-launch)<br /> <span> </span>sleep 1<br />fi</span><br /><br /><span style="font-family: courier;">kwin_wayland --xwayland --exit-with-session=konsole 2>&1 | tee -a <a href="https://www.blogger.com/#">kwin_wayland_log.txt</a></span><div><br /></div>I am using kwin_wayland instead of plasma-wayland so less programs are started during my tests.</div><div><br /></div><div>EGL is correctly initialized on both gpu by what can be seen on kwin_wayland_log.txt, though nvidia-drivers uses version 1.5 and mesa uses version 1.4.<br /><br />The first relevant error is "kwin_wayland_drm: swapping buffers failed on output KWin::DrmOutput(0x559b35fd8d30, name="eDP-1", geometry=QRect(0,0 1920x1080), scale=1)". eDP-1 is my laptop's LCD and W2486 is an external monitor.<br /><br />There is no screen update after I launch kwin_wayland similar to what happens with X11 without the xrandr command. I need to log through ssh to 'chvt' to a different virtual terminal or kill kwin_wayland to use laptop again. I guess I just need to instruct kwin_wayland to connect the output of nvidia gpu to intel's one to make everything work. I just do not know how to do that.<br /><br />My environment:</div><div><br /></div>x11-drivers/nvidia-drivers-495.46-r10:0/495 to use Nvidia's new GBM support instead of EGLStream<br />gui-libs/egl-wayland-1.1.9:0<br />gui-libs/eglexternalplatform-1.1:0<br />media-libs/mesa-21.3.2:0<br />dev-qt/qtwayland-5.15.2-r16:5/5.15.2 with patch <a href="https://www.blogger.com/#">Don't block in QWaylandDisplay::flushRequests</a><br />kde-plasma/kwin-9999:5 this is a git build of commit 445946382379b65701259bc1f75c92227348db31 from Dec 15 2021 so I can use <a href="https://www.blogger.com/#">platforms/drm: use gbm with NVidia driver 495+</a>.<div><span style="font-family: inherit;"><br /></span></div><div><span style="font-family: inherit;">Have someone successfully run plasma-wayland with nvidia's optimus and gbm instead of EGLStream?</span></div>Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com2tag:blogger.com,1999:blog-4950896403024987968.post-67361177877289898922016-06-05T17:20:00.000-03:002016-06-05T17:20:10.729-03:00LaKademy 2016This year we celebrated the fourth LaKademy conference and for my luck it happened in the city I live in, Rio de Janeiro :-) The reason for that is because I have not had much time for contributing to KDE as I used to have. The fact that the event happened in Rio saved me a lot o time and sure I wouldn't miss it for nothing hehe.<br />
<br />
The event lasted three and half days (the last day was an Sunday) and was also an opportunity to meet old friends like Tomaz:<br />
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcnqpFvlJ3COuVvfWHdtl4Po8PPcJ6hoSVNTUikUv1VD7B_Z9bdDiLrwTpz6WxrhbfQKSCDMrS3E7wR9c6zjV_6KR082cpfNqvU2KUkRU-0apCfiCNUOK0XJcmcOFZcEfaTpurIdhPym0/s1600/26834192693_c354239e9d_b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcnqpFvlJ3COuVvfWHdtl4Po8PPcJ6hoSVNTUikUv1VD7B_Z9bdDiLrwTpz6WxrhbfQKSCDMrS3E7wR9c6zjV_6KR082cpfNqvU2KUkRU-0apCfiCNUOK0XJcmcOFZcEfaTpurIdhPym0/s320/26834192693_c354239e9d_b.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
and new friends like Fernando:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEtIKgmIXeuhVAGQhB9UQmjZfl07iHeioY8hQnbtcJiBEHGKK4jI_oEkYuEeAg-Z2wkfoiWkvz0Ye4sbysY8dLI8FdEDKGHikf0RkTlwHL8x0rs7gneqyXcqlSyOgSbRfncK-1RzoEnsQ/s1600/27441363735_66e6e7cfaa_b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEtIKgmIXeuhVAGQhB9UQmjZfl07iHeioY8hQnbtcJiBEHGKK4jI_oEkYuEeAg-Z2wkfoiWkvz0Ye4sbysY8dLI8FdEDKGHikf0RkTlwHL8x0rs7gneqyXcqlSyOgSbRfncK-1RzoEnsQ/s320/27441363735_66e6e7cfaa_b.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I have been talking to Fernando through Internet for almost one year and have never had the chance to meet him in person, though we live in the same city hehe. Hopefully, he will become one more contributor to KDE :-)</div>
<br />
One of the things I did during the event was helping Lays developing the new QML user interface for brprint3d and giving some tips for her GSoC work in Umbrello:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq67DlRCkbjFaM-Ny0AQReQSpvd3V1rU4eN7OTF-si5-xm0HdMnPz1KbSjKxhZDkh2fB6G7dZUHLWJO2zuC2DfKklOhzjirFMjJpAf5oBrFumbmMtOUXofGJR_J8H_k9FO82nZo9yCkqw/s1600/27369576571_eab0224c2a_b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq67DlRCkbjFaM-Ny0AQReQSpvd3V1rU4eN7OTF-si5-xm0HdMnPz1KbSjKxhZDkh2fB6G7dZUHLWJO2zuC2DfKklOhzjirFMjJpAf5oBrFumbmMtOUXofGJR_J8H_k9FO82nZo9yCkqw/s320/27369576571_eab0224c2a_b.jpg" width="320" /></a></div>
<br />
And having fun :-)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD6e0l7Y6_ZoNEkOne8OcaGjZC15aPPIzOrBeZVK2oGI8QCRKOR5i1NevH4E6Sm9m0xFdLyyQ156F52eeNNDrKcPuNm9E5-o7eGZfbuz2VcHgUpp2z9arMFbZufZRscFa7510O9pqD3KA/s1600/27369903321_99919a05b9_b.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD6e0l7Y6_ZoNEkOne8OcaGjZC15aPPIzOrBeZVK2oGI8QCRKOR5i1NevH4E6Sm9m0xFdLyyQ156F52eeNNDrKcPuNm9E5-o7eGZfbuz2VcHgUpp2z9arMFbZufZRscFa7510O9pqD3KA/s320/27369903321_99919a05b9_b.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Besides helping Lays, I also helped Ronny to investigate and fix a bug in this QML game and did some bug triage for Plasma NM and Solid. The end result was some old bugs closed and this <a href="https://codereview.qt-project.org/#/c/160884/">patch to Qt Declarative</a> to fix <a href="https://bugs.kde.org/346118">a crash</a> that affects Plasma NM.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Actually, the crash is an assert being triggered in QList while VDMModelDelegateDataType::notify() iterates through a QList of QQmlDelegateModelItem pointers. Somehow the list size shrinks inside the loop and the index-out-of-range assert is triggered. While investigating the bug I noticed that QQmlDelegateModel::_q_itemsRemoved() iterated through the same list but did not trigger the assert. Looking into its source code there is this comment above a couple of lines of code:</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: monospace;"><span style="background-color: white;">// layout change triggered by removal of a previous item might have
</span><br />// already invalidated this item in d->m_cache and deleted it</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: monospace;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
Applying the same code to VDMModelDelegateDataType::notify() prevents the assert being triggered. I submitted a review request for Qt Declarative 5.6 with my patch and I am waiting for the comments about it.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
It was great to meet my KDE fellows, old and new faces, during this LaKademy. Hope to see them again during Akademy in September.</div>
Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-18600089166308862582015-08-01T18:59:00.000-03:002015-08-02T11:10:48.641-03:00Akademy 2015<div>
Spain is a very nice place to visit. After the <a href="https://community.kde.org/Solid/Sprint2010">two</a> <a href="https://community.kde.org/Solid/Sprint2011">Solid</a> Sprints in Madrid and <a href="https://dot.kde.org/2012/10/18/akademy-2013-bilbao">Akademy 2013</a>, now it was time to visit <a href="https://community.kde.org/Akademy/2015/Photos">A Coruna</a>.</div>
<div>
<br /></div>
<div>
My trip to A Coruna started in July 22 from Rio de Janeiro city, where I live, to São Paulo city. While I was waiting for the flight in Rio de Janeiro I feared it would be cancelled because of the bad weather. The flight right before mine in the schedule was cancelled, then I became more apprehensive. After one hour of delay they announced the new boarding time and I reached São Paulo with plenty of time to take the flight to Madrid and from there to A Coruna.</div>
<div>
<br /></div>
<div>
Going to the hostel by bus was easier than I had thought. I was also lucky enough to take the Rialta bus in the second part of the trip from the airport to the hostel :-)</div>
<div>
<br /></div>
<div>
For me, Akademy started with attending <a href="https://ev.kde.org/generalassembly/">KDE e.V General Assembly</a>. About five hours discussing current KDE situation and what could we do to improve it. After the assembly we went back to the Rialta hostel for the first party during Akademy :-)</div>
<div>
<br /></div>
<div>
The next two days of Akademy were dedicated to the talks. This is year I think the most prominent talk was the one about <a href="https://conf.kde.org/en/akademy2015/public/events/201">Plasma Phone</a> (the link contains a video of the talk). That was really exciting talk. I also like the fact that <a href="http://lamarque-lvs.blogspot.com.br/2012/01/work-and-short-of-time.html">the work we did for Plasma Active</a> is still alive and with a bright future ahead. Now I just need to figure out how to install Plasma Mobile in my smartphone :-)</div>
<div>
<br /></div>
<div>
Alex Fiestas' On how Agile, TDD, CI and CD are the same talk was also very interesting for me because I responsible for maintaining the continuous integration infrastructure in my daily work (besides being a developer and doing some administrative work too). I share Alex vision about the importance of continuous feedback. Nice tak Alex.</div>
<div>
<br /></div>
<div>
The last week of Akademy is reserved for <a href="https://community.kde.org/Akademy/2015/AllBoF">BoFs</a> and the day trip. I am a member of the Solid team and since Solid Maintainer could not attend Akademy I decided to schedule and conduct the <a href="https://community.kde.org/Akademy/2015/Tuesday#Room_2.0a_-_28_July">Solid BoF</a> this year. The BoF notes are <a href="https://community.kde.org/Solid/Meetings/Akademy2015">here</a>. The most important thing, for me, during the BoF was the decision to pass to Jan Grulich the Network Management maintainership. I will still work on network management for KDE, there are still some things I want to implement in Plasma NM.<br />
<br />
I attended some other BoF, interesting and important things being discussed there. Sure this is an important part of Akademy.</div>
<div>
<br /></div>
<div>
The <a href="https://akademy.kde.org/2015/news/daytrip">day trip</a> happened on Wednesday we went to <a href="http://mc2coruna.org/gl/aquarium.html">Aquarium Finisterrae</a> and the <a href="http://www.torredeherculesacoruna.com/">Hercules tower area</a>. Nice places to visit and I enjoyed every minute. Other things that I enjoyed was walking to the venue (nice view), the food :-) (except squid, I do not like eating squids :-P) and the weather (not too cold during the night and not too hot during the day).</div>
<div>
<br /></div>
<div>
That was one of my best Akademy's. A big thank you to the local team and Kenny Duffus for making Akademy such an enjoyable event. See you all at next Akademy.</div>
Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com1tag:blogger.com,1999:blog-4950896403024987968.post-4596297562617601532015-04-07T21:03:00.000-03:002015-04-07T21:03:53.758-03:00NetworkManagerQt 0.9.8.4 is outNetworkManagerQt is officially a <a href="http://api.kde.org/frameworks-api/frameworks5-apidocs/networkmanager-qt/html/index.html">Frameworks</a> now. As a consequence the repository has been renamed from libnm-qt to networkmanager-qt and NMQt version number now follows Frameworks version number (currently <a href="https://www.kde.org/announcements/kde-frameworks-5.8.0.php">5.8.0</a>).<br />
<br />
<a href="https://projects.kde.org/news/292">NMQt 0.9.8.4</a> is the last release from the 0.9.8.x series. From NMQt 5.8.0 and on you need to <a href="https://www.kde.org/announcements/kde-frameworks-5.8.0.php">install Frameworks</a> instead of downloading it separately.<br />
<br />
Bugs fixed in NMQt 0.9.8.4:<br />
<br />
. Fix security type check for wireless connections.<br />
. Fix secrets loading for openconnect connections.<br />
<a href="http://bugs.kde.org/339296">339296</a>: Fix vpn secrets loading.<br />
. Update documentation.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-2394850468192052502015-03-06T17:52:00.000-03:002015-03-06T17:52:18.381-03:00Plasma NM 0.9.0.12<a href="http://download.kde.org/unstable/networkmanagement/0.9.0.12/src/networkmanagement-0.9.0.12.tar.xz.mirrorlist">Plasma NM 0.9.0.12</a><br />
<br />
SHA256Sum: 27b4a383972dcbb25eb254dcfe6b71ccb05ca0418590eb57ddc20c0b7bcac8eb<br />
<br />
This is the last Plasma NM 0.9.0.x release, it is officially retired and unmaintained from now on. If you have not moved to <a href="http://lamarque-lvs.blogspot.com.br/2013/09/plasma-nm-current-and-future.html">Plasma NM 0.9.3.x</a> please do it.<br />
<br />
Changelog:<br />
<br />
. Fixes OpenConnect NEWGROUP handling and build against OpenConnect > 7.0.<br />
<a href="https://bugs.kde.org/341387">341387</a>: OpenVPN: Add option for server certificate verification.<br />
<a href="https://bugs.kde.org/334246">334246</a>: Import/export 'redirect-gateway' option from openvpn configuration files.<br />
<a href="https://bugs.kde.org/282996">282996</a>: aborts connection editing once we find an error.<br />
<br />
The following languages have more than 80% of strings translated:<br />
<br />
bs ca ca@valencia cs da de el en_GB es et fi fr gl hu ia it kk km ko lt nb nds nl pl pt pt_BR ro ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv tr uk zh_CN zh_TW<br />
<br />
Also read some very usefull information about how to use and avoid problems when using Plasma NM in <a href="http://lamarque-lvs.blogspot.com.br/p/plasma-nm.html">my past posts page</a>.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-34638588300714470532015-01-01T18:53:00.001-02:002015-01-01T18:53:32.310-02:00Retiring Plasma NN 0.9.0.xI am in the process of retiring <a href="http://lamarque-lvs.blogspot.com.br/2014/04/plasma-nm-09011.html">Plasma NM 0.9.0.x</a> (aka old Plasma NM applet). The <a href="https://projects.kde.org/projects/kde/workspace/plasma-nm?jump=welcome">new applet</a> (Plasma NM >= 0.9.8.x) is already shipped with all major distributions. I may release Plasma NM 0.9.0.12 with some few bugfixes if someone is interested in that. However after 0.9.0.12 there will be no further releases for the old applet. It will enter in unmaintained state and I will ask sysadmin to remove/disable NetworkManagement product from bugs.kde.org. There is already product plasma-nm to report bugs in the new applet.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com3tag:blogger.com,1999:blog-4950896403024987968.post-25461239061429232452014-11-15T16:34:00.001-02:002014-11-15T19:50:23.090-02:00Installing Plasma 5 on Gentoo Linux: problems and fixesYesterday I removed my Plasma 4 installation and installed Plasma 5. I know it is not ready for production yet but, you know, I am a KDE developer and want to contribute to improve Plasma 5 :-)<br />
<br />
I used Gentoo's live ebuilds to install Frameworks 5 and Plasma 5's master branches. After some... several... ok, many hours compiling things Plasma 5 was installed and then I had my first surprise: <a href="http://www.rusu.info/wp/?p=300">I need kwallet 4 installed to import my secrets into kwallet 5</a>, but I had uninstalled it before start compiling Plasma 5. Solution: compile kwallet 4 :-/ and try again. However, it was not that simple.<br />
<br />
I used to use kwallet 4.14.2 (Gentoo's unstable version) but I installed 4.12.5 (Gentoo's stable version) without kdepimlibs installed. There are two problems with what I did: 1. kwallet uses a different file format when compiled with kdepimlibs installed. Since it was not installed kwallet 4 failed to open my wallet with "Unsupported file format version" error. Desperation started growing into my heart (my secrets, my precious secrets...). Looking at kwallet's source code (I love open source programs for allowing me to do that) I noticed that I needed to recompile it against kdepimlibs. So I did and... it did not work, the same "Unsupported file format version" error message appeared. 2. Looking into kwallet's git log I noticed that the file format's version changed between kwallet 4.12.5 and 4.14.2. I recompiled kwallet 4.14.2 and then kwallet 5 was able to import my old wallet :-). Tip of the day: do not uninstall Plasma 4 before importing your wallet. For Gentoo users that be a problem since akonadi-server's ebuild is configured to prevent compiling both qt4 and qt5 versions and akonadi-server is a dependency to compile kdepimlibs. I had to force (emerge --nodeps) Gentoo to compile kdelibs, akonadi-server, kdepimlibs and kwallet ebuilds to solve this problem.<br />
<br />
With my wallet imported I though I had finished with that. However, Google Chrome did not list/show any of my secrets. The problem: Chrome uses the old dbus names org.kde.kwalletd and /modules/kwalletd instead of org.kde.kwalletd5 and /modules/kwalletd5. At least for now I decided to recompile kwallet 5 to use the old names, it works. Maybe we should add a command line option to make kwallet5 to also register those old names for backward compatibility.<br />
<br />
After configuring my personal options in systemsettings my Plasma 5 desktop looks as productive as my old Plasma 4 desktop, which by the way I completely removed after fixing the kwallet issue. I still miss some applications such as Amarok, Digikam, Superkaramba (I created four applets for it that I would like to keep using). Two others, kdialog and polkit-kde-agent, are already ported to Plasma 5 but there is no ebuild for then, so I created the ebuilds and installed them. <strike>The kdialog ebuild still needs tweaking though</strike>.<br />
<br />
polkit-kde-agent is necessary to allow Plasma NM to read secrets from system connections, which are stored in NetworkManager. It is a important program not only for me but for anybody that uses Plasma NM. After compiling it it did not work at first (always crashing). I had to apply this <a href="https://git.reviewboard.kde.org/r/121121/">patch</a> from reviewboard to fix the crashes.<br />
<br />
To replace Amarok I recompiled Vlc to enable its qt plugin, which is already ported to Qt5 but Vlc compilation system insisted in using Qt4's include and libs even though it detected Qt5. For that reason when g++ tried to find QtWidgets' includes it failed. QtWidgets does not exist in Qt4. My solution was to export those two variables before compiling Vlc:<br />
<br />
<div>
<span style="font-family: monospace;">export QT_CFLAGS=$(pkg-config Qt5Widgets --cflags)</span><br />
<span style="font-family: monospace;">export QT_LIBS=$(pkg-config Qt5Widgets --libs</span></div>
<br />
Sorry to the bashism in the line aboves, but it makes things shorter :-P<br />
<br />
Vlc works, but crashes everytime it quits, not a big problem except that it never saves may playlist :-/ I still can press Ctrl+1 to make it load the first directory in the recent used list. I had to tweak my qdbus script to make my global shortcuts for play previous/pause/play next song to work with Vlc. Now it works almost as Amarok, except for the fancy features such as tablatures, lyrics, playlist sorting that I used to use from time to time. For the time being it will suffice. By the way, what is happening (or not happening) with Amarok? The lastest release was more than a year ago. Will it be ported to Plasma 5? Is there a Plasma 5 replacement for it?<br />
<br />
One feature I missed since yesterday was the hability to select "shutdown computer" from leave dialog. Being the one that ported the old QWidget based shutdown dialog to Qml I expected the new dialog to be located in /usr/share/apps/ksmserver/themes/default, but now it is located in /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/logout/Logout.qml. Plasma 4's shutdown dialog theme is still in /usr/share/apps/ksmserver/themes/. After digging into ksmserver and libkworkspace's source codes I figured out that using kwrapper5 with ksmserver prevents shutdown and restart buttons from appearing in the shutdown dialog. The problem is that org.freedesktop.ConsoleKit.Manager.CanStop always return false when ksmserver is started through kwrapper5. I had to edit startkde script to do not use kwrapper5. OBS: I am using sddm and consolekit.<br />
<br />
There are some random crashes here in there, but Plasma 5 is usable for what I need. Now I am ready to start fixing Plasma 5 issues :-)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZesG76-vbgXvhadpwzs7tvMVLZpwx69lF-VU52tShkg0lDdTHa6n2vrurYtmfNXHulDgS8WVsFQzvDUmWlv-W6pgRCLd2zyi34aR_jsB2jM_2jiBlNPuvT40qF3ejtOzpwF7v9RQxRf4/s1600/plasma5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZesG76-vbgXvhadpwzs7tvMVLZpwx69lF-VU52tShkg0lDdTHa6n2vrurYtmfNXHulDgS8WVsFQzvDUmWlv-W6pgRCLd2zyi34aR_jsB2jM_2jiBlNPuvT40qF3ejtOzpwF7v9RQxRf4/s1600/plasma5.png" height="180" width="320" /></a></div>
<br />Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com13tag:blogger.com,1999:blog-4950896403024987968.post-90600350926793226562014-11-05T14:09:00.000-02:002014-11-05T14:09:28.454-02:00NetworkManagerQt 0.9.8.3 is out<br />
Bugs fixed in <a href="https://projects.kde.org/news/279">NMQt 0.9.8.3</a>:<br />
<br />
. Add workaround to properly update IpInterface.<br />
<a href="https://bugs.kde.org/339652">339652</a>: Add IPv6 configuration for VPN connections (needed for OpenVPN).<br />
. Remove IPv6 setting from cdma/gsm connections since NetworkManager does not support this configuration.<br />
<div>
<br /></div>
Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com5tag:blogger.com,1999:blog-4950896403024987968.post-43337874267161229002014-08-28T12:31:00.001-03:002014-08-28T12:31:47.369-03:00LaKademy 2014Hi again,<br />
<br />
I am a bit absent from blogging due to personal issues. Fortunately, I am on vacation from my real life work since last weekend then I am going to have more time for one of the things a like most: working with KDE software and friends :-)<br />
<br />
As you may know the Latin-american KDE meeting (<a href="https://br.kde.org/lakademy-2014">LaKademy</a>) is happening right now in São Paulo city, more precisely at <a href="http://ccsl.ime.usp.br/pt-br/news/14/07/16/lakademy-2014">Free Software Competence Center of IME-USP</a> [1] and I here too. After a long time I am back to São Paulo city for more time than just taking connection flights hehe.<br />
<br />
Yesterday was the first LaKademy's day and we had some <a href="https://br.kde.org/lakademy-2014-program">presentations</a> for the general public. During this second day Sandro Andrade is presenting his Qt programming course. In the next two days we will have hacking sessions on KDE software and as Plasma Network Management maintainer I am interested in making networking easy for KDE users.<br />
<br />
Although I have not been pushing that much commits to network management repos [2] I used to do years ago I am still working on some improvements for the new Plasma NM, mostly non-visual changes though. Jan Grulich, Björn and Thomas Pfeiffer are doing a great job on Plasma NM's GUI so this task is in good hands.<br />
<br />
My yesterday's LaKademy presentation was about what I am doing in Plasma NM and NetworkManager for that matter. Basically I am working on improving Eduroam support in Plasma NM with these two tasks:<br />
<br />
<br />
<ol>
<li>Passing more error information to the user so he/she can know if the problem is with his/her login, password, certificates, or with the local or the remote infra-structure, etc. With this information in hand the user can contact the correct person to solve connection issues, being the local network administrator or the network administrator of his/her university, who with Eduroam may not be the same person.</li>
<li>Importing configuration file to make creating Edurom connections easier. Eduroam uses WPA2 Enterprise and as such its connections requires several technical details to be filled before you can use it. Check this connection dialog for my test Eduroam connection for instance, too many details:</li>
</ol>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9rzWgmv6rRB9oM_g5po5-oR87dtNfkkijUPfFxlk6WnZYSxjD9Zwdnb8UCi-5Zo4GwCnzOM_pEeCeofQhhC9XKq4Wh3HsVMvAcFYyqJ-X2aMTdlcVU473z8O1aLFn_QlxZne1OwKP8Us/s1600/plasma-nm_3_editado.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9rzWgmv6rRB9oM_g5po5-oR87dtNfkkijUPfFxlk6WnZYSxjD9Zwdnb8UCi-5Zo4GwCnzOM_pEeCeofQhhC9XKq4Wh3HsVMvAcFYyqJ-X2aMTdlcVU473z8O1aLFn_QlxZne1OwKP8Us/s1600/plasma-nm_3_editado.png" height="300" width="320" /></a></div>
<div>
<br /></div>
<div>
The aim for task #2 is importing a xml file that contains all the information above, well, except the password, of course. There is already configuration importing support for OpenVPN and VPNC connections in Plasma NM, so this will be the third connection type that Plasma NM will suport that. This implementation may be used for other WPA2 Enterprise connections as well.</div>
<div>
<br /></div>
<div>
To implement task #1 I have been digging into wpa_supplicant and NetworkManager souce code in the last months (during my spare time). I already have a patch that gets the data from wpa_supplicant and now I am implementing code to set up the correct structures in NetworkManager. The code is generic and the result can be used by other NetworkManager clients as well, of course. When the patch is ready I am going to send it to NetworkManager's developers for reviewing.</div>
<br />
<br />
[1] USP stands for University of São Paulo, the biggest and one of the most important Brazilian universities.<br />
<br />
[2] there are networking code in plasma-nm, libmm-qt, libnm-qt, kdelibs, and kde-runtime repos and also in (the already deprecated) networkmanagement repo.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com2tag:blogger.com,1999:blog-4950896403024987968.post-3689622585256103082014-07-05T18:34:00.000-03:002014-07-05T18:34:41.930-03:00NetworkManagerQt 0.9.8.2 is outAfter a long time here are some news on what is going on with NMQt:<br />
<br />
. NMQt is going to be part of <a href="https://dot.kde.org/2013/09/25/frameworks-5">Frameworks 5</a> so this may be the last release on its own.<br />
<br />
. We are still working on making NMQt ready for KF5, so it may not appear in the next version of KF5 just yet.<br />
<br />
. Plasma NM is going to be part of kde-workspace and as you may know NMQt is a dependency for Plasma NM. Plasma 5 release is approaching and since we may not get NMQt ready for KF5 in time we decided to ship a snapshort of NMQt with kde-workspace so that Plasma NM compiles. In the future we will remove the snapshot and rely on the NMQt in KF5.<br />
<br />
Bugs fixed in <a href="https://projects.kde.org/news/272">NMQt 0.9.8.2</a>:<br />
<br />
. Avoid crashes when NetworkManager is restarted.<br />
. Respect external CMAKE_CXX_FLAGS values.<br />
<a href="http://bugs.kde.org/331771">331771</a>: Add a workaround to always get updated IPv[46]Config.<br />
. Properly update and notify about changed reference accesspoint.<br />
. Bump required version of NetworkManager to 0.9.8.4.<br />
. Emit signal after available connection is removed instead of before.<br />
. Bump soversion to indicate different binary application interface (ABI) than the previous releases (0.9.8.0 to be precise).Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-18329825896666846312014-04-23T16:15:00.002-03:002014-04-23T16:15:51.339-03:00Plasma NM 0.9.0.11<a href="http://download.kde.org/unstable/networkmanagement/0.9.0.11/src/networkmanagement-0.9.0.11.tar.xz.mirrorlist">Plasma NM 0.9.0.11</a><br />
<br />
SHA256Sum: 51f4f4d82d2475338f90bea7177d8cec92c9635809f4d5764c815e4ca3a6d33c<br />
<br />
This may be the last Plasma NM 0.9.0.x release. If you have not moved to <a href="http://lamarque-lvs.blogspot.com.br/2013/09/plasma-nm-current-and-future.html">Plasma NM 0.9.3.x</a> please do it.<br />
<br />
Changelog:<br />
<br />
. Port commit 947f56f1cd21a72fa0f88e1c42ac8c19e23864d0 from plasma-nm to fix building with openconnect >= 5.99. There are still some missing bits to fully support openconnect 5.99 tough.<br />
<a href="http://bugs.kde.org/331151">331151</a>: fix crash when retrieving NetworkManager's state.<br />
. Add OpenSwan VPN plugin. Thanks Jan Grulich for this patch.<br />
<a href="http://bugs.kde.org/328189">328189</a>: Add more help information about VPNC's DES encryption setting.<br />
<a href="http://bugs.kde.org/317568">317568</a>: Fixes Plasma NM forgets 802.1x settings as soon as the dialog box is closed.<br />
<br />
The following languages have more than 80% of strings translated:<br />
<br />
bs ca ca@valencia cs da de el es et fi fr gl hu ia it kk km ko lt nb nds nl pl pt pt_BR ro ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv tr uk zh_CN zh_TW<br />
<br />
Also read some very usefull information about how to use and avoid problems when using Plasma NM in <a href="http://lamarque-lvs.blogspot.com.br/p/plasma-nm.html">my past posts page</a>.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-26942103730109338272014-02-15T15:17:00.000-02:002014-02-15T15:17:32.907-02:00ModemManagerQt and NetworkManagerQt: new releasesNew versions of <a href="https://projects.kde.org/news/253">ModemManagerQt</a> and <a href="https://projects.kde.org/news/254">NetworkManagerQt</a> are out, respectively 1.0.1 and 0.9.8.1. The changes are short, just some bugs fixes and small new features.<br />
<br />
In ModemManagerQt:<br />
<br />
. fix a crash when ModemManager is restarted.<br />
<br />
In NetworkManagerQt:<br />
<br />
. add workaround for wrongly updated ActiveConnection property.<br />
. update doxygen documentation.<br />
<a href="http://bugs.kde.org/329260">329260</a>: avoid conditional jumps based on uninitialized values.<br />
. add device property to WirelessNetwork.<br />
. backport PrimaryConnection, ActivatingConnection and Connectivity properties.<br />
<br />
<br />Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-28163334121020372722013-11-28T09:42:00.003-02:002013-11-29T00:11:29.777-02:00Plasma NM 0.9.0.10<a href="http://download.kde.org/unstable/networkmanagement/0.9.0.10/src/networkmanagement-0.9.0.10.tar.xz.mirrorlist">Plasma NM 0.9.0.10</a><br />
<br />
SHA256Sum: dce8d080256f1c2a6b70d61cb46e623839f6c0a0f260a6901d9ad68746ce7dfc<br />
<br />
Diffferently from what I wrote in <a href="http://lamarque-lvs.blogspot.com.br/2013/06/plasma-nm-0909.html">Plasma NM 0.9.0.9 release notes</a> this version supports NetworkManager 0.9.6.x and 0.9.8.x as requested by some users. However, this version still requires NetworkManager 0.9.8 for <a href="https://bugs.kde.org/show_bug.cgi?id=320533">connection activation error notification</a> to work properly. If you use it with NetworkManager 0.9.6.x do not report bugs regarding Plasma NM's notifications. You can still disabling them if they do not work properly for you.<br />
<br />
Changelog:<br />
<div>
<br />
<a href="http://bugs.kde.org/299863">299863</a>: Fix crash when adding WPA2 Enterprise connections.<br />
. Re-add support to NetworkManager 0.9.6.x.<br />
. Add IPv6 information into connection details.<br />
<a href="http://bugs.kde.org/324880">324880</a>: Fix signal quality and access technology updating for 3G connections.<br />
. Small optimization: disable updating traffic plotter if popup is closed.<br />
<br />
The following languages have more than 80% of strings translated:<br />
<br />
bs ca cs da de el es et fi fr gl hu ia it kk km ko lt nb nds nl pl pt pt_BR ro ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv tr uk zh_CN zh_TW<br />
<br />
Also read some very usefull information about how to use and avoid problems when using Plasma NM in <a href="http://lamarque-lvs.blogspot.com.br/p/plasma-nm.html">my past posts page</a>.</div>
Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-72708330327449251262013-11-21T18:11:00.002-02:002013-11-21T18:11:55.371-02:00NetworkManagerQt 0.9.8.0 ReleasedFor those interested in programming with <a href="https://projects.gnome.org/NetworkManager/">NetworkManager</a> using Qt here is the lastest <a href="https://projects.kde.org/news/241">NetworkManagerQt library</a>. This new version supports NetworkManager 0.9.8 and is the backend used by the <a href="http://grulja.wordpress.com/2013/06/14/status-and-plans-for-plasma-nm/">new Plasma NM applet</a>.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-25326999521886241032013-11-21T18:06:00.001-02:002013-11-21T18:06:40.995-02:00ModemManagerQt 1.0.0 Released<a href="https://projects.kde.org/projects/extragear/libs/libmm-qt">ModemManagerQt</a> is a Qt library to talking to <a href="http://www.freedesktop.org/wiki/Software/ModemManager/">ModemManager</a> using <a href="http://www.freedesktop.org/wiki/Software/dbus/">dbus</a>. Today I am glad to release the third version version of this library. The main difference here is the support to ModemManager from 0.8 up to 1.0.<br />
<br />
One of the cool uses of ModemManagerQt is the <a href="http://hashpling.wordpress.com/2013/08/22/sms-messaging-with-telepathy-gsoc-update/">SMS sending/receiving</a> support in <a href="http://www.sharpley.org.uk/blog/ktp-0-7">KDE Telepathy</a>.<br />
<br />
Get the source code <a href="https://projects.kde.org/news/240">here</a>.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-39594186129808178472013-11-13T11:05:00.000-02:002013-11-13T11:05:40.972-02:00Plasma NM: very important (old) newsHi guys. Just to keep it clear: since the release of the <a href="http://lamarque-lvs.blogspot.com.br/2013/09/plasma-nm-current-and-future.html">new Plasma NM applet (version 0.9.3)</a> the networkmanagement repository is mostly deprecated. Only NM/0.9 branch has any use (for now). That branch holds the old stable Plasma NM 0.9.0.x version. The one that I release from time to time since <a href="http://lamarque-lvs.blogspot.com.br/2011/10/plasma-nm-first-release.html">October 2011</a>.<br />
<br />
Unless you have a patch to fix one of <a href="https://bugs.kde.org/buglist.cgi?cmdtype=runnamed&namedcmd=Plasma%20NM%20bugs&list_id=786801">bugs in the old Plasma NM 0.9.0.x</a> you should use plasma-nm repository instead of networkmanagement. There is even a frameworks branch in plasma-nm, so it already works with frameworks5, which networkmanagement does not.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com1tag:blogger.com,1999:blog-4950896403024987968.post-53223518973838287872013-09-15T18:28:00.000-03:002013-09-15T18:28:20.912-03:00ModemManagerQt 0.5.1 ReleasedWell, less than one week from ModemManagerQt's <a href="http://lamarque-lvs.blogspot.com.br/2013/09/modemmanagerqt-050-released.html">first release</a> now it is time for the <a href="https://projects.kde.org/news/234">second release</a>. I take the blame for this, I forgot to review a patch needed by <a href="http://hashpling.wordpress.com/2013/08/22/sms-messaging-with-telepathy-gsoc-update">KDE Telepathy's SMS sending feature</a>. That is an important feature, so I decided to do a new release to make it work properly.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-77981225022573221022013-09-15T12:30:00.000-03:002013-09-15T12:30:22.172-03:00Plasma NM: current and futureAs you may already know a <a href="http://ltinkl.blogspot.com.br/2013/09/first-plasma-nm-release.html">new Plasma NM 0.9.3.0 applet</a> was released last week, which means that <a href="http://lamarque-lvs.blogspot.com.br/2013/06/plasma-nm-0909.html">Plasma NM 0.9.0.x</a> is deprecated from now on. I will release Plasma NM 0.9.0.10 eventually to fix bugs already reported against 0.9.0.9. For those who can I advise to upgrade to the new Plasma NM applet.<br />
<br />
To upgrade to the new applet you must first disable the old applet's plasmoid and kded modules. You can do that in systemsettings -> Startup and Shutdown -> Service Manager. Stop and uncheck "NetworkManager User Settings Service" then click on the "Apply" button:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-4v80vfaJREo/UjXSIK_iLoI/AAAAAAAABaM/aA7l_TNAMFM/s1600/plasma-nm-systemsettings.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="176" src="http://1.bp.blogspot.com/-4v80vfaJREo/UjXSIK_iLoI/AAAAAAAABaM/aA7l_TNAMFM/s320/plasma-nm-systemsettings.jpg" width="320" /></a></div>
<br />
To remove the old applet right click on the system tray applet's small triangle (the one that shows "Show hidden icons" tooltip) then "System Tray Settings" -> Display -> Extra Items. Uncheck the "Network Management" item that has a icon similar to a N letter, then click on the "Ok" button:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-I7jnI6APNr8/UjXSH8JU3wI/AAAAAAAABaE/wyUUivjI1y8/s1600/plasma-nm-systemtray.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="296" src="http://1.bp.blogspot.com/-I7jnI6APNr8/UjXSH8JU3wI/AAAAAAAABaE/wyUUivjI1y8/s320/plasma-nm-systemtray.jpg" width="320" /></a></div>
<br />
<br />
Bugs against the new applet must be reported in bugs.kde.org under product plasma-nm. Please do not report bugs against the new applet under "Network Management" product, that one is reserved for Plasma NM 0.9.0.x bugs.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com2tag:blogger.com,1999:blog-4950896403024987968.post-10212344527056306782013-09-15T11:56:00.000-03:002013-09-15T12:31:55.516-03:00The Future of ModemManagerQt and NetworkManagerQtNow that the first release of <a href="http://lamarque-lvs.blogspot.com.br/2013/09/modemmanagerqt-050-released.html">MMQt 0.5.0</a> and <a href="http://lamarque-lvs.blogspot.com.br/2013/09/networkmanagerqt-090-released.html">NMQt 0.9.0</a> are online it is time to think about what else we can do with/for them.<br />
<br />
MMQt 0.5.x is behind current stable ModemManager version (1.0) not only in version number but also in API compatibility (MMQt 0.5.x does not work with ModemManager >= 0.7). MMQt 0.8 is going to support ModemManager 0.7 API and is currently being developed in mm08 branch. I plan to merge mm08 into MMQt master branch soon, so anybody using MMQt master branch (e.g. Plasma Active) should point your build scripts to MM/0.5 branch instead of master from now on. The same is valid for NMQt: point to NM/0.9 branch instead of master.<br />
<br />
We plan to release MMQt 0.8 as soon as possible. However no release date has been set yet, the date depends mostly on the two developers that are working on that part (<a href="http://ltinkl.blogspot.com.br/">Lukáš Tinkl</a> and <a href="http://hashpling.wordpress.com/2013/08/22/sms-messaging-with-telepathy-gsoc-update/">Anant Kamath</a>). I wanted to thank them for taking over that job, I am really short on free time in the last months. I would not be able to port MMQt to 0.7 API without help since there are some fundamental changes to implement. Remember NetworkManager 0.8 to 0.9 transition? It is something similar in ModemManager 0.6 to 0.7 transition.<br />
<br />
Turning to NMQt. Things there seems more calm than for MMQt, no big API changes in sight. Dan Williams, help me when NetworkManager 1.0 is released, ok? hehe.<br />
<br />
For NMQt I plan to improve current documentation and fix reported bugs. Talking about bugs, you can report bugs in http://bugs.kde.org under product solid components networkmanagement (for NMQt) and networkmanagement-mobile (for MMQt).<br />
<br />
PS: I will talk about <a href="http://lamarque-lvs.blogspot.com.br/2013/06/plasma-nm-0909.html">Plasma NM 0.9.0.x</a> and <a href="http://ltinkl.blogspot.com.br/2013/09/first-plasma-nm-release.html">Plasma NM 0.9.3.x</a> in <a href="http://lamarque-lvs.blogspot.com.br/2013/09/plasma-nm-current-and-future.html">another post</a>.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com2tag:blogger.com,1999:blog-4950896403024987968.post-32237583017159113272013-09-09T18:56:00.001-03:002013-09-09T19:00:08.159-03:00NetworkManagerQt 0.9.0 ReleasedAfter a <a href="http://lamarque-lvs.blogspot.com.br/2011/10/plasma-nm-what-is-going-on-libnm-qt-and.html">long</a> <a href="http://lamarque-lvs.blogspot.com.br/2013/04/solid-forge-2.html">awaiting</a> I am glad to announce that the first release of NetworkManagerQt is available for downloading. The (short) announcement is available in <a href="https://projects.kde.org/news/232">NetworkManagerQt's project page</a>.<br />
<br />
Both NetworkManagerQt and <a href="http://lamarque-lvs.blogspot.com.br/2013/09/modemmanagerqt-050-released.html">ModemManagerQt</a> are dependencies for the new <a href="http://grulja.wordpress.com/2013/06/14/status-and-plans-for-plasma-nm/">Plasma NM applet</a>. There are still rough edges to polish in NetworkManagerQt, specially in documentation, we are going to fix them in the next releases. Talking about documentation it is available through doxygen (read project's page for instructions). There is also two example programs to list device's properties (ip address, gateway, static routes, dns, etc) and to create wifi connections.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com2tag:blogger.com,1999:blog-4950896403024987968.post-17695448283901812142013-09-09T18:13:00.000-03:002013-09-09T18:13:18.646-03:00ModemManagerQt 0.5.0 ReleasedAfter a long awaiting I am glad to announce that the first release of ModemManagerQt is available for downloading. The (short) announcement is available in <a href="https://projects.kde.org/news/231">ModemManagerQt's project page</a>.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com0tag:blogger.com,1999:blog-4950896403024987968.post-69774513876807354512013-08-15T12:49:00.000-03:002013-08-16T10:14:34.207-03:00kwin and catalyst drivers<div>
Today I have upgraded <a href="http://lamarque-lvs.blogspot.com.br/2010/06/sager-np7652-finally.html">my notebook</a> to 4.11.0. Almost everything worked out of the box, the only exception was kwin's compositing support.</div>
<div>
<br /></div>
<div>
Just for clarify I use the catalyst drivers (AKA fglrx, AKA ATI/AMD's proprietary graphical drivers) because only catalyst can control my notebook's fan. I have tried the opensource driver but my notebook's bios does not provide the gpu profiles required to make the dynamic clock support in the opensource driver to work, so I am stuck with catalyst.</div>
<div>
<br /></div>
<div>
Looking at ~/.xsession-errors I could see those messages:</div>
<div>
<br /></div>
<div>
<div>
OpenGL vendor string: ATI Technologies Inc.</div>
<div>
OpenGL renderer string: ATI Mobility Radeon HD 4500/5100 Series</div>
<div>
OpenGL version string: 2.1 (3.3.11672 Compatibility Profile Context)</div>
<div>
OpenGL shading language version string: </div>
<div>
Driver: Catalyst</div>
<div>
Driver version: 2.1</div>
<div>
GPU class: R700</div>
<div>
OpenGL version: 2.1</div>
<div>
GLSL version: 0.0</div>
<div>
X server version: 1.12.4</div>
<div>
Linux kernel version: 3.10.6</div>
<div>
Direct rendering: no</div>
<div>
Requires strict binding: yes</div>
<div>
GLSL shaders: yes</div>
<div>
Texture NPOT support: yes</div>
<div>
Virtual Machine: no</div>
<div>
kwin(17322) KWin::checkGLError: GL error ( Init ): "GL_INVALID_ENUM" </div>
<div>
kwin(17322): OpenGL 1 compositing setup failed </div>
<div>
QObject::connect: Cannot connect (null)::resetCompositing() to KWin::Compositor::restart()</div>
<div>
kwin(17322): Failed to initialize compositing, compositing disabled</div>
</div>
<div>
<br /></div>
<div>
For some reason kwin does not detect that my notebook's setup is direct rendering capable. After some research I have found out that setting those two environment variables make kwin work with direct rendering:</div>
<div>
<br /></div>
<div>
<div>
export KWIN_DIRECT_GL=1</div>
<div>
export KWIN_COMPOSE=O2</div>
</div>
<div>
<br /></div>
<div>
To make changes permanent you can write the lines above to a file script like /etc/profile.d/env.sh. That works for bash, if you use another shell then you need to figure out how to set environment variables for it. Then you can logout and login and kwin should work. If you do not want to logout you can just run those two lines above and then the command below:<br />
<div>
<br /></div>
</div>
<div>
<div>
kwin --replace &</div>
<div>
</div>
</div>
<div>
<br /></div>
<div>
KWIN_COMPOSE=O2 means to use OpenGL2 according to <a href="https://community.kde.org/KWin/Environment_Variables#KWIN_COMPOSE">kwin's wiki page</a> and by the message above kwin was trying to use OpenGL1. Well, for anybody with the same problem that is a workaround for it :-)<br />
<br />
Update: bug entry about this issue: <a href="https://bugs.kde.org/show_bug.cgi?id=323553">https://bugs.kde.org/show_bug.cgi?id=323553</a></div>
Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com16tag:blogger.com,1999:blog-4950896403024987968.post-36789026179361587122013-07-18T05:49:00.001-03:002013-07-18T06:07:38.232-03:00Internationalization (aka i18n) in the new Plasma NM appletAkademy 2013 is in its final days. Yesterday we had our day trip (or survival training day hehe, look at my <a href="https://plus.google.com/photos/108148775950285924518/albums/5900613413070483729">Akademy 2013 photos</a> from yesterday to see what I mean). I really liked the day trip, I like doing long walks.<br />
<div>
<br /></div>
<div>
At the end of the day trip we went to a restaurant to have dinner. I end up in the same table with the Italian guys. During our chat Luigi Toscano, from the KDE translation team, told me about what he did to translate the <a href="http://grulja.wordpress.com/2013/06/14/status-and-plans-for-plasma-nm/">new Plasma NM applet</a> faster. Since the new applet shares most of the strings with the <a href="http://lamarque-lvs.blogspot.com.es/2013/06/plasma-nm-0909.html">current Plasma NM applet</a> (in networkmanagement repository) he copied the .po files for Italian language from networkmanagement (current applet) to plasma-nm (new applet) and configured <a href="http://userbase.kde.org/Lokalize">Lokalize</a> to merge the strings. Sorry, I do not know the exact steps to do that in Lokalize.</div>
<div>
<br /></div>
<div>
Other translation teams can do the same to speed up translating Plasma NM to their languages. The same can be done when we create a new repository with code (or more precise, strings) copied from another repository. In Plasma NM case the new repository is a complete rewrite of the backend libraries and plasmoid from networkmanagement repository. However, the edit connection dialogs, which contain a lot of translatable strings, are very similar between the two repositories and share most of the strings with the current applet.</div>
Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com2tag:blogger.com,1999:blog-4950896403024987968.post-85493889006026220102013-06-20T11:06:00.000-03:002013-06-20T12:52:32.989-03:00NetworkManagerQtAfter reading <a href="http://blogs.kde.org/2013/06/18/compiling-all-kde-sc-svngit">dfaure's blog post</a>, specifically his complaint about libnm-qt requiring NetworkManager 0.9.8, I was compelled to write post. Firstly, I must say that today marks four months that NetworkManager 0.9.8.0 was released, it should be packed by distributions already. NetworkManager 0.9.8.2 is two weeks old now.<br />
<br />
<a href="http://lamarque-lvs.blogspot.com.br/2013/04/solid-forge-2.html">NetworkManagerQt</a> (aka libnm-qt) is a work in progress library and I am working on to make it ready for its first release. There are some useful features in NetworkManager 0.9.8.x that does not exist in 0.9.6.x:<br />
<br />
<br />
<ul>
<li><a href="http://lamarque-lvs.blogspot.com.br/2013/03/plasma-nm-ap-master-mode-for-wifi.html">wifi ap-mode</a> for more stable and secure wifi connection sharing. This is the main reason for using NetworkManager 0.9.8;</li>
<li>bridge support;</li>
<li>more connection states to <a href="http://bugs.kde.org/320533">correctly handle notifications</a> about... guess what? Connection states.</li>
</ul>
<br />
<br />
Even <a href="http://lamarque-lvs.blogspot.com.br/2013/06/plasma-nm-0909.html">Plasma NM 0.9.0.9</a> now depends on NetworkManager 0.9.8.x because of <a href="http://bugs.kde.org/320533">bug 320533</a>. Ok that 320533 is a small bug, if you do not want or cannot upgrade NetworkManager to 0.9.8.x you can still use Plasma NM 0.9.0.8, there is little difference between <a href="http://lamarque-lvs.blogspot.com.br/2013/03/plasma-nm-0908.html">Plasma NM 0.9.0.8</a> and 0.9.0.9. However, I think it is reasonable that NetworkManagerQt depends on the latest stable NetworkManager version. After all NetworkManagerQt is not a stable library yet, we do not even keep binary compatibility for now. Sure we are going to keep binary compatibility from first NetworkManagerQt release on though.<br />
<br />
I plan to keep NetworkManager 0.9.8.0 as dependency for NetworkManagerQt 0.9.8.0 (first release), so this problem should be mitigated as distributions continue to pack NetworkManager 0.9.8.x. Minimum NetworkManager required is going to be bumped only when really necessary, which was the case for the wifi ap-mode.Lamarquehttp://www.blogger.com/profile/02689491144609928238noreply@blogger.com7