Linux Lite 7.8 Final has been released - Click here


Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,004
» Latest member: CharlesHeP
» Forum threads: 9,474
» Forum posts: 62,486

Full Statistics

Online Users
There are currently 3265 online users.
» 0 Member(s) | 3261 Guest(s)
Applebot, Baidu, Bing, Google

Latest Threads
update_failed - 400 Bad R...
Forum: Updates
Last Post: val
Yesterday, 10:57 PM
» Replies: 2
» Views: 63
Problem updating lite 7.6...
Forum: Updates
Last Post: val
Yesterday, 10:43 PM
» Replies: 6
» Views: 2,787
Problem updating LL6.2 - ...
Forum: Updates
Last Post: stevef
04-16-2026, 11:31 PM
» Replies: 1
» Views: 90
Project Litening
Forum: Linux Lite Software Development
Last Post: valtam
04-15-2026, 11:33 AM
» Replies: 16
» Views: 1,361
Website forum links not w...
Forum: Suggestions and Feedback
Last Post: valtam
04-06-2026, 12:32 AM
» Replies: 5
» Views: 418
time synchronization
Forum: Other
Last Post: LL-user
04-03-2026, 03:13 PM
» Replies: 5
» Views: 1,653
Permissions on a secondar...
Forum: Other
Last Post: stevef
04-02-2026, 06:26 AM
» Replies: 9
» Views: 722
Some windows fail to rend...
Forum: Video Cards
Last Post: Crimson Plasma
03-31-2026, 04:19 PM
» Replies: 4
» Views: 467
Linux Lite 7.8 Final Rele...
Forum: Release Announcements
Last Post: Wirezfree
03-29-2026, 10:21 PM
» Replies: 16
» Views: 31,652
Accidentally Deleted fold...
Forum: Hard Drives and SSDs
Last Post: trinidad
03-13-2026, 11:38 PM
» Replies: 3
» Views: 409

 
  File permissions
Posted by: anon222 - 05-09-2015, 04:01 AM - Forum: Scripting and Bash - Replies (2)

A script for the thunar custom action that displays the file permissions and can change them.
Technicaly, it will work with directories but will not change them recursively. The files and directories inside will remain unchanged.
Also it works only for a single file.
This is not something I would recommend to someone who doen't understand file permissions.
Be carefull about symbolic links! Never use this on them! chmod changes the permissions of the pointed-to file.
Thunar custom action
Name:

Code:
Permissions
Description:
Code:
Displays and changes file permissions
Command:
Code:
/path/to/the/script %n
Appearance conditions:
Pattern:
Code:
*
Everything

The script:
Code:
#!/bin/bash
file="$@"

PERM="$(stat --printf=%a%A "$file")"
USER_="${PERM:0:1}"

if [[ $USER_ = 7 ]]; then TF1="TRUE"; TF2="TRUE"; TF3="TRUE"
  fi
if [[ $USER_ = 6 ]]; then  TF1="TRUE"; TF2="TRUE"; TF3="FALSE"
  fi
if [[ $USER_ = 5 ]]; then TF1="TRUE"; TF2="FALSE"; TF3="TRUE"
  fi
if [[ $USER_ = 4 ]]; then TF1="TRUE"; TF2="FALSE"; TF3="FALSE"
  fi
if [[ $USER_ = 3 ]]; then TF1="FALSE"; TF2="TRUE"; TF3="TRUE"
  fi
if [[ $USER_ = 2 ]]; then TF1="FALSE"; TF2="TRUE"; TF3="FALSE"
  fi
if [[ $USER_ = 1 ]]; then TF1="FALSE"; TF2="FALSE"; TF3="TRUE"
  fi
if [[ $USER_ = 0 ]]; then TF1="FALSE"; TF2="FALSE"; TF3="FALSE"
  fi

GRP_="${PERM:1:1}"
if [[ $GRP_ = 7 ]]; then TF4="TRUE"; TF5="TRUE"; TF6="TRUE"
  fi
if [[ $GRP_ = 6 ]]; then  TF4="TRUE"; TF5="TRUE"; TF6="FALSE"
  fi
if [[ $GRP_ = 5 ]]; then TF4="TRUE"; TF5="FALSE"; TF6="TRUE"
  fi
if [[ $GRP_ = 4 ]]; then TF4="TRUE"; TF5="FALSE"; TF6="FALSE"
  fi
if [[ $GRP_ = 3 ]]; then TF4="FALSE"; TF5="TRUE"; TF6="TRUE"
  fi
if [[ $GRP_ = 2 ]]; then TF4="FALSE"; TF5="TRUE"; TF6="FALSE"
  fi
if [[ $GRP_ = 1 ]]; then TF4="FALSE"; TF5="FALSE"; TF6="TRUE"
  fi
if [[ $GRP_ = 0 ]]; then TF4="FALSE"; TF5="FALSE"; TF6="FALSE"
  fi

