<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7975497871979859339</id><updated>2024-09-07T18:10:22.803-07:00</updated><title type='text'>LINUX</title><subtitle type='html'>I am using LINUX as OS and Lazarus for programming. Here are some issues I came across and the solutions I have found. I hope someone will find my posts useful...&#xa;&#xa;PS: A lot of credit goes to Linux/OpenSUSE/Lazarus community. Any suggestions, questions, observations or comments are welcomed!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-5462544421670390319</id><published>2021-12-19T10:13:00.002-08:00</published><updated>2021-12-19T11:41:31.199-08:00</updated><title type='text'>Ubuntu 20.04 - A few things to do</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;u&gt;1) Connect to VPN&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;In order for a VPN PPTP connection to work, you must do the following:&lt;/p&gt;&lt;div dir=&quot;auto&quot; style=&quot;background-color: white; font-family: Helvetica, Arial, sans-serif; font-size: 12px;&quot;&gt;&lt;div class=&quot;dati1w0a ihqw7lf3 hv4rvrfc ecm0bbzt&quot; id=&quot;jsc_c_1j&quot; style=&quot;font-family: inherit; padding: 4px 16px 16px;&quot;&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua a8c37x1j keod5gw0 nxhoafnm aigsh9s9 fe6kdd0r mau55g9w c8b282yb d9wwppkn hrzyx87i jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; dir=&quot;auto&quot; style=&quot;display: block; font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; color=&quot;var(--primary-text)&quot; style=&quot;font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;1)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Edit &lt;/span&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; style=&quot;font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;/etc/ufw/before.rules&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: 0.9375rem;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: 0.9375rem;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;2)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit; font-size: 0.9375rem;&quot;&gt;Add the following lines before segment # drop INVALID packets …&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; style=&quot;font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;# gre&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; style=&quot;font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;-A ufw-before-input -p 47 -j ACCEPT&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; style=&quot;font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;-A ufw-before-output -p 47 -j ACCEPT&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;b&gt;3)&lt;/b&gt; Save file&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: 0.9375rem;&quot;&gt;&lt;span style=&quot;font-weight: 600;&quot;&gt;4)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit; font-size: 0.9375rem;&quot;&gt;Restart ufw:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; style=&quot;font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;sudo ufw disable&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; style=&quot;font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #2b00fe;&quot;&gt;sudo ufw enable&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;color: var(--primary-text); font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; color=&quot;var(--primary-text)&quot; style=&quot;font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;color: var(--primary-text); font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;span class=&quot;d2edcug0 hpfvmrgz qv66sw1b c1et5uql b0tq1wua jq4qci2q a3bd9o3v b1v8xokw oo9gr5id&quot; color=&quot;var(--primary-text)&quot; style=&quot;font-family: inherit; font-size: 0.9375rem; line-height: 1.3333; max-width: 100%; min-width: 0px; overflow-wrap: break-word; word-break: break-word;&quot;&gt;Credit goes to:&amp;nbsp;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;a class=&quot;oajrlxb2 g5ia77u1 qu0x051f esr5mh6w e9989ue4 r7d6kgcz rq0escxv nhd2j8a9 nc684nl6 p7hjln8o kvgmc6g5 cxmmr5t8 oygrvhab hcukyx3x jb3vyjys rz4wbd8a qt6c0cv9 a8nywdso i1ao9s8h esuyzwwr f1sip0of lzcic4wl gpro0wi8 py34i1dx&quot; href=&quot;https://www.itprotoday.com/security/which-ports-do-you-need-open-firewall-allow-pptp-and-l2tp-over-ipsec-vpn-tunnels?fbclid=IwAR0X1RQyoTm62a41FduvoeJ83_EdNrUt3CbmKGCnogA-PWa_jby6Q4v9RjE&quot; rel=&quot;nofollow noopener&quot; role=&quot;link&quot; style=&quot;-webkit-tap-highlight-color: transparent; background-color: transparent; border-color: initial; border-style: initial; border-width: 0px; box-sizing: border-box; cursor: pointer; display: inline; font-family: inherit; list-style: none; margin: 0px; outline: none; padding: 0px; text-align: inherit; text-decoration-line: none; touch-action: manipulation;&quot; tabindex=&quot;0&quot; target=&quot;_blank&quot;&gt;https://www.itprotoday.com/.../which-ports-do-you-need...&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;color: var(--primary-text); font-family: inherit; margin-bottom: 8px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;bi6gxh9e&quot; style=&quot;color: var(--primary-text); font-family: inherit; margin-bottom: 8px;&quot;&gt;Now, a VPN client can be created from Network menu&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;l9j0dhe7&quot; id=&quot;jsc_c_1k&quot; style=&quot;background-color: white; color: #1c1e21; font-family: Helvetica, Arial, sans-serif; font-size: 12px; position: relative;&quot;&gt;&lt;div class=&quot;l9j0dhe7&quot; style=&quot;font-family: inherit; position: relative;&quot;&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;div class=&quot;b3i9ofy5 l9j0dhe7&quot; style=&quot;background-color: var(--comment-background); font-family: inherit; position: relative;&quot;&gt;&lt;div class=&quot;j83agx80 soycq5t1 ni8dbmo4 stjgntxs l9j0dhe7&quot; style=&quot;display: flex; font-family: inherit; line-height: 0; overflow: hidden; position: relative;&quot;&gt;&lt;a class=&quot;oajrlxb2 g5ia77u1 qu0x051f esr5mh6w e9989ue4 r7d6kgcz rq0escxv nhd2j8a9 nc684nl6 p7hjln8o kvgmc6g5 cxmmr5t8 oygrvhab hcukyx3x jb3vyjys rz4wbd8a qt6c0cv9 a8nywdso i1ao9s8h esuyzwwr f1sip0of lzcic4wl gmql0nx0 gpro0wi8 datstx6m k4urcfbm&quot; href=&quot;https://www.itprotoday.com/security/which-ports-do-you-need-open-firewall-allow-pptp-and-l2tp-over-ipsec-vpn-tunnels?fbclid=IwAR1N0_5epGdz5x5eBfSl3LjH-lpgPK3tq9lvwkJhF3-IoYTPO20A2tOcuCI&quot; rel=&quot;nofollow noopener&quot; role=&quot;link&quot; style=&quot;-webkit-tap-highlight-color: transparent; background-color: transparent; border-color: initial; border-style: initial; border-width: 0px; box-sizing: border-box; cursor: pointer; display: inline; font-family: inherit; height: 261px; list-style: none; margin: 0px; outline: none; padding: 0px; text-align: inherit; text-decoration-line: none; touch-action: manipulation; width: 500px;&quot; tabindex=&quot;0&quot; target=&quot;_blank&quot;&gt;&lt;div class=&quot;bp9cbjyn cwj9ozl2 j83agx80 cbu4d94t ni8dbmo4 stjgntxs l9j0dhe7 k4urcfbm&quot; style=&quot;align-items: center; background-color: var(--card-background); display: flex; flex-direction: column; font-family: inherit; overflow: hidden; position: relative; width: 500px;&quot;&gt;&lt;div style=&quot;font-family: inherit; max-width: 100%; min-width: 500px; width: calc((100vh + -325px) * 1.91571);&quot;&gt;&lt;div class=&quot;do00u71z ni8dbmo4 stjgntxs l9j0dhe7&quot; style=&quot;font-family: inherit; height: 0px; overflow: hidden; padding-top: 261px; position: relative;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/5462544421670390319/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2021/12/ubuntu-2004-few-things-to-do.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/5462544421670390319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/5462544421670390319'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2021/12/ubuntu-2004-few-things-to-do.html' title='Ubuntu 20.04 - A few things to do'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-8954895825333758621</id><published>2018-12-06T12:59:00.006-08:00</published><updated>2023-07-08T22:42:38.685-07:00</updated><title type='text'>Kubuntu 18.04 Remote Desktop Connection - from Windows and Linux</title><content type='html'>&lt;b&gt;(1) Xrdp Server&lt;/b&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Just type:&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;sudo apt install xrdp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;sudo systemctl enable xrdp&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Then you can use Windows Remote Desktop or Remmina on Linux to connect to your system&lt;br /&gt;
If you want acces from internet, open/route port 3389&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;(2) Google Chrome Remote Desktop Connection&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Well, not much to be said here: you need Chrome, then just follow the wizards. The best part is that if associate it with your Google Account, you can easy use it across all your devices that support Chrome, and there is also a application for Android&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;In Windows it works out of the box. In Linux, however, there might be some things to do:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;- You must add your user to group &quot;chrome-remote-desktop&quot;&lt;/div&gt;&lt;div&gt;- You must create a folder with the following command (apparently it&#39;s a bug and that&#39;s the sollution):&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier; font-size: x-small;&quot;&gt;mkdir ~/.config/chrome-remote-desktop&lt;/span&gt;&lt;/div&gt;&lt;div&gt;- It might not work with Ubuntu Unity, so I installed lxde&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;&lt;span color=&quot;var(--black-800)&quot; face=&quot;Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2b00fe; font-family: courier;&quot;&gt;sudo apt-get install lxde&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After installation and configuration restart the system&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/8954895825333758621/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2018/12/kubuntu-1804-remote-desktop-connection.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8954895825333758621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8954895825333758621'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2018/12/kubuntu-1804-remote-desktop-connection.html' title='Kubuntu 18.04 Remote Desktop Connection - from Windows and Linux'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-6264486238239590644</id><published>2018-10-22T09:25:00.000-07:00</published><updated>2019-06-09T01:37:59.023-07:00</updated><title type='text'>Kubuntu 18.04 / KDE 5.12.6 - A few thoughts and things to do</title><content type='html'>[This post is a work in progress. I will add things until I change Linux version/distribution. Again]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;1) KDE Desktop crashes when changing virtual destops.&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Apparently, the solution is to open System Setting &amp;gt; Desktop Behavior &amp;gt; Virtual Desktops &amp;gt; Switching and disable &quot;Desktop Switching On-screes Display&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;2) System enters stabdby on startup if the laptop lead is closed&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
I had that problem on OpenSuSE some yars ago. I thought it was solved years ago.&lt;br /&gt;
Edit the file &lt;span style=&quot;color: blue;&quot;&gt;/etc/systemd/login.conf &lt;/span&gt;and make sure you have the following uncommented lines:&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;HandleLidSwitch=ignore&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;HandleLidSwitchDocked=ignore&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;3) BlueTooth is always on by default&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
We SHOULD BE able to change the default value from BlueTooth interface. Well, in 2018, after so many years of developing operating systems, we are not. For me it&#39;s not working, but some said that the following worked:&lt;br /&gt;
&lt;br /&gt;
Edit the file&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;/etc/bluetooth/main.conf&amp;nbsp;&lt;/span&gt;and make sure you have one of the following uncommented lines:&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;AutoEnable=false&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;InitiallyPowered = false&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;4) Prevent FPC/Lazarus from automatic updates&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
...Because it will be a mess.&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;sudo apt-mark hold fpc&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;sudo apt-mark hold fpc-src&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;sudo apt-mark hold lazarus&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;5) Speed up boot time&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;/span&gt;

I managed to speed up boot time by doing the following:&lt;br /&gt;
&lt;br /&gt;
a) Reduce the log history by limiting it to 5 days (not sure it is a good idea)&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo journalctl --vacuum-time=5d&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
b) Delay the apt-daily.service which shouldn&#39;t run at startup. So...&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo systemctl edit apt-daily.timer&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
...then paste this and save:&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;# apt-daily timer configuration override&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;[Timer]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;OnBootSec=15min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;OnUnitActiveSec=1d&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;AccuracySec=1h&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;RandomizedDelaySec=30min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit; white-space: inherit;&quot;&gt;Source:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://askubuntu.com/questions/800479/ubuntu-16-04-slow-boot-apt-daily-service&quot;&gt;https://askubuntu.com/questions/800479/ubuntu-16-04-slow-boot-apt-daily-service&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/6264486238239590644/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2018/10/kubuntu-1804-kde-5126-few-thoughts.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/6264486238239590644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/6264486238239590644'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2018/10/kubuntu-1804-kde-5126-few-thoughts.html' title='Kubuntu 18.04 / KDE 5.12.6 - A few thoughts and things to do'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-8453887671661719020</id><published>2018-10-17T13:00:00.003-07:00</published><updated>2019-09-29T13:29:20.904-07:00</updated><title type='text'>Lazarus/FPC/ compile from Kubuntu 18.04 (64) to Linux 32, Windows 64 , Windows 32</title><content type='html'>I have a Linux Kubuntu 18.04 64 bit version.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Compile to Linux 32&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
1)&amp;nbsp; &lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;sudo apt-get install libc6-dev-i386&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp; sudo apt-get install g++-7-multilib&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp; sudo apt-get install gcc-multilib&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
2) Create a text file on Desktop and name it script.sh (for example)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Open the file with a text editor (Kate for example) and add the following text:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;#!/bin/bash&lt;br /&gt; &lt;br /&gt;# Create /usr/bin/i386-linux-ld&lt;br /&gt;cat &amp;gt;/usr/bin/i386-linux-ld &amp;lt;&amp;lt; EOF&lt;br /&gt;#!/bin/bash&lt;br /&gt;ld -A elf32-i386 $@&lt;br /&gt;EOF&lt;br /&gt;chmod +x /usr/bin/i386-linux-ld&lt;br /&gt; &lt;br /&gt;# Create /usr/bin/i386-linux-as&lt;br /&gt;cat &amp;gt;/usr/bin/i386-linux-as &amp;lt;&amp;lt; EOF&lt;br /&gt;#!/bin/bash&lt;br /&gt;as --32 $@&lt;br /&gt;EOF&lt;br /&gt;chmod +x /usr/bin/i386-linux-as &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Save the file and close the editor.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Right-click on file, ghive it all permissions and mark it as executable.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Run the file.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Run the following commands:&lt;br /&gt;
&lt;span class=&quot;kw2&quot; style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;which&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt; i386-linux-ld&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;de1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;co4&quot;&gt;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;which&lt;/span&gt; i386-linux-as&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&amp;nbsp;&amp;nbsp; If they return the location of the files, then the script was successful&lt;br /&gt;
&lt;br /&gt;
3) Run the following commands:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;cd /usr/share/fpcsrc/&amp;lt;version&amp;gt;  (in my case: cd /usr/share/fpcsrc/3.0.4)&lt;br /&gt;sudo make all CPU_TARGET=i386 &lt;br /&gt;sudo make crossinstall CPU_TARGET=i386 &lt;br /&gt;sudo make crossinstall CPU_TARGET=i386 INSTALL_PREFIX=/usr&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sudo ln -sf /usr/lib/fpc/&amp;lt;version&amp;gt;/ppcross386 /usr/bin/ppcross386&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;Locate the file &lt;span style=&quot;color: blue;&quot;&gt;/etc/fpc.cfg&lt;/span&gt; end open it with a text editor (like Kate).&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Locate the following lines:&lt;br /&gt;
&lt;div class=&quot;mw-geshi mw-code mw-content-ltr&quot; dir=&quot;ltr&quot;&gt;
&lt;div class=&quot;bash source-bash&quot;&gt;
&lt;pre class=&quot;de1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#ifdef cpui386&lt;/span&gt;
-Fl&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;lib&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gcc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;x86_64-linux-gnu&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;de1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;nu0&quot;&gt;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;co0&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;#endif &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&amp;nbsp; and modify them like this&lt;br /&gt;
&lt;div class=&quot;mw-geshi mw-code mw-content-ltr&quot; dir=&quot;ltr&quot;&gt;
&lt;div class=&quot;bash source-bash&quot;&gt;
&lt;pre class=&quot;de1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#ifdef cpui386&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;de1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;nu0&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;-Fl&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;lib&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gcc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;x86_64-linux-gnu&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;7/32&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;de1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;-Fl&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;lib32
&lt;span class=&quot;co0&quot;&gt;#endif&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;Save the file and close&lt;br /&gt;
&lt;br /&gt;
4) create the following links (many thanks: &lt;a href=&quot;https://tondrej.blogspot.com/2015/05/fpc-and-lazarus-development-environment.html&quot;&gt;https://tondrej.blogspot.com/2015/05/fpc-and-lazarus-development-environment.html&lt;/a&gt;) :&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 /usr/lib/i386-linux-gnu/libgobject-2.0.so&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /lib/i386-linux-gnu/libglib-2.0.so.0 /lib/i386-linux-gnu/libglib-2.0.so &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 /usr/lib/i386-linux-gnu/libgthread-2.0.so&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 /usr/lib/i386-linux-gnu/libgmodule-2.0.so&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libpango-1.0.so.0 /usr/lib/i386-linux-gnu/libpango-1.0.so &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libcairo.so.2 /usr/lib/i386-linux-gnu/libcairo.so &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 /usr/lib/i386-linux-gnu/libpangocairo-1.0.so&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libatk-1.0.so.0 /usr/lib/i386-linux-gnu/libatk-1.0.so &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo ln -s /usr/lib/i386-linux-gnu/libglib-2.0.so.0 /usr/lib/i386-linux-gnu/libglib-2.0.so&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Now it should work! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Compile to Windows 32&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Simple and easy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;cd /usr/share/fpcsrc/&amp;lt;version&amp;gt;  (in my case: cd /usr/share/fpcsrc/3.0.4)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sudo make clean all OS_TARGET=win32 CPU_TARGET=i386&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sudo make crossinstall OS_TARGET=win32 CPU_TARGET=i386 INSTALL_PREFIX=/usr &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sudo ln -sf /usr/lib/fpc/&amp;lt;version&amp;gt;/ppcross386 /usr/bin/ppcross386&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Compile to Windows 64&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Just as simple and easy&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;cd /usr/share/fpcsrc/&amp;lt;version&amp;gt;  (in my case: cd /usr/share/fpcsrc/3.0.4)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sudo make clean all OS_TARGET=win64 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sudo make crossinstall OS_TARGET=win64 INSTALL_PREFIX=/usr&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sudo ln -sf /usr/lib/fpc/&amp;lt;version&amp;gt;/ppcx64 /usr/bin/ppcx64&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: small;&quot;&gt;It might be necessary to edit the file&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: small;&quot;&gt;/etc/fpc.cfg&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: small;&quot;&gt;&amp;nbsp;and add the following line:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;de1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;-Fl&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;lib&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;gcc&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;x86_64-linux-gnu&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/8453887671661719020/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2018/10/lazarusfpc-compile-from-linux-64-to.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8453887671661719020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8453887671661719020'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2018/10/lazarusfpc-compile-from-linux-64-to.html' title='Lazarus/FPC/ compile from Kubuntu 18.04 (64) to Linux 32, Windows 64 , Windows 32'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-5054076570351317467</id><published>2018-10-16T12:37:00.000-07:00</published><updated>2019-01-26T00:31:55.666-08:00</updated><title type='text'>Kubuntu 18.04 - running 32 bit program on 64 bit system</title><content type='html'>In order to run 32 bit program on a 64 bit system, some packages are required. For me, the following commands did the job:&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;sudo dpkg --add-architecture i386&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;sudo apt-get update&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;sudo apt-get install libgtk2.0-0:i386&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;sudo apt-get install gnome-themes-extra gnome-themes-extra:i386&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;When installing a i386 package, if it announce you that it must remove some packages because they are no longer required, you should be careful: it might actually remove 64 bit packages and you will get a broken system.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/5054076570351317467/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2018/10/kubuntu-1804-running-32-bit-program-on.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/5054076570351317467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/5054076570351317467'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2018/10/kubuntu-1804-running-32-bit-program-on.html' title='Kubuntu 18.04 - running 32 bit program on 64 bit system'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-8190149714943887162</id><published>2017-12-29T22:19:00.000-08:00</published><updated>2017-12-29T22:19:11.828-08:00</updated><title type='text'>Mint 18.2 / KDE Connect - firewall and writing permission</title><content type='html'>&amp;nbsp; &amp;nbsp; &amp;nbsp;In order for KDE Connect to work, the appropriate ports in Mint firewall must be opened. The simplest way to do it is trough command line like this:&lt;div&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;sudo ufw allow 1714:1764/udp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;sudo ufw allow 1714:1764/tcp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;sudo ufw reload&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Another problem with KDE Connect was an error about writing to file&amp;nbsp; &lt;span style=&quot;color: #3d85c6;&quot;&gt;/home/neklar/.local/share/&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;user-places.xbel&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;     Solution:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;     1. open Dolphin as root (sudo dolphin) and go to specified folder&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;     2. right-click on files, Properties&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;     3. in Permission section give to &quot;Others&quot; permission to read and write&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;     4. click OK&lt;/span&gt;&lt;/div&gt;
&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/8190149714943887162/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2017/12/mint-182-kde-connect-firewall-and.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8190149714943887162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8190149714943887162'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2017/12/mint-182-kde-connect-firewall-and.html' title='Mint 18.2 / KDE Connect - firewall and writing permission'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-2041473895752778648</id><published>2017-10-21T13:32:00.000-07:00</published><updated>2017-10-21T13:44:41.525-07:00</updated><title type='text'>From OpenSuSE 32 bits to Mint 64 bits: The Problems of Idealism</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;From 32 bits to 64 bits: the theory&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
After 8 (eight) years I decided that it is time to change my good old laptop. Not because it was not working anymore, but because it was just too old. So, I bought a new i5 with 4 GB RAM, 1 TB HDD and nVidia GeForce 940MX video card.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Everybody is saying: 32 bits is dead, has no future, so switch to 64 bits as soon as possible. I keep hearing this for some years... So if I have a new system, let&#39;s install a 64 bits OS. And since OpenSuSE no longer came in 32 bits version and because I&#39;m using it since 2011, the new SuSE Leap was the obvious choice...&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;From SuSE to Mint&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I really don&#39;t know what&#39;s the problem with SuSE Leap. I&#39;d prefer a longer release cycle in order to have a more trustworthy system. I knew that there will be some issues, but I never expected not to be able to install the nVidia drivers so that the system can work acceptable.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I started to install SuSE Leap... everything was fine. The video card started with the &quot;nouveu&quot; drivers, as expected... So I installed the proprietary nVidia ones. But the video card just didn&#39;t work. I tried everything I knew... I made another clean installation.. then another and then another. I read everything I could find on forums, blogs or articles. After 3 days and some 10 clean installations, I decided to try another distribution, because I was beginning to suspect that my new laptop might have an issue...&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
So, I downloaded Mint 64 (for a moment I even considered Windows), I installed it, and the first thing it asked me (after installation) was that if I want to use the proprietary nVidia drivers. I said yes, it installed something, asked for reboot, and... everything was just working! 3 days of failures were solved in less than one hour.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The reason I chose SuSE back in 2011 was that I liked that distribution: it was secure, reliable, faster than the popular Ubuntu (at least on m computer), &quot;made in Europe&quot; and I really loved YaST (I still do, it&#39;s superior to anything Mint had to show so far - my opinion, of course). By using it daily, it was my way of supporting it. But... I didn&#39;t have more days to spare, so &quot;good bye SuSE&quot;. After all, Linux is, by definition, the freedom of choice. I just don&#39;t like the fact that I HAD TO change in stead of WANT TO. But that&#39;s the problem with idealism...&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;From 32 bits to 64 bits: the reality&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Well, my idealism was about to be forced again. For years I was using Mozilla Firefox, for the same reason: I could choose. So, I chose to support a certain organisation (Mozilla) because Google does not need more support (it has plenty). Everything appeared to be fine, until I tried to play AngryBirds from Facebook. It wasn&#39;t working. I started to google for that error, only to find out that it was something about the 64 bits version. So, 32 bits is dead, 64 bits is the future, but the first is working and the other one is not?! Ok, I don&#39; really need AngryBirds. Then I tried to access my Netflix account (I am also a StarTrek fan) and it wasn&#39;t working either. That moment I decided to give Chrome a try, to see if it&#39;s a Firefox problem, a 64 bit problem or a Linux problem. Like in SuSE case, everithing just vorked in Chrome (AngryBirds, Netflix, even HBO-Go, although I was told that HBO-Go does not work on Linux). Maybe those issues can be fixed; maybe there is a workaround; with no more time to spare, I uninstalled Firefox and made Chrome my default browser.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Another problem is with the 32 bits applications. They have to work. like I said, 32 bit is dead, but for some strange reason, everybody is still using it and most applications are still created for 32 bits OS. I don&#39;t know how many packages I had to install in order to get things work... maybe I will write another blog about this, if I can remember everything.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Then came my real problem and test: how many issues will I have with Lazarus on a 64 bits OS? Will I be able to compile my projects? In short? yes, but in another 3 days of try, error and search.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ready to work. Really?&lt;/b&gt;&lt;br /&gt;
I installed Lazarus for Debian with very little problems, except for the software management of Mint (did I say that I miss YaST?). No problem, I&#39;m starting to know how to use &quot;apt-get install&quot;. I knew that there will be issues with the &quot;integer&quot; type, but again I had problems finding the documentation for 64 bits... everybody is writhing about the dead 32 bits version, with little reference to what might happen if you try to compile for 64 bits. My people has a saying with the following approximate translation: &quot;about the dead ones we will say only good things&quot;.&lt;br /&gt;
So, I have to compile in Lazarus for 32 bit systems, both Linux and Windows. It took me about 3 days to figure it out and that&#39;s another story...&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/2041473895752778648/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2017/10/from-opensuse-32-bits-to-mint-64-bits.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/2041473895752778648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/2041473895752778648'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2017/10/from-opensuse-32-bits-to-mint-64-bits.html' title='From OpenSuSE 32 bits to Mint 64 bits: The Problems of Idealism'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-644951674619181183</id><published>2017-07-10T12:49:00.000-07:00</published><updated>2017-07-10T12:49:58.058-07:00</updated><title type='text'>OpenSuSE 13.2 file limit / Too many files opened error</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
After having some trouble with &quot;too many files opened&quot; error, I made some research and I found out that Linux has by default some limits concerning maximum number of files that a user can open. Fortunately, we can change that.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
First let&#39;s see how many files can we open. So, in a terminal type&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ulimit -n&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
It will return the number of files. Default is 1024.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
To change that limit, do the following:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1) Open Dolphin as root&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
2) Go to&amp;nbsp; /etc/security/ and open file &lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;limits.conf&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
3) At the end of the file add the following:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; soft&amp;nbsp;&amp;nbsp;&amp;nbsp; nofile&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096&lt;br /&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hard&amp;nbsp;&amp;nbsp;&amp;nbsp; nofile&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10240&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
4) Save and restart.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
5) Open a terminal and type ulimit -n again. It should return 4096. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Observations: &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- This will increase the number of files for all users. If you want to modify those values for only one user, it is possible, but I didn&#39;t try. Basically, you should replace the * character at the beginning of the line with the username (?)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- Do not omit the * character at the beginning of the line. it means &quot;all users&quot;. A line must have 4 parameters, * being the first.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
- The values I used are those recommended on different forums. I can&#39;t offer an explanation for them.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/644951674619181183/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2017/07/opensuse-132-file-limit-too-many-files.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/644951674619181183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/644951674619181183'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2017/07/opensuse-132-file-limit-too-many-files.html' title='OpenSuSE 13.2 file limit / Too many files opened error'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-7368936928379079121</id><published>2017-02-16T14:04:00.001-08:00</published><updated>2017-02-16T14:04:21.867-08:00</updated><title type='text'>Lazarus / FPC / OpenSuSE 13.2 - Problems with &quot;Backspace&quot; and &quot;Delete&quot;</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I noticed recently that when I try to delete a character in a TEdit box, the &quot;Backspace&quot; and &quot;Delete&quot; keys are not acting the right way. More specifically, after deleting the required character, the cursor was jumping to the right. Only on Linux, no problems on Windows&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; After a lot of search and with support from Lazarus/FPC community, here is the solution:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1) Open Dolphin as root&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
2) Edit the file &lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/usr/lib/lazarus/lcl/interfaces/gtk2/gtk2callback.inc&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;showSection_25164&quot;&gt;&lt;/span&gt;&lt;span id=&quot;showSection_25164&quot;&gt;&lt;/span&gt; and modify the line 604 like this:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt; // if (gtk_major_version = 2) and (gtk_minor_version &amp;lt; 17) then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
3) Edit the file &lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/usr/lib/lazarus/lcl/interfaces/gtk2/gtk2widgetset.inc&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;showSection_25164&quot;&gt;&lt;/span&gt;&lt;span id=&quot;showSection_25164&quot;&gt;&lt;/span&gt; and modify the line 465 like this:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt; // if (gtk_major_version = 2) and (gtk_minor_version &amp;lt; 17) then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Basically, you have to &quot;comment&quot; those lines so that they are not executed anymore&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
4) Rebuild Lazarus (open Lazarus, go to &quot;Tools&quot; and select &quot;Build Lazarus&quot;)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Done! &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here is the original bug report on Lazarus official page: &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://bugs.freepascal.org/view.php?id=30596&quot;&gt;http://bugs.freepascal.org/view.php?id=30596&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/7368936928379079121/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2017/02/lazarus-fpc-opensuse-132-problems-with.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/7368936928379079121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/7368936928379079121'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2017/02/lazarus-fpc-opensuse-132-problems-with.html' title='Lazarus / FPC / OpenSuSE 13.2 - Problems with &quot;Backspace&quot; and &quot;Delete&quot;'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-5729623884332525822</id><published>2017-01-06T12:39:00.002-08:00</published><updated>2017-01-06T12:39:35.048-08:00</updated><title type='text'>OpenSuSE 13.2 / TeamViewer &quot;not ready&quot;, &quot;connection error&quot;</title><content type='html'>After some years of using teamViewer with no problems, yesterday, out of the blue, it started to give a &quot;connection error&quot;. Reboot didn&#39;t work, but the solution is, actualy, a restart of TeamViewer. So, just open a terminal and type:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #6fa8dc;&quot;&gt;sudo teamviewer daemon stop&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sudo teamviewer daemon start&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/5729623884332525822/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2017/01/opensuse-132-teamviewer-not-ready.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/5729623884332525822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/5729623884332525822'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2017/01/opensuse-132-teamviewer-not-ready.html' title='OpenSuSE 13.2 / TeamViewer &quot;not ready&quot;, &quot;connection error&quot;'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-6564889962028085221</id><published>2016-09-29T04:57:00.001-07:00</published><updated>2018-10-23T08:46:30.117-07:00</updated><title type='text'>OpenSuSE 13.2 - connect to Windows Remote Desktop</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In order to remotely connect to a Windows Server 2012, I have tested 2 programs: KRDC and Remmina. Both works quite fine, with a plus for Remmina, which allows printer sharing. Let&#39;s take a look at them.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;KRDC&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; KRDC is made by KDE and I found it installed by default. At least, I don&#39;t remember installing it by myself. It does not require anything special, it just works, even on a slower connection. It is easy to configure. It has a &quot;Media sharing&quot; option which I couldn&#39;t figure out what it does. It does not has a &quot;Printer sharing&quot; option and I couldn&#39;t find a &quot;File sharing&quot; option. Maybe the &quot;Media sharing&quot; option can be used, but I don&#39;t know how.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In short, for a simple remote control it&#39;s just what you need, especially on a KDE desktop.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Remmina Remote Desktop&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; Remmina is more sophisticated. It can be easily installed through Yast: just open and search for Remmina. Pay attention, you must also install &lt;i&gt;&lt;b&gt;remmina-plugin-rdp&lt;/b&gt;&lt;/i&gt; in order to connect to a Windows Remote Desktop&lt;b&gt;.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; Once installed, it is about just as easy to configure and use as KRDC. Subjectively speaking, I think it requires a fastest connection connection. However, it has &quot;File sharing&quot; and &quot;Printer sharing&quot;. In a very strange way, printer sharing will work only if you enable the &quot;Sound&quot; option as &quot;Local&quot;. Concerning printer, in my case it didn&#39;t print the whole page no matter what setting I tried: the first 3 lines were just missing. I don&#39;t know it it was a driver-problem on Linux side or a Remmina-problem.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &quot;File sharing&quot; is working fine. Just select a folder in configuration options and it will appear as a virtual drive on Windows side. No problems. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;My conclusion:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remmina is more complete. However, if you need to rely on it for printing, make sure you test it.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;[UPDATE]&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/b&gt;For some strange reason, this morning Remmina refused to connect to server, saying &quot;Unable to connect&quot; The solution was to delete the file &lt;b&gt;/home/neklar/.freerdp/known_hosts&lt;/b&gt; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/6564889962028085221/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2016/09/opensuse-132-connect-to-windows-remote.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/6564889962028085221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/6564889962028085221'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2016/09/opensuse-132-connect-to-windows-remote.html' title='OpenSuSE 13.2 - connect to Windows Remote Desktop'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-3999938879072932551</id><published>2016-09-25T14:01:00.002-07:00</published><updated>2016-11-16T09:36:02.648-08:00</updated><title type='text'>OpenSuSE 13.2 / ACER laptop - system goes to sleep</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a ACER laptop for quite some time (2009). Most of the time I use it as a desktop computer: the lid is closed and the image goes to a&amp;nbsp; external monitor. Of course, I disabled the lid-event in order to prevent the system to go to sleep. I never had any problems with that.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; However, this morning, after applying some updates, the system started to behave differently: it was going to sleep every 20 seconds or so, without any obvious reason. I checked all the settings and everything appeared to be normal. If I opened the lid, it was not going to sleep anymore, but when I closed it back, the same problem returned. Ok, I can stay with the lid open, but I don&#39;t like it that way.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, I have some possibilities:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1) the system is too old and it&#39;s showing its age&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2) there is a new setting after the update and I cannot found it&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3) there is a bug in the update (either a driver or a setting)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I don&#39;t have an answer, but after google-ing a while I have a solution (or, at least, a workaround): I forced the system to ignore the lid.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1) Open Dolphin a SuperUser (you need root access)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
2) Edit the file &lt;b&gt;/etc/systemd/logind.conf&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
3) Add (or modify if it already exists) the following line: &lt;b&gt;HandleLidSwitch=ignore &lt;/b&gt;(also make shure it does not have the &lt;b&gt;#&lt;/b&gt; character in front of it; this character marks a line as comment and it will be ignored)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
4) Save and reboot&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/3999938879072932551/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2016/09/opensuse-132-acer-laptop-systemgoes-to.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/3999938879072932551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/3999938879072932551'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2016/09/opensuse-132-acer-laptop-systemgoes-to.html' title='OpenSuSE 13.2 / ACER laptop - system goes to sleep'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-2792164707294523486</id><published>2016-02-29T10:07:00.000-08:00</published><updated>2016-02-29T11:44:37.677-08:00</updated><title type='text'>DropBox / OpenSuSE 13.2 /  SysTry icon=?</title><content type='html'>For some strange reason, DropBox icon does not appear in SysTry on OpenSuSE 13.2. I couldn&#39;t find a solution or a workaround, so... I designed my own application.&lt;br /&gt;
Here it is:&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/sh/if0g7xwgcksdow5/AACREupcxQh_1pYy7JYHwIRDa?dl=0&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;https://www.dropbox.com/sh/if0g7xwgcksdow5/AACREupcxQh_1pYy7JYHwIRDa?dl=0&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In Lazarus/FPC, of course.&lt;br /&gt;
OK, it&#39;s not a complete app: it just reads the status of the Dropbox an changes the color of the SysTry icon, but that&#39;s good enough for me </content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/2792164707294523486/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2016/02/dropbox-opensuse-132-systry-icon.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/2792164707294523486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/2792164707294523486'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2016/02/dropbox-opensuse-132-systry-icon.html' title='DropBox / OpenSuSE 13.2 /  SysTry icon=?'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-8324389708544354201</id><published>2015-11-22T15:04:00.000-08:00</published><updated>2016-03-04T01:36:39.958-08:00</updated><title type='text'>Games on OpenSuSE</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
Here are some games and some issues I came across&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Jedi Academy&lt;/b&gt;&lt;br /&gt;
There is a port for Linux of Jedi Academy. However, I have the old Windows versions and it runs excellent in Wine, once you can make it work. So, here are the steps:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;1)&lt;/b&gt; Make sure that your CD-Rom is configured correctly in Wine. Open WineCfg&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;2)&lt;/b&gt; Install the game (should not be any problems)If the game stacks when you should change the CDs, do the following:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp; &lt;i&gt;&lt;b&gt;a)&lt;/b&gt;&lt;/i&gt; Create an ISO image for each CD an put it somewhere where you can find it (I created a directory in Documents&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;b&gt; b)&lt;/b&gt;&lt;/i&gt; Create 2 directories (ISO1 andI SO2) and then 2 virtual devices (one for each image) like this:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;sudo mount -o loop /home/neklar/Documents/JediAcademy/jediAcdCD1.iso /home/neklar/Documents/Jocuri/JediAcademy/ISO1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;color: #76a5af;&quot;&gt;sudo mount -o loop /home/neklar/Documents/JediAcademy/jediAcdCD2.iso /home/neklar/Documents/JediAcademy/ISO2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &lt;i&gt;&lt;b&gt;c)&lt;/b&gt;&lt;/i&gt; Open WineCfg again and mount those 2 devices. go to advanced properties and specify that they are CD-ROMs&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp; &lt;i&gt;&lt;b&gt;d)&lt;/b&gt;&lt;/i&gt; Install the game&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;3)&lt;/b&gt; The Game&#39;s executables are jamp.exe (multiplayer) and jasp.exe (single player). You must locate them, because they have to be modified. Typically, they should be in Wine directory, like mine: &lt;span style=&quot;color: #76a5af;&quot;&gt;/home/neklar/.wine/drive_c/Program Files/LucasArts/Star Wars Jedi Knight Jedi Academy/GameData/&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;4)&lt;/b&gt; A good editor to do the trick is Okteta. If you don&#39;t have it, install it (package okteta)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;5)&lt;/b&gt; With Okteta, open the file jamp.exe. Locate the expression &lt;span style=&quot;color: #76a5af;&quot;&gt;GL_EXTENSIONS %s &lt;/span&gt;, replace &#39;s&#39; with &#39;p&#39; (should look like this: &lt;span style=&quot;color: #76a5af;&quot;&gt;GL_EXTENSIONS %p&lt;/span&gt; ) then save. Do the same for jasp.exe. Start the game from one of those files (single player or multiplayer) and have fun!&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
For me, it works on maximum resolution and with all details, both single and multiplayer&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;b&gt;Pay attention&lt;/b&gt;&lt;/i&gt;: There is a noCD pach (or crack ?!) for it, but it will not work with that.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/8324389708544354201/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2015/11/games-on-opensuse.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8324389708544354201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8324389708544354201'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2015/11/games-on-opensuse.html' title='Games on OpenSuSE'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-123099335492996768</id><published>2015-11-07T12:57:00.001-08:00</published><updated>2015-11-07T12:57:13.423-08:00</updated><title type='text'>OpenSuSE 13.2 / Dell Inspiron 1501 / Broadcom B43 wireless solution</title><content type='html'>I&#39;ve installed OpenSuSE 13.2 on a older Dell Inspiron 1501 laptop. Everithing was fine, except for the wireless card which refused to work. After searching the internet I found out that the problem was the B34 driver. So, here is my solution:&lt;br /&gt;&lt;br /&gt;1) Make sure that the &lt;i&gt;b43-fwcutter&lt;/i&gt; package is installed. Open &lt;i&gt;Software Management&lt;/i&gt;, search for it and install it if it&#39;s not&lt;br /&gt;&lt;br /&gt;2) Open Dolphin as SuperUser and find &lt;i&gt;/usr/sbin/install_bcm43xx_firmware&lt;/i&gt;&lt;br /&gt;
Right click on it and select &lt;i&gt;Actions&amp;gt;Run in Konsole&lt;/i&gt; (so that you can see the output). &lt;br /&gt;&lt;br /&gt;3) Reboot.</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/123099335492996768/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2015/11/opensuse-132-dell-inspiron-1501.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/123099335492996768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/123099335492996768'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2015/11/opensuse-132-dell-inspiron-1501.html' title='OpenSuSE 13.2 / Dell Inspiron 1501 / Broadcom B43 wireless solution'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-2105905965472176016</id><published>2015-09-29T07:56:00.003-07:00</published><updated>2022-03-16T10:52:05.806-07:00</updated><title type='text'>OpenSuSE 13.2 / Snapper / free space on ROOT</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I installed OpenSuSE 13.2 a while ago (about 5 months) and I noticed that the used space on ROOT was growing steadily. I ignored the issue until yesterday, when the free space on root was only 760 MB (from a total of 20GB). &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; After searching the internet for a while, I concluded that &quot;Snapper&quot; was responsible for that situation.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As far as I can tell, Snapper is a backup system, so it creates periodically &quot;snapshots&quot; that can be used for recovery. Since I never used it in about 3 years of LINUX, I decided that I don&#39;t need this application, and I removed it. Result? About 9 (nine) GB free on rood and a visibly faster system. I admit though that my system is no longer a &quot;modern&quot; one, but it&#39;s doing its job: Acer Core 2 Duo 2200 MHz, 3GB RAM, 300GB HDD.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you decide to remove the Snapper, the files created for recovery must also be removed, otherwise you accomplished nothing (except the fact that it will stop growing). So, before you uninstall, you must start Snapper from your program list and there you will find all of the backup files ever created, so you can delete them&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/2105905965472176016/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2015/09/opensuse-132-snapper-free-space-on-root.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/2105905965472176016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/2105905965472176016'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2015/09/opensuse-132-snapper-free-space-on-root.html' title='OpenSuSE 13.2 / Snapper / free space on ROOT'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-5338207101433873384</id><published>2015-09-21T14:07:00.001-07:00</published><updated>2015-11-29T06:58:40.217-08:00</updated><title type='text'>Lazarus / FPC: sort a StringGrid</title><content type='html'>Here it is, a nice simple procedure that sorts a StringGrid. Tested an a 5000 records StringGrid, the sorting is done in about 1-2 seconds&lt;br /&gt;
&amp;nbsp;&amp;nbsp; sg: your stringgrid&lt;br /&gt;
&amp;nbsp;&amp;nbsp; col: column that will be sorted&lt;br /&gt;
&amp;nbsp;&amp;nbsp; numeric: if the values in column are numbers&lt;br /&gt;
&amp;nbsp;&amp;nbsp; asc: ascendent or descendent&lt;br /&gt;
&amp;nbsp;&amp;nbsp; numeric: if datas are numbers &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;procedure sort(sg:tstringgrid;col:integer;asc:boolean=true;numeric:boolean);&lt;br /&gt;var i,c:integer; numeric:boolean; f:string; r:real; negat:boolean; x1:integer; semn,s1,s2:string;&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp; numeric:=false;&lt;br /&gt;&amp;nbsp; negat:=false;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt; if asc=true then sg.SortOrder:=soascending else sg.SortOrder:=sodescending;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; if numeric=false then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sg.SortColRow(true, col, sg.FixedRows, sg.RowCount-1)&lt;br /&gt;&amp;nbsp; else begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f:=&#39;000000000000000.00&#39;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c:=sg.colcount;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sg.ColCount:=c+1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i:=1 to sg.RowCount-1 do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try r:=strtofloat(sg.Cells[col,i]) except r:=0 end;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if r&amp;lt;0 then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; negat:=true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sg.Cells[c,i]:=&#39;-&#39;+formatfloat(f,r);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end else sg.Cells[c,i]:=&#39;+&#39;+formatfloat(f,r);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sg.SortColRow(true, c, sg.FixedRows, sg.RowCount-1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if negat=true then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x1:=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; semn:=sg.Cells[c,0][1];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s1:=semn; s2:=&#39; &#39;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i:=0 to sg.RowCount-1 do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if sg.Cells[c,0][1]&amp;lt;&amp;gt;semn then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; semn:=sg.Cells[c,0][1];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s2:=semn;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x1:=i;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if s1=&#39;-&#39; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if sg.SortOrder=soascending then sg.SortOrder:=sodescending else sg.SortOrder:=soascending;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sg.SortColRow(true, c, sg.FixedRows, x1-1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if s2=&#39;-&#39; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if sg.SortOrder=soascending then sg.SortOrder:=sodescending else sg.SortOrder:=soascending;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sg.SortColRow(true, c, x1, sg.RowCount-1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sg.ColCount:=c;&lt;br /&gt;&amp;nbsp; end;&lt;br /&gt;end;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/5338207101433873384/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2015/09/fpclazarus-sort-stringgrid.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/5338207101433873384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/5338207101433873384'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2015/09/fpclazarus-sort-stringgrid.html' title='Lazarus / FPC: sort a StringGrid'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-8610366186007338842</id><published>2015-09-20T04:43:00.002-07:00</published><updated>2015-11-22T14:25:31.011-08:00</updated><title type='text'>OpenSuSE 13.2 / Quickview plasmoid</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
After switching to OpenSuSE 13.2 I found that a certain plasmoid is no longer available - Quickview. Finally, I found the sources and I managed to install it on my system. I also uploaded it here:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://www.dropbox.com/sh/qj7eit9c3b3uhtt/AACcdlZ-lVnrpajYUZoK4YIFa?dl=0&quot;&gt;https://www.dropbox.com/sh/qj7eit9c3b3uhtt/AACcdlZ-lVnrpajYUZoK4YIFa?dl=0&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Download the archive somewhere where you can use it (Documents, for example) and unpack it (right click &amp;gt; Extract here). You will find a &quot;readme &quot; file with full instructions of how to build and install the plasmoid. Be careful about the required extra packages (kdelibs, libxonq, - devel packages and gettext package) and don&#39;t forget to restart the system. The file also contain proper credit for those who created this plasmoid - I have no contribution&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/8610366186007338842/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2015/09/opensuse-132-quickview-plasmoid.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8610366186007338842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8610366186007338842'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2015/09/opensuse-132-quickview-plasmoid.html' title='OpenSuSE 13.2 / Quickview plasmoid'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-7006774715355199544</id><published>2015-07-06T14:47:00.000-07:00</published><updated>2015-07-06T14:47:14.986-07:00</updated><title type='text'>Lazarus / FPC - run a command and read it&#39;s output, working with system tray; laptop&#39;s battery on OpenSuSE 12.x - 13.1</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For unknown reasons, KDE on OpenSuSE 12.x and 13.1 (so far)
does not recognize correctly the battery of my Acer laptop. It says
“Battery not present”, wich is not true. After some unsuccessful
attempts to fix this, I gave up and decided to write my own program.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In order
for my program to work, it must:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
1) Run a LINUX command line to obtain the battery statistics
and load the output&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
2) Analyse the output an identify the values that are needed&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
3) Create a simple interface to display the results&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
4) Minimise the main form to system tray (and then maximise
if needed)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
5) Change the system tray icon to display the level of the
battery for quick view and artistic impression :-)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
You need:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
- a form&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
- a memo&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
- 2 buttons&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
- a ImageList from Common Controls&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
- a timer&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
- a TrayIcon from Additional&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Doubleclick on ImageList to load the images you like for
different battery states (I created my own, size 16x32) &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
The full program can be downloaded from here&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://www.dropbox.com/sh/d5bw7h3j33vmu5t/AACGFf4616J6QtJWtqaTVLjqa/Battery?dl=0&quot;&gt;https://www.dropbox.com/sh/d5bw7h3j33vmu5t/AACGFf4616J6QtJWtqaTVLjqa/Battery?dl=0 &lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
If you are not interested in the source code, you need only the file BatteryF&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
Here is the full code&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #6fa8dc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;unit Unit1;&lt;br /&gt;&lt;br /&gt;{$mode objfpc}{$H+}&lt;br /&gt;&lt;br /&gt;interface&lt;br /&gt;&lt;br /&gt;uses&lt;br /&gt;&amp;nbsp; Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,&lt;br /&gt;&amp;nbsp; ExtCtrls, Buttons, Process, strutils;&lt;br /&gt;&lt;br /&gt;type&lt;br /&gt;&lt;br /&gt;&amp;nbsp; { TForm1 }&lt;br /&gt;&lt;br /&gt;&amp;nbsp; TForm1 = class(TForm)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ImageList1: TImageList;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Memo1: TMemo;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Panel1: TPanel;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SpeedButton1: TSpeedButton;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SpeedButton2: TSpeedButton;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timer1: TTimer;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TrayIcon1: TTrayIcon;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; procedure FormShow(Sender: TObject);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; procedure SpeedButton1Click(Sender: TObject);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; procedure SpeedButton2Click(Sender: TObject);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; procedure Timer1Timer(Sender: TObject);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; procedure TrayIcon1Click(Sender: TObject);&lt;br /&gt;&amp;nbsp; private&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { private declarations }&lt;br /&gt;&amp;nbsp; public&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { public declarations }&lt;br /&gt;&amp;nbsp; end;&lt;br /&gt;&lt;br /&gt;var&lt;br /&gt;&amp;nbsp; Form1: TForm1;&lt;br /&gt;&amp;nbsp; Bmp: tbitmap;&lt;br /&gt;&amp;nbsp; Bat: integer;&lt;br /&gt;&lt;br /&gt;function get1:tstringlist;&lt;br /&gt;&lt;br /&gt;implementation&lt;br /&gt;&lt;br /&gt;{$R *.lfm}&lt;br /&gt;&lt;br /&gt;{ TForm1 }&lt;br /&gt;&lt;br /&gt;function get1:tstringlist;&lt;br /&gt;var l:tstringlist; Proc1: tprocess; t1,t2:string; i,j,k:integer;&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp;&amp;nbsp; bmp :=tbitmap.Create;&lt;br /&gt;&amp;nbsp;&amp;nbsp; form1.Memo1.Lines.Clear;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; /// run a command line and read the output&lt;br /&gt;&amp;nbsp;&amp;nbsp; /// first we must determine if a battery is present or detected&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; l:=tstringlist.Create;&lt;br /&gt;&amp;nbsp;&amp;nbsp; proc1:=tprocess.Create(form1);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; proc1.Executable:=&#39;upower&#39;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; proc1.Parameters.Add(&#39;-e&#39;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; proc1.Options := proc1.Options + [poWaitOnExit, poUsePipes];&lt;br /&gt;&amp;nbsp;&amp;nbsp; proc1.Execute;&lt;br /&gt;&amp;nbsp;&amp;nbsp; l.LoadFromStream(proc1.Output);&amp;nbsp;&amp;nbsp;&amp;nbsp; /// load the output to stringlist&lt;br /&gt;&amp;nbsp;&amp;nbsp; t1:=&#39;&#39;;&lt;br /&gt;&amp;nbsp;&amp;nbsp; for i:=0 to l.Count-1 do&lt;br /&gt;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t2:=l[i];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if AnsiContainsText(t2,&#39;BAT&#39;) then t1:=t2;&amp;nbsp; /// BAT is for battery&lt;br /&gt;&amp;nbsp;&amp;nbsp; end;&lt;br /&gt;&lt;br /&gt;/// if a battery is detected&lt;br /&gt;&amp;nbsp; if t1&amp;lt;&amp;gt;&#39;&#39; then&lt;br /&gt;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; form1.trayicon1.Hint:=&#39;&#39;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc1.Parameters.Clear;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc1.Parameters.Add(&#39;-i&#39;);&amp;nbsp; /// for more details see upower documentation&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc1.Parameters.Add(t1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc1.Execute;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l.LoadFromStream(proc1.Output);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for i:=0 to l.Count-1 do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t2:=l[i];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if AnsiContainsText(t2,&#39;percentage&#39;) then&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// find the battery level&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; j:=length(t2);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bat:=strtoint(midstr(t2,j-3,3));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; form1.Caption:=&#39;Battery level: &#39;+inttostr(bat)+&#39;%&#39;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; form1.trayicon1.Hint:=form1.trayicon1.Hint+t2+chr(13);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if AnsiContainsText(t2,&#39;time to empty&#39;) then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; form1.trayicon1.Hint:=form1.trayicon1.Hint+t2+chr(13);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;br /&gt;/// &quot;form caption&quot; and &quot;trayicon hint&quot; are for artistic impression :-)&lt;br /&gt;/// if upower displays the results in a different language (I don&#39;t know if it can),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // the program will find nothing when searching for &quot;percentage&quot; and &quot;time to empty&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // so you must modify the keyword acording to your language&lt;br /&gt;&amp;nbsp;&amp;nbsp; k:=0;&lt;br /&gt;&amp;nbsp;&amp;nbsp; if bat&amp;gt;20 then k:=1; /// select the image number from timagelist for system tray&lt;br /&gt;&amp;nbsp;&amp;nbsp; if bat&amp;gt;35 then k:=2;&lt;br /&gt;&amp;nbsp;&amp;nbsp; if bat&amp;gt;50 then k:=3;&lt;br /&gt;&amp;nbsp;&amp;nbsp; if bat&amp;gt;70 then k:=4;&lt;br /&gt;&amp;nbsp;&amp;nbsp; if bat&amp;gt;90 then k:=5;&lt;br /&gt;&amp;nbsp;&amp;nbsp; if bat=100 then k:=7;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; form1.imagelist1.GetBitmap(k,bmp);&amp;nbsp;&amp;nbsp; /// get the image from timagelist&lt;br /&gt;&amp;nbsp;&amp;nbsp; form1.trayicon1.Icon.assign(bmp);&amp;nbsp;&amp;nbsp;&amp;nbsp; /// assign the image to system tray&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&lt;br /&gt;&amp;nbsp; else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l.Add(&#39;Battery not detected or not present&#39;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; form1.imagelist1.GetBitmap(6,bmp);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; form1.trayicon1.Icon.assign(bmp);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; proc1.Free;&lt;br /&gt;&amp;nbsp;&amp;nbsp; bmp.Free;&lt;br /&gt;&amp;nbsp;&amp;nbsp; result:=l;&lt;br /&gt;&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;procedure TForm1.FormShow(Sender: TObject);&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; memo1.Text:=get1.Text;&amp;nbsp;&amp;nbsp; /// display the full statistics&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;procedure TForm1.SpeedButton1Click(Sender: TObject);&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp; form1.close;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// terminate the program&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;procedure TForm1.SpeedButton2Click(Sender: TObject);&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp; form1.Hide;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// minimise to system tray&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;procedure TForm1.Timer1Timer(Sender: TObject);&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp;&amp;nbsp; memo1.Text:=get1.Text;&amp;nbsp;&amp;nbsp; /// refresh the status every 60 seconds&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;procedure TForm1.TrayIcon1Click(Sender: TObject);&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp; form1.Show;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// show the main form when click on tray icon&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;end.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/7006774715355199544/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2015/07/lazarus-fpc-run-command-and-read-its.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/7006774715355199544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/7006774715355199544'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2015/07/lazarus-fpc-run-command-and-read-its.html' title='Lazarus / FPC - run a command and read it&#39;s output, working with system tray; laptop&#39;s battery on OpenSuSE 12.x - 13.1'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-2744714437456872339</id><published>2015-04-17T11:43:00.000-07:00</published><updated>2015-04-17T11:58:11.933-07:00</updated><title type='text'>Raspberry Pi - A (very) simple GUI for OMXPlayer</title><content type='html'>I have created a simple GUI for OMXPlayer on Raspberry Pi&lt;br /&gt;
&lt;br /&gt;
It can be downloaded from here:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/sh/d5bw7h3j33vmu5t/AAARZeUlm4pvHHJwnqUEn4Jqa?dl=0&quot;&gt;https://www.dropbox.com/sh/d5bw7h3j33vmu5t/AAARZeUlm4pvHHJwnqUEn4Jqa?dl=0&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The only needed file is omxGUI, but I also uploaded the sources (written, of course, in Pascal)</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/2744714437456872339/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2015/04/raspberry-pi-very-simple-gui-for.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/2744714437456872339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/2744714437456872339'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2015/04/raspberry-pi-very-simple-gui-for.html' title='Raspberry Pi - A (very) simple GUI for OMXPlayer'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-6335544093232390240</id><published>2015-04-03T15:41:00.000-07:00</published><updated>2015-04-18T01:53:06.289-07:00</updated><title type='text'>Indy 10.6 / Lazarus 1.2 / OpenSuSE 13.1</title><content type='html'>Here are the steps that I followed in order to install Indy 10.6 package on Lazarus. I don&#39;t know if all of those steps are required, but it just worked that way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) Download the Indy package from here:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;http://indy.fulgan.com/ZIP/&lt;/span&gt;&lt;br /&gt;
Unzip it somewhere where you can use it.&lt;br /&gt;
&lt;br /&gt;
2) In order for the new Indy not to interfere with the old one, completly remove Lazarus (uninstall, delete the old directory - c:\lazarus on Windows or .lazarus on Linux home)&lt;br /&gt;
&lt;br /&gt;
3) Install Lazarus&lt;br /&gt;
&lt;br /&gt;
4) On Linux the package has a bug (I think): it can&#39;t correctly locate the subfolders so it will say that some files are missing. To prevent that just go to the \Lib directory and copy here the content of the following subdirectories: Lib\Core, Lib\Systems, Lib\Protocols&lt;br /&gt;
&lt;br /&gt;
5) Compile the package Lib\indylaz.lpk TWICE (don&#39;t ask me why)&lt;br /&gt;
&lt;br /&gt;
6) Install the package&lt;br /&gt;
&lt;br /&gt;
7) Add to your projects the path to \Lib directory (Project &amp;gt;Project Options &amp;gt; Paths &amp;gt; Other unit files&lt;br /&gt;
&lt;br /&gt;
8) Enjoy!</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/6335544093232390240/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2015/04/indy-106-lazarus-12-opensuse-131.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/6335544093232390240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/6335544093232390240'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2015/04/indy-106-lazarus-12-opensuse-131.html' title='Indy 10.6 / Lazarus 1.2 / OpenSuSE 13.1'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-8499939968934915858</id><published>2014-11-16T08:05:00.002-08:00</published><updated>2015-04-18T01:57:25.967-07:00</updated><title type='text'>Lazarus / FPC - some of my work</title><content type='html'>Here are some programs that I am working with. I hope someone will find some of them useful&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/sh/d5bw7h3j33vmu5t/AAARZeUlm4pvHHJwnqUEn4Jqa?dl=0&quot;&gt;https://www.dropbox.com/sh/d5bw7h3j33vmu5t/AAARZeUlm4pvHHJwnqUEn4Jqa?dl=0&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/8499939968934915858/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2014/11/lazarus-fpc.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8499939968934915858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/8499939968934915858'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2014/11/lazarus-fpc.html' title='Lazarus / FPC - some of my work'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-3649011158725343986</id><published>2014-11-16T07:40:00.000-08:00</published><updated>2014-11-16T07:40:07.663-08:00</updated><title type='text'>Raspberry Pi - Fixing some USB issues</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp; The USB ports appear to be somehow unstable on Raspberry Pi. A complete explanation and a solution that worked for me can be found here:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; http://ludovicrousseau.blogspot.ro/2014/04/usb-issues-with-raspberry-pi.html&lt;br /&gt;
&lt;br /&gt;
In short, this is what I did:&lt;br /&gt;
&lt;br /&gt;
1. Start a file manager with root privileges&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sudo thunar &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; (thunar is my file manager)&lt;br /&gt;
&lt;br /&gt;
2. Edit the file /boot/cmdline.txt and add dwg_otg.speed=1&amp;nbsp; Your file should look like this:&lt;br /&gt;
&lt;pre&gt;   dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
   &lt;span style=&quot;background-color: yellow;&quot;&gt;dwc_otg.speed=1&lt;/span&gt; console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4
   elevator=deadline rootwait&lt;/pre&gt;
