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 4 ... 139
16
WM Designs and Discussions / Re: Fluxbox Styles
« on: March 06, 2018, 05:24:46 PM »


Code: [Select]
!
! fluxbox style - moonstone
! created by PackRat
! creation date - 03-06-2018
!
! This program is free software: you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.

! This program is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
! GNU General Public License for more details see <http://www.gnu.org/licenses/>.

! FONT OPTIONS
*.font: Source Serif Pro-11:regular
toolbar.workspace.font:          Source Code Pro-11:regular
toolbar.clock.font:              Source Code Pro-11:regular
!toolbar.iconbar.focused.font:    Source Serif Pro-11:semibold
!toolbar.iconbar.unfocused.font:  Source Serif Pro-11:regular
!window.font:                    <font>
!window.label.focus.font:         Source Serif Pro-11:regular
!window.label.unfocus.font:       Source Serif Pro-11:regular
!menu.frame.font:                <font>
!menu.hilite.font:               Source Serif Pro-11:regular
!menu.title.font:                <font>

!TOOLBAR OPTIONS
toolbar: flat gradient vertical
toolbar.height:                 24
toolbar.bevelWidth:             0
toolbar.color:                  #E4E4E4
toolbar.colorTo:                #E4E4E4
toolbar.borderColor:            #AAAAAA
toolbar.borderWidth:            1
toolbar.shaped:                 false
!toolbar.pixmap:                 <filename>

toolbar.clock:                  flat gradient vertical
toolbar.clock.borderColor:      #AAAAAA
toolbar.clock.borderWidth:      0
toolbar.clock.justify:          Center
!toolbar.clock.pixmap:           <filename>
toolbar.clock.color:            #E4E4E4
toolbar.clock.colorTo:          #E4E4E4
toolbar.clock.textColor:        #050505

toolbar.systray: parentrelative
!toolbar.systray.color: #0D1114
!toolbar.systray.colorTo: #0D1114

toolbar.workspace:              flat gradient vertical
toolbar.workspace.color:        #E4E4E4
toolbar.workspace.colorTo:      #E4E4E4
toolbar.workspace.justify:      Center
toolbar.workspace.textColor:    #050505
toolbar.workspace.borderColor:  #AAAAAA
toolbar.workspace.borderWidth:  0
!toolbar.workspace.pixmap:       <filename>

toolbar.button: parentrelative
toolbar.button.PicColor: #2F2F2F
toolbar.button.scale: 0.5

toolbar.iconbar.empty:          flat gradient vertical
toolbar.iconbar.empty.color:    #E4E4E4
toolbar.iconbar.empty.colorTo:  #E4E4E4
toolbar.iconbar.borderColor:    #AAAAAA
toolbar.iconbar.borderWidth:    1
!toolbar.iconbar.empty.pixmap:   <filename>

toolbar.iconbar.focused:        raised gradient vertical
toolbar.iconbar.focused.color: #424153
toolbar.iconbar.focused.colorTo: #424153
toolbar.iconbar.focused.borderColor: #AAAAAA
toolbar.iconbar.focused.borderWidth:    1
toolbar.iconbar.focused.justify:        Center
toolbar.iconbar.focused.textColor: #FCFCFC
!toolbar.iconbar.focused.pixmap: yellow-black.png

toolbar.iconbar.unfocused:        raised gradient vertical
toolbar.iconbar.unfocused.color:       #E4E4E4
toolbar.iconbar.unfocused.colorTo:     #E4E4E4
toolbar.iconbar.unfocused.borderColor: #AAAAAA
toolbar.iconbar.unfocused.borderWidth:  1
toolbar.iconbar.unfocused.justify:      Center
toolbar.iconbar.unfocused.textColor:  #2F2F2F
!toolbar.iconbar.unfocused.pixmap: <filename>

!WINDOW OPTIONS
window.title.height:            20
window.justify:                 Center
window.bevelWidth:              0
window.borderColor:             #2F2F2F
window.borderWidth:             1
!window.roundCorners:            <{Top|Bottom}{Left|Right}>
!window.frame.focusColor:        <color>
!window.frame.unfocusColor:      <color>

window.title.focus:             flat gradient vertical
window.title.focus.color:       #E4E4E4
window.title.focus.colorTo:     #E4E4E4
!window.title.focus.pixmap:      <filename>
window.title.unfocus:           flat gradient vertical
window.title.unfocus.color:     #E4E4E4
window.title.unfocus.colorTo:   #E4E4E4
!window.title.unfocus.pixmap:    <filename>

