site  contact  subhomenews

gtk stock icons missing

December 16, 2017 — BarryK

Working on 01micko's Simple Samba Management and my QuickSamba scripts, I noticed that gtk stock icons are not displaying.

Then I tried Dropbox GUI file manager, created by mikeb:

http://murga-linux.com/puppy/viewtopic.php?t=90753

...however, none of the icons in the buttons display.

Dropbox GUI is great, it is good to see mikeb active on the Puppy Forum again.

Forum member SFR has created a patch for the gtk+ source, to restore the traditional icons:

http://www.murga-linux.com/puppy/viewtopic.php?p=847362#847362

...this patch still works on the latest gtk+, 2.24.31, so I plan to recompile it in OpenEmbedded and see if that fixes the problem.

EDIT:

That patch did not fix anything. The solution was elsewhere. Dropbox-GUI is using code for gtkdialog like icon="gtk-network", which triggered a memory. Changing it to stock="gtk-network" fixed it.

However, icon-name="gtk-network" in the window tag is broken. Replacing icon-name with stock, icon, or stock-id does not fix it. It actually has to be an icon in /usr/share/icons/hicolor. So, I created /usr/share/icons/hicolor/16x16/actions/gtk-network.xpm (symlink to /usr/local/lib/X11/mini-icons/pc-2x.xpm, to save space). Now it works.

Note that stock="gtk-network" elsewhere in the gtkdialog xml code uses the gtk inbuilt icon, not the new one that I have created,

Tags: easy, quirky, oe

QuickSamba mounts remote shares

December 16, 2017 — BarryK

I posted yesterday about this new project:

http://bkhome.org/news/201712/quicksamba-one-stop-shop-for-sharing.html

It has progressed well, and I am now able to mount a share from Easy OS running on another computer.

01micko's Simple Samba Management has been modified somewhat. Here is a snapshot:

image

The default password is "woofwoof" and that displays in the password edit boxes. If the user changes the password, it displays as X's. Samba stores it in an encrypted form and it is not retrievable -- so you have to remember it, or you can change it at any time. The username and password is required when mounting the share from another PC.

QuickSamba uses smbnetfs to scan for remote shares. In my case, there is only one, with hostname EASYPC26578:

image

Click the "Mount Shares" button, the username and password is asked for, and it is mounted and becomes available:

images

Click on the folder button, and the remote share is available. Pretty simple.

There are a few more things to tidy up, and I hope to get this out as a Xmas present.

Tags: easy, quirky

Quicksamba one-stop-shop for sharing

December 15, 2017 — BarryK

As I posted about a couple of days ago, I am getting into using Samba for the very first time:

http://bkhome.org/news/201712/toto-link-wifiethernet-routerrepeater.html

it is good that I am approaching this from a beginners perspective, as I am seeing where there is awkwardness and uncertainty in setup and usage.

Consequently, I am creating QuickSamba, a frontend GUI that takes care of everything. It consists of stages, like a checklist, starting with do you have connection to a local network, is your firewall configured properly, is Samba configured properly, then there is the scanning for and accessing of remote shares.

QuickSamba presents each of these stages and 'ticks off" each one as correct, or won't go any further if not. In this snapshot, everything is ticked-off so that local shares are available, but there are no remote shares:

image

I will probably put some more of those little help buttons in the window. The one already there explains how the local share can be accessed by other computers on the network.

Hmm, those tick and cross png images are a bit ragged. Need to find some nice svg images that will scale up smoothly.

I have modified 01micko's Simple Samba Management, which is launched from the "Samba Setup" button. One modification is that it has entry boxes for changing the password from "woofwoof".

I have got detection of remote shares working, using smbnetfs. This is a Samba filesystem using fuse. Not sure whether will stick with it, as just learning, but it seems ok.

Note, if a Linux computer only has to communicate with a Windows computer, there is no need for that final "Remote Shares" stage, as the Windows PC will see the shares (and printers) of the Linux PC. So in the above snapshot, /mnt/wkg/home will be available in the Windows PC. That works fine.

As for printing with CUPS, I haven't got a clue. You can see the comment in the snapshot about unblocking the CUPS daemon, however I don't know if that is required. Maybe other computers can access a printer on local computer with that being unblocked.

Anyway, it is a work-in-progress.

Oh, another thing. In Easy, plan to have a new icon on the desktop, named "share", that will launch QuickSamba. As I am embracing Samba, might as well go all the way.

Tags: easy, quirky

Toto Link wifi/ethernet router/repeater