ALL_="${PERM:2:1}"
if [[ $ALL_ = 7 ]]; then TF7="TRUE"; TF8="TRUE"; TF9="TRUE"
  fi
if [[ $ALL_ = 6 ]]; then  TF7="TRUE"; TF8="TRUE"; TF9="FALSE"
  fi
if [[ $ALL_ = 5 ]]; then TF7="TRUE"; TF8="FALSE"; TF9="TRUE"
  fi
if [[ $ALL_ = 4 ]]; then TF7="TRUE"; TF8="FALSE"; TF9="FALSE"
  fi
if [[ $ALL_ = 3 ]]; then TF7="FALSE"; TF8="TRUE"; TF9="TRUE"
  fi
if [[ $ALL_ = 2 ]]; then TF7="FALSE"; TF8="TRUE"; TF9="FALSE"
  fi
if [[ $ALL_ = 1 ]]; then TF7="FALSE"; TF8="FALSE"; TF9="TRUE"
  fi
if [[ $ALL_ = 0 ]]; then TF7="FALSE"; TF8="FALSE"; TF9="FALSE"
  fi

STAT_="${PERM:3:13}"
ans=$(zenity  --height=450 --width=350 --list  --text "File:\n<b>$file</b>\nPermissions:\n<b>${STAT_}</b>\nchange files permissions" --checklist  --column "pick" --column "options" \
"$TF1" "user-read" "$TF2" "user-write" "$TF3" "user-exec" "$TF4" "group-read" "$TF5" "group-write" "$TF6" "group-exec" "$TF7" "all-read" "$TF8" "all-write" "$TF9" "all-exec" --separator=":")
if [ "$ans" != "" ]; then
    searchuserread="user-read"
    searchuserwrite="user-write"
    searchuserexec="user-exec"
    user1="0"
    user2="0"
    user3="0"
    searchgroupread="group-read"
    searchgroupwrite="group-write"
    searchgroupexec="group-exec"
    group1="0"
    group2="0"
    group3="0"
    searchallread="all-read"
    searchallwrite="all-write"
    searchallexec="all-exec"
    all1="0"
    all2="0"
    all3="0"

    case $ans in  *"$searchuserread"*)
        user1="4" ;;
    esac

    case $ans in  *"$searchuserwrite"*)
        user2="2" ;;
    esac

    case $ans in  *"$searchuserexec"*)
        user3="1" ;;
    esac

    case $ans in  *"$searchgroupread"*)
        group1="4" ;;
    esac

    case $ans in  *"$searchgroupwrite"*)
        group2="2" ;;
    esac

    case $ans in  *"$searchgroupexec"*)
        group3="1" ;;
    esac

    case $ans in  *"$searchallread"*)
        all1="4" ;;
    esac

    case $ans in  *"$searchallwrite"*)
        all2="2" ;;
    esac

    case $ans in  *"$searchallexec"*)
        all3="1" ;;
    esac

    u=$(($user1 + $user2 + $user3))
    g=$(($group1 + $group2 + $group3))
    a=$(($all1 + $all2 + $all3))
    result="$u$g$a"
    chmod $result "$file" || { zenity --error --text="An error occurred!\ncheck if you are allowed\nto change permissions\nof the selected files"; }
fi

Bonus:
If you want to display the full path in the file name use
Code:
/path/to/the/script %f
for the Thunar custom action.
Cheers Smile

Print this item

  Installing Adobe Reader in Linux Lite - When Nothing Else Will Do!
Posted by: N4RPS - 05-08-2015, 11:24 PM - Forum: Installing Software - Replies (12)

Hello, All!