!window.label.active:            flat gradient vertical gradient horizontal
!window.label.active.textColor:  #E5E5E5

window.label.focus:             flat gradient vertical
window.label.focus.color:       #424153
window.label.focus.colorTo:     #424153
window.label.focus.textColor:   #FCFCFC
!window.label.focus.pixmap:      title.png

window.label.unfocus:           flat gradient vertical
window.label.unfocus.color:     #E4E4E4
window.label.unfocus.colorTo:   #E4E4E4
window.label.unfocus.textColor: #2F2F2F
!window.label.unfocus.pixmap:    title.png

window.button.focus:            flat gradient vertical
window.button.focus.color:      #E4E4E4
window.button.focus.colorTo:    #E4E4E4
window.button.focus.picColor:   #2F2F2F
window.button.pressed: sunken bevel2
window.button.pressed.color:    #AAAAAA
window.button.pressed.colorTo:  #AAAAAA
window.button.unfocus:          flat gradient vertical
window.button.unfocus.color:    #E4E4E4
window.button.unfocus.colorTo:  #E4E4E4
window.button.unfocus.picColor: #2F2F2F

window.grip.focus:              flat
window.grip.focus.color:        #424153
window.grip.focus.colorTo:      #424153
!window.grip.focus.pixmap:       <filename>
window.grip.unfocus:            flat
window.grip.unfocus.color:      #E4E4E4
window.grip.unfocus.colorTo:    #E4E4E4
!window.grip.unfocus.pixmap:     <filename>
window.handle.focus:            flat gradient vertical
window.handle.focus.color:      #E4E4E4
window.handle.focus.colorTo:    #E4E4E4
!window.handle.focus.pixmap:     <filename>
window.handle.unfocus:          flat gradient vertical
window.handle.unfocus.color:    #E4E4E4
window.handle.unfocus.colorTo:  #E4E4E4
!window.handle.unfocus.pixmap:   <filename>
window.handleWidth:             4
!window.iconify.pixmap:          <filename>
!window.iconify.pressed.pixmap:  <filename>
!window.iconify.unfocus.pixmap:  <filename>

!! Window decoration pixmaps
!window.button.focus.pixmap:     <filename>
!window.button.unfocus.pixmap:   <filename>
!window.button.pressed.pixmap:   <filename>
!window.close.pixmap:            button-close-hover.png
!window.close.pressed.pixmap:    close-pressed.xpm
!window.close.unfocus.pixmap:    <filename>
!window.maximize.pixmap:         maximize-prelight.xpm
!window.maximize.pressed.pixmap: <filename>
!window.maximize.unfocus.pixmap: <filename>
!window.iconify.pixmap:         maximize-prelight.xpm
!window.iconify.pressed.pixmap: maximize-pressed.xpm
!window.iconify.unfocus.pixmap: <filename>
!window.shade.pixmap:            maximize-prelight.xpm
!window.shade.pressed.pixmap:    <filename>
!window.shade.unfocus.pixmap:    <filename>
!window.stick.pixmap:            maximize-prelight.xpm
!window.stick.pressed.pixmap:    <filename>
!window.stick.unfocus.pixmap:    <filename>
!window.stuck.pixmap:            <filename>
!window.stuck.unfocus.pixmap:    <filename>
!window.lhalf.pixmap:            <filename>
!window.lhalf.unfocus.pixmap:    <filename>
!window.rhalf.pixmap:            <filename>
!window.rhalf.unfocus.pixmap:    <filename>

!MENU OPTIONS
!menu.roundCorners:              <{Top|Bottom}{Left|Right}>
menu.itemHeight:                20
menu.bevelWidth:                1
menu.borderColor:               #2F2F2F
menu.borderWidth:               1
!menu.bullet:                    <{empty|square|triangle|diamond}>
menu.bullet: triangle
menu.bullet.position:           right
menu.frame:                     raised
menu.frame.color:               #E4E4E4
menu.frame.colorTo:             #E4E4E4
menu.frame.disableColor:        #9C9C9C
menu.frame.justify:             Left
!menu.frame.pixmap:              <filename>
menu.frame.textColor:           #2F2F2F
menu.hilite:                    flat gradient vertical
menu.hilite.color:              #424153
menu.hilite.colorTo:            #424153
menu.hilite.justify:            Left
!menu.hilite.pixmap:             <filename>
menu.hilite.textColor:          #FCFCFC

