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.


Topics - PackRat

Pages: [1] 2 3 ... 6
1
Artwork & Screenshots / June 2017 Screenshot Thread
« on: May 31, 2017, 11:29:24 PM »
Please remember to use thumbnails  ;D

fluxbox -


2
I've Got a Life / Happy Birthday Willie Mays
« on: May 06, 2017, 11:24:22 PM »
Willie Mays celebrates #86

Arguably the best all around player ever - 5 tool player that knew how to use them all.

Loved watching him play toward the end of his career when I was a kid. Wish I could have seen him in his prime.

3
Conky / conky and yad - some possibilities
« on: May 05, 2017, 04:32:17 PM »
I was working on a yad command (battery notification) and came across this internal yad command (from the yad man page):

 
Code: [Select]
--notification
              Display notification icon.

so the command:

Code: [Select]
yad --notification
sends a notification icon to the system tray. That got me thinking that yad can be used with conky so that conky can send notifications to the system tray - low battery, high cpu, that sort of thing. The goal is to make conky proactive instead of reactive (in the sense that the user needs to be reading it). That way, if a window is covering the conky, a user can still get critical information.

Proof of concept:

My usual conky with fluxbox - I have it docked in the slit so it's always visible, and use "if" to colorize the output for CPU and MEM:



Add a bit of code (snippet)-

Code: [Select]
chage:

${offset 8}${if_match ${memperc}<=50}${color7}

to

${offset 8}${if_match ${memperc}<=50}${color7}${exec yad --notification}

and sure enough, I get a notification icon (which can be changed in yad) - but the conky itself no longer displays. Same result using execpi, texeci and not docking the conky.



There has to be a way to make this work without a lot of scripting which could get cpu and mem intensive.

Thoughts?


4
I seldom use the webcam on my laptop. Privacy issues aside, it would be nice to have a properly formatted bash script that will tooggle the integrated webcam off/on and save myself some memory and power use.

This method works just fine so it's easy to blacklist the module at boot and then use the command:

Code: [Select]
sudo modprobe uvcvideo
to load the module if I want to use the webcam.

But my inner script-kiddee says there has to be an elegant way to do this (surprisingly, I didn't find one online - but I didn't specifically check the Arch Forum either).

I could probably hack something together but that would fail the elegant test.

So a script that checks and then  loads/unloads the uvcvideo module would be a handy item.

5
I'll post this here in case someone has a solution that will be useful to me others.

Tried to get the live session of the new uEFI capable iso ( 9 April 2017 build ).

Always got to the grub menu, but the first couple efforts hanged - I let it sit for a minute or so  just to see if it was slow, but no joy.

Finally went to completion, and auto logged into a live session, but the keyboard was dead (mouse worked) so I couldn't do anything.

This laptop - Toshiba 875D - isn't particularly user friendly when it comes to Linux uEFI - had some issues with Fedora and Ubuntu boot/live sessions as well so if you're shopping around might not be the one to get.

If someone knows a trick to get the keyboard going, please share the information in case someone else has the same issue.

Otherwise an excellent effort by Team VSIDO - (live session was smooth as silk on my non-uEFI machines)

6
Artwork & Screenshots / April 2017 Screenshot Thread
« on: April 01, 2017, 07:20:11 PM »
Please remember to use thumbnails  ;D

The usual suspects, my latest green fluxbox style. Spring officially begins on April 3 -

   

7
I've Got a Life / Current lava flow from Hawaii's Kilauea Volcano
« on: February 04, 2017, 04:01:05 PM »
A very rare geologic occurrance -


USGS Interview

crazy stuff; miss working with those USGS people.

8
I've Got a Life / Happy (belated) Australia Day -
« on: January 26, 2017, 01:31:24 PM »
To Ozi and our other down-under users:



9
Code Challenges / Perhaps update a script
« on: January 24, 2017, 03:55:44 PM »
What does the vsido-exit script look like these days? Still using all the dbus commands?

Maybe update the exit script to take advantage of systemd - and any additional enhancements (if any) it brings to the table.

10
I've Got a Life / First Day Hike -
« on: January 02, 2017, 03:02:04 AM »
Rained off and on for this year's First Day Hike.
But still a great start to our new year - and a nice break from all the shiny new Christmas toys.

Falls at Musgrove Mill.


11
Artwork & Screenshots / January 2017 Screenshot Thread
« on: January 01, 2017, 03:36:39 AM »
Hope everyone is off to a great start in the new year -




Please remember to use thumbnails  ;D

12
Conky / Conky as a window -
« on: December 26, 2016, 09:34:42 PM »
From the conversation toward the end of this thread - pages 4 & 5 mostly -

one should keep in mind that conky is a special type of window - one that displays system information - and as such, can be manipulated by the window manager, In this case fluxbox.

So lets create some conky mayhem keeping in mind these rules will typically apply to other special windows.

In the ~/.fluxbox/apps file create an entry like:

Code: [Select]
[group]  (workspace=[current])
[app] (name=TConky.*) (class=TConky.*)
  [Layer] {12}
  [Deco]    {TAB}
[end]

This entry creates the condition where all windows begining with "TConky" in the name and class will be grouped on the current workspace, placed on Layer 12 (the Desktop), and have a TAB only decoration.

Next create some conkyrc files for whatever information you want to display. In each conkyrc use the settings:

Code: [Select]
own_window = true,
own_window_type = 'normal',       # desktop will work, override does not
own_window_hints = 'below,sticky,skip_taskbar,skip_pager',      # window doesn't necessarily need to be below, but you do want it decorated for the tabs to show
own_window_class = 'TConky<some text string>',
own_window_title = 'TConky<some text string>',

the name and class can be anything as long as it begins with TConky - i.e. TConkyCPU, TConkyclock .....

Now, when those conkrc files are called by conky, they will all tab together, and clicking on the tab - or using a key binding - will allow you to cycle through the various conky windows:



So now there is way to manage all your conky windows on your desktop by unleashing the power of fluxbox (pekwm also has window grouping so it shoud do this as well.) Some finagling with the window and font size will pretty it up for you.

Of course just substitute whatever special windows you like to run and the same basic rules apply.

Edit - did some more testing, If Deco is set to {BORDER} or {NONE} in the ~/.fluxbox/apps file, the conky windows do group together with the appropriate decor and a key binding will cycle through them - I was worried that wouldn't work becuase of conky window hints (own_window_hints) restrictions. If you have ever used screen or tmux cycling through the conky windows with a key binding is a familiar exercise.

13
I've Got a Life / RIP John Glenn
« on: December 08, 2016, 11:41:42 PM »

14
Artwork & Screenshots / December 2016 Screenshot Thread
« on: December 01, 2016, 02:34:22 PM »
Please Remember to use thumbnails -

nothing earth shattering, gold ol' fluxbox -




15
I've Got a Life / New product from the makers of BleachBit
« on: November 03, 2016, 01:16:38 AM »
Someone in marketing deserves a bonus:

New product

Pages: [1] 2 3 ... 6