SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-02-10 20:18:57

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Your Openbox session on Debian jessie or sid

apt-get install xorg alsa-base oss-compat sudo gksu

Last edited by hhh (2015-02-12 15:10:47)

Offline

Be excellent to each other!

#2 2015-02-10 22:04:12

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Your Openbox session on Debian jessie or sid

Nice stuff!

Offline

#3 2015-02-11 00:15:42

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Your Openbox session on Debian jessie or sid

Offline

#4 2015-02-11 02:08:59

user77
#! CrunchBanger
From: Dirty Denver
Registered: 2012-01-20
Posts: 161

Re: Your Openbox session on Debian jessie or sid

Offline

#5 2015-02-11 05:55:26

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Your Openbox session on Debian jessie or sid

ii  xfce-keyboard-shortcuts        4.10.0-6             all                  xfce keyboard shortcuts configuration
ii  xfce4-appfinder                4.10.1-1             i386                 Application finder for the Xfce4 Desktop Environment
ii  xfce4-mixer                    4.10.0-3             i386                 Xfce mixer application
ii  xfce4-notifyd                  0.2.4-3              i386                 simple, visually-appealing notification daemon for Xfce
ii  xfce4-panel                    4.10.1-1             i386                 panel for Xfce4 desktop environment
ii  xfce4-power-manager            1.4.1-1              i386                 power manager for Xfce desktop
ii  xfce4-power-manager-data       1.4.1-1              all                  power manager for Xfce desktop, arch-indep files
ii  xfce4-screenshooter            1.8.1-5              i386                 screenshots utility for Xfce
ii  xfce4-settings                 4.10.1-2             i386                 graphical application for managing Xfce settings
ii  xfce4-taskmanager              1.0.1-1              i386                 process manager for the Xfce4 Desktop Environment
ii  xfce4-terminal                 0.6.3-1+b1           i386                 Xfce terminal emulator
ii  xfce4-volumed  

Last edited by hhh (2015-02-11 08:37:51)

Offline

#6 2015-02-11 06:06:25

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Your Openbox session on Debian jessie or sid

Offline

#7 2015-02-11 07:32:51

Snap
#! Die Hard
Registered: 2013-10-22
Posts: 567

Re: Your Openbox session on Debian jessie or sid

Offline

#8 2015-02-11 08:08:11

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Your Openbox session on Debian jessie or sid

Offline

#9 2015-02-11 08:09:28

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: Your Openbox session on Debian jessie or sid

On a side note, I've noticed that LightDM has at least a couple accessibility options, with large font being available out of the box on an LXDE install and large font & high contrast available when other DEs are installed (e.g. from the DVD).  I think accessibility should be a consideration when making something that may eventually become repackaged and distributed to the general public.

Remastering question:  On the installation that is to be remastered, does it matter whether /home is on the same partition as / or on a separate partition?

Offline

#10 2015-02-11 08:13:58

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Your Openbox session on Debian jessie or sid

Offline

#11 2015-02-11 08:31:56

Snap
#! Die Hard
Registered: 2013-10-22
Posts: 567

Re: Your Openbox session on Debian jessie or sid

Offline

#12 2015-02-11 18:52:00

user77
#! CrunchBanger
From: Dirty Denver
Registered: 2012-01-20
Posts: 161

Re: Your Openbox session on Debian jessie or sid

Offline

#13 2015-02-11 18:55:56

user77
#! CrunchBanger
From: Dirty Denver
Registered: 2012-01-20
Posts: 161

Re: Your Openbox session on Debian jessie or sid

^^ linuxbbq bork by machinebacon looks good!

Last edited by user77 (2015-02-12 14:49:21)

Offline

#14 2015-02-11 21:35:14

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Your Openbox session on Debian jessie or sid

gconftool-2 --set /apps/gksu/sudo-mode --type bool true

Offline

#15 2015-02-11 21:51:40

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Your Openbox session on Debian jessie or sid

Oh yeah, logout/reboot/shutdown commands. I bind mine to keyboard keys and the power button (XF86PowerOff on my netbook). If you use systemd, you can run reboot and shutdown without a password prompt...

systemctl reboot
systemctl poweroff

