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 5 ... 140
31
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

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

 

33
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

34
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?


35
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.

36
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.

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


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




39
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.

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


41
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

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

43
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.

44
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.

45
General Support / Firefox login error -
« on: February 22, 2018, 05:29:50 PM »
I thought this issue was addressed a while back, but I can't locate it.

On Firefox or Firefox-esr, when I try to log in to VSIDO, I immediately get kicked out with this message:

Code: [Select]
Your session timed out while posting. Please go back and try again.
This is only occurring from the desktop computers which happen to be hard wired connections; I can log in from those computers using Opera (but not Chromium). From my laptop (wireless) and phone, I can log in from Firefox

I thought the adblocker add-in may have been acting up, but I can't log in from clean installs of Firefox without any extensions.

Pages: 1 2 [3] 4 5 ... 140