Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - billwho

Pages: 1 [2] 3
16
wattOS R10 / Re: Busybox Initramfs with Live USB
« on: September 25, 2016, 11:46:48 PM »
If you use:

sudo -s <enter>

you will be logged in as root, but will use your current environment.

It is useful if have defined aliases or other tools, they will be available.

17
wattOS R10 / Re: Official-Microwatt-R10-Info
« on: September 25, 2016, 01:26:56 AM »
HUGE button icons in Microwatt R10

eeepc 701, 32-bit, 4gb ssd, 800x480 screen (small)

WattOS R10 installer fits the eeepc small screen, but...
WattOS R10 will NOT install on the eeepc, only 4gb ssd.

Microwatt R10 installer has HUGE buttons that push the menus off the small screen so it cannot install it.

Microwatt R9 does NOT have HUGE buttons, but some screens are a little tall to see the buttons.  I guessed which buttons, and installed on the eeepc.  It works well and has 1.6gb free ssd.

I installed Microwatt R10 on another computer and noticed the same HUGE buttons in all apps.

Please make buttons a normal size so it fits the 800x480 screen.
The button icons are approximately 1.25 x 1.0 inches!
I would like to install Microwatt R10 on the eeepc, great travel machine.

Note:
Debian LXDE installs on the eeepc and works well.
After removing Libreoffice there is about 1gb free on the ssd.


18
wattOS R10 / Re: Official-Microwatt-R10-Info
« on: September 24, 2016, 04:32:40 AM »
Microwatt R10 32-bit installed

This does NOT respect Preferred Applications:
exo-web-browser.desktop -- it is hard coded for 'surf'
it would be more flexible as:

Code: [Select]
exo-web-browser.desktop
exo-open --launch WebBrowser

These respect Preferred Applications:

Code: [Select]
exo-terminal-emulator.desktop
exo-open --launch TerminalEmulator

Code: [Select]
exo-file-manager.desktop
exo-open --launch FileManager %u

19
wattOS R10 / Re: Official-Microwatt-R10-Info
« on: September 23, 2016, 09:21:56 PM »
Bob all ears :)

Do you know if i3 has a workspace switcher like alt+tab,
that is, a way to toggle the two most recent workspace?

I know several methods to change to a specific workspace,
but it would be nice to toggle between two when using the eeepc SMALL screen.

Edit: I found it! circular and toggles

Code: [Select]
# workspace switcher
bindsym $mod+Tab workspace back_and_forth
workspace_auto_back_and_forth yes
bindsym $mod+n workspace next
bindsym $mod+p workspace prev

Bill

20
wattOS R10 / Re: Official-Microwatt-R10-Info
« on: September 23, 2016, 09:11:16 PM »
I prefer to toggle the touchpad on/off, also spares one F-key.

edit ~/.config/i3/config

Code: [Select]
bindsym $mod+F9 exec "synclient TouchPadOff=$(($(synclient|grep -io touchpadoff.*|grep -o [0-2])&1^1))"

+ get the current TouchPadOff state ( 0 or 1 )
+ mask bit0 ( &1 is bitwise and )
+ toggle bit0 ( ^1 is bitwise xor )

21
wattOS R10 / Re: Official-Microwatt-R10-Info
« on: September 23, 2016, 06:40:21 PM »
Thank you, changing i3 works.
But you do not need to hard code the bindings to firefox or xterm.

To get i3 key bindings to respect Preferred Applications:

bindsym $mod+Return exec exo-open --launch TerminalEmulator
bindsym $mod+m exec exo-open --launch MailReader
bindsym $mod+f exec exo-open --launch FileManager
bindsym $mod+b exec exo-open --launch WebBrowser

22
wattOS R10 / Re: Official-Microwatt-R10-Info
« on: September 23, 2016, 05:56:32 PM »
This is my first time using i3.

Microwatt R10 32-bit installed
Firefox and Sylpheed installed

I tried to use the File Manager to go to '/usr/share/applications'
'Preferred Applications' (gui) to change the defaults:
Terminal Emulator to xterm -- mod+enter STILL opens 'sakura'
Web Browser to Firefox -- mod+b STILL opens 'surf'

mod+g 'xterm' works
mod+g 'firefox' works
selecting 'Firefox Web Browser' from 'Applications' works

Changing:
File Manager > Edit > Preferences > Advanced > Terminal emulator to 'xterm' -- F4 works to open xterm

Is this a 'bug'?

Bill

23
wattOS R10 / Re: lxappearance freezes as root
« on: September 16, 2016, 11:06:45 PM »
I found a bug report for using sudo with GUI apps:
<https://bugs.launchpad.net/ubuntu/+source/dbus-glib/+bug/71248>

I tried the workaround suggested and it worked:
sudo dbus-launch lxappearance
but it returns an error message.

gksudo dbus-launch lxappearance
works and has NO error message

And I have seen this comment:
The problem is that root has neither an Xscreen session, nor a dbus connection.
Different distros deal with this differently...

Why do you need sudo with lxappearance?
I see no difference than using:
Menu > Preferences > Customize Look and Feel

24
wattOS R10 / Re: lxappearance freezes as root
« on: September 16, 2016, 07:39:14 PM »
32 or 64-bit system?

Does using this work?
Menu > Preferences > Customize Look and Feel