&lt;br /&gt;
3. Save and reboot&lt;br /&gt;
&lt;br /&gt;
PS: I have a ASIC USB Miner for bitcoins that I&#39;m running on Raspberry Pi just for fun (it didn&#39;t produced anything so far and I&#39;m not expecting it to do so). The solution above appears to fix the stability of the system (it was freezing every 5-10 hours, now it&#39;s working non-stop for about 2 days)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/3649011158725343986/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2014/11/raspberry-pi-fixing-some-usb-issues.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/3649011158725343986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/3649011158725343986'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2014/11/raspberry-pi-fixing-some-usb-issues.html' title='Raspberry Pi - Fixing some USB issues'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-7394827305811669197</id><published>2014-11-07T21:48:00.001-08:00</published><updated>2014-11-07T21:48:04.926-08:00</updated><title type='text'>OpenSuSE 13.1 / VLC error: No suitable decoder module</title><content type='html'>I&#39;ve just switched from OpenSuSE 12.3 to 13.1 and I got this problem. VLC won&#39;t play a video file and returned the following error:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;&quot;No suitable decoder module:&lt;/span&gt;
 &lt;span style=&quot;color: #cc0000;&quot;&gt;VLC does not support the audio or video format &quot;mp4v&quot;. Unfortunately there is no way for you to fix this.&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;Fortunately, there is a way to fix this, and here is how:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;1) Completely remove all VLC files with the following command (open a terminal and type):&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sudo zypper rm libavc1394-0 libavutil52 libcaca0 libcddb2 libdirac_encoder0 libdvbpsi7 libdvdnav4 libebml4 libgme0 libmatroska6 libmodplug1 libshout3 libslang2 libswscale2 libupnp6 libvlc5 libvlccore7 libxcb-xv0 libzvbi0 vlc-noX vlc-noX-lang vlc-qt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;2) Install VLC with OneClick Install from VLC&#39;s home page&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;That&#39;s all!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/7394827305811669197/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2014/11/opensuse-131-vlc-error-no-suitable.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/7394827305811669197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/7394827305811669197'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2014/11/opensuse-131-vlc-error-no-suitable.html' title='OpenSuSE 13.1 / VLC error: No suitable decoder module'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7975497871979859339.post-4654498002243885932</id><published>2014-11-01T16:59:00.001-07:00</published><updated>2014-11-01T16:59:41.167-07:00</updated><title type='text'>OpenSUSE 13.1 / older nVIDIA cards / nVIDIA GeForce G105M</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a laptop ACER with nVIDIA GeForce G105M videocard. Yes, it is about 5 years old and I have a lot of problems with OpenSuSE (12.x, 13.1) and nVIDIA drivers.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have covered some issues in a previous post when I posted a config file example.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; My videocard requires the nVIDIA G02 package. However, some programs insist to install the nVIDIA G03 package (I don&#39;t know why), so I have to be very careful. If the 03 package is installed it will mess up the entire system (OpenGL not working anymore, multiple images of the desktop on the laptop&#39;s display). I tried to ban the installation of the 03 package but it didn&#39;t seem to work, so the only option is to check very carefully every installation (why is Mozilla Thunderbird trying to install video drivers I can&#39;t imagine).&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So far, OpenSuSE 13.1 is working (almost) properly: KDE desktop is not working with OpenGL when I attach a monitor to the laptop (yet other programs that requires OpenGL are working; I can live with that)</content><link rel='replies' type='application/atom+xml' href='http://linuxneklar.blogspot.com/feeds/4654498002243885932/comments/default' title='Postare comentarii'/><link rel='replies' type='text/html' href='http://linuxneklar.blogspot.com/2014/11/opensuse-131-older-nvidia-cards-nvidia.html#comment-form' title='0 comentarii'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/4654498002243885932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7975497871979859339/posts/default/4654498002243885932'/><link rel='alternate' type='text/html' href='http://linuxneklar.blogspot.com/2014/11/opensuse-131-older-nvidia-cards-nvidia.html' title='OpenSUSE 13.1 / older nVIDIA cards / nVIDIA GeForce G105M'/><author><name>Neklar</name><uri>http://www.blogger.com/profile/12997442701018516461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>