PDA

View Full Version : New user questions



yeh
November 28th, 2010, 08:37 PM
Sorry, I'm new to ubuntu and there's an awful lot to learn, so starting with the most important question...

Where's the file location for the application menu? Like there's a windows folder in which you can edit and determine what stuff goes into the start menu (or you can just drag the shortcut into the start menu). You can't drag anything onto the ubuntu netbook applications menu; you can't left click and determine shortcuts. It is, in my humble opinion, good-looking but not very useful if I can't edit it, put stuff in it, take stuff off it, etc.

What's the format for text files in ubuntu? Running a .txt file in ubuntu shows that it isn't the native text file format (I can open it, but it always says that it is an executable text file when it obviously isn't).

What's the format for executable files in ubuntu? .exe is the format for windows applications. I know its not .deb because .deb is just used to install the program; its not the format of the program itself.

Thx for your answers.

Megaptera
November 28th, 2010, 08:56 PM
There are mixed views about the Netbook Edition & Unity - that I think you are referring to. You can select Desktop Session just as you log on - look towards bottom right of screen. Personally I prefer the Gnome desktop on my laptop.

If you want to run Windows progs (.exe) under Ubuntu you need to run them through Wine:
http://psychocats.net/ubuntu/wine

To edit what runs at startup, go to Control Centre > Startup Applications.

kaldor
November 28th, 2010, 09:00 PM
Even though I've been on Linux for years, I still might be wrong about this since I rarely encounter it...

I think that .bin (binary) files are the equivelent of executables on Linux.

chaanakya_chiraag
November 28th, 2010, 09:02 PM
Usually, the files for the menu items are located in /usr/share/applications for global menu items and /home/$USER/.local/share/applications for user-specific menu items.

txt files are marked as executable if you transfer them from Windows because Windows doesn't have the same kind of control system Linux does.

chaanakya_chiraag
November 28th, 2010, 09:03 PM
Even though I've been on Linux for years, I still might be wrong about this since I rarely encounter it...

I think that .bin (binary) files are the equivelent of executables on Linux.

Actually, for the equivalent of exe files, you should look toward deb and rpm files.

kaldor
November 28th, 2010, 09:08 PM
Actually, for the equivalent of exe files, you should look toward deb and rpm files.

No. debs and rpms are package installers. executables can do much more than just install things.

deb/rpm are more akin to MSI files.

ajgreeny
November 28th, 2010, 09:21 PM
There isn't really an equivalent of the Windows .exe executable file, or not in a simple way. There are certainly .bin files, and .run files, but there are also many files with no file-type suffix at all, but which are executables, and as you have found there are lots of .txt files which are executable, along with .sh files which are probably the nearest to Windows .bat files, but not quite the same thing.

To be honest, you will be better served if you forget all about the Windows ways, and think again about the linux file system afresh; lots of things are done in a totally different way, and by trying to equate everything with Windows you may do nothing to help. In fact you may just confuse yourself even more.

dFlyer
November 28th, 2010, 09:33 PM
If I remember correctly any file under linux can be executable. It all depends on its property settings. Extensions are not required for an executable file.

madjr
November 28th, 2010, 09:38 PM
Sorry, I'm new to ubuntu and there's an awful lot to learn, so starting with the most important question...

Where's the file location for the application menu? Like there's a windows folder in which you can edit and determine what stuff goes into the start menu (or you can just drag the shortcut into the start menu). You can't drag anything onto the ubuntu netbook applications menu; you can't left click and determine shortcuts. It is, in my humble opinion, good-looking but not very useful if I can't edit it, put stuff in it, take stuff off it, etc.

What's the format for text files in ubuntu? Running a .txt file in ubuntu shows that it isn't the native text file format (I can open it, but it always says that it is an executable text file when it obviously isn't).

What's the format for executable files in ubuntu? .exe is the format for windows applications. I know its not .deb because .deb is just used to install the program; its not the format of the program itself.

Thx for your answers.

which netbook edition are you using? 10.04 or 10.10?

they have different interfaces.

You can also log in to normal gnome desktop on the user login screen. Just choose ubuntu desktop, instead of ubuntu netbook

yeh
November 28th, 2010, 10:06 PM
Thx everyone. I think all my questions have been answered. I'm using ubuntu 10.10 netbook btw. One follow up though: I asked where the location was for the application menu because I wanted to create shortcuts for my chrome web apps and pin those shortcuts to the unity dock (I can't pin the web apps themselves apparently). If I couldn't have pinned it, I would have used launchy to index a folder containing the shortcuts.

Only problem is that in my /home/$user/.local/share/applications, the web apps don't look like web apps at all. If I double click on gmail, for instance, it gives an "Untrusted Application Launcher" error. I have to click it from the application gray screen on my unity dock to be able to launch the Gmail web app. Where's the location of the real shortcuts for the web app which I can run by double-clicking?

Thx again.

madjr
November 29th, 2010, 09:58 PM
what are you using to create these web apps shortcuts?

with nautilus file browser, you can create custom launchers or shorcuts inside your home folder.

you can also create "web apps shortcuts" with chromium/ google chrome.

personally i prefer to install speed dial extension for my browsers (firefox or chrome)

chaanakya_chiraag
November 29th, 2010, 10:52 PM
That error appears because you are trying to run a .desktop file which does not have executable permissions. All you need to do is right-click on the file, click Properties, go to Permissions, and click Execute. Or, to make this less tedious, type these commands into a Terminal:


cd .local/share/applications
chmod +x *.desktop

chaanakya_chiraag
November 29th, 2010, 10:53 PM
Oh, and you can also create App Shortcuts for Firefox using my handy Appify script
http://ubuntuforums.org/showthread.php?t=1275363