December 11, 2017 — BarryK

In the Puppy Forum thread where we are testing Quirky Pyro64 0.6, it was reported that Samba is not working. I wasn't much help, as I had to admit that I have never used Samba. A bit embarrassing really, considering what I "do".

Yesterday, decided that the time has finally arrived when I would setup Samba. First though, I need a little local network. I access the Internet via my mobile phone, no land line. So, wifi tethering turned on in my Android phone, no problem connecting to the Internet for any of my PCs.

I did wonder whether the phone itself could be used as a local wifi network. That is, each of the PCs connected to the phone being able to share files between each other. I have read conflicting reports about whether that is possible.

Anyway, I have an old router, have put it back in service. This is a Toto Link N100R+ V2, picture here:

image

This is old technology, 150mb/s wifi, 100mb/s ethernet, but OK for now. My model is no longer sold, the latest is N100RE:

http://www.totolink.net/sub/product/detail.asp?product_num=100079

On my desk there are two PCs, my midi-tower and Mele mini-PC. The latter dual-boots Linux and Windows 10, so I plugged it into "LAN1" on the N100R and powered up, then went to the "http://192.168.0.1" in my browser. Default login is "admin", "admin".

I clicked "Operation Mode" then the "Wireless ISP" radiobutton. Then clicked "Wireless" from left side, then "Basic Settings" and the "ScanAP" button. It detected my phone SSID and chose "WPA2-PSK" and "CCMP", and entered the password. That's it, had Internet access!

On the Win10 mini-PC, was now connected to the Internet via ethernet. In the "Setup", looked around a bit, but basically just enabled "Turn on network discovery" and "Turn on file and printer sharing".

For the midi-tower, plugged an ethernet cable into "LAN2" on the N100R, and fired up Quirky Xerus64. Fiddled around a bit, but essentially just ran 01micko's Samba Simple Management.

Over on the Win10 machine, in the file manager, there is "Network" on the left side. Clicked that, then right-clicked on the right-side and chose "Refresh". Yay, got "PUPPYPC11067", which is my midi-tower. Clicking on that, it asked for username and password, which is "root" and "woofwoof".

Next step is to get it going on Quirky Pyro64...

Tags: tech, quirky

Wcpufreq 0.8.4

December 06, 2017 — BarryK

Quirky and Easy builds, indeed most pups I think, have Wcpufreq, CPU frequency scaling tool, created by 'tazoc'.

There is some confusion about which is the latest version. Also, there is a problem with the 4.13 kernel. Also, a problem with the 'intel_pstate' kernel module.

We have been discussing these issues here:

http://murga-linux.com/puppy/viewtopic.php?t=61255

This has resulted in my release of 0.8.4, see forum post:

http://murga-linux.com/puppy/viewtopic.php?p=976300#976300

And here is the PET (39KB):

http://distro.ibiblio.org/easyos/noarch/packages/pet/pet_packages-noarch/wcpufreq-0.8.4.pet

My kernel is configured with intel_pstate disabled, so don't have to worry about that.

Tags: easy, quirky

Quirky Pyro32 0.6.1 released

December 04, 2017 — BarryK

Another one! Download Quirky Pyro32 0.6.1 from here:

http://distro.ibiblio.org/quirky/quirky6/x86/releases/pyro-0.6.1/

This is for 32-bit (i686) CPUs, with BIOS (not UEFI) firmware PCs.

Tags: quirky

Quirky Pyro64 version 0.6 released

November 26, 2017 — BarryK

Quirky Pyro64 0.5 was released on October 29, announced here:

http://bkhome.org/news/201710/quirky-pyro64-05-released.html

And Quirky Pyro32 0.5 was released on November 5, announced here:

http://bkhome.org/news/201711/quirky-pyro32-version-05-released.html

Pyro64 0.6 is now out, testers are welcome.

Download:

http://distro.ibiblio.org/quirky/quirky6/amd64/releases/pyro-0.6/

...as usual, choice of three files. The 8GB image is interesting for UEFI-firmware PCs, as it has rEFInd.

There is also a Service Pack for upgrading from 0.5:

http://distro.ibiblio.org/quirky/quirky6/amd64/packages/pet_packages-pyro/service_pack-0.5_TO_0.6-pyro64.pet

...it is a bit large, due to many changes since 0.5, such as a complete recompile in OE, updated kernel, icu and SeaMonkey.

Feedback is welcome here:

http://murga-linux.com/puppy/viewtopic.php?t=110541&start=120

Tags: quirky