menu.title:                     flat gradient vertical
menu.title.color:               #424153
menu.title.colorTo:             #424153
!menu.title.pixmap:              <filename>
menu.title.textColor:           #FCFCFC
menu.title.justify:             Center
menu.titleHeight:               20

!menu.selected.pixmap:           <filename>
!menu.submenu.pixmap:            <filename>
!menu.unselected.pixmap:         <filename>

! usually do not change background and slit

!BACKGROUND
! Every style must specify the background option. If you don’t want your
! style to change the user’s background, then use ‘background: none’.
! background: centered|aspect|tiled|fullscreen|random|solid|gradient <texture>|mod|none|unset
! background.pixmap: <file or directory>
! background.color: <color>
! background.colorTo: <color>
! background.modX: <integer>
! background.modY: <integer>
! background: none

!SLIT
slit: flat
slit.bevelWidth: 0
slit.borderColor: #101010
slit.borderWidth: 0
slit.color:         #101010
slit.colorTo:       #101010
!slit.pixmap: <filename>
           
! EOF

17
Artwork & Screenshots / Re: March 2018 Screenshot Thread
« on: March 06, 2018, 02:37:23 PM »
Actully, the way that xset is output, you can just use the first character -

Code: [Select]
[pts/4]-[~]% xset q | awk '/00:/ {print $6 " " $7 " " $8}'
Num Lock: on
[pts/4]-[~]% xset q | awk '/00:/ {print $2 " " $3 " " $4}'
Caps Lock: off
[pts/4]-[~]%

fun with text parsing  ;D

18
Artwork & Screenshots / Re: March 2018 Screenshot Thread
« on: March 06, 2018, 02:28:27 PM »
@riV - using grep with awk is usually overkill - using the big hammer to pound finishing nails sort of thing.

Just use awk by itself and use grep with sed.

and you don't necessarily need the heading in your conky, you can do it all with awk, use quotes to space:

Code: [Select]
[pts/0]-[~]% xset q | awk '/Caps Lock:/ {print $2 " " $3 " " $4}'
Caps Lock: off
[pts/0]-[~]% xset q | awk '/Caps Lock:/ {print $2 " " $3 " " $4}'
Caps Lock: on
[pts/0]-[~]% xset q | awk '/Num Lock:/ {print $6 " " $7 " " $8}'
Num Lock: on
[pts/0]-[~]% xset q | awk '/Num Lock:/ {print $6 " " $7 " " $8}'
Num Lock: off
[pts/0]-[~]% xset q | awk '/Num Lock:/ {print $6 " " $7 " " $8}'
Num Lock: on

back on topic -

 

19
Scripts / Re: vsido-exit (systemd based logout script for VSIDO)
« on: March 04, 2018, 07:28:16 PM »
Was cleaning up some other scripts so went ahead and added hibernate to the vsido-exit script should anyone want that. Haven't tested it, my harddrive with VSIDO bought the farm; should work though, standard systemctl command.



Code: [Select]
#!/usr/bin/env bash
vslo_menu (){
vslo_ttle="What would you like to do?"
vslo_clas="$vslo_ttle"
vslo_wico="/usr/share/icons/icon.png"
vslo_main=$(yad --title="$vslo_ttle" --class="$vslo_clas" --window-icon="$vslo_wico" --width="648" --height="48" --center --fixed --on-top --buttons-layout=center  --button="Cancel!! Cancel:1" --button="Logout!$vslo_bute!Logout of VSIDO:2" --button="Suspend!$vslo_buts!Suspend VSIDO:3" --button="Hibernate!$vslo_buts!Hibernate VSIDO:4" --button="Reboot!$vslo_butr!Reboot VSIDO:5" --button="Shutdown!$vslo_butq!Shutdown VSIDO:6")
vslo_main=$?
case "$vslo_main" in
1 | 252)
exit 1
;;
2)
id_of_session=$(loginctl session-status | head -n 1 | awk '{print $1}')
loginctl terminate-session "$id_of_session"
exit 0
;;
3)
systemctl suspend
exit 0
;;
4)
systemctl hibernate
exit 0
;;
5)
systemctl reboot
exit 0
;;
6)
systemctl poweroff
exit 0
;;
esac
}
while :
do
vslo_menu
done

20
Artwork & Screenshots / Re: March 2018 Screenshot Thread
« on: March 03, 2018, 11:54:20 PM »
Slow day, straight up xfce4 with conky. Using xfce4 native compositing so put a border around conky for some texture to the conky window, looks better than just a semi-transparant rectangle on the desktop. I wounder if rounded window corners has ever been requested as a conky feature?