and from terminal this works:
lxappearance

Both work on this 32-bit machine.

--but--

sudo -s
lxappearance

This causes a hang, need to hard reset.
Lubuntu 16.04.1 also hangs
WattOS R9 also hangs

Debian LXDE testing (stretch) gives this message but does open lxappearance

** (lxappearance:2019): WARNING **: lxappearance.c:67: Failed to connect to the session message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

--THEN--

ssh login to WattOS R10 after causing it to hang with sudo lxappearance
+ it is still alive
+ top as pid
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
3271 tech      20   0    8068   3556   3024 R   0.2  0.2   0:00.12 top
3269 root      20   0    6528   1688   1488 S   0.0  0.1   0:00.00 dbus-launch
3268 root      20   0   23820   8988   8188 S   0.0  0.4   0:00.01 lxappearance
3256 root      20   0    6716   4344   3156 S   0.0  0.2   0:00.04 bash

It does look like it is waiting for dbus

from ssh this works:
sudo reboot

25
wattOS R10 / Re: wattOS R10 32 bit
« on: September 10, 2016, 12:41:50 AM »
In terminal what is displayed by:

lspci | grep -i netw
--or--
lspci | grep -i wireless

should be something like:

03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron]Network Connection (rev 61)

26
Tips and Tricks / Re: How to disable your touchpad
« on: September 09, 2016, 11:01:58 PM »
I like the touchpad, but often use a mouse.  Sometimes the touchpad is just too sensitive and I need to turn it off.  I do not want it permanently off, so I have a script to toggle it on/off, and bind that to a key in openbox.

# .......1.........2.........3.........4.........5.........6....
# bind to a key in openbox <keyboard> section
# see  http://openbox.org/wiki/Help:Bindings
# see  http://openbox.org/wiki/Help:Actions

# edit  ~/.config/openbox/lxde-rc.xml     # WattOS R10
# edit  ~/.config/openbox/lubuntu-rc.xml  # Lubuntu 16.04.1

# add to the <keyboard> section of openbox
# S-F1 means Shift and F1

<keybind key="S-F1"><action name="Execute">
  <command>~/bin/ToggleTouchpad.sh</command>
</action></keybind>

# then in terminal issue this command to activate
openbox --reconfigure

# create a shell script, I put mine in ~/bin
# one key to TOGGLE touchpad on/off

# .......1.........2.........3.........4.........5.........6....
#!/bin/bash
# ToggleTouchpad.sh
# touchpad states: 0=on 1=off 2=only tapping and scrolling off

ST=$( synclient | grep -o TouchpadOff.* | grep -o [0-2] )
synclient TouchpadOff=$(( ST &1 ^1 )) # and xor # cycle 0 1

# .......1.........2.........3.........4.........5.........6....
# alternates
# synclient TouchpadOff=$(( (ST +1) %2 )) # add mod # cycle 0 1
# synclient TouchpadOff=$((  ST &2  ^2 )) # and xor # cycle 0 2
# synclient TouchpadOff=$(( (ST +1) %3 )) # add mod # cycle 0 1 2

# ST=                     get touchpad status
# $(                      start command substitution
# synclient               command - list current user settings
# |                       send user settings to grep
# grep -o TouchpadOff.*   search settings (-o print only matched parts)
# |                       send found string to next grep
# grep -o [0-2]           search for 0,1,2
# )                       end command substitution
# synclient TouchpadOff=  set new value
# $((                     start arithmetic expansion/evaluation
# ST                      current status
# &                       bitwise and
# 1                       mask bit 0
# ^                       bitwise xor
# 1                       toggle bit 0
# ))                      end arithmetic expansion/evaluation


27
wattOS R10 / Re: wattOS R10 32 bit
« on: September 09, 2016, 10:50:22 PM »
Live CD copied to USB drive
worked on a 32-bit desktop with USB WiFi dongle
also worked after installing on the internal drive
and worked after reboot

Does it work with WattOS R9?
Has WiFi worked with any other distro?

28
wattOS R10 / Re: How to easily change the Grub Screen's background on R10
« on: September 02, 2016, 09:42:43 PM »
Yes... I also got the basic black and blue grub screen on install.

Please add to step 1 of your instructions for someone who does not know how open the file manager as root:

1. goto Menu > System Tools > Root File Manager
login with your password

THEN add 'Filesystem Root' to the side panel

otherwise when you try to Paste to /boot/grub
you will get 'Permission denied'

Now I have changed the grub screen to green-grub.jpg
--and--
The mouse is working

Much better... thank you for both Dan

29
wattOS R10 / Re: Intermittant USB Mouse Availability?
« on: September 02, 2016, 09:13:27 PM »
Older Dell wired usb mouse
UN-check the "Enable Module runtime-pm" FIXED the problem.
Thank you.
Is "Laptop Mode Tools Configuration" new to R10?
LXDE R9 did not have the mouse problem.

30
wattOS R10 / Re: wattOS-R10 and the Mouse who slept
« on: September 02, 2016, 09:10:43 PM »
Older Dell wired usb mouse
UN-check the "Enable Module runtime-pm" FIXED the problem.
Thank you.
Is "Laptop Mode Tools Configuration" new to R10?
LXDE R9 did not have the mouse problem.


Pages: 1 [2] 3