To logout without a confirmation prompt, just kill the script that started the session...

pkill xfwm4-session

I keybind these commands to something I'm not going to hit accidentally.  tongue

Offline

#16 2015-02-11 23:33:43

El Cruncho
Member
Registered: 2015-02-01
Posts: 22

Re: Your Openbox session on Debian jessie or sid

That linuxbbq logo looks a bit weird (Tux in front of a huge fire). Either the penguin is burning in hell and is loving it,
or it decided that Goku's face was a comfortable place to take a break on.

Back on the more serious track: I didn't expect to have to rebuild what I'd consider basic functions. Which are very subjective anyway. It might be harder than expected, but interesting nonetheless.

Offline

#17 2015-02-11 23:37:05

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Your Openbox session on Debian jessie or sid

# make sure gksu runs in sudo mode
sudo update-alternatives --set libgksu-gconf-defaults /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo
sudo update-gconf-defaults

Offline

#18 2015-02-12 00:11:29

Snap
#! Die Hard
Registered: 2013-10-22
Posts: 567

Re: Your Openbox session on Debian jessie or sid

Offline

#19 2015-02-12 00:42:42

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Your Openbox session on Debian jessie or sid

@john, thanks for the pointers. I remember reading about the need for policykit in the Arch wiki. The weirdness in Xfce you describe is from xfce4-session, which has a bit of a learning curve to make it do what you want. My wallpaper glitch was from having xfdestop4 previously installed.

@snap, thanks!

Offline

#20 2015-02-12 03:37:15

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Your Openbox session on Debian jessie or sid

Offline

#21 2015-02-12 03:55:57

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Your Openbox session on Debian jessie or sid

Offline

#22 2015-02-12 04:29:05

user77
#! CrunchBanger
From: Dirty Denver
Registered: 2012-01-20
Posts: 161

Re: Your Openbox session on Debian jessie or sid

Here are the packages I would use on a crunchbang like system. I'm stopping here.

#!/bin/bash

# This script upgrades a Debian stable (Wheezy) net-install to testing (Jessie)
# and installs a custom package set.

# This script is intended to be ran as root
# This script assumes no options were selected during tasksel

function header() { echo -e "\n\033[1m$@\033[0m"; }
function answer() { echo -en "\n\033[1m$@\033[0m"; }

# install_pkg {{{
function install_pkg() {
  header "Installing packages."
  echo "This will take a few..."
  apt-get install -y --no-install-recommends \
  ssh tcpd openssh-blacklist openssh-blacklist-extra vim vim-doc vim-scripts \
  vim-addon-manager less deborphan debfoster apt-file python-apt lsb-release \
  file iso-codes dialog cruft apt-rdepends reportbug apt-show-versions \
  dctrl-tools fakeroot ca-certificates linux-headers-$(uname -r) dkms
  apt-get install -y --no-install-recommends \
  htop build-essential module-assistant tofrodos dosfstools hdparm ntfs-3g \
  rsync bash-doc zsh zsh-doc hwdata unp psmisc bzip2 p7zip rar unrar unzip \
  zip p7zip-full lzop lzip lzma ntp fontconfig lshw dnsutils sshfs screen \
  tmux lsof bash-completion parted gdisk atop sudo firmware-linux \
  firmware-linux-nonfree
  apt-get install -y --no-install-recommends \
  xorg mesa-utils xbase-clients xsel dbus-x11 xfonts-terminus gsfonts-x11 \
  ttf-dejavu ttf-liberation ttf-freefont fonts-droid libgl1-mesa-dri xdotool \
  desktop-base gnome-icon-theme faenza-icon-theme dmz-cursor-theme unclutter \
  libfile-mimeinfo-perl menu-l10n autocutsel alsa-base alsa-utils \
  libasound2-plugins
  apt-get install -y --no-install-recommends \
  mlocate atool ranger tree rxvt-unicode-256color feh scrot suckless-tools \
  conky-all mpv mpd mpc ncmpcpp w3m-img surfraw gtk2-engines \
  gtk2-engines-murrine gtk2-engines-pixbuf gtk2-engines-aurora openbox obconf \
  obmenu python-xdg lxappearance tint2 gmrun vim-gtk nitrogen galculator \
  xfce4-screenshooter viewnior gcolor2 gimp zathura zenity udisks gksu \
  gparted git spacefm udevil ranger
  apt-get install -y -t experimental iceweasel
  service mpd stop
  update-rc.d mpd disable
}