21
Artwork & Screenshots / Re: March 2018 Screenshot Thread
« on: March 02, 2018, 12:47:13 PM »
@vastone -

Ever configured xfce to use fluxbox as the window manager? That's kind of interesting since you get the session management of xfce with fluxbox window management.

Edit - put my money where my mouth is; Xfce4 session with fluxbox as the window manager:

 

Get the benefit of fluxbox apps file (grouped xfce4 terminals) and window decor management. Fluxbox controlling the key bindings for window management - much more control that xfce4; xfce4 controls the desktop and panel.

22
General Support / Re: Unable to switch from Nvidia to AMD GPU
« on: March 02, 2018, 12:40:56 PM »
Usually you'll need to completely remove the Nvidia/nouveau drivers before installing the AMD drivers (and vice versa) or the graphics driver hangs. Is the xserver-xorg-video-nouveau still installed? Did propietary Nvidia also create an xorg.conf? The drivers from their site use to do that, but I haven't gone that route in a while.

There is a Display Driver Uninstall utility (DDU) that does a complete removal of graphics drivers - I think there is a Linux version. Never used it so I can't vouch for it. I'd like to think "apt-get purge --remove" would be the better option.

23
Artwork & Screenshots / Re: March 2018 Screenshot Thread
« on: March 01, 2018, 03:28:35 PM »
more fluxbox; style work in progress:


24
Artwork & Screenshots / March 2018 Screenshot Thread
« on: March 01, 2018, 02:46:37 PM »
Let the madness begin -
Please remember to use thumbnails  ;D




25
I've Got a Life / Re: Aging and things...
« on: February 28, 2018, 02:45:30 PM »
Born on leap day or March 1?

Have a good one.

26
Artwork & Screenshots / Re: February 2018 Screenshot Thread
« on: February 28, 2018, 01:28:47 AM »
^ nice


27
Well done -

live session:

Code: [Select]
Startup finished in 8.825s (kernel) + 28.689s (userspace) = 37.514s
graphical.target reached after 26.466s in userspace
vsido@vsido:~$ systemd-analyze blame
         19.806s live-config.service
          6.466s dev-sdb1.device
          5.361s dev-loop0.device
          4.327s ModemManager.service
          3.423s apt-daily.service
          2.301s systemd-logind.service
          2.216s lm-sensors.service
          1.937s bluetooth.service
          1.930s pppd-dns.service
          1.930s rsyslog.service
          1.611s user@1000.service
          1.376s systemd-udevd.service
          1.283s networking.service
          1.213s lvm2-monitor.service
          1.149s keyboard-setup.service
          1.064s systemd-tmpfiles-setup-dev.service
           928ms wpa_supplicant.service
           926ms systemd-timesyncd.service
           797ms polkit.service
           691ms systemd-journald.service
           655ms hddtemp.service
           625ms systemd-udev-trigger.service
           556ms systemd-modules-load.service
           553ms blk-availability.service
           492ms console-kit-log-system-start.service
           460ms systemd-random-seed.service
           422ms systemd-sysctl.service
           335ms console-setup.service
           292ms systemd-tmpfiles-setup.service
           292ms alsa-restore.service
           281ms systemd-hostnamed.service
           273ms apt-daily-upgrade.service
           228ms dev-mqueue.mount
           206ms console-kit-daemon.service
           190ms systemd-backlight@backlight:intel_backlight.service
           162ms systemd-remount-fs.service

28
General Support / Re: Be wary of NPM update
« on: February 23, 2018, 10:27:29 AM »
What distros do use it?

29
General Support / Re: Firefox login error -
« on: February 22, 2018, 05:54:30 PM »
Maybe I just did it enough times - would have been about attempt #6.

I'll try again from the other desktop later.

30
General Support / Re: Firefox login error -
« on: February 22, 2018, 05:50:57 PM »
Ok I'm in on Firefox - but it was kind of by accident.

I was reading the Mozilla verbage about unsecure sites - which conveniently does not say to make the site secure so a user can log in.

I went back to try logging in and somehow missed clicking on my user name box, but managed to bring up a different dialog box in the center of the screen that had the user name and login information. Entering user name and password into that dialog got me in.

Going to reboot and see if I can get back in.

Edit - I now log in automatically as before from Firefox. So entering credentials in that other box has apparently performed some sort of brain surgery on Firefox.

Pages: 1 [2] 3 4 ... 139