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 - PackRat

Pages: [1] 2 3 ... 133
1
Conky / Re: Conky Support, Codes and Screenshots
« on: Today at 02:37:02 AM »
Revamped the default conky for laptop; battery blinks when low - 15% - (needs acpi for the battery state):



Code: [Select]
conky.config = {
--#############################################
-- Settings
--#############################################
background = true,
use_xft = true,
font = 'Ubuntu:regular:size=10',
xftalpha = 1.0,
update_interval = 1.0,
-- update_interval_on_battery = 30.0,
total_run_times = 0,

own_window = true,
own_window_colour = '#141414',
own_window_transparent = true,
-- own_window_type = 'dock',
own_window_type = 'desktop' ,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_class = 'ConkyFB',
own_window_title = 'ConkyFB',
--#############################################
-- Compositing tips:
-- Conky can play strangely when used with
-- different compositors. I have found the
-- following to work well, but your mileage
-- may vary. Comment/uncomment to suit.
--#############################################
--#
-- own_window_argb_visual = true,
-- own_window_argb_value = 2,

--# xcompmgr
-- own_window_argb_visual yes
-- own_window_argb_value 120

--# cairo-compmgr
--own_window_type desktop
--own_window_argb_visual yes
--#############################################

no_buffers = true,
uppercase = true,
cpu_avg_samples = 2,
override_utf8_locale = true,
short_units = true,
imlib_cache_size = 0,
pad_percents = 1,
max_user_text = 3200,
text_buffer_size = 1024,
if_up_strictness = 'address',
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
border_inner_margin = 1,
border_outer_margin = 1,

default_color = '#D1BF64',
default_shade_color = '#000000',
default_outline_color = '#828282',
color0 = '#FFFFFF',
color1 = '#000000',
color2 = '#73AEB4',-- - blue titles
color3 = '#FFFF00',-- - yellow
color4 = '#0000FF',-- - blue
color5 = '#00FF00',-- - green
color6 = '#FFA500',-- - orange
color7 = '#D1BF64',-- - cyan3
color8 = '#DAA520',-- - gold
color9 = '#F00A11',-- - reddish

minimum_width = 256, minimum_height = 0,
maximum_width = 256,
alignment = 'top_left',
gap_x = 12,
gap_y = 12,

};

conky.text = [[
${image $HOME/images/vsidoorb_blk.png -s 48x48 -p 1,-1} \
${voffset 12}${goto 60}${color2}Kernel:${goto 128}${color}${kernel}
${voffset 16}${goto 12}${color2}Uptime:${goto 128}${color}${uptime_short}
${voffset 12}${goto 12}${color2}CPU:${goto 128}${if_match ${cpu}<=50}${color7}${else}${if_match ${cpu}<=70}${color8}${else}${if_match ${cpu}>70}${color9}${endif}${endif}${endif}${cpu cpu0}%${color}
${voffset 6}${goto 128}${loadavg 1}${offset 10}${loadavg 2}${offset 10}${loadavg 3}
${voffset 12}${goto 12}${color2}RAM:${goto 128}${if_match ${memperc}<=50}${color7}${else}${if_match ${memperc}<=70}${color8}${else}${if_match ${memperc}>70}${color9}${endif}${endif}${endif}${memperc}%${color}
${voffset 12}${goto 12}${color2}Batt:${color}${goto 128}${if_match ${battery_percent BAT0}<=15}${blink ${battery_percent BAT0}%}${else}${battery_percent BAT0}%${endif}${offset 12}${execpi 60 acpi | awk '/Battery 0/ {print $3}' | cut -c1-4}
${voffset 12}${goto 12}${color2}Up:${color}${goto 128}${upspeedgraph wlan0 16,112 666666 ff0000}
${voffset 16}${goto 12}${color2}Down:${color}${goto 128}${downspeedgraph wlan0 16,112 000000 00ff00}
]];

2
Artwork & Screenshots / Re: January 2018 Screenshot Thread
« on: Today at 12:33:04 AM »
Pretty smooth; couple house cleaning items after boot (and I assume an install) - like upgrading the firefox addons - but all the mission critical stuff works OOTB as usual.

scrot or it never happened:


3
Good deal.

With the recent upgrades to firefox, all the addons you're using are obsolete/incompatable. Can those be upgraded before the [next] iso is built?

4
Download no issues
sha256sum checked out

rebooting .........

5
Artwork & Screenshots / Re: January 2018 Screenshot Thread
« on: January 16, 2018, 12:58:06 AM »
Going with a border only window decoration for a while -


6
WM Designs and Discussions / Fluxbox Deco Bitmasks
« on: January 15, 2018, 03:26:19 PM »
This was touched on in the fluxbox styles thread, but I'm separating it out.

This is a very hand thread to have bookmarked as a fluxbox HowTo

In the ~/.fluxbox/init file, there are three main lines to define the fluxbox window decorations:

Code: [Select]
session.screen0.titlebar.left: Shade Stick
session.screen0.titlebar.right: Minimize Maximize Close
session.screen0.defaultDeco: NORMAL

The first two lines define the position of the window buttons you want to use - so you can put them upper right/left, whatever you're comfortable with.

The last line deines the decor to use - NORMAL is the default, and note it's all caps and, I believe, case sensative.

Reading the man page for fluxbox-apps you'll come across this:

Code: [Select]
[Deco] {value}

           Specify the decoration state. There are several predefined value
           sets:

               NORMAL
                   Standard decorations

               NONE
                   No decorations

               BORDER
                   Like NONE except keep the X window border

               TAB
                   Like BORDER except keep external tabs (if enabled)

               TINY
                   Titlebar with only an iconify button

               TOOL
                   Titlebar only

               The value may also be a bitmask for finer-grained control. The
               bits are, from (1<<0) to (1<<10): Titlebar, Handle/Grips,
               Border, Iconify Button, Maximize Button, Close Button, Menu
               Button, Sticky Button, Shade Button, External Tabs, Focus
               Enabled.

Note there are several options other than NORMAL to use in the ~/.fluxbox/init file for the default decor; or you can override the default decor by setting decor on a per-app basis in the ~/.fluxbox/apps file.

But what exactly does this mean:

Code: [Select]
The value may also be a bitmask for finer-grained control. The
bits are, from (1<<0) to (1<<10): Titlebar, Handle/Grips,
Border, Iconify Button, Maximize Button, Close Button, Menu
Button, Sticky Button, Shade Button, External Tabs, Focus
Enabled.

That's where the above link comes in handy -

Code: [Select]
Each bit-property is given a value that's based on a power of 2 in ascending order:
Property                                            Value
titlebar                                                  1
handle/grips                                         2
border                                                   4
minimize button (called iconify)         8
maximize button                                 16
close button                                         32
enable window menu                          64
sticky button                                       128
shade button                                       256
enable tabbing                                    512
enable focus                                       1024

So the user can decide how a particular window shoud be decorated, adds up the values and uses it with [Deco] in the apps file. So if all you want is tab and borders: 512 + 4 = 516, in the ~/.fluxbox/apps file:

Code: [Select]
[Deco] {516}
Adding in some other window decor and per app settings yields an entry similar to:

Code: [Select]
[app] (name=win) (class=Xpdf)
  [Dimensions] {80% 90%}
  [Position] (UPPERLEFT) {10% 5%}
  [Deco] {1647}
  [Minimized] {no}
  [Maximized] {no}
  [Fullscreen] {no}
  [Layer] {8}
  [Alpha] {255}
[end]



Note than when you log out/in to fluxbox the deco bitmask gets converted to so code (hex?) so the apps entry changes to:

Code: [Select]
[app] (name=win) (class=Xpdf)
  [Dimensions] {80% 90%}
  [Position] (UPPERLEFT) {1% 2%}
  [Shaded] {no}
  [Deco] {0x66f}
  [Sticky] {no}
  [Minimized] {no}
  [Maximized] {no}
  [Fullscreen] {no}
  [Layer] {8}
  [Alpha] {255}
[end]

If the user has a preferred Deco it can be used as default in the ~/.fluxbox/init file

Code: [Select]
session.screen0.defaultDeco: 0x66f
instead of individually in the ~/.fluxbox/apps file.



 

7
Artwork & Screenshots / Re: January 2018 Screenshot Thread
« on: January 14, 2018, 12:23:59 AM »
screenshot day -


8
General Support / Re: Live-Config issues on Stock ISO
« on: January 13, 2018, 11:22:28 PM »
The bullshit part of it is that it's systemd stopping this on an endless loop... Why?  You would think it should be allowed to error out just to get to some logging to see what the hell is happening

I cannot even get to another tty which means X is not starting at all

One would think. The good old days when it drop you out to runlevel 1 so you could fix the system.

Is there something you can do at the grub menu after hitting "e" - some parameter to boot to the console; suspend the lightdm service?

9
General Support / Re: Live-Config issues on Stock ISO
« on: January 13, 2018, 09:07:35 PM »
That wouldn't surprise me at all - lightdm seems to break a lot. Been beta testing ArchLabs for Matt, lightdm is wonky in that distro too (Arch overall, I suspect).

10
General Support / Re: Live-Config issues on Stock ISO
« on: January 13, 2018, 05:26:06 PM »
The sha256sum checked out ok, but the live-session boot hangs with that error message. I let it go for 2min 30sec then powered off.

Reverted back to the other iso so it would boot, still sat for about 20 sec then completed.

On both boots, it hangs right after I get the message about Bluetooth patch not applying. I checked the dmesg output after a successful boot, and Bluetooth is followed by a bunch of networking messages for eth0 (the wired interface on this laptop). Is the dmesg output in order, so maybe a networking/dhcp issue?

11
General Support / Re: Live-Config issues on Stock ISO
« on: January 13, 2018, 04:55:09 PM »
downloading .......

12
General Support / Re: Live-Config issues on Stock ISO
« on: January 13, 2018, 04:38:12 PM »
OK, I should be able to get to it sometime today.

13
General Support / Re: Live-Config issues on Stock ISO
« on: January 13, 2018, 04:35:16 PM »
I burned this image:

VSIDO_x64_12Jan2018.iso

that's a lite image?

14
Artwork & Screenshots / Re: January 2018 Screenshot Thread
« on: January 13, 2018, 04:30:16 PM »
live session, current release with some minor tweaks:


15
Download went fine and dd to usb no problems.

Booted the live session - got the error you mentioned in the other thread for ~20 seconds then the live session booted to the desktop.

1. the upper tint2 panel is missing
2. no compton
3. no volume icon
4. no wicd-gtk

All by design?

I used ceni to connect to wireless without issue (well, ok, I screwed up the password on the first try  :-[)

Everything seems to be working as intended.

Pages: [1] 2 3 ... 133