I recently had to fill out some online fillable PDF forms, totalling almost twenty pages worth. (Back in the day, I didn't fill out NEARLY that many pages to get one of the highest US security clearances available, so go figure!)

I tried Evince, but it doesn't seem to handle fillable forms at this time. The folks at Evince are working on it, but until they figure it all out, it seems as if there are instances (usually government forms) when nothing else but Adobe Reader will do.

Fortunately, as of this date, Adobe Reader is still in the Ubuntu repositories.  In a terminal window [CTRL-ALT-T],

Code:
sudo add-apt-repository "deb http://archive.canonical.com/ precise partner"
sudo apt-get update && sudo apt-get install acroread

If it's removed from the repositories at some later date, for now, it can also be found here. Again, in a terminal window:

Code:
cd ~/Downloads && wget http://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5./en/AdbeRdr9.5.5-1_i386linux_enu.deb
sudo gdebi AdbeRdr9.5.5-1_i386linux_enu.deb

This will download the .deb into the '~/Downloads' folder. From there, the terminal will ask for confirmation, and will then install it if you answer 'y'.

Hope this helps...

73 DE N4RPS
Rob

Print this item

  Linux install dual boot LL 2.4/Win 7
Posted by: marnav1 - 05-08-2015, 11:06 PM - Forum: Installing Linux Lite - Replies (4)

Did an install today dual boot. Its a generic desktop, I believe its an AMD dual core, 3gb ram and 500gb HD. Everything installed very smoothly, no glitches at all. After a few reboots/shut-downs now it wants to hang on restart into Linux. It will be blackscreen and you see the cursor and it does nothing. It doesn’t do it every time but it does it enough its an issue. You see the feather and do the log in and then it hangs. Any suggestions welcomed.

Print this item

  successful installation - impressive distro
Posted by: xfrank - 05-08-2015, 05:47 PM - Forum: Introductions - Replies (8)

I've successfully installed Linux Lite 32bit in an old HP laptop (pentium IV, 685MB ram). I'm very impressed: this distro worked out of the box without hiccups, recognized all the hardware, is good looking and amazing fast. I will keep Linux Lite in this laptop as the only OS.
I have installed previously here Peppermint 3 (also very fast) and Linux Mint 13 Xfce (fast, but less than Linux Lite).
Linux Lite 2.4 is LTS and will be supported until 2019, that is more than the (probable) lifespan of my laptop...

Thanks to the developers, nice work!

Print this item

  System updates: apt-get or aptitude
Posted by: Kirkx - 05-08-2015, 09:33 AM - Forum: On Topic - Replies (3)

LL system update script is using apt-get:

/usr/scripts/updates

Code:
sudo apt-get update && sudo apt-get upgrade

As I was trying out Debian Jessie lately I noticed that aptitude seems to be considered a better choice to do system updates than apt-get because it offers smarter handling of dependencies and has some other benefits. The equivalent command would be:

Code:
sudo aptitude update && sudo aptitude safe-upgrade

I have done a test run of both commands (actual updates were aborted) and the output is quite different:

apt-get:
[Image: 8xIqh8d.png]

aptitude:
[Image: FI4CvRy.png]

I'm wondering what experts think about all this.

Print this item

  [SOLVED] UEFI enabled LL2.4/win8.1 dual-boot not booting to LL...
Posted by: m654321 - 05-08-2015, 05:53 AM - Forum: Start up and Shutdown - Replies (1)

The UEFI enabled dual-boot has been working very well.  Each OS is symlinked to a second drive where my data files are stored.
Following boot-up to the grub screen, and choosing the LL option, LL has at the progress bar screen.
Pressing F4 shows apparently shows at which stage the boot-up is stuck at.  The last two lines read as follows:

Starting    Enable remaining boot-time encrypted block devices
Stopping    Read required files in advance

The odd thing is, if I turn off secure boot and fast boot, it will boot into LL.  I would like to get UEFI back as it makes a significant
difference to both speed and the quality of the graphics (goldfinger, unfortunately, I hadn't got to cloning my EFI partition yet!)

I wondered if someone could help me to get this fixed from the live environment with an LL.iso  DVD - I'm clueless in this department...

Many thanks
Mike

Print this item

  Signing in to the forum
Posted by: amigo - 05-07-2015, 09:01 PM - Forum: Suggestions and Feedback - Replies (1)

Using an Acer 5250-BZ467.

When I first joined the forums I had trouble reading the menu at the "sign in" area. It appears almost black on black. If it had my first time joining a forum I might have been confused (okay, I'm confused anyway) but you get the point.

Anyway to change that so it's more visible?



Print this item

  Linuxlite 2.4 install - can't set UK keyboard as default
Posted by: mcmurch - 05-07-2015, 08:58 PM - Forum: Installing Linux Lite - Replies (7)

Hi All

I have recently installed Linuxlite 2.4 32 bit ISO on my Fujitsu Seimens Amilo Pro V3515.
At the install stage English UK was selected as language and keyboard layout. For some reason the laptop defaults to US layout when pc boots up to home page. I have tried to change the settings but nothing seems to work.

Does anyone know how to solve this please ?

Print this item

  Dual boot Vista
Posted by: marnav1 - 05-07-2015, 02:53 PM - Forum: Installing Linux Lite - Replies (2)

Hi all. Want to dual boot Linux Lite with Windows Vista on an HP Pavilion DV6. Got the BIOS changed to boot from DVD/CD and that part went fine. However when it came to installing it on the drive there was no option for install Linux Lite next to Windows. It was erase Windows completely (which I would like but it isn't my PC lol) or the do something else option basically and I don't know how to partition a drive. I am using a fresh download of Linux Lite 2.4 32 bit. Thanks ahead of time. Smile

Print this item

  [Solved] Remove a menu entry I created
Posted by: T1125P - 05-06-2015, 07:15 PM - Forum: Installing Software - Replies (3)

Hi all. Have a little problem removing an entry I created in LL 2.2 I have wine installed and went ahead and installed Photoshop CS6 for work.  I removed the icon on the desktop and created a Photoshop entry in the Main Menu / Graphics. It keeps saying child process error. I tried to remove it the entry I created but cannot. So I uninstalled Photoshop using Wine, everything is now gone with Photoshop but the entry I created is still there and I do not know how to remove it. Any help would be appreciated Smile


Thank you

Print this item