# }}}
# mozilla {{{
function mozilla() {
  header "Installing Mozilla keyring..."
  wget http://mozilla.debian.net/pkg-mozilla-archive-keyring_1.0_all.deb;
  dpkg --install pkg-mozilla-archive-keyring_1.0_all.deb
}

# }}}
# system_cleanup {{{
function system_cleanup() {
  header "Cleaning up..."
  apt-get clean; apt-get autoremove --purge -y
}

# }}}
# system_reboot {{{
function system_reboot() {
answer "System requires a reboot. Reboot now? (Y|n) >"
read a
  if [ "$a" = "y" ] || [ "$a" = "Y" ] || [ "$a" = "" ]; then
    reboot
  else
    echo "Reboot when ready. Cya!"
  fi
}

# }}}
# system_sources {{{
function system_sources() {
  # Backup original sources.list
  if [ -f /etc/apt/sources.list ]; then
   cp -f /etc/apt/sources.list /etc/apt/sources.list~prescript
  fi
  # New sources.list generated with http://debgen.simplylinux.ch/
  # Select your fastest Debian mirror with netselect-apt...
  # tutorial here: http://www.debianadmin.com/select-fastest-debian-mirror-using-netselect-apt.html
  echo "" > /etc/apt/sources.list
  echo "" >> /etc/apt/sources.list
  echo "deb http://mirrors.centarra.com/debian/ testing main contrib non-free" >> /etc/apt/sources.list
  echo "deb-src http://mirrors.centarra.com/debian/ testing main contrib non-free" >> /etc/apt/sources.list
  echo "" >> /etc/apt/sources.list
  echo "deb http://mirrors.centarra.com/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list
  echo "deb-src http://mirrors.centarra.com/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list
  echo "" >> /etc/apt/sources.list
  echo "deb http://security.debian.org/ jessie/updates main contrib non-free" >> /etc/apt/sources.list
  echo "deb-src http://security.debian.org/ jessie/updates main contrib non-free" >> /etc/apt/sources.list
  echo "" >> /etc/apt/sources.list
  echo "# Debian Multimedia" >> /etc/apt/sources.list
  echo "deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ testing main" >> /etc/apt/sources.list
  echo "" >> /etc/apt/sources.list
  echo "# Debian Mozilla team" >> /etc/apt/sources.list
  echo "deb http://mirrors.centarra.com/debian experimental main" >> /etc/apt/sources.list
}

# }}}
# system_upgrade {{{
function system_upgrade() {
  header "Performing system upgrade."
  echo "This will take a few..."
  echo ""
  apt-get update
  echo ""
  apt-get dist-upgrade -y
}

# }}}
# user_rights {{{
# TODO: automate this
function user_rights() {
answer "Add user(s) to sudoers now? (Y|n) >"
read a
  if [ "$a" = "y" ] || [ "$a" = "Y" ] || [ "$a" = "" ]; then
    visudo
  fi
}

# }}}

clear
echo "This script will upgrade your system to Debian testing (Jessie)"
echo "and install a custom package set."
answer "Continue? (Y|n) > "
read a
if [ "$a" = "y" ] || [ "$a" = "Y" ] || [ "$a" = "" ]; then
  system_sources
  system_upgrade
  mozilla
  install_pkg
  system_cleanup
  user_rights
  system_reboot
  echo ""
  exit
fi

Last edited by user77 (2015-02-12 14:51:09)

Offline

#23 2015-02-12 07:37:05

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Your Openbox session on Debian jessie or sid

Last edited by johnraff (2015-02-12 07:41:01)

Offline

#24 2015-02-12 14:39:57

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Your Openbox session on Debian jessie or sid

Offline

Help fund CrunchBang, donate to the project!

#25 2015-02-12 14:49:24

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Your Openbox session on Debian jessie or